Age Difference Calculator
The exact gap between two birth dates in years, months and days, both ages, and the 'half your age plus seven' range — with an honest note on what it is worth.
Age Difference Calculator: with the default inputs, age difference is 5 years, 5 months, 19 days.
Defaults to today. Change it to see the gap at any point in the past or future.
- Difference in days
- 1,998
- Difference in years
- 5.47
- Who is older
- The first person is older by 5 years, 5 months, 19 days
- First person's age
- 38 years, 5 months, 27 days
- Second person's age
- 33 years, 0 months, 8 days
- Age ratio (older ÷ younger)
- 1.166Falls towards 1 as both people age — a 5-year gap is enormous at 10 and unremarkable at 50.
- The older one was this age on
- March 22, 2021The date the older person was exactly the age the younger person is now.
- 'Half your age plus seven' range
- At 38, the rule's stated range is 26 to 62 years old.
- What the rule says
- Inside the range (the younger person is 33, the rule's floor is 26). Treat that as trivia: the rule is a social convention with no research behind it.
Assumptions
- Dates are local calendar dates; times of birth and time zones are ignored.
- Whole-year and whole-month counts keep the day of month, clamped to the length of the target month.
- Decimal years use the mean Gregorian year of 365.2425 days.
- 'Half your age plus seven' is reported as folklore. It has no empirical basis and is not advice.
| When the older one is | The younger one is | Age ratio | Rule's floor |
|---|---|---|---|
| 20 | 14.5 | 1.376 | 17 ✗ |
| 30 | 24.5 | 1.223 | 22 ✓ |
| 40 | 34.5 | 1.158 | 27 ✓ |
| 50 | 44.5 | 1.123 | 32 ✓ |
| 60 | 54.5 | 1.1 | 37 ✓ |
| 70 | 64.5 | 1.085 | 42 ✓ |
The same number of years is a different proportion of a life at every age, which is the only defensible idea inside the rule.
How this is worked out
The formula
age difference = whole years, then months, then leftover days between the two birth dates difference in days = day number(later birth) − day number(earlier birth) age ratio = older person's age ÷ younger person's age 'half your age plus seven' floor = older age ÷ 2 + 7 the matching ceiling = (older age − 7) × 2
Open How it’s calculated above to see this worked through with your own numbers.
What you enter
- First date of birth
- A calendar date.defaults to 1988-03-14
- Second date of birth
- A calendar date.defaults to 1993-09-02
- Ages as of
- Defaults to today. Change it to see the gap at any point in the past or future.defaults to today
What you get back
- Age differencemain answer
- Difference in days
- Difference in years
- Who is older
- First person's age
- Second person's age
- Age ratio (older ÷ younger)
- Falls towards 1 as both people age — a 5-year gap is enormous at 10 and unremarkable at 50.
- The older one was this age on
- The date the older person was exactly the age the younger person is now.
- 'Half your age plus seven' range
- What the rule says
What this assumes
- Dates are local calendar dates; times of birth and time zones are ignored.
- Whole-year and whole-month counts keep the day of month, clamped to the length of the target month.
- Decimal years use the mean Gregorian year of 365.2425 days.
- 'Half your age plus seven' is reported as folklore. It has no empirical basis and is not advice.
About this calculator
Enter two birth dates and get the gap exactly: whole years, then months, then leftover days, plus the total in days. Leap days are counted properly, so a gap that spans 29 February is not quietly a day short.
Reading the result
The years, months and days form is the one people mean when they ask. It is computed by walking whole calendar months from the earlier date, so 14 March 1988 to 2 September 1993 is 5 years, 5 months and 19 days — not a decimal approximation of it. The days figure is exact calendar days and is the right number for anything that has to be precise.
Age ratio is the number that changes. A five-year gap is a chasm between a 10-year-old and a 15-year-old, whose ratio is 1.5; between 45 and 50 the ratio is 1.11 and nobody notices. The table shows the ratio falling as both people age, which is the one genuinely useful idea hiding inside the folk rules.
The older one was this age on gives the date the older person was exactly as old as the younger person is today — a surprisingly effective way to make a gap concrete.
About "half your age plus seven"
The convention says the youngest socially acceptable partner is half your age plus seven, and by symmetry the oldest is (your age − 7) × 2. It is repeated constantly, and it is worth being blunt about what it is: a rule of thumb from etiquette columns, not a finding from any body of research. No study establishes it, no professional body endorses it, and it produces obvious nonsense at the edges — it tells a 14-year-old that 14 is the floor and a 70-year-old that 42 is.
What it captures, roughly, is that a fixed number of years matters less as people get older — the same thing the age-ratio column shows more honestly. What it cannot tell you is anything about a particular relationship. Real predictors of how partnerships fare are things like shared goals, life stage, and the balance of power between the people involved, none of which are functions of birth dates.
For context rather than judgment: in US Census data the median age gap between spouses is around two years, husbands are older in a majority of opposite-sex couples, and gaps above ten years are uncommon but far from rare. This calculator reports the rule because people come looking for it, and reports it as folklore because that is what it is.
Edge cases
- Identical birth dates give a gap of zero and an age ratio of exactly 1.
- Ages as of defaults to today but accepts any date, so you can ask what the gap looked like in 2005 or will look like in 2040. The gap in years never changes; the ratio always does.
- Ages under 18 trigger a note. Age of consent is a matter of law, varies by jurisdiction, and has nothing to do with any arithmetic on this page.
Frequently asked questions
▸How do I calculate the age difference between two people?
Take the earlier birth date and count whole years, then whole months, then the leftover days to the later one. The calculator also gives the exact total in days, with leap years handled.
▸What is the 'half your age plus seven' rule?
A social convention saying the youngest acceptable partner is half your age plus seven — so 32 for a 50-year-old. It comes from etiquette writing, not research, and has no evidence behind it.
▸Is a large age gap a problem in a relationship?
The arithmetic cannot tell you. Population data show larger gaps are less common and correlate with some differences in outcomes, but correlations across millions of couples say nothing about any particular one.
▸What is the average age difference between couples?
In US Census data the median gap between spouses is roughly two years, with the husband older in most opposite-sex couples. Gaps over ten years are a small minority.
▸Does the age difference change over time?
The number of years never changes. The ratio does — a 6-year gap is 1.6× at 10 and 15, but only 1.12× at 50 and 56, which is why the same gap feels completely different at different ages.
Put this calculator on your own site
A working age gap, free for any site, with no ads and no sign-up. It resizes to fit wherever you paste it and updates itself as this page improves.
Paste this anywhere. It works on any site, carries no ads, never expires, and always shows the current version.
Age Difference Calculator by CalculateItNow
The page's own title. The clearest description of what the link leads to.
The credit line sits outside the widget on purpose, so it is a real link on your page rather than one buried in a frame. Please keep it — it is what pays for CalculateItNow staying free and ad-free. The script only resizes the widget to fit its contents; drop it and the widget still works.
Browse every calculator widget·How to add it to WordPress, Squarespace or Wix
Related calculators
The questions people ask next to a age gap.
Find your exact age in years, months and days, total days and weeks lived, your next birthday, the day of the week you were born and your zodiac sign.
Count the days, weeks, months and business days between two dates, or add and subtract days, weeks, months or years from any date — leap years handled exactly.
What day of the week a date falls on, plus its day number in the year, ISO week number, leap-year status, and that date's weekday in nearby years.
How many days until any date or holiday, with weeks, hours, weekends and working days too. Pick a holiday or a birthday and it counts to the next one.
A tongue-in-cheek compatibility score from two birth dates using zodiac elements and numerology life-path numbers — transparent, deterministic, not science.