Skip to content
CalculatorAtlas

Date of Birth Calculator

Tested

Date of birth from an age at a reference date.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

Results

Enter your values and press Calculate. Results appear here.

  • • Result

Quick answer

Date of birth = reference date − (years, months, days). A person aged exactly 30 years on 10 March 2024 was born on 10 March 1994.

Enter a reference date and the age in years, months and days. The calculator returns the date of birth.

Related tools: Birth Date from Death Date Calculator: Birth date from the date of death and the age at death. Birth Year Calculator: Year of birth from a person's age. Date Calculator: Add or subtract days, weeks, months or years from a date.

How to use the Date of Birth Calculator

  1. Pick reference date.
  2. Enter years (a whole number, between 0 and 150).
  3. Optionally, enter months (a whole number, between 0 and 11). It starts at 0.
  4. Optionally, enter days (a whole number, between 0 and 31). It starts at 0.
  5. Press Calculate to see the result, and use Reset to start again.
Inputs of the Date of Birth Calculator
InputWhat to enterAllowed values
Reference dateA calendar date—
YearsA whole number≥ 0, ≤ 150
Months (optional)A whole number≥ 0, ≤ 11, starts at 0
Days (optional)A whole number≥ 0, ≤ 31, starts at 0

Formula and method

Formula

birth date = reference date − (years, months, days)

Exact integer arithmetic.

Months are subtracted first (month-end days are clamped), then days. Because month lengths differ, a date with a days component can differ by a day from the original birth date.

Worked examples

These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.

Example 1

Inputs: Reference date = 2024-03-10; Years = 30; Months = 0; Days = 0.

Results of example 1
ResultValue
Date of birth1994-03-10

Example 2

Inputs: Reference date = 2024-03-10; Years = 5; Months = 6; Days = 0.

Results of example 2
ResultValue
Date of birth2018-09-10

The first line is the headline result (date of birth). Exact integer arithmetic.

Reading the result

The subtraction goes year, then month, then day. Month lengths can move the result by a day when the day-of-month does not exist in the earlier month, for example 31 March minus 1 month.

Typical uses

Estimate a birth date from an age on a document, check a claimed age, or work out the cohort a person belongs to. For the other direction, see the Age Calculator.

How the result changes with years

Holding every other input at the first worked example, this table changes only years. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.

How the result changes with years
YearsDate of birth
152009-03-10
301994-03-10
601964-03-10
1201904-03-10

What happens with invalid input

These messages are produced by the calculator itself, so you know what to fix.

  • Reference date: entering "bad" shows "Reference date must be a valid date." beside that field and no result.

Choosing between the Date of Birth Calculator and similar calculators

Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.

Choosing between the Date of Birth Calculator and similar calculators
CalculatorYou enterIt returns
[Birth Date from Death Date Calculator](/date-calendar/birth-from-death-date/)date of death and yearsDate of birth
[Birth Year Calculator](/date-calendar/birth-year/)ageBirth year
[Date Calculator](/date-calendar/date-calculator/)start date and operationResulting date
[Birth Date from Age Calculator](/lifestyle/age-to-birthday/)age in years and reference datePossible birth dates
[Days Old Calculator](/date-calendar/days-old/)date of birthDays old

Background: dates and times

Date and time results depend on the conventions a tool uses: whether the end date counts, whether weekends and holidays are skipped, how months of different lengths are handled and whether time zones are applied. This page states its convention, and the worked examples show it.

Dates use the Gregorian calendar and calendar days unless the page says otherwise; check deadlines against the rule in your contract or regulation.

Assumptions and limitations

  • Day component can shift the result by ±1 day

If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for reference date to confirm this.

Frequently asked questions

Is this the same as birth year?

It gives a full date rather than a year.

What is the margin of error?

Zero if the age is exact; otherwise it depends on the precision.

Does it use leap years?

Yes. Subtracting years, months and days uses real month lengths, so leap years are handled.

What does the Date of Birth Calculator calculate?

Date of birth from an age at a reference date. It returns Date of birth.

What formula does the Date of Birth Calculator use?

birth date = reference date − (years, months, days). Months are subtracted first (month-end days are clamped), then days.

What do I need to enter in the date of Birth Calculator?

You enter Reference date and Years. Optional: Months and Days.

How is the result rounded or limited?

Exact integer arithmetic. Day component can shift the result by ±1 day.

What is an example of a date of Birth result?

With reference date 2024-03-10, years 30, months 0 and days 0, the date of birth is 1994-03-10.

Sources

  • ISO 8601-1: Date and time, representations for information interchange (calendar dates, ordinal dates and week dates)
  • Gregorian calendar reform, papal bull Inter gravissimas (1582): the leap-year rule used for all dates

Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.