Relationship Age Difference Calculator

Curious about the age gap in a relationship? This calculator takes the two partners' ages and reports the difference in years, the proportional difference as a percentage of the younger partner's age, and where the relationship sits relative to the popular half-plus-seven social guideline. All outputs are neutral arithmetic. The half-plus-seven rule is folklore rather than science, included here only because people often ask about it. Enter both ages to see every figure update instantly.

0.00
0.00
0.00
0.00

Age difference formula

Gap = |age one - age two|
Younger = min(age one, age two)
Older = max(age one, age two)
Percent difference = (gap / younger) * 100
Half-plus-seven minimum = (older / 2) + 7
Average age = (age one + age two) / 2

The gap uses the absolute value so input order never changes the result. The half-plus-seven minimum is computed from the older partner's age and compared against the younger partner's actual age. If the younger partner is at or above that minimum, the pairing is inside the popular guideline.

Understanding the numbers

  • The age gap is a simple subtraction; it carries no inherent meaning beyond the arithmetic.
  • The half-plus-seven rule is a cultural rule of thumb with no legal or scientific standing.
  • Percentage difference shrinks as both partners get older: a 5-year gap is larger proportionally at 25 than at 55.
  • Legal age of consent and marriage rules are set by each US state, not by any age-gap formula.
  • For an exact gap, compute each person's age from birthdate first, then enter those ages here.

Age difference: frequently asked questions

How is age difference calculated?

Age difference is the absolute value of the difference between the two ages: |age one minus age two|. Order does not matter because we take the absolute value, so a 30 and 25 year old have the same 5-year gap whether you subtract in either direction.

What is the half-plus-seven rule?

The half-plus-seven guideline is a widely cited social rule of thumb, not a law or scientific finding. It suggests the minimum socially acceptable age of a partner is your age divided by two, plus seven. This calculator reports that minimum for the older partner so you can see where a relationship falls relative to the guideline.

How is the percentage age difference computed?

Percentage difference here is the age gap divided by the younger partner's age, multiplied by 100. A 5-year gap relative to a 25 year old is 20 percent. This frames the gap proportionally rather than in absolute years.

Is a large age difference a problem?

This calculator makes no judgement. It reports neutral arithmetic: the gap in years, the half-plus-seven minimum, and the proportional difference. Relationship quality depends on many factors beyond age. The social rule is folklore, not evidence.

Does the calculator use birthdates or ages?

It uses ages in whole or decimal years that you enter directly. For an exact gap from birthdates, compute each person's age first, then enter those ages here. The arithmetic is identical either way.

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 16 June 2026. See our methodology.