Age Difference Calculator

Compare two birth dates to get the exact age gap in years, months and days, how the age ratio changes, and when one person was twice as old.

Used for current ages and the age ratio.
Total days
1,997
Weeks and days
285 weeks, 2 days
Total months
65 monthsplus 18 days
In decimal years
5.47 years
Alex's age
40 years, 5 monthson Oct 11, 2026
Jordan's age
35 yearson Oct 11, 2026
Age ratio today
1.156 : 1
Twice as old on
Mar 19, 1997Alex was 10 years, 11 months, 7 days, Jordan 5 years, 5 months, 19 days
Half-your-age-plus-7
Within the ruleJordan 35 vs. minimum 27
Age difference5 years, 5 months, 18 daysAlex is older by 1,997 days
  • Ages are counted in completed calendar months and days, the same way birthdays work. The half-plus-seven rule is a folk guideline, not a standard.

Show the work

  1. Older: Alex, born Saturday, April 12, 1986. Younger: Jordan, born Monday, September 30, 1991.
  2. Count whole months from Apr 12, 1986: 65 months reach Sep 12, 1991, then 18 days more to Sep 30, 1991 → 5 years, 5 months, 18 days
  3. Exact gap in days: 1,997; ÷ 365.2425 = 5.468 average years
  4. The age gap never changes, but the ratio shrinks: twice as old when Jordan was 1,997 days old (Mar 19, 1997).
The gap at milestone birthdays
MilestoneDateAlex's ageRatio
Jordan turns 10Sep 30, 2001Alex is 15 y 5 m1.55×
Jordan turns 18Sep 30, 2009Alex is 23 y 5 m1.30×
Jordan turns 21Sep 30, 2012Alex is 26 y 5 m1.26×
Jordan turns 30Sep 30, 2021Alex is 35 y 5 m1.18×
Jordan turns 40Sep 30, 2031Alex is 45 y 5 m1.14×
Jordan turns 50Sep 30, 2041Alex is 55 y 5 m1.11×
Jordan turns 65Sep 30, 2056Alex is 70 y 5 m1.08×

Whether you are comparing siblings, a couple or two historical figures, an age gap is easy to ballpark and surprisingly fiddly to state exactly. Months have different lengths, leap years add a day, and “five years apart” can be true one month and false the next. This calculator gives the precise gap in years, months and days, the total in days and weeks, each person’s current age, and a few figures that show how the relationship between two ages changes over time.

How to use the age difference calculator

  1. Enter a name (optional) and birth date for each person, in either order.
  2. Set Ages as of — today by default — to see both ages and their ratio on that date.
  3. Read the gap on the tape. The table shows both ages at milestone birthdays of the younger person.

Names stay in your browser and are only used to label the results.

How the age gap is calculated

The calculator counts the way people count birthdays. Starting from the older person’s birth date it adds whole calendar months — clamping to the end of the month when needed, so January 31 plus one month is February 28 or 29 — until another month would overshoot the younger birth date. The leftover is counted in days:

gap = (whole months ÷ 12) years + (whole months mod 12) months + remaining days
age ratio = older person's age in days ÷ younger person's age in days

The date when the older person was exactly twice as old is the younger person’s birth date plus the gap in days, because on that day the younger person’s age equals the gap.

Worked example

Alex, born April 12, 1986, and Jordan, born September 30, 1991.

From April 12, 1986, 65 whole months reach September 12, 1991, and 18 more days reach September 30. The gap is 5 years, 5 months and 18 days, or 1,997 days (285 weeks and 2 days, about 5.47 years).

On October 11, 2026, Alex is 40 years 5 months old and Jordan is 35, a ratio of 1.156 to 1. Alex was exactly twice Jordan's age on March 19, 1997, when Jordan was 1,997 days old.

How the ratio shrinks

The same five-and-a-half-year gap feels huge at ten and trivial at sixty-five. Using the example above:

Jordan turns Date Alex’s age Ratio
10 Sep 30, 2001 15 years 5 months 1.55
18 Sep 30, 2009 23 years 5 months 1.30
30 Sep 30, 2021 35 years 5 months 1.18
50 Sep 30, 2041 55 years 5 months 1.11
65 Sep 30, 2056 70 years 5 months 1.08

Common questions about age gaps

Siblings and twins

For siblings, the gap in months is often the useful figure — pediatric guidance on birth spacing is usually written in months. Twins born either side of midnight have different birth dates and a one-day gap, which the calculator reports exactly.

Whole-year differences

If you only need the difference in whole-number ages (“how many years older”), compare the two current ages on the tape: it alternates between two neighboring values during the year, switching on each person’s birthday.

Historical dates

Dates are on the Gregorian calendar. For people born before a country adopted it (Britain and its colonies switched in 1752), convert Old Style dates first.

For one person’s exact age, use the age calculator; for any two dates, the date difference calculator counts the days; and the birthday calculator tells you which weekday each birthday falls on. If you are curious how likely two people in a group are to share a birthday, see the birthday paradox calculator.

Frequently asked questions

How do you calculate the age difference between two people?

Count whole months from the older person's birth date until the next step would pass the younger person's birth date, then count the remaining days. Twelve months make a year. The total-days figure is simply the number of calendar days between the two birthdays.

Does the age difference ever change?

The gap in days is fixed for life. What changes is how it reads in years: for part of each year the two people are, say, 5 years apart in whole-number ages, and for the rest they are 6 apart. The ratio between their ages also shrinks steadily toward 1.

When was the older person exactly twice as old?

When the younger person's age equals the age gap. If the gap is 1,997 days, the older person was twice as old on the day the younger one was 1,997 days old — a date the calculator shows.

What is the half-your-age-plus-seven rule?

It is an informal guideline for dating: the younger partner's age should be at least half the older partner's age plus seven. A 40-year-old meets it with anyone 27 or older. It has no legal or scientific standing; the calculator reports it only for curiosity.

How are leap-day birthdays handled?

In years without February 29, a February 29 birthday is treated as falling on February 28, the most common legal and practical convention. The total-day counts are always exact.

Last reviewed October 2026 by the CalcFluent editorial team. How we check our calculators.