Enter two dates of birth and this age difference calculator shows who is older and the exact gap in years, months and days, plus the total number of days between them. The gap is the same whichever order you enter the dates, and it never changes as you both get older.

How to use
- Enter two dates of birth. Names are optional, and stay in your browser.
- Press Calculate age gap to see who is older, the gap in years, months and days, the total days and an approximate decimal figure.
- You can also use it for any two dates, such as the dates two events took place.
How the gap is calculated
We put the earlier date first and then count whole years, whole months and the remaining days between the two dates, using the real length of each month. This is the same method as the age calculator, applied to two birth dates instead of a birth date and today. Entering the dates in the opposite order changes only the “who is older” line.
The gap is fixed for life
The difference between two birth dates does not change. If one person is 4 years, 11 months and 30 days older than another today, that is still the gap in 20 years. It is their ages that grow, not the distance between them.
Exact gap versus decimal years
We also show an approximate decimal figure, which is the total days divided by 365.2425. It is handy for comparing gaps, but it hides detail: two gaps that are a day apart can both round to the same decimal. The years, months and days figure is the exact one.
Leap years
The calendar method handles 29 February automatically, and the total in days includes every leap day in the span. That is why five calendar years can be 1,825 or 1,826 days.
Worked examples
9 July 1988 and 20 February 1992
From 9 July 1988, three years takes you to 9 July 1991, seven more months to 9 February 1992, and 11 more days to 20 February 1992. The gap is 3 years, 7 months and 11 days. That is 1,321 days, or about 3.62 years in decimal form.
Exactly five years apart
1 June 1990 and 1 June 1995 are 5 years, 0 months and 0 days apart, which is 1,826 days because the 29 February 1992 falls inside the span.
One day short of five years
2 June 1990 and 1 June 1995 are 4 years, 11 months and 30 days apart, which is 1,825 days. The decimal figure for both pairs is 5.00 years, which is why the years, months and days result is the exact one.