Age Gap Calculator

Calendar-accurate years, months and days between two birthdays — with the old half-your-age-plus-seven line.

Order does not matter — the calculator works out which date is older.

Half-your-age-plus-seven is informal Victorian-era etiquette, not advice, law or a verdict. Ages of consent and marriage are set by local law.

How an age gap is actually measured

Most people describe an age gap with a single number — "seven years" — but the honest answer usually has three parts. Two birthdays are rarely a whole number of years apart, and the leftover months and days are what decide whether someone is "seven years older" or "nearly eight". This calculator reports the gap the way a registrar or a date-difference tool would: whole calendar years, then whole calendar months, then the remaining days.

The counting rule is subtraction with borrowing, the same arithmetic you learned for columns of figures. Subtract day from day, month from month, year from year. If the day count comes out negative, borrow the real length of the month before the later date — 28, 29, 30 or 31, whatever that month actually had. If the month count then comes out negative, borrow twelve months from the years column.

Worked example: 12 April 1988 and 30 September 1995

These are the two dates the tool loads by default. Days: 30 minus 12 gives 18, no borrowing needed. Months: September (9) minus April (4) gives 5. Years: 1995 minus 1988 gives 7. The gap is 7 years, 5 months and 18 days, which is 89 whole months, and 2,727 days end to end. Notice that 2,727 divided by 365.25 gives 7.466 years — the same gap, but as a decimal that hides where the months and days went.

Worked example with borrowing: 12 April 1988 and 5 March 1995

Now the arithmetic gets interesting. Days: 5 minus 12 is negative 7, so borrow from the month before March 1995, which is February. 1995 was not a leap year, so February had 28 days: negative 7 plus 28 gives 21 days, and the month column drops by one. Months: 3 minus 4 minus 1 equals negative 2, so borrow twelve: 10 months, and the year column drops by one. Years: 1995 minus 1988 minus 1 equals 6. The answer is 6 years, 10 months and 21 days. Check it forward: April 1988 plus six years is April 1994, plus ten months is 12 February 1995, plus 21 days is 5 March 1995. It closes.

Had the same pair fallen in 1996, February would have contributed 29 days instead of 28 and the result would read 22 days. That single day is exactly why dividing by 365.25 is not good enough when you want the calendar answer rather than an average one.

Total days and total months

The two smaller cards answer different questions. Total days is the raw count between the dates, computed at UTC midnight so daylight-saving changes cannot shave or add an hour. It is the number you want for anniversaries measured in days, or for anyone who enjoys knowing they are 10,000 days apart from someone. Total months is the years-and-months figure flattened out: 7 years and 5 months becomes 89 months. It ignores the leftover days on purpose, because a partial month is not a month.

Half your age plus seven

The rule states that the youngest socially acceptable partner is half the older person's age plus seven. It shows up in nineteenth-century French and English etiquette writing and reached a wide English-speaking audience through Max O'Rell's 1901 book Her Royal Highness Woman. In the default example the older person is in their late thirties, which puts the rule's floor in the mid-twenties, and the younger person clears it comfortably.

Treat that line as trivia, not as a test. It has no research behind it, it was never a legal standard, and it behaves strangely at the edges: applied to a 14-year-old it produces an answer of 14, and applied to people in their seventies it permits gaps most couples would find unremarkable anyway. Ages of consent and marriage are set by statute in every jurisdiction and have nothing to do with a Victorian dinner-party maxim. The tool prints the line because people search for it, and because seeing the arithmetic makes it easier to stop treating it as an authority.

What the research says, neutrally

Studies of couples generally find that age difference is a weak predictor of how a relationship goes once stronger factors are accounted for: shared goals, life stage, financial alignment, health, family plans and how conflict gets handled. Larger gaps do correlate with practical asymmetries — one partner retiring a decade earlier, different energy levels, different assumptions about when or whether to have children — and those asymmetries, not the number, are what couples actually negotiate. Some large-sample studies report lower satisfaction over time in wide-gap couples; others find the effect largely disappears after controlling for education and income. The sensible reading is that the gap describes a set of questions to talk about, not an answer.

Limits worth knowing

The calculator accepts dates from 1900 to 2100 and assumes the proleptic Gregorian calendar, so historical dates recorded under the Julian calendar will be off by the usual eleven-to-thirteen days. It uses whole dates only, not times of birth, so two people born hours apart on the same date show a zero gap — which is correct for every purpose except a birth-certificate tiebreaker. Both dates being identical is a valid input and returns zero years, zero months, zero days rather than an error. If either date is in the future the gap still calculates, but the half-plus-seven line is suppressed, because current ages do not exist yet.

Sources & further reading

Frequently asked questions

How is the age gap calculated — calendar months or 365.25 days?

Calendar months, the same way a date difference calculator counts them. The tool subtracts day from day, month from month and year from year, borrowing the real length of the preceding month when the day count goes negative. Dividing total days by 365.25 gives a decimal that drifts by up to a couple of days around leap years, so the years-months-days figure here is the more precise answer.

Where does the half-your-age-plus-seven rule come from?

It appears in nineteenth-century French and English etiquette writing as courtship advice, and it was popularised in English by the 1901 book Her Royal Highness Woman by Max O'Rell. It has no scientific basis and was never a legal standard. This tool shows it because people search for it, not because it decides anything.

Does the size of an age gap actually matter?

Research on couples finds that age difference correlates weakly with relationship outcomes once you account for the things that matter more: shared goals, life stage, financial alignment, health and how conflict is handled. Larger gaps show up alongside bigger differences in energy, retirement timing and family planning, which is a practical alignment question rather than a verdict on the number itself.

What happens with a 29 February birthday?

The calculator uses real calendar lengths, so a leap-day birthday is handled exactly: the borrowing step pulls 28 or 29 days from February depending on the year involved. In non-leap years the common convention is to treat 1 March as the anniversary, which is what the months-and-days figure effectively reflects once the day count rolls over.