Skip to content
ToolBoxGenie

Age Difference Calculator

Calculators · Added 15 August 2026

Enter two dates of birth and get the exact gap between them in years, months and days, plus the totals in days, weeks and months. The calculation borrows from the correct calendar month rather than assuming every month is thirty days, so a difference of exactly one year reads as one year.

How to use the age difference calculator

  1. 1Enter the first date of birth, optionally with a name.
  2. 2Enter the second date of birth.
  3. 3Read the gap in years, months and days.
  4. 4The totals below give the same gap in days, weeks and months.
  5. 5Entering the dates in either order gives the same answer.

Examples

A four-year gap

Input
20 May 1990 and 3 November 1994
Result
4 years, 5 months, 14 days

1,628 days in total.

Siblings close in age

Input
2 March 2018 and 14 September 2019
Result
1 year, 6 months, 12 days

About 79 weeks apart.

Same birthday

Input
Two people born on 1 January 2000
Result
No difference

The tool reports this rather than showing a row of zeros.

About the age difference calculator

Why calendar arithmetic beats day counting

The intuitive way to find an age gap is to count the days between two dates and divide. It is also the way that produces answers people can immediately tell are wrong, because the calendar is not built from uniform units.

Months range from 28 to 31 days, and years from 365 to 366. Any average used as a divisor — 30.44 days per month, 365.25 days per year — is right on aggregate and wrong for any particular pair of dates. The visible symptom is a result like '3 years, 11 months and 30 days' where the correct answer is four years exactly.

Doing it properly means subtracting the calendar components with borrowing, taking the length of the specific month being borrowed from. It is a few more lines of logic and it produces answers that match what a person would work out on a calendar, which is the only standard that matters for a tool like this.

What an age gap does and does not tell you

The number itself is straightforward, and people want it for all sorts of ordinary reasons: sibling spacing, school year placement, curiosity about a relationship, filling in a form. It is one of the few date calculations that stays constant for life, which makes it a genuinely fixed fact rather than a moving one.

One thing worth understanding is that the same gap in years feels and functions very differently at different points in life. Two years between a three-year-old and a five-year-old is an enormous developmental distance; the same two years between two forty-year-olds is almost nothing. School systems handle this by grouping on cut-off dates rather than exact ages, which is why children nearly a year apart end up in the same class and children days apart end up in different ones.

For school placement specifically, the gap between two children is usually less relevant than each child's date against the relevant cut-off. Those cut-offs vary by country and sometimes by district, so a calculation that matters administratively is worth checking against the actual rules rather than inferring from an age difference.

Frequently asked questions

Does the order I enter the dates in matter?
No. The tool works out which date is earlier and reports the gap as a positive figure, naming which person is older. Entering them the other way round gives an identical answer, because an age difference is a magnitude rather than a signed quantity.
How is the years-months-days figure calculated?
By calendar subtraction with borrowing, the same way you would do it by hand. Days are subtracted first, and if the result is negative it borrows from the month before the later date — using that month's actual length, not an average. Then months are subtracted, borrowing from years if needed. This is why the answer is exact rather than an approximation from a day count.
Why not just divide the total days by 365?
Because that produces visibly wrong answers. A year is 365 or 366 days depending on leap years, and months vary from 28 to 31, so any fixed divisor drifts. Dividing by 365 makes two people born exactly four years apart come out as four years and one day, thanks to the leap day in between. Calendar arithmetic avoids the whole class of error.
How is this different from the age calculator?
The age calculator works out one person's age from their birth date to today, along with their next birthday. This compares two birth dates to each other, and the result does not change over time — an age gap is fixed for life, whereas an age is not.
Is the total months figure exact?
It is the count of complete calendar months in the gap, with any remaining days shown separately in the main breakdown. So a gap of 4 years and 5 months reports as 53 total months, with the leftover days listed above rather than being expressed as a fraction of a month.