👫 Age Gap

Age Difference Calculator

This age difference calculator finds the exact gap between two birth dates in years, months, and days.

Person 1
Person 2

Age Difference
—
—Years
—Months
—Days

How the Age Difference Calculator Works

Age difference calculator example between two birth dates

The age difference between two people is the calendar interval between their two dates of birth. Unlike an age, an age gap never changes. If you are four years older than your sister today, you were four years older on the day she was born and you will still be four years older in 2050. That is the key distinction between an age gap and a chronological age: an age grows every day, a gap is fixed the moment the second person is born.

Subtracting Two Birth Dates

An age difference calculator uses the same borrow-and-carry arithmetic as chronological age calculation. Write the earlier birth date on top, the later birth date underneath, and subtract in three passes:

  1. Subtract the years. Later birth year minus earlier birth year.
  2. Subtract the months. If the answer is negative, borrow one year — take 1 off the years figure and add 12 to the months.
  3. Subtract the days. If the answer is negative, borrow one month — take 1 off the months figure and add the number of days in the month preceding the later date.

Working in that order matters. Subtracting the days first, or converting everything to days and dividing by 365, produces a slightly different answer because months and years have unequal lengths.

Age Difference Example: Simple Dates

Person A was born on 15 January 1990. Person B was born on 20 March 1995. Person A was born first, so Person A is the older of the two. No borrowing is needed here because both the month and day figures come out positive:

StepCalculationResult
Years1995 − 19905 years
MonthsMarch (3) − January (1)2 months
Days20 − 155 days
Age difference—5 years, 2 months, 5 days

Expressed other ways, that same gap is 62 completed months or 1,890 days. The calculator above reports all three figures at once. If you want the equivalent totals for a single person rather than a pair, use the days alive calculator or the months old calculator.

Age Difference Example: Borrowing Days

Person A was born on 30 November 1988. Person B was born on 5 April 1992. Both the month and the day subtraction come out negative, so both steps need a borrow:

StepCalculationResult
Years1992 − 19884 years
MonthsApril (4) − November (11) = −7, so borrow a year: −7 + 125 months, years drop to 3
Days5 − 30 = −25, so borrow a month: −25 + 31 days in March6 days, months drop to 4
Age difference—3 years, 4 months, 6 days

You can check the answer by adding the result back to the earlier date: 30 November 1988 plus 3 years is 30 November 1991, plus 4 months is 30 March 1992, plus 6 days is 5 April 1992. The calculator performs exactly this check internally, including leap years, so 29 February birth dates are handled correctly.

Age Difference Calculator: Relationship Questions

The most widely quoted answer is the half your age plus seven rule, sometimes called the age difference rule or the age gap rule. It sets a lower bound on the age of a partner considered socially acceptable:

The two formulas are mirror images of each other, so the rule is self-consistent in both directions: if your partner is inside your range, you are inside theirs.

Your ageYoungest partnerOldest partnerWidest gap
2218308 years
2520 (19.5)3611 years
30224616 years
40276626 years
50328636 years
603710646 years

Two things worth being clear about. First, the acceptable range widens sharply with age — at 22 the rule allows an 8-year spread, at 50 it allows 36 — which is why the same gap that raises eyebrows for a couple in their twenties is unremarkable for a couple in their fifties. Second, this is popular convention, not law or research. It has no legal force anywhere. Where the rule and the legal age of consent disagree, the law is the only figure that matters, and it varies by country and by state.

Age Difference Calculator in Marriage and Relationships

Across heterosexual couples worldwide, the most common age difference is 0–3 years, with a global average of roughly 2.3 years and the man older in the majority of pairings. Age gaps in same-sex couples tend to be slightly wider on average. Both figures are population averages that describe the shape of a distribution, not a target anyone should aim for.

Research on Relationship Age Gaps

A 2014 Emory University analysis by Francis and Mialon, drawing on survey data from several thousand couples, found that wider age gaps correlate with higher divorce rates compared with same-age couples:

Age gapRelative divorce likelihood
1 yearabout 3% higher
5 yearsabout 18% higher
10 yearsabout 39% higher
20 yearsabout 95% higher

These are correlations across a large sample, not predictions about any individual marriage, and the study could not separate the age gap itself from the many things that tend to travel with it. Plenty of long marriages sit at the far end of that table: Emmanuel and Brigitte Macron have a 24-year gap, Catherine Zeta-Jones and Michael Douglas 25 years.

Age Gaps Between Siblings and Classmates

Age differences matter well beyond romantic relationships. Parents weigh the gap between siblings when planning a second child. Teachers see the relative age effect in every classroom: within a single school year, the oldest children can be nearly twelve months older than the youngest, a difference that is large in early primary school and fades by secondary. For young children, months are the more useful unit — the months old calculator and baby age chart express a gap that way. To compare how old two people were on some particular past or future date, such as a school cut-off, use the age on date calculator.

Age Difference Calculator FAQs

How is age difference calculated?
Age difference is the calendar interval between two birth dates. Subtract the earlier date from the later one in three passes: years first, then months (borrowing 12 months from a year if the month figure is negative), then days (borrowing the length of the preceding month if the day figure is negative). For example, someone born 15 January 1990 is 5 years, 2 months and 5 days older than someone born 20 March 1995.
What is the age difference rule?
The best-known age difference rule of thumb is "half your age plus seven": the youngest partner considered socially acceptable is half your age plus seven years. Reversing it gives the upper bound: (your age − 7) × 2. At 30 that gives a range of roughly 22 to 46. It is a piece of popular convention, not law or research, and legal age of consent always takes precedence.
What is an acceptable age difference in a relationship?
There is no single acceptable age difference. Most couples fall within 0–3 years of each other, and the half-your-age-plus-seven rule is the most widely quoted guideline. Acceptability depends far more on both partners being consenting adults, at similar life stages, and meeting the legal age requirements of their jurisdiction than on the size of the gap itself.
What is the age difference between 18 and 22?
The age difference between an 18-year-old and a 22-year-old is 4 years, though the exact gap in months and days depends on both birth dates — enter them above for the precise figure. Under the half-your-age-plus-seven rule, 18 is exactly the lower bound for a 22-year-old. Both are legal adults in most jurisdictions, but age of consent and related laws vary by country and state.
What is the average age difference in couples?
Research suggests the most common age difference in heterosexual couples is 0–3 years, with a global average of about 2.3 years and the man older in the majority of cases. Age gaps in same-sex couples tend to be slightly larger on average. These are population averages, not targets.
Does a big age difference affect marriage?
A 2014 Emory University analysis by Francis and Mialon found that larger age gaps correlate with higher divorce rates: roughly 3% higher for a 1-year gap, 18% for 5 years, 39% for 10 years and 95% for 20 years, compared with same-age couples. This is a correlation across a large sample, not a prediction about any individual marriage.
Can I calculate an age gap by birthday and age instead of full dates?
Yes. If you know one person's full date of birth and only the other person's birthday and current age, reconstruct their birth year first: subtract their age from the current year, then subtract one more year if their birthday has not yet happened this year. Enter that date above for the exact gap. The birthday countdown shows how long until that birthday comes round again.
Can I calculate the age gap between twins?
Yes. If twins were born on the same day, the result is 0 years, 0 months, 0 days and the calculator shows a "Same birthday" badge. If one was born just before midnight and the other just after, they technically have different birth dates and the calculator shows the one-day difference.

Related Age Difference Tools