Age Difference Calculator
Calculate the age difference between two dates and find the exact gap in years, months and days.
Enter any two dates to see the difference between them in years, months and days, plus the total in days, weeks and months — useful for age gaps, siblings, couples, and school or sports cut-offs.
Age Difference
How It Works
The calculator takes the two dates, puts the earlier one first (so the order you enter them does not matter), and works out the calendar difference: whole years first, then the remaining whole months, then the remaining days. That is the same "borrow" arithmetic people do by hand — if the later day-of-month is smaller than the earlier one, a month is borrowed and the days of the previous month are added — so the result always reads like a real age: 7 years, 5 months, 18 days, never 7 years and 13 months.
Alongside the calendar breakdown, the table shows the same gap expressed as a single number in each unit: total days, total weeks, total months, and total years with one decimal place. The total-days figure counts whole calendar days between the two dates using UTC dates, so time zones and daylight-saving changes cannot shift it. Leap years are counted automatically — a gap spanning 29 February includes that extra day.
Age gaps matter in more places than people expect: school enrolment cut-offs, youth sports age bands, sibling age gaps for family planning, and legal age differences. A gap of "7 years" can mean anything from 7 years and 1 day to 7 years and 364 days — the months-and-days breakdown is what makes the number useful.
Finding the age between two dates is the same calculation whether the dates are two birthdays, a start date and an end date, or any two points in time: subtract the earlier date from the later one in calendar terms and you get the gap in years, months and days — or, if you prefer a single number, in total days, weeks or months. The worked example below shows both at once: two birthdays 7 years, 5 months and 18 days apart are also 2,728 days apart, which is the figure to use when you need to compare gaps exactly.
Worked Example
Two people born on 12 April 1985 and 30 September 1992 are 7 years, 5 months and 18 days apart. Check: from 12 April 1985 to 12 April 1992 is 7 years; from 12 April 1992 to 12 September 1992 is 5 months; from 12 September to 30 September is 18 days. The same gap is 2,728 days in total — 389 weeks and 5 days — or 89 months. (The leap days in 1988 and 1992 are inside that count, which is why the total is 2,728 rather than 7 × 365 + 171 = 2,726.)
How to Use This Tool
Enter the two dates and click Calculate. The headline shows the difference in years, months and days; the table breaks it down into total days, weeks, months and years.
- Enter the first date. Usually the earlier date, such as the older person's birthday — but the order does not matter, because the calculator sorts the dates itself.
- Enter the second date. Usually the later date. If the two dates are the same, the difference is zero.
- Read the breakdown. The headline is the calendar difference; the table gives the single-unit totals, which are easier to compare across pairs of dates.
The example on the page — 12 April 1985 and 30 September 1992 — shows the full result format. Reset restores it.
Tips and Practical Advice
Age differences look simple, but the details matter when the gap decides eligibility or planning. For adding or subtracting days from a single date — a deadline 90 days out, say — the date calculator does that arithmetic.
- Order does not matter. The calculator always measures from the earlier date to the later one, so swapping the two inputs gives the same answer.
- Use total days to compare gaps. "7 years, 5 months" and "7 years, 6 months" are hard to compare at a glance; total days (2,728 vs 2,759) makes the comparison exact.
- Watch leap years in long gaps. A gap spanning several leap days is longer in days than years × 365 suggests. The total-days figure already includes every 29 February in the range.
- For age gaps, use birthdays, not ages. Subtracting whole ages ("36 minus 29") can be off by a year depending on whether each birthday has passed this year. Dates are exact; ages are not.
Why a Calendar Gap Is Not Just Days ÷ 365
A date gap can be measured two ways, and they answer different questions. The calendar breakdown — years, months and days — reads like an age, which is what you want when the gap decides eligibility or a milestone. Total days is the exact measure, which is what you want when you compare two gaps or feed the number into another calculation. The two do not convert by simple division, because years are not all 365 days and months are not all 30 days.
The reason is leap days. The worked example on this page — 12 April 1985 to 30 September 1992 — is 7 years, 5 months and 18 days, which is 2,728 days. Multiplying it out the simple way gives 7 × 365 + 171 = 2,726; the two leap days inside the range, 29 February 1988 and 29 February 1992, make up the difference. The longer the gap, the more leap days it holds, and the further the simple multiplication drifts.
The calendar breakdown itself uses "borrow" arithmetic: subtract the years, then the months, then the days, and when the later day-of-month is smaller than the earlier one, borrow a month and add the days of the previous month. A leap-day birthday shows why the borrowing matters: from 29 February 2000 to 21 November 2026 is 26 years, 8 months and 23 days — 26 full years to February 2026, 8 months on to late October, and 23 days more to 21 November — or 9,762 days in total, including six leap days (2004, 2008, 2012, 2016, 2020 and 2024). The same gap is 1,394 weeks and 4 days, 320 months, or 26.7 years.
| Dates | Calendar gap | Total days | Total weeks |
|---|---|---|---|
| 12 Apr 1985 – 30 Sep 1992 | 7 years, 5 months, 18 days | 2,728 | 389 weeks, 5 days |
| 29 Feb 2000 – 21 Nov 2026 | 26 years, 8 months, 23 days | 9,762 | 1,394 weeks, 4 days |
Which unit should you use? Total days when you compare gaps — "7 years, 5 months" against "7 years, 6 months" is hard to judge at a glance, but the total-days figures settle it exactly. Years, months and days when the answer has to read like an age, for school enrolment, sports age bands or legal age differences. Total months when the gap is a length of service or a tenancy. And always use the dates, not the ages: subtracting whole ages can be off by a year depending on whether each birthday has passed.
Sources: No external data is used on this page — every figure is calculated from the dates you enter. Last reviewed: 21 November 2026.
Frequently Asked Questions
How do you calculate the age difference between two people?
Subtract the earlier birth date from the later one in calendar terms: whole years first, then the remaining whole months, then the remaining days. For 12 April 1985 and 30 September 1992 that gives 7 years, 5 months and 18 days — 2,728 days in total.
Does the order of the two dates matter?
No. The calculator puts the earlier date first automatically, so entering the dates in either order gives the same difference. If the dates are identical, the difference is zero.
How are leap years handled?
Leap days are counted automatically. The total-days figure includes every 29 February between the two dates, and the calendar breakdown borrows days from the correct month lengths, including February in leap years.
What is the difference in total days or weeks?
The result table shows the same gap as total days, total weeks (with the leftover days), total months, and total years to one decimal place — so you can compare gaps or use the unit your situation needs.
How do I work out an age gap in years and months by hand?
Subtract the earlier date from the later one: whole years first, then whole months, then days. If the later day-of-month is smaller than the earlier one, borrow a month and add the days of the previous month. For 12 April 1985 and 30 September 1992 that gives 7 years, 5 months and 18 days.
Why is the total-days figure more than years × 365?
Because leap days add extra days inside the range. The gap between 12 April 1985 and 30 September 1992 is 7 years, 5 months and 18 days — 2,728 days, not 2,726 — because the leap days of 29 February 1988 and 29 February 1992 fall inside it. The longer the gap, the more leap days it holds.
Last updated: