Skip to the calculator

Age Difference Calculator

The exact age gap between two dates in years, months and days, and who is older.

Enter two dates

First date

Type the date, or use the calendar.

Second date

Type the date, or use the calendar.

A 29 February birthday in years without 29 February counts as:

How dates are counted: by calendar date only, so your time zone doesn't change the answer. Whole months are counted first, then the remaining days.

If a month is shorter than the start day, that month ends on its last day: 31 January plus one month is 28 February (29 in a leap year).

A 29 February birthday counts as 1 March in years without 29 February by default, as in Scotland's law; choose 28 February above if that is the rule you need.

What the calculator does

Enter two birth dates to see who is older and by how much, or any two dates to get someone's age on a given day, with total days, weeks and each next birthday.

  • Clear date rulesMonth ends and 29 February explained
  • Instant resultUpdates as soon as both dates are in
  • Free, no sign-upNo account and no limits
  • Stays on your deviceDates are calculated in your browser

Key points before you calculate

  • Whole months first, then days

    A month without the matching day ends on its last day: 31 January + 1 month = 28 February (29 in a leap year).

  • 29 February birthdays

    Count as 1 March in other years by default, as in Scotland's law; 28 February is an option.

  • Dates only, no time zones

    Your time zone and daylight saving time can't change the result.

  • Nothing is stored

    The dates are calculated in your browser and are not sent to any server.

Step by step

How to use the age difference calculator

  1. Enter two dates

    Usually two birth dates, but any two dates work, in either order.

  2. Read the difference

    You get years, months and days, plus the totals in months, weeks, days and hours, and which date is earlier: the person born on it is older.

  3. Use the extras

    See the next birthday for each date, copy the result, or share a link that opens the calculator with the same two dates.

Age gap

What counts as an age gap

An age gap is the time between two people's dates of birth. Enter both birth dates and the calculator gives it in years, months and days. That gap stays the same however old the two people get.

When people ask how many years apart they are, they usually compare their current ages, and that number changes during the year. Someone born on 10 January 2000 and someone born on 20 June 2003 are 3 years, 5 months and 10 days apart. To compare two ages as a percentage instead, the Percentage Calculator on FinCalcBox works out the percentage difference between two numbers.

From 10 January to 19 June each year

Their ages differ by 4

From 20 June to 9 January

Their ages differ by 3

Measurement only

The calculator only measures time between dates. It doesn't say whether an age gap matters, and it isn't legal advice about any age limit; see the disclaimer.

The rule

How to calculate the age difference

The total number of days between two dates is the same everywhere. Splitting it into years, months and days needs a rule. By hand it takes four steps, and the calculator follows the same steps:

  1. Put the earlier date first. The person born on it is the older one.

  2. Count the whole years from the earlier date that fit before the later date.

  3. From there, count the whole months that still fit. A month without the matching day ends on its last day.

  4. Count the days that are left up to the later date.

Example: 22 August 1985 to 15 May 1990

From 22 August 1985, 4 whole years reach 22 August 1989 and 8 more months reach 22 April 1990; from 22 April 1990 to 15 May 1990 is 23 days.

Age difference: 4 years, 8 months and 23 days (1,727 days in total).

The four rules this calculator uses

  1. Whole months first, then days

    From the earlier date, count as many whole months as fit before the later date (12 months make a year), then count the days that are left.

  2. Short months end on their last day

    When a month has no matching day, the month ends on its last day: one month after 31 January is 28 February, or 29 February in a leap year. Taiwan's Civil Code (Article 121) counts periods the same way.

  3. 29 February birthdays: 1 March by default, 28 February as an option

    In years without 29 February, a 29 February birthday counts as 1 March. That is the rule written into Scotland's Age of Legal Capacity (Scotland) Act 1991. Other places count it as 28 February, and the law for England and Wales says only that an age is reached at the start of the birthday, so the calculator lets you switch to 28 February.

  4. Dates only, no time zones

    Dates are never turned into times of day, so your time zone and daylight saving time can't change the result. Leap years follow the Gregorian rule: every fourth year, except century years that can't be divided by 400 (2000 was a leap year, 1900 and 2100 are not). Total hours are simply the number of days × 24.

29 February birthdays: the two options side by side

First birthday after 29 February 20001 March (default)1 March 200128 February (option)28 February 2001
29 February 2000 to 28 February 20011 March (default)11 months and 30 days28 February (option)1 year
Basis1 March (default)Age of Legal Capacity (Scotland) Act 199128 February (option)Used in some other places

Tip: match the rule you need

If an organisation counts a 29 February birthday as 28 February, choose that option under the Calculate button; the share link keeps the choice.

Worked examples

Worked examples

Each example is exactly what the calculator shows for these dates.

Two birthdays

From
22 August 1985
To
15 May 1990

Result4 years, 8 months and 23 days1,727 days in total

Working: From 22 August 1985, 4 whole years reach 22 August 1989 and 8 more months reach 22 April 1990; from 22 April 1990 to 15 May 1990 is 23 days.

Siblings

From
10 June 2018
To
3 November 2020

Result2 years, 4 months and 24 days877 days in total

Working: From 10 June 2018, 2 whole years reach 10 June 2020 and 4 more months reach 10 October 2020; from 10 October 2020 to 3 November 2020 is 24 days.

An age on a given day

From
12 March 1999
To
15 January 2024

Result24 years, 10 months and 3 days9,075 days in total

Working: Someone born on 12 March 1999 is 24 on 15 January 2024. From 12 March 1999, 24 whole years reach 12 March 2023 and 10 more months reach 12 January 2024; from 12 January 2024 to 15 January 2024 is 3 days.

A month end

From
31 January 2023
To
1 March 2023

Result1 month and 1 day29 days in total

Working: February 2023 has no 31st, so the month after 31 January ends on February's last day. From 31 January 2023, 1 whole month reaches 28 February 2023; from 28 February 2023 to 1 March 2023 is 1 day.

A 29 February birthday

From
29 February 2000
To
28 February 2001

Result11 months and 30 days by default; 1 year with the 28 February option365 days in total

Working: With the default rule the first birthday is 1 March 2001, so on 28 February 2001 the year isn't complete yet. From 29 February 2000, 11 whole months reach 29 January 2001; from 29 January 2001 to 28 February 2001 is 30 days.

Quick reference

Age difference between two dates: quick reference

A few pairs of dates and what the calculator shows for them.

Age difference in years, months and days, and total days, for example pairs of dates
Earlier date10 Jan 2000Later date20 Jun 2003Difference3 years, 5 months and 10 daysTotal days1,257
Earlier date15 May 1990Later date2 Nov 1996Difference6 years, 5 months and 18 daysTotal days2,363
Earlier date8 Mar 1975Later date30 Sep 1988Difference13 years, 6 months and 22 daysTotal days4,955
Earlier date1 Jan 1990Later date1 Jan 2000Difference10 yearsTotal days3,652
Earlier date31 Jan 2023Later date1 Mar 2023Difference1 month and 1 dayTotal days29
Earlier date28 Feb 2100Later date1 Mar 2100Difference1 day2100 is not a leap yearTotal days1

FAQ

Frequently asked questions

How do I calculate the age difference between two dates in years, months and days?

Start at the earlier date and count whole years, then whole months, without passing the later date; then count the days that are left. From 22 August 1985, 4 whole years reach 22 August 1989 and 8 more months reach 22 April 1990; from 22 April 1990 to 15 May 1990 is 23 days. So the difference is 4 years, 8 months and 23 days. The calculator counts the same way and handles month ends and 29 February by the rules on this page.

Is an age gap calculator the same as an age difference calculator?

Yes. Age gap and age difference mean the same thing: the time between two people's dates of birth. This calculator also works for any two dates, so you can use it to find someone's age on a given day or the time between two events.

How many days older am I than someone else?

Enter both birth dates and read the total days in the result. Someone born on 22 August 1985 is 1,727 days older than someone born on 15 May 1990, which is 246 weeks and 5 days. The total number of days doesn't depend on how months are counted.

How many years apart are we, and why does it change during the year?

Your ages in whole years change on two different birthdays, so their difference changes during the year. People born on 10 January 2000 and 20 June 2003 are always 3 years, 5 months and 10 days apart, but their ages in whole years differ by 4 from the older person's birthday until the younger person's birthday, and by 3 for the rest of the year. The gap in years, months and days never changes.

How do I find out who is older and by how much?

Enter both birth dates. The calculator says which date is earlier; the person born on that date is older, by the years, months and days shown. You can enter the dates in either order.

Why does 31 January to 1 March show 1 month and 1 day?

Whole months are counted first. February has no 31st, so one month after 31 January ends on the last day of February (28 February, or 29 in a leap year). From 28 February to 1 March is one more day. In 2023 that gives 1 month and 1 day, 29 days in total.

How are 29 February birthdays handled?

By default a 29 February birthday counts as 1 March in years without 29 February, which is the rule in Scotland's Age of Legal Capacity (Scotland) Act 1991. Some places count it as 28 February instead, so the calculator has a 28 February option. Someone born on 29 February 2000 turns 1 on 1 March 2001 by default, or on 28 February 2001 with the option.

Does my time zone change the result?

No. The calculator works with calendar dates only and never converts them to a time of day, so the same two dates give the same answer anywhere in the world and on both sides of a daylight saving change.

Can I use future dates or very old dates?

Yes, any date from the year 1 to 9999. A short note appears when a date is after today. Every date is treated as a date in today's Gregorian calendar, so a historical date recorded in another calendar has to be converted first.

Why might another calculator give a different answer?

The total number of days is the same everywhere, but the split into years, months and days depends on conventions: how a month that is too short for the start day is handled, and how 29 February birthdays are counted. This page states its rules next to the calculator so you can compare.

Can I rely on this for a legal age or an eligibility check?

Use it as a careful starting point, not as the final word. Laws and organisations set their own rules for when an age is reached, especially for 29 February birthdays, so check the rule that applies to your case.

Are the dates I enter stored anywhere?

No. The calculation runs in your browser and the dates are not sent to any server. If you use Copy link, the two dates are part of the link, so anyone who has the link can see them.

Using a result for a legal age or an eligibility check?

Laws and organisations set their own rules for when an age is reached, especially for 29 February birthdays, so check the rule that applies to your case.

Sources

Sources

  1. Age of Legal Capacity (Scotland) Act 1991, section 6 (29 February birthdays count from 1 March)
  2. Family Law Reform Act 1969, section 9 (England and Wales: an age is reached at the start of the birthday)
  3. Civil Code of Taiwan, Article 121 (a period ends on the last day of the month when the day doesn't exist)
  4. NASA Glenn Research Center: leap years and century years divisible by 400

Written and checked by Ahmed Raza

Last reviewed:

Related tools

More free calculators

If you're planning around an age or a date, these calculators on FinCalcBox, our main site, may help: