Method
How the age difference calculator works
The earlier date of birth is identified first, then complete calendar years and months are counted forward to the later one, followed by the remaining days.
To find one person's age on a given date rather than the gap between two people, use the age calculator; for a total in days lived, use the age in days calculator. For any two dates that are not birthdays, the date difference calculator gives the same years, months and days breakdown, and the years between dates calculator suits spans measured in decades. Clock-time tools are in the time calculators collection.
Example
Age difference calculator example
Someone born 15 June 1990 and someone born 28 February 1994 are 3 years, 8 months and 13 days apart.
Rule
Exact rule used by the age difference calculator
The two dates are put in order first, so the one you type first does not matter. The calculator then counts complete calendar months from the earlier date, converts them to years and months, and measures the leftover days from the last month anchor to the later date. The total in days and the count of complete months are reported alongside.
When the earlier date is the 29th, 30th or 31st, an anchor month without that day falls back to its last day. That keeps month-end birthdays from jumping around, but it also means the day figure can look small when the later date sits just after a short month.
Step by step
Worked through step by step
For someone born 31 December 1988 and someone born 1 March 1992, 38 complete months fit between the dates. That is 3 years and 2 months, and the anchor lands on 29 February 1992 because 1992 is a leap year. One more day reaches 1 March, so the gap is 3 years, 2 months and 1 day, or 1,156 days in total.
A second pair, 4 July 1992 and 9 January 1998, gives 5 years, 6 months and 5 days, which is 2,015 days and 66 complete months. Subtracting the birth years alone would give 6, a full half-year too high.
Pitfalls
Common mistakes with the age difference calculator
- Subtracting birth years. The 1992 and 1998 pair above is 5 years and 6 months apart, not 6 years.
- Reading the total days as a rounded number of years. Dividing by 365 ignores leap days and month lengths.
- Expecting time of birth to matter. Only calendar dates are used, so twins born either side of midnight appear one day apart.
- Comparing ages on different reference dates. This tool compares two birth dates directly; use the age calculator for each person on a shared date.
FAQ
Age difference calculator FAQ
Does the order I enter the dates matter?
No. The calculator identifies the earlier date and reports a positive gap either way.
Is this the same as subtracting birth years?
No. Subtracting years ignores the months and days, which can be out by almost a full year.
Are the dates saved?
No. Both values stay in this page and are not stored or sent anywhere.
Are twins born either side of midnight shown as one day apart?
Yes. The calculator reads calendar dates only and has no field for the time of birth, so a gap of a few minutes across midnight appears as one day.
Why is the days figure small when the later date is early in a month?
Days are counted from the last complete-month anchor, not from the start of the month. A date a few days after the anchor correctly shows a small remainder.