agecalculator.com

Age difference calculator

Put in two dates of birth to see who’s older and by how much, in years, months and days.

Add names

Two dates of birth, and the gap shows up here.

Sam, born 2 June 1990, is 3 years, 3 months and 18 days older than Alex, born 20 September 1993. That’s 1,206 days.

Sam and Alex: a worked example

The gap is counted the same way an age is. Start at the earlier date of birth, count the whole years until you would pass the later one, then the whole months, then the days left over.

Take Sam, born on 2 June 1990, and Alex, born on 20 September 1993:

  • 2 June 1990 to 2 June 1993 is 3 years.
  • 2 June 1993 to 2 September 1993 is 3 months.
  • 2 September to 20 September is 18 days.

So Sam is 3 years, 3 months and 18 days older than Alex. Counted in days, that is 1,206, or 172 weeks and 2 days.

Why their ages don’t always differ by the same number

The gap in days stays at 1,206 all year, but the difference between their ages in whole years changes. Between 2 June and 19 September each year, the older person has had their birthday and the younger one hasn’t, so their ages are 4 apart. On 1 August 2026, for example, they are 36 and 32. On 16 November 2026 the younger one has turned 33, so they are 3 apart.

Both answers are right, which is why the result has a line saying the ages differ by “3 or 4, depending on the time of year”. If you only subtract one age from another, you get whichever of the two happens to apply today. The years, months and days figure is the one that stays put.

If the two people share a birthday (same day and month, different years), the gap is a whole number of years and the line says it holds all year.

How the gap is shown

This age difference calculator shows the gap the way you’d say an age: whole years first, then months, then days. Underneath, it says who is older and gives the same gap in weeks and in days. Names are optional: open Add names to type them. They only label the result, so it can say “Sam is older” instead of “Person A is older”.

The order you type the dates in doesn’t matter. The calculator works out which birthday came first and counts forward from it.

Leap days and month ends

Comparing with someone born on 29 February? In years without one, their birthday counts on 1 March, as it does everywhere on this site (the reason is on the age calculator page). A gap that starts on 31 January reaches its first whole month on 1 March too, because February has no 31st. Some other calculators stop that month at 28 February, so they can be a day out.

Twins and same-day births

Twins born either side of midnight have different dates of birth, and the calculator will show them as 1 day apart. If you type the same date twice, it says so rather than showing a gap of zero years, zero months and zero days.

Other things people use it for

Couples comparing ages, siblings settling an argument, and anyone filling in a form that asks for the age gap between a parent and a child. For the span between any two dates that aren’t birthdays, such as the start and end of a tenancy, days between dates is the better tool, because it can count the end day and gives a weekday total. For one person’s age on a given day, use the main age calculator.

Groups and privacy

Comparing more than two people

The calculator compares two people at a time. Work out each pair, or compare everyone with the eldest.

Are the names I type saved?

No. The calculation runs in your browser, and the names are only used to label the result on your screen.