Boneyard Tools

Age Difference Between Two Dates

Enter two birthdates to see the gap between them in years, months and days, along with the total number of days. The earlier date is treated as the start.

How to calculate an age difference

  1. Choose the first birthdate.
  2. Choose the second birthdate.
  3. Read the gap in years, months and days, plus the total day count.

Examples

A two and a half year gap

1990-01-15 and 1992-07-20
2 years, 6 months, 5 days (917 days)

Across leap years

2015-08-20 and 2020-02-10
4 years, 5 months, 21 days (1635 days)

Frequently asked questions

How is the age difference worked out?

The tool subtracts the day, month and year fields and borrows where needed. When the later day is earlier in the month, it borrows days from the month before, matching how ages are normally counted.

Does the order of the dates matter?

No. The earlier date is always treated as the start, so swapping the two birthdates gives the same gap. Every result is reported as a positive figure.

What does the total days figure mean?

It is the exact number of whole days between the two dates, counting any leap days in between. It is shown alongside the years, months and days breakdown.

How are leap years treated?

The tool uses real calendar dates, so February 29 exists in leap years and the day count reflects the true length of each month and year the span crosses.

Do time zones change the answer?

No. All math runs in UTC and treats each date as a plain calendar date, so daylight saving time and time zones never shift the result.

Related tools