Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Estimated Date of Birth
June 26, 1,996
Wednesday
Year 1,996
Month June (6)
Day 26
Day of Week Wednesday

What Is the Date of Birth Calculator?

This tool works backward from an age to find a date of birth. Given a reference date (often today) and a person's age expressed in years, months, and days, it subtracts that age from the reference date to recover the original birth date — along with the day of the week that date fell on. It is handy for filling forms, verifying records, demographic research, and genealogy where only the age "as of" a certain date is known.

How to Use It

Enter the reference date (the date on which the age is measured) using the year, month, and day fields. Then enter the age in three parts: full years, additional months (0–11), and additional days. The calculator subtracts days first, then months, then years, so the calendar correctly accounts for varying month lengths and leap years.

The Formula Explained

The core relationship is simply DOB = Reference Date − Age. Because months and years have different lengths, the subtraction is done calendar-aware rather than by a fixed day count. For example, subtracting "1 year" from 1 March 2024 lands on 1 March 2023, regardless of the 2024 leap day in between.

$$\text{DOB} = \text{Date}\Big(\text{Year},\ \text{Month},\ \text{Day}\Big) - \text{Days} - \text{Months} - \text{Years}$$

$$\begin{gathered} \text{DOB} = \text{Ref} - \text{Days} - \text{Months} - \text{Years} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} \text{Ref} &= \text{Date}\Big(\text{Year},\ \text{Month},\ \text{Day}\Big) \\ \text{Days} &= \text{Age Days} \\ \text{Months} &= \text{Age Months} \\ \text{Years} &= \text{Age Years} \end{aligned} \right. \end{gathered}$$

Timeline showing subtraction of years, months and days from a reference date back to date of birth
Subtracting an age in years, months and days from the reference date lands on the date of birth.

Worked Example

Suppose the reference date is 15 June 2024 and the age is 30 years, 2 months, 10 days. Subtract 10 days → 5 June 2024. Subtract 2 months → 5 April 2024. Subtract 30 years → 5 April 1994. That is the estimated date of birth.

Two calendars marking date of birth and reference date with elapsed years, months and days between
A worked example maps the known age back across the calendar to the exact birth date and weekday.

FAQ

Why subtract days before years? Doing days, then months, then years keeps the arithmetic stable across month boundaries and leap years, mirroring how calendars naturally roll over.

Is the result exact? If you know the exact age in years, months, and days as of the reference date, the result is exact. If you only know whole years, the day and month will reflect the reference date's day and month.

Does it handle leap years? Yes — the calculation uses a real calendar, so February 29 and leap-year lengths are respected automatically.

Last updated: