Age Gap Calculator

Use this age gap calculator to find the exact age difference between two people in years, months and days, then see how the gap compares with the half your age plus seven rule and with typical couples.

01

Enter Birthdates

Provide the date of birth for each person

02

Age Gap Analysis

Exact difference and social benchmarking

Age Difference
0
Enter birthdates above
Half Your Age Plus Seven Enter both birthdates to check the classic age gap rule.
Exact Gap 0 years, months, days
Gap in Days 0 total calendar days
Statistical Rarity 0% of US couples

Generational Cohort Comparison

See which generation each person belongs to and potential cross generational dynamics.

Person A Generation None
Person B Generation None
Cross Generational? None

Life Stage Alignment Score

How aligned are the two people in terms of career, family planning, and social maturity milestones?

Career Stage Pending
Family Planning Window Pending
Overall Alignment Pending

How It Works

Enter both dates of birth and, if you like, an "as of" date. The calculator subtracts the earlier birthdate from the later one to find the exact age difference between partners.

It works like date subtraction by hand. If the day count goes negative, it borrows the length of the previous month; if the month count goes negative, it borrows 12 months from the year.

What the results show

  • Exact gap: years, months and days between the two birthdates, plus the total in calendar days.
  • Rule check: whether the younger person meets the half your age plus seven minimum for the older person's age.
  • Statistical rarity: the reference band your gap falls into, from under 1 year (about 33% of couples) to 20+ years (under 1%).
  • Generations and life stage: each person's generational cohort and a label such as Young Professional or Established Adult.

Ages are taken on the selected date, so the rule check can change after a birthday even though the gap itself never changes.

What Is the Formula?

The age difference and the social rule are two separate calculations.

Exact age difference

Gap = DOBlater minus DOBearlier = Y years, M months, D days
  • DOBlater: the younger person's date of birth.
  • DOBearlier: the older person's date of birth.
  • Borrowing: when D is negative, add the days in the previous month; when M is negative, add 12 and take 1 from Y.

Half your age plus seven check

Minimum partner age = ⌊Aolder ÷ 2⌋ + 7Passes if Ayounger ≥ minimum
  • Aolder: the older person's age in whole years on the selected date.
  • ⌊ ⌋: round down, which is how the calculator handles odd ages.
  • Ayounger: the younger person's age on the same date.

The rule is a cultural rule of thumb, not a legal or scientific standard, so read the verdict as context rather than approval.

Largest Age Difference the Rule Allows

For common ages of the older partner, this chart shows the youngest partner age that passes the rule and the widest gap it permits.

Older partner's ageYoungest partner that passesLargest allowed gap
25196 years
30228 years
352411 years
402713 years
452916 years
503218 years
603723 years
704228 years

Values use the calculator's round down step. Anyone under 18 is outside an adult dating range whatever the formula says.

The allowed gap widens with age. That is why the same 10 year difference fails at 30 (a 20 year old is below 22) but passes at 40 (a 30 year old is above 27).

Worked Example

Take two partners born on 15 June 1990 (Person A) and 22 November 1996 (Person B), measured as of 1 January 2026.

  1. Years: 1996 minus 1990 = 6. Months: 11 minus 6 = 5. Days: 22 minus 15 = 7. Nothing is negative, so the gap is 6 years, 5 months and 7 days.
  2. Counting every calendar day between the two birthdates gives 2,352 days.
  3. On 1 January 2026, Person A is 35 (their June birthday hasn't arrived yet) and Person B is 29.
  4. Rule minimum for the older partner: ⌊35 ÷ 2⌋ + 7 = 17 + 7 = 24.
  5. Person B's age of 29 is above 24, so the couple sits within the conventional range.

Both birth years fall in the Millennial cohort (1981 to 1996), so the pair is not cross generational. A 6 year gap lands in the 4 to 6 year band, which covers roughly 20% of couples.

FAQs

How do you calculate the age gap between two people?

Subtract the earlier birthdate from the later one to get the difference in years, months and days.

Is a 10 year age gap acceptable under the half your age plus seven rule?

Yes, the gap passes once the older partner is 33 or older because (33 ÷ 2) + 7 = 23.

Does the age difference calculator account for leap years?

Yes, it counts real calendar days between the two birthdates so leap days are handled automatically.

Why is my age gap in days not exactly years × 365?

Leap years inside the span add extra days, so a six year gap usually covers 2,191 or 2,192 days.

What does cross generational mean in the results?

It means the two birthdates fall in different generational cohorts, such as a Millennial paired with Gen Z.

How common is a 5 year age gap between couples?

Gaps of 4 to 6 years occur in about 20% of couples, which is common but less frequent than under three years.

Can I check the age difference on a past or future date?

Yes, change the Calculate As Of date and all results update for that day.

Related Dating Tools

Try our other interactive relationship analytics, reality checks, and compatibility calculators.