Age Difference Calculator

Two birthdays are all it takes. This free age difference calculator compares any two dates of birth and gives you the exact age difference between two people: the gap in years, months and days, the total days between the two dates, and the same gap counted in weeks — plus a plain statement of who is older. Call it an age gap calculator or an age calculator difference tool, the job is the same, and it works for any two dates at all, not just birthdays: the age gap between siblings, a couple’s birthdays, two wedding anniversaries. The dates can be entered in either order. Everything runs in your browser, with nothing to download or sign up for.

Quick answer: line the two dates up and take the difference part by part — years first, then months, then days, borrowing from the next part up whenever a part will not subtract. For birthdays of 15 May 1990 and 20 November 1998, the difference in age is 8 years, 6 months and 5 days — 3,111 days in total. Enter your own two dates above and the calculator does the lining up and borrowing for you.

How to use this age difference calculator

  1. Enter the first person’s date of birth in the first box. The boxes start with the example birthdays 15 May 1990 and 20 November 1998 — just type over them.
  2. Enter the second person’s date of birth in the second box. The order does not matter: the calculator sorts out which date came first, and tells you who is older.
  3. Press “Calculate Age Difference” — you get the gap as years, months and days in large type, the total days between the dates, and the gap in weeks and leftover days underneath.

Enter the two birthdays in either order — the calculator works out which date is earlier on its own. It also works for any two dates, not just birthdays: two siblings’ births, two wedding anniversaries, any pair you want the exact gap between.

How the age difference calculator works

This is how to calculate age difference exactly: the calculator treats the gap the same way you would work out someone's age, except it runs between the two birthdays instead of between a birthday and today. It puts the earlier date first, then subtracts part by part — years from years, months from months, days from days. Whenever a part will not subtract, it borrows from the part above it, exactly like column subtraction at school. If the days will not go, it borrows one month — worth however many days the month before the later date has — and if the months will not go, it borrows one year, worth 12 months. A real example of the borrowing: from 29 February 2024 to 28 February 2025, the days read 28 − 29, which will not go, so the calculator borrows January 2025's 31 days to make 28 + 31 − 29 = 30 days, and the months drop by one to 11 — a gap of 0 years, 11 months and 30 days.

Alongside the breakdown, the calculator counts the total days between the two dates one by one, so every real day is included — including 29 February in a leap year. The span in the worked example below crosses two of them, in 1992 and 1996, and both are inside its 3,111-day total. The weeks figure is that same total divided by 7, with the leftover days shown beside it.

One warning the method makes plain: you cannot just subtract the birth years. 1998 − 1990 = 8 sounds like the whole answer, but it ignores the months and days entirely — and where the younger person's birthday falls late in the year, the true full-years gap can be a whole year less than the subtraction suggests. The part-by-part method is what keeps the figure honest.

A worked example

Say one person was born on 15 May 1990 and the other on 20 November 1998, and you want the age difference between two people worked out exactly.

Step 1: put the earlier date first. 15 May 1990 came before 20 November 1998, so the first person is the older one.

Step 2: subtract the years. 1998 − 1990 = 8 years.

Step 3: subtract the months. November is month 11 and May is month 5, so 11 − 5 = 6 months.

Step 4: subtract the days. 20 − 15 = 5 days. Nothing needed borrowing this time, because each part subtracted cleanly.

The age difference is 8 years, 6 months and 5 days. Counted day by day, the two birthdays are 3,111 days apart — which is also 444 weeks and 3 days. All three figures describe the same gap; the years-months-days version is the one people usually mean, and the total days version is the one to use when a form or a rule needs an exact count.

Common mistakes

  • Subtracting the birth years and stopping there. 1998 − 1990 = 8 gives you a rough figure, not the gap: it throws away the months and days, and it overstates the full years whenever the younger person's birthday falls later in the year than the older person's. Someone born in December 1990 and someone born in January 1998 are 7 years and 1 month apart, not 8 years — the year subtraction alone overstates their gap by eleven months.
  • Forgetting the leap days in a total-days count. Every 29 February inside the span adds a real day, and long gaps cross several: the worked example's span crosses two, in 1992 and 1996, and both sit inside its 3,111 days. Counting the span as years × 365 quietly drops them and lands a few days short.
  • Expecting the gap to shrink as the younger person "catches up". It never does. Both people age at exactly the same rate, so the age gap between siblings worked out today is the gap for life — 8 years, 6 months and 5 days now, and 8 years, 6 months and 5 days in thirty years' time. What changes is each person's own age, not the distance between them.

Pro tips

  • Use the total-days figure whenever a rule is written in days or months. School entry cut-offs, sports age groups and insurance bands are all measured against exact dates, and a gap described as "about three years" can be 1,095 or 1,096 days depending on the leap days inside it. The breakdown in years, months and days is the friendly version; the total days is the precise one, and this calculator shows both so you can quote whichever the rule asks for.
  • Once you know the gap, you never need to work it out again — use it to read ages off each other. Because the difference never changes, on any future date the younger person's age is simply the older person's age minus this gap. If the older sibling is 20 years and 4 months on some date, the younger is 20 years 4 months minus 8 years, 6 months and 5 days on that same date. One fixed gap, worked out once, answers every "how old will both of them be when…" question.

Frequently asked questions

How do I calculate the age difference between two people?

Put the earlier birthday first, then subtract the two dates part by part: years from years, months from months, days from days. If the days will not subtract, borrow the days in the month before the later date; if the months will not subtract, borrow 12 from the years. Birthdays of 15 May 1990 and 20 November 1998 give 8 years, 6 months and 5 days. The calculator above does the lining up and borrowing for you.

Does the age gap change as we get older?

No. The gap in years, months and days stays exactly the same for life, because both people age at the same rate — every day that passes adds one day to both ages. A gap of 8 years, 6 months and 5 days today is the same gap in ten years and in fifty. What does change is the proportion: a 5-year gap is enormous between children of 5 and 10, and barely noticeable between adults of 55 and 60.

How do I work out the age gap between siblings?

Exactly the same way as any other pair: enter the older sibling's birthday and the younger sibling's birthday, in either order, and read off the gap in years, months and days. There is no separate method for siblings — the age gap between siblings is fixed from the day the younger one is born and stays fixed, which is why the same two birthdays always give the same answer.

Can this calculator compare any two dates, not just birthdays?

Yes. The maths only needs two dates, so it works for any pair: two wedding anniversaries, the start dates of two jobs, two historical events. Enter them the same way and the answer is the exact gap between those dates in years, months and days, with the total days counted as well. For dates where you also need the hours, minutes and seconds between them, the Datetime Calculator is the better tool.

Why is the answer different from just subtracting the birth years?

Because subtracting the years ignores the months and days. If the younger person's birthday falls later in the year than the older person's, the younger has not yet completed the year the subtraction credits them with. Someone born in December 1990 and someone born in January 1998 look 8 years apart by year subtraction, but the exact gap is 7 years and 1 month. The part-by-part method, with its borrowing, is what produces the true figure.

Does the total days figure include leap days?

Yes. The total is counted day by day between the two dates, so every real day is in it — including each 29 February that falls inside the span. The span from 15 May 1990 to 20 November 1998 crosses two leap days, in 1992 and 1996, and both are inside its total of 3,111 days. A quick estimate of years × 365 would miss them and come out short.

More calculators

To count the days between any two dates — with the weekdays and weekend days split out as well — the Count Days Calculator is the tool built for it. If your two moments have times as well as dates, the Datetime Calculator works out the exact gap down to hours, minutes and seconds. And to count down to a birthday or any other date coming up, the Days Until Calculator shows a live countdown. Or go back to the homepage to see the full list of free calculators, including the time, math, education and finance tools.