Age Difference Calculator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free age difference calculator. Enter two birthdays to see exactly how far apart they are in years, months and days, plus total days and weeks.

Total days
0
Weeks
0
Older
0

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the age difference calculator

  1. Enter the first person's date of birth.
  2. Enter the second person's date of birth. The order doesn't matter.
  3. Read the age gap in years, months and days, plus the total number of days, the difference in weeks and days, and which person is older.

The age difference calculator handles leap years and months of different lengths correctly. It works in your browser, so the dates you enter aren't stored or sent anywhere.

How the age difference is calculated

The calculator counts from the earlier birthday to the later one in three steps:

  1. Whole months: it steps forward a month at a time from the earlier date, without going past the later date. Twelve months make a year.
  2. Remaining days: it counts the days from that point to the later date.
  3. Total days: separately, it counts every day between the two dates.

For birthdays on 15 May 1990 and 2 September 1994:

  • From 15 May 1990 to 15 May 1994 is 4 years.
  • From 15 May 1994 to 15 August 1994 is 3 months.
  • From 15 August to 2 September is 18 days.

So the age difference is 4 years, 3 months and 18 days, or 1,571 days in total, which is 224 weeks and 3 days.

Why months are tricky

Months have 28, 29, 30 or 31 days, so "one month after" some dates is ambiguous. What is one month after 31 January? There's no 31 February.

The age difference calculator follows the common convention, used by many date libraries and legal calculations: if the day doesn't exist in the target month, use the last day of that month. One month after 31 January 2024 is 29 February 2024 (a leap year). So from 31 January 2024 to 1 March 2024 is 1 month and 1 day, or 30 days in total.

Different tools sometimes handle these edge cases differently, which is why two calculators can disagree by a day. The total days figure is always exact and unambiguous.

Leap years and leap-day birthdays

Leap years add 29 February every four years, except century years not divisible by 400 (so 2000 was a leap year, but 1900 wasn't). The age difference calculator uses real calendar dates, so leap days are counted exactly.

For someone born on 29 February, the month-stepping rule treats 28 February as their "birthday" in non-leap years when counting months. Legal rules for leap-day birthdays vary by country, for example for when someone legally comes of age, so check the rules that apply where you are.

Age difference in decimal years

The calculator also shows the gap in decimal years, using the average Gregorian year of 365.2425 days. 1,571 days is about 4.30 years. That's handy for statistics and comparisons, while years, months and days are better for everyday conversation.

Common uses

  • Siblings and twins: how far apart brothers and sisters were born.
  • Couples: a common curiosity, and a fun fact for wedding speeches and anniversaries.
  • Parents and children: how old a parent was when their child was born (enter the parent's and child's birthdays).
  • Historical figures: the age gap between famous people, using their recorded birth dates.
  • Sports and school: comparing ages within a team or class year. Children born just after a school cut-off date can be almost a year older than classmates born just before it.
  • Genealogy: gaps between generations in a family tree.

The "half your age plus seven" rule

A popular rule of thumb says the youngest "socially acceptable" age for a partner is half your age plus seven. For a 30-year-old, that's 22. It's a piece of folk wisdom, not science, but it's often mentioned alongside age-gap questions. The age difference calculator gives the exact gap; how much it matters is up to the people involved.

Age difference at a particular date

The age gap between two people never changes in days, but the gap in "years old" can appear to change during the year. If one person is born in March and the other in September of the following year, for half the year they're one year apart in age and for the other half two years apart. The age difference calculator gives the exact gap between birth dates, which stays the same all year, so it avoids that confusion.

Age difference in the workplace and sport

Age bands are common in sport, schools and some benefits, and they're usually defined by a cut-off date: for example, players who are under 12 on 1 September. Two children born 11 months apart can end up in the same age group or in different ones, depending on the cut-off. To check where someone falls, use the age calculator with the cut-off date, and the age difference calculator to compare two players' birth dates exactly.

Historical age gaps

The age difference calculator works with any dates in the Gregorian calendar, so you can compare historical figures. Be aware that some countries switched from the Julian calendar to the Gregorian calendar at different times (Britain and its colonies in 1752, Russia in 1918), so birth dates recorded before the switch may be "old style" dates. For precise historical comparisons, check that both dates are in the same calendar first.

Age difference in years only

Sometimes you just need whole years, such as for forms or rules that state an age gap in years. Take the years figure from the age difference calculator and ignore the months and days: 4 years, 3 months and 18 days is a gap of 4 full years. If a rule says "at least 5 years apart", that pair doesn't qualify yet. For fractional years, use the decimal figure shown in the explanation, based on the average year of 365.2425 days.

Age difference and generations

Demographers often treat a generation as roughly 25 to 30 years: the typical age gap between parents and children. Enter a parent's and a child's birth dates into the age difference calculator to see how old the parent was when the child was born. In family history research, comparing these gaps across generations can show how family patterns changed, such as people having children later in life over the last century.

Privacy

Birth dates are personal information. The age difference calculator works entirely in your browser and doesn't store or send the dates you enter.

A worked example

A best man is writing his speech and wants an accurate fun fact about the couple. The bride was born on 15 May 1990 and the groom on 2 September 1994. He enters both dates into the age difference calculator:

  • Age difference: 4 years, 3 months and 18 days.
  • Total days: 1,571.
  • Weeks: 224 weeks and 3 days.
  • Older: the first person, the bride.

He uses the line: "She's exactly 1,571 days older than him, and she's never let him forget a single one."

To check an edge case, he also tries 31 January 2024 and 1 March 2024, and the calculator gives 1 month and 1 day (30 days in total), counting 29 February as the end of the first month.

Need more customers from Google?

This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.

Frequently asked questions

How do I calculate the age difference between two people?

Enter both birthdays into the age difference calculator. It counts whole years and months from the earlier date, then the remaining days, and shows the total days too.

Does the order of the dates matter?

No. The calculator always measures from the earlier date to the later one and tells you which person is older.

How does it handle leap years?

It uses real calendar dates, so 29 February is counted in leap years.

What is one month after 31 January?

The last day of February: 28 February, or 29 February in a leap year.

Why might another calculator differ by a day?

Tools handle month-end dates differently. The total number of days is always exact.

Is the age difference calculator free?

Yes. It's free, needs no sign-up, and works in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep