AgeCalc

Age Difference Calculator

Compare the age gap between two people — from full birth dates, birth years alone, or two stated ages

How the age gap is calculated

An age gap is measured exactly like an age: the span between two dates. The calculator identifies the earlier birth date, counts whole years to the nearest anniversary, then whole months, then the leftover days. Leap years and unequal month lengths follow the same rules used across the site, which are written out in our calculation methodology.

Subtracting birth years is the common shortcut and it is frequently wrong by a year. Two people born in the same calendar year can be almost twelve months apart, and two people born in consecutive years can be a matter of days apart. Only the full dates give an exact answer.

No exact birth dates? Two other ways in

Most people know the day they were born; plenty of comparisons — a celebrity pair, a relative on a family tree, a friend's rough age — only come with a year or a round number. The calculator has an input for each situation:

  • Birth dates give the exact gap: years, months, days, and total days.
  • Birth years give the honest window. Two people born in 1990 and 1994 are between 3 and 4 whole years apart — subtracting the years and stopping there overstates the gap whenever the younger one was born before the older one's birthday. The exact figure needs the dates.
  • Ages subtract directly (24 and 31 are 7 years apart), with the caveat that stated ages have already thrown away the months, so the true gap sits within a year of the answer.

The year-based window is computed rather than guessed: it is the range every possible pair of birthdays in those two years produces, which is more than a flat subtraction of years tells you.

Why the gap seems to change

The gap itself never changes — it is the fixed distance between two dates. What changes is the whole-year figure people quote, which jumps by one for part of every year. That is why a couple can honestly describe themselves as four years apart in January and five years apart in May.

The years/months/days breakdown removes most of that ambiguity, and the total-days figure removes all of it — which is why genealogists and record-keepers prefer it.

Worked examples

Person 1Person 2Gap
March 12, 1990September 4, 19944 years, 5 months, 23 daysDescribed as "4 years apart" for most of the year and "5 years apart" between March and September.
January 1, 2000December 31, 200011 months, 30 daysSame birth year, but not quite a full year apart — subtracting years would give zero.
February 29, 1996February 28, 20015 years exactly (1,826 days)A leap-day birth date. Its anniversary is observed on February 28 in non-leap years, so this lands on a whole number of years.
June 15, 1985June 15, 19850 daysIdentical dates report no gap rather than arbitrarily naming one person older.

Try any of these in the calculator above — the output always matches the documented method.

The half-your-age-plus-seven rule

Alongside the gap, the calculator reports the range produced by the “half your age plus seven” convention for every age it knows: each person's current age when working from birth dates, or the two entered ages directly. The rule halves your age and adds seven for the lower bound, and subtracts seven and doubles for the upper one. A 30-year-old gets 22 to 46; a 50-year-old gets 32 to 86.

It is worth being clear about what this is. It is a social rule of thumb that has circulated in print since at least the nineteenth century. It carries no legal weight, it is not derived from research, and it produces nonsense below about fourteen. It is included because people look for it, not because it settles anything.

What people use this for

  • Couples working out the exact gap rather than the rounded one
  • Parents recording the spacing between siblings
  • Genealogy and family-history research, where total days is the unambiguous figure
  • Checking eligibility windows that depend on a difference in dates
  • Comparing the ages of public figures or historical people

If you need one person's age rather than the gap between two, use the how old am I calculator or the chronological age calculator. For a countdown to the next birthday, use the birthday calculator.

Frequently Asked Questions

Take the two birth dates and measure the span between them, exactly as you would measure someone's age. Whole years first, then whole months from that anniversary, then the leftover days. The result is fixed for life: two people born four years and three months apart stay four years and three months apart forever, even though the gap looks smaller as a percentage as they get older.
The gap in years, months, and days never changes — it is the distance between two fixed dates. What does change is the difference in whole years reported at any given moment, because it jumps by one for part of each year. Two people born in March 1990 and September 1994 are sometimes described as four years apart and sometimes as five, depending on the date you ask.
It is a rule of thumb that gives a socially conventional lower bound for a partner's age: half your age, plus seven. The upper bound is the inverse — subtract seven, then double. A 30-year-old gets a range of 22 to 46. It has no legal or scientific standing; it is a heuristic that appears in print at least as far back as the nineteenth century and it stops being meaningful below about 14.
If both birth dates are identical the calculator reports a gap of zero rather than naming an older person. For twins born minutes apart the calendar gap is still zero, because this calculator works to whole-day precision — birth times are not part of the input.
There is no threshold that research treats as a hard line. Studies commonly report that most couples fall within a few years of each other and that larger gaps are more frequent when one partner is older, but outcomes vary far more with communication and life stage than with the number itself. The calculator reports the gap; interpreting it is not something arithmetic can do.
You do not need to. The gap between two birth dates is constant, so the same figure applies at every point in both lives. If you want each person's age on a particular date rather than the gap between them, use the chronological age calculator and set the calculation date.
The calculator reports total months, total weeks, and total days alongside the years/months/days breakdown. Total days is the most useful figure for genealogy and record-keeping because it is unambiguous — it does not depend on any convention about how long a month is.
Use the calculator's "Birth years" mode. With only the years, no single exact figure exists: someone born in 1990 and someone born in 1994 are between 3 and 4 whole years apart, because a flat subtraction ignores where in each year the two birthdays fall. The window is real arithmetic — it is the range every possible pair of birthdays in those two years produces — and entering the full dates above collapses it to one exact answer.
Yes — the "Ages" mode subtracts the two ages directly, so ages of 24 and 31 are 7 years apart. Keep one caveat in mind: a stated age has already thrown away the months, so if one person rounded up and the other down, the true gap sits within a year of the figure you get. Full birth dates remove even that uncertainty.

Related Calculators