Age Gap Calculator

Enter two birth dates to get the exact age difference in years, months and days, plus total days and weeks. You'll also see who is older, how old each person is on a date you pick, and whether the pair passes the half-your-age-plus-seven rule.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Compare two recorded birth dates as a fixed calendar interval, then measure both people on one shared date. Birth order, completed ages, day totals, birthday timing, and February 29 assumptions stay separate and visible.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
Fixed comparisonExact birth-date interval
Shared snapshotBoth ages on one date
Day countingDST-safe date ordinals

Enter both people

Names are optional result labels. Use complete recorded birth dates; entry order does not affect which person is identified as older.

Two birth dates
Person 1
Optional. Used only to label this browser-based result.
Use the complete calendar date from the record being compared.
Person 2
Optional. Leave blank to use Person 2.
Order does not matter; the calculator identifies the earlier date.

Choose the shared age snapshot

This date changes each person's current-age details, but it never changes the permanent interval between their two birth dates.

Same date for both
Defaults to today locally. Both people must already be born on this date.
Fixed gap, changing age labels

The exact birth-date interval is permanent. The difference between completed-year labels can temporarily vary by one during the part of the year between the two birthdays.

How do you calculate the age gap between two people?

Start from the older person's birth date and count full years up to the younger person's birth date, then full months, then the days left over. April 10, 1990 and September 25, 1998 are 8 years, 5 months and 15 days apart, which is 3,090 days. Subtracting birth years alone (8) misses the months.

How to use the age gap calculator

Type in both birth dates. Names are optional and only change the labels in the result, so you can see "Sam" and "Priya" instead of Person 1 and Person 2. It doesn't matter which date you enter first. The calculator works out who was born earlier on its own.

The second step sets the date for comparing both ages. It starts on today's date, but you can change it to a wedding day, a photo date or any day after both births. The gap between the two birthdays never changes. The ages on that date do.

  1. Enter a name (optional) and birth date for the first person.
  2. Enter a name (optional) and birth date for the second person.
  3. Keep today's date or pick another date to compare both ages.
  4. If either birthday is February 29, choose whether it moves to February 28 or March 1 in other years.
  5. Press Compare ages to see the gap, each person's age and the half-plus-seven check.

Age difference example: 1990 and 1998 birthdays

Take April 10, 1990 and September 25, 1998. Counting forward from the earlier date, eight birthdays take you to April 10, 1998. Five more months reach September 10, 1998, and 15 days are left. The age gap is 8 years, 5 months and 15 days, or 3,090 days.

On August 10, 2026, the older person is 36 and the younger one is 27. Their whole-year ages differ by 9 even though the real gap is only 8 years and 5 months. That happens for part of every year, between one person's birthday and the other's.

Formula guide
  • Age gap = full years + full months + remaining days, counted from the earlier birth date
  • Days apart = later birth date - earlier birth date (in calendar days)
  • Weeks apart = days apart / 7, with the remainder as extra days
Age gap for April 10, 1990 and September 25, 1998
MeasureOlder personYounger personWhat it means
Birth dateApril 10, 1990September 25, 1998The 1990 birth is older
Age on August 10, 202636y 4m 0d27y 10m 16dBoth measured on the same day
Exact age gap8y 5m 15d3,090 daysFixed for life
Whole-year ages3627Differ by 8 or 9 depending on the month

The half your age plus seven rule

Half your age plus seven is an old rule of thumb for the youngest partner people consider socially acceptable. Divide the older person's age by two and add seven. A 40-year-old's minimum would be 27. Flip it around and the oldest partner for someone is their age minus seven, doubled.

The idea is far older than the internet. Max O'Rell wrote "a man should marry a woman half his age, plus seven" in Her Royal Highness Woman (1901), and an earlier version appears in Frederick Locker-Lampson's Patchwork (1879). A 2001 study by Buunk and colleagues found it fairly close to the youngest age men said they would date, but not a good match for women's answers.

The calculator applies the rule to both people's whole-year ages on the comparison date and tells you whether the younger person is at or above the minimum. It's a conversation piece, not a measure of whether a relationship is healthy, and it says nothing about legal age.

Half-your-age-plus-seven minimums
Older person's ageYoungest partner by the ruleOldest partner by the rule
201726
2519.536
302246
402766
503286

Why the age gap in years changes during the year

Two people born 8 years and 5 months apart will usually be described as 8 years apart. For a few months each year, though, their ages differ by 9. That window opens on the older person's birthday and closes on the younger person's birthday.

Nothing about the real gap changed. Whole-year ages just drop the extra months and days, and they drop them at different points in the year for each person. That's why this page shows the exact gap first and the whole-year difference on the chosen date separately.

February 29 birthdays

Someone born on February 29 has no birthday in three years out of four. Pick February 28 or March 1 as their birthday in common years and the calculator uses that choice for the gap, both ages and the next birthday.

Leap years follow the Gregorian rule documented by the U.S. Naval Observatory: years divisible by 4 are leap years, except century years that aren't divisible by 400. Laws and programs don't all agree on when a leap-day baby turns a year older, so check the rule that applies to you when it matters.

When an exact age difference matters

Most people use an age difference calculator out of curiosity: siblings, partners, friends, a parent and child, or a family tree. Setting the comparison date to a past event shows how old both people were at a wedding, a graduation or in an old photo.

School entry, sports age groups, benefits and legal age all have their own rules about cutoff dates and documents. Use this result to check the calendar math, then follow the official rule for the decision itself.

  • Sibling, partner and family age gaps in years, months and days
  • Both ages on a wedding, graduation or photo date
  • Total days and weeks between two birthdays
  • Who is older when two people were born close together
  • The half-your-age-plus-seven check for a couple

Sources

FAQ

How do I calculate the age gap between two people?

Count from the earlier birth date to the later one: first full years, then full months, then leftover days. The calculator does this for you and also shows the gap as total days and weeks.

Why isn't subtracting birth years enough?

Birth years ignore the month and day. Someone born in December 2000 and someone born in January 2002 are just over one year apart, but their birth years differ by two.

What is the half your age plus seven rule?

It's a rule of thumb for the youngest partner considered socially acceptable: half the older person's age plus seven. At 30 the minimum is 22, and at 50 it's 32. It isn't a legal or scientific limit.

Does a 10-year age gap pass the half-plus-seven rule?

It depends on the ages. At 40 and 30 it passes, because the minimum for 40 is 27. At 26 and 16 it fails, because the minimum for 26 is 20. Older couples pass more easily.

Why are we sometimes 8 years apart and sometimes 9?

Whole-year ages drop the extra months. Between the older person's birthday and the younger person's birthday, the two ages differ by one more year than the rest of the time. The exact gap doesn't change.

Can I see how old we both were on a past date?

Yes. Change the comparison date to any day on or after both births. The exact gap stays the same, and each person's age and next birthday update.

How are February 29 birthdays handled?

You choose whether a leap-day birthday falls on February 28 or March 1 in common years. The calculator applies that choice to the gap, both ages and the next birthday.

Can I use this for legal age or eligibility?

Use it to check the date math only. Schools, sports leagues, benefit programs and courts set their own cutoff and document rules, and those rules decide the outcome.