Age Difference Calculator

Find the exact age gap between two people from their birth dates, in years/months/days and as a percentage of the older person's age, plus the "half your age plus seven" reference rule.

Age gap

4y 11m 30d

Total days apart

1,825 days

Person 1's age today

30.0 (older)

Person 2's age today

25.0 (younger)

Gap as % of the older person's age

16.7%

"Half your age plus seven" reference

Min. age by this rule: 22.0 (this gap clears it)

Ages are calculated as of today, in your browser. "Half your age plus seven" is a commonly cited rule of thumb (see the FAQ below), not a scientific standard — shown here for reference only. Calculations run locally; nothing you type is sent anywhere.

Spec

Enter two birth dates and this calculator returns the calendar-aware years/months/days apart, the total days apart, each person's current age, and the gap expressed as a percentage of the older person's age. The percentage is the part a plain date-difference tool skips: a 5-year gap is a 20% difference between two 20- and 25-year-olds but only about 8% between two 60- and 65-year-olds, using the same 5 years both times. Finding that kind of exact calendar gap between two dates, without the percentage framing, is the more general version of the same problem: [this site's date calculator](/date-calculator/) reports both the total day count and a years/months/days breakdown between any two dates, or counts down to a specific one.

What this calculator adds beyond a plain date difference

The calendar math here is the same "how far apart are two dates" arithmetic behind this site's date calculator, applied specifically to two birth dates. What is different is the framing: instead of a generic day count, the result names which person is older, states each person's current age, and adds a percentage figure, the age gap divided by the older person's age. That percentage answers the question most "age difference" searches are actually asking: how big a deal is a 5-year gap, which depends entirely on how old the two people already are.

"Total days apart" and the years/months/days breakdown never change once the two birth dates are set. "Current age" and the percentage figure do change: they are both calculated as of today, in your browser, and will read differently a year from now for the same two birth dates.

Why the same number of years feels smaller as people get older

A fixed age gap shrinks as a share of either person's age the older both people get, because the denominator (the older person's age) keeps growing while the gap itself stays fixed. Two people 5 years apart are 20% apart in age at 20 and 25, but only about 8% apart at 60 and 65, the same 5-year gap measured against a much larger base. The reference table below works through several of these fixed-gap comparisons.

This is arithmetic, not a claim about how age gaps are experienced. The calculator reports the percentage; what it means for a specific pair of people (siblings, coworkers, historical figures, or a couple) is outside what a number can tell you.

The "half your age plus seven" rule of thumb

One reference point that regularly comes up in age-gap discussions is a rule of thumb holding that a person should not date someone younger than half their own age, plus seven years: a 28-year-old's floor works out to 21, and a 50-year-old's to 32. Wikipedia's article on age disparity traces variations of the phrasing back to an 1879 collection by Frederick Locker-Lampson and a 1901 book by Max O'Rell, well before its more recent circulation online, including as the "Standard Creepiness Rule" in the webcomic xkcd's 2007 strip "Dating Pools."

This calculator shows the rule's minimum age for the older person in the results, purely as the commonly cited reference point it is. It is not a scientific formula and this page does not present it as advice.

What a real spousal age gap looks like, per Census data

Married couples in the U.S. sit much closer to each other in age than a century ago. Pew Research Center's August 2024 analysis of Census Bureau American Community Survey figures found husbands and wives were 2.2 years apart on average in 2022, down from 2.4 years in 2000 and 4.9 years back in 1880, a decline that has run steadily across well over a century of censuses.

The share of couples with a sizeable gap has fallen on both sides of that average. Husbands at least three years older than their wives made up 40% of marriages in 2022, down from 43% in 2000; wives at least three years older than their husbands held at 10%, down slightly from an 11% peak in 2000. Couples within two years of each other rose from 46% of marriages in 2000 to 51% in 2022.

Average U.S. spousal age gap, 1880–2022 (Census Bureau data via Pew Research)

Year Average gap between husband and wife
18804.9 years
20002.4 years
20222.2 years

Opposite-sex marriages with both spouses in the same household only. Source: Pew Research Center, analysis of U.S. Census Bureau decennial census and American Community Survey microdata, published August 2024.

"Half your age plus seven" minimum partner age, by age

Age Rule minimum (age ÷ 2 + 7)
2017
2519.5
3022
3524.5
4027
5032
6037
7042

A rule of thumb (see above), not a calculated fact about any specific pair of people.

The same 5-year gap, at different ages

Younger age Older age Gap as % of older age
202520.0%
303514.3%
404511.1%
50559.1%
60657.7%

Every row is the same 5-year gap; the percentage shrinks as both ages rise because the older person's age (the denominator) grows while the gap stays fixed.

Frequently asked questions

What is the formula for age difference?

This tool subtracts one birthday from the other using ordinary calendar math, borrowing a month whenever the day-of-month subtraction would otherwise go negative. For the percentage number, that interval gets converted into decimal years and divided by however old the older participant currently is, then multiplied by 100.

How is this different from a regular date-difference calculator?

Same underlying arithmetic, narrower purpose: this version is built around two birthdays specifically, so on top of the interval it also states which of the two is older and appends the one number a plain day-count skips, how large that gap is relative to how old the older participant already is.

Why does a 5-year age gap seem bigger between two 20-somethings than two 60-somethings?

Because that percentage is a fraction with the older participant's age on the bottom, and the bottom number only gets bigger as both people age while the top number (the gap itself) never moves. Five years works out to 20% once someone is 25, yet only around 8% once they're 65: the same five-year span, but the denominator is more than double the size.

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

It sets a floor on partner age: take however old the older person is, cut that number in half, then add seven. Under this arithmetic, someone who just turned 28 shouldn't date below 21, and someone who just turned 50 shouldn't date below 32. Print references to the wording go back to at least the late 1870s, long before pop culture carried it much further via a well-known xkcd strip in the late 2000s. Treat it as folklore, not science or law.

Can I use this for two historical dates instead of two living people?

Yes, any pair of valid calendar dates works, whether or not either person is still alive. Just remember two of the numbers this page shows are pinned to today: how old each participant currently is, plus the ratio built from that age. For someone no longer living, those two show what they would be right now, not what they were at the time of death.

Does this calculator store or send my birth dates anywhere?

No. Every calculation runs in your browser using the dates you type; nothing is transmitted to a server or stored.

Embed this calculator

Paste this snippet into any blog post or web page to get the working age difference calculator, free to use, with the attribution link staying in place.

Readout check

Did this tool do the job?

Built and maintained by the CalcBadger Team. Formulas verified against the sources above; last reviewed 2026-09-09.