Skip to content
thecalculatorstudio

Age Difference Calculator: How Far Apart Are Two Birthdays?

Enter two dates of birth. You get who is older, the gap in years, months and days, the gap in days, weeks and months, and each person’s age on the date you choose.

Last reviewed

Age difference

5 years, 3 months, 12 days

The first person is older

In days
1,930
In weeks and days
275 weeks, 5 days
In months
63
First person is
36 years, 8 months, 7 days
Second person is
31 years, 4 months, 26 days

The gap between two birthdays

Enter two dates of birth. The calculator tells you who is older, and by how much in years, months and days, and also in days, weeks and months. It shows each person’s age on a date you choose, which is today unless you pick another. It works for couples, siblings, friends, a parent and a child, or two people in a history book.

The gap is counted the way an age is: whole calendar months first, then the days that are left over, using the real length of each month. It does not change as time passes. Two people born five years apart are always five years apart, though the ratio of their ages keeps changing.

Worked example

A is born on 3 March 1990 and B on 15 June 1995.

  • The gap: A is older. From 3 March 1990 to 3 June 1995 is 5 years and 3 months, and then 12 more days reach 15 June, so the gap is 5 years, 3 months and 12 days.
  • In days: 1,930 days, which is 275 weeks and 5 days. That includes one leap day, 29 February 1992.
  • In months: 5 × 12 + 3 = 63 months.
  • Ages on 17 October 2026: A is 36 years, 7 months and 14 days. B is 31 years, 4 months and 2 days.

More cases

First person Second person Gap Days
3 March 1990 15 June 1995 5 years, 3 months, 12 days 1,930
29 February 2000 29 February 2004 4 years 1,461
31 December 1999 1 January 2000 1 day 1

Between two leap days there are 4 × 365 + 1 = 1,461 days, because one leap day falls inside the period. Two people born a day apart, on 31 December and 1 January, can be in different years and even different centuries, and the gap is still one day.

Why it matters which way you count

Subtracting the years alone gives the wrong answer for most pairs. 1990 and 1995 are five years apart, but a birthday in March and one in June make the real gap five years and three months. Dates of birth in the same month can also surprise you: someone born in December 1999 is only a few weeks older than someone born in January 2000, even though they are a year apart by birth year.

When the gap feels different

The gap stays the same, but the ratio of ages does not. A five-year gap is a ratio of 2 to 1 when the younger is 5 and the older is 10, and about 8 to 7 by the time they are 35 and 40. The calculator shows the ages as of any date you pick, so you can see them side by side at a past or future date.

Common mistakes

  • Subtracting birth years. It ignores the months and days.
  • Assuming a month has 30 days. The calculator uses real months, so a gap that crosses February is shorter in days than 30-day months suggest.
  • Reading the order. The gap is always positive. The calculator says who is older.
  • Forgetting leap days. They add a day to the total, and the calculator counts them.

To work out a single age, use the age calculator. For next birthdays and milestone dates, the birthday calculator. To count the days between any two dates, the days between dates calculator, and for the clinical convention for ages in test scoring, the chronological age calculator.

How it is calculated

Each date is turned into a count of whole days since 1 January 1970, so time zones and daylight saving cannot shift a result. The total gap in days is the difference of the two counts. The gap in years, months and days adds whole calendar months from the earlier birth date until the next would pass the later one, and the days left over are the remainder. The gap in months is the years times 12 plus the months.

Frequently asked questions

How do I work out the age difference between two people?

Enter both dates of birth. The calculator adds whole calendar months from the earlier birth until the next would pass the later one, then counts the days left. 3 March 1990 and 15 June 1995 are 5 years, 3 months and 12 days apart.

Is it enough to subtract the birth years?

No. 1990 and 1995 are five years apart, but the months and days make the real gap 5 years, 3 months and 12 days. Two people born a day apart in different years, such as 31 December 1999 and 1 January 2000, are one day apart.

Does the age gap change over time?

No. The gap in days stays the same for ever. Only the ratio of the two ages changes: a 5-year gap is 2 to 1 at ages 5 and 10 but about 8 to 7 at ages 35 and 40.

How many days are in the gap?

The calculator shows the exact number of days, counting leap days. From 3 March 1990 to 15 June 1995 it is 1,930 days, which is 275 weeks and 5 days, or 63 whole months.

Can I see both ages on another date?

Yes. Change the "ages as of" date and both ages are recalculated for that day, so you can see how old each person was or will be at an event. Both must have been born by that date.

What if the two people share a birthday?

If the dates are identical the calculator says they were born on the same day and shows a gap of 0 days. If only the day and month match, the gap is a whole number of years, plus any leap-day difference in the day count.

Related calculators

Sources