Age Difference Calculator: Gap Between Two People

Find the exact age gap between two dates of birth in years, months and days, see who is older, and get the gap in total days. Free, private and leap-year aware.

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.

Illustration of a calendar, a wristwatch, photo frames and a timeline of dates

How to use

  1. Enter two dates of birth. Names are optional, and stay in your browser.
  2. Press Calculate age gap to see who is older, the gap in years, months and days, the total days and an approximate decimal figure.
  3. 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.

Frequently asked questions

How do you calculate an age difference?

We subtract the earlier date of birth from the later one in whole years, then months, then days, using real month lengths. For 9 July 1988 and 20 February 1992 the gap is 3 years, 7 months and 11 days.

Does the age gap change as we get older?

No. The difference between two birth dates is fixed for life. Both people age at the same rate, so the gap stays the same.

Are leap years counted?

Yes. The calendar method handles 29 February automatically, and the total in days includes every leap day. Five years can be 1,825 or 1,826 days depending on whether a leap day falls inside it.

Can I compare two dates that are not births?

Yes, any two dates work. For general date spans, the date duration calculator also offers business days and holiday calendars.

Why is the decimal different from the years, months and days result?

The decimal divides the total days by an average year length of 365.2425, so it is approximate and can round two different gaps to the same number. The years, months and days result follows the calendar exactly.

Which date goes first?

It does not matter. The gap is the same whichever order you enter the dates, and the tool tells you which person is older.

Can I use this for an age gap in a relationship?

You can calculate the gap. We do not judge what gap is acceptable, and the tool says nothing about compatibility.

Do you store the dates?

No. Everything stays in your browser, including any names you type.