Age Difference Calculator | Exact Age Gap in Years, Months & Days
Enter two dates of birth to see the exact age gap in years, months and days, total days, and who is older.
How to calculate the age difference between two people
The age difference is the time between two dates of birth. The reliable way to work it out is calendar subtraction with borrowing — the same method used for chronological age:
- Subtract the years. Take the later birth year minus the earlier birth year.
- Subtract the months. If the result is negative, add 12 months and take one year back.
- Subtract the days. If the result is negative, borrow the days of the previous month and take one month back.
That is why a simple “days divided by 365” estimate is never exact: months have 28 to 31 days, and leap years add an extra day. The calculator above does the borrowing for you and also shows the gap in total days and total months, so you can quote the difference either way.
Age difference examples
Both examples below were checked against the calculator.
| First person born | Second person born | Exact age gap | Total days |
|---|---|---|---|
| 12 March 1990 | 25 July 1995 | 5 years, 4 months, 13 days | 1,961 days |
| 29 February 2000 | 15 June 2024 | 24 years, 3 months, 17 days | 8,873 days |
The second example shows how leap years are handled: the 29 February birthday is counted on real calendar dates, so the gap stays exact even across six leap days.
The same gap, in every unit
The calculator’s headline answer is years, months and days, but the same gap can be quoted in other units. Total days is the exact count; weeks, months and decimal years are the same distance restated.
| Unit | Same gap (12 March 1990 → 25 July 1995) |
|---|---|
| Years, months, days | 5 years, 4 months, 13 days |
| Total days | 1,961 days |
| Total weeks | 280 weeks, 1 day |
| Total months | 64 months |
| Decimal years | 5.37 years |
Weeks are total days ÷ 7, and decimal years are total days ÷ 365.2425 (the mean Gregorian year). The years-months-days answer itself walks the real calendar and needs no average at all.
Common age gaps at a glance
For a quick sense of scale, here is what round-number gaps work out to. The day ranges allow for leap days — the exact figure depends on which years the gap spans, so use the calculator above for a precise answer.
| Gap | Days | Total months | Full weeks |
|---|---|---|---|
| 1 year | 365–366 | 12 | 52 |
| 2 years | 730–731 | 24 | 104 |
| 3 years | 1,095–1,096 | 36 | 156 |
| 5 years | 1,825–1,827 | 60 | 260 |
| 10 years | 3,651–3,653 | 120 | 521 |
Does the age difference change over time?
No. The gap is fixed the moment the second person is born and it never changes again. What changes is the ratio between the two ages — and how big the gap feels. Five years is enormous between a 10-year-old and a 15-year-old, and barely noticeable between 50 and 55.
One milestone follows from this: the older person was exactly twice the younger person’s age on one day only — when the younger person had lived exactly one gap-length. Take the pair above (gap 5 years, 4 months, 13 days): on 8 December 2000 the younger one, born 25 July 1995, was 5 years, 4 months, 13 days old, and the older one, born 12 March 1990, was 10 years, 8 months, 26 days — exactly double. After that day the ratio only ever shrinks towards one.
Who uses an age gap calculator?
Couples
Check the exact age gap in a relationship — in years, months and days, not just a rounded number of years.
Siblings & friends
Settle the “who is older, and by how much?” question with an exact answer, down to the day.
School & sports
Compare birth dates for age-group cut-offs, team eligibility and class placement.
Parents also use it to see the gap between children, and families use it when filling in forms that ask for an age difference rather than two separate ages. Whatever the reason, the answer is the same method every time: real calendar subtraction, with leap years included.
The half your age plus seven rule
The best-known age-gap rule of thumb says the youngest partner someone should date is half their age plus seven. It is often traced to Max O’Rell’s 1901 book Her Royal Highness Woman, and it is still the rule most age gap calculators show next to the exact gap.
Minimum partner age = your age ÷ 2 + 7. Flipped around, the oldest partner the rule allows is (your age − 7) × 2. A 40-year-old’s minimum is 27; a 30-year-old’s range is 22 to 46.
| Your age | Youngest by the rule | Oldest by the rule |
|---|---|---|
| 20 | 17 | 26 |
| 25 | 19½ | 36 |
| 30 | 22 | 46 |
| 40 | 27 | 66 |
| 50 | 32 | 86 |
| 60 | 37 | 106 |
Treat it as a curiosity, not a verdict. The rule has no scientific basis, says nothing about whether a relationship is healthy, and is not law — the age of consent is the only legal limit. For ages under about 22 it can even give a minimum below 18, which is another reason to use it for adults only. To check a real couple, find their exact gap with the calculator above, then compare the younger person’s age with the table.
Frequently asked questions
How do I calculate the age difference between two people?
Enter both dates of birth above and press Calculate gap. The calculator subtracts the earlier date from the later one using real calendar months, so the answer is exact in years, months and days, plus total days.
What is an age gap calculator?
An age gap calculator is the same as an age difference calculator: it measures how far apart two birth dates are. People use it for couples, siblings, friends, parents and children, and for school or sports age-group checks.
How does the calculator tell me who is older?
The person with the earlier date of birth is older. The result shows the exact gap and names the older person, so you never have to work out the order yourself.
How is the age difference calculated by hand?
Subtract the years first, then the months (adding 12 and removing a year if the result is negative), then the days (borrowing the length of the previous month if needed). For example, 12 March 1990 to 25 July 1995 is 5 years, 4 months, 13 days.
Does the calculator handle leap years?
Yes. Real month lengths are used, including 29 February in leap years. A person born on 29 February 2000 is counted as 24 years, 3 months, 17 days old on 15 June 2024.
Is my date of birth stored anywhere?
No. All calculations run in your browser. Nothing is sent to a server or saved.
Does the age difference change as we get older?
No. The gap between two birth dates is fixed for life. What changes is the ratio: a 5-year gap is huge between 10 and 15 and barely noticeable between 50 and 55.
What is the half your age plus seven rule?
A folk rule of thumb for the youngest partner considered socially acceptable: half the older person’s age plus seven. For a 40-year-old that is 27. It has no scientific basis and is not a legal limit.
How many days are in a 5-year age gap?
In most cases 1,826 or 1,827 days, depending on how many leap days the five years contain. The exact figure depends on the dates, so use the calculator above for a precise count.
What is the age difference between twins?
Twins born on the same date have an age gap of zero days. The calculator counts calendar dates only, so it does not measure the hours or minutes between two births on the same day.
Age difference vs age calculator
An age calculator answers “how old am I?” for one person on one date. This page compares two people: the gap between them, who is older, and how the gap looks in every unit. For a single exact age, use the chronological age calculator; our step-by-step guide explains how to calculate chronological age by hand.
What the result does not cover. The calculator works from calendar dates only. Two people born on the same date show a gap of zero even if one was born in the morning and the other at night, because the time of day is not counted. All dates use the Gregorian calendar.
Content last reviewed 16 November 2026.
More calculators
Chronological Age Calculator
Exact age in years, months and days on any date, plus next birthday countdown.
Open calculator →Corrected Age Calculator
Adjust age for premature birth, as many infant assessments require.
Open calculator →Birthday Countdown
Days, hours and minutes until the next birthday, plus zodiac sign and birthstone.
Open calculator →Student Age Calculator
Check school eligibility by US state with official cut-off dates.
Open calculator →How to Calculate Chronological Age
Step-by-step guide with worked examples and the borrowing method.
Read the guide →Age gap for couples: worked examples
Many people use an age difference calculator to check the age gap in a relationship. The gap between two partners is simply the time between their two dates of birth, measured in years, months and days. It does not change as the couple gets older: if one partner is six years older today, they will still be six years older in ten years, because both birthdays move forward together. What changes is only how the gap looks in context. A six-year gap feels different at 20 and 26 than it does at 50 and 56, even though the number of years, months and days is exactly the same.
Worked example 1. Partner A was born on 14 February 1988 and partner B was born on 3 November 1994. Count forward from the earlier birthday: 14 February 1988 to 14 February 1994 is 6 years. From 14 February 1994 to 14 October 1994 is 8 months. From 14 October 1994 to 3 November 1994 is 20 days. The age gap is therefore 6 years, 8 months and 20 days, or 2,454 days in total. The borrowing step is the part people usually get wrong: because 3 November is earlier in the month than 14 February, you borrow one month (October, which has 31 days), so 3 + 31 - 14 = 20 days, and the months drop from 9 to 8. Enter the two dates in the calculator above and it does that borrowing for you, including leap years.
Worked example 2. Partner A was born on 2 March 1990 and partner B was born on 18 September 1992. From 2 March 1990 to 2 March 1992 is 2 years. From 2 March 1992 to 2 September 1992 is 6 months. From 2 September 1992 to 18 September 1992 is 16 days. The age gap is therefore 2 years, 6 months and 16 days. This is a useful check before a milestone such as a wedding, an anniversary, or a joint application: instead of rounding to about two and a half years, you have the exact gap to quote on a form or in a record.
When couples compare ages, the exact figure also helps avoid a common mistake. Subtracting only the birth years (1994 - 1988 = 6) gives the right number of years here by luck, but it ignores the months and days, and it can be a year out when the younger partner has not yet had a birthday in the year you are counting from. Always compare the full dates, not just the years, and use the older partner's date as the starting point so the result is positive and easy to read.
Age gap for siblings: worked examples
Parents often check the age gap between brothers and sisters, for school records, medical forms, and simply to remember how far apart the children are. As with couples, the sibling age gap is the time between the two dates of birth, and it stays the same throughout their lives. A gap of two years and eight months is the same whether the children are 3 and 5 or 30 and 32, which is why it is worth recording the exact figure once, in years, months and days, rather than rounding it to the nearest year.
Worked example 1. The older sibling was born on 5 May 2012 and the younger sibling was born on 19 January 2015. Count forward from 5 May 2012: to 5 May 2014 is 2 years, to 5 January 2015 is 8 months, and to 19 January 2015 is 14 days. The age gap is therefore 2 years, 8 months and 14 days. Notice that the years alone (2015 - 2012 = 3) would overstate the gap by four months, because the younger child was born in January, before the older child's May birthday in 2015. The calculator's calendar subtraction, with borrowing, gives the exact answer.
Worked example 2. The older sibling was born on 22 August 2018 and the younger sibling was born on 7 April 2021. From 22 August 2018 to 22 August 2020 is 2 years. From 22 August 2020 to 22 March 2021 is 7 months. From 22 March 2021 to 7 April 2021 is 16 days. The age gap is therefore 2 years, 7 months and 16 days. If you check the same pair again on any later date, the gap in years, months and days will still be 2 years, 7 months and 16 days, because it is the distance between two fixed birthdays, not a measurement taken on a particular day.
Sibling gaps are also handy for school and health questions. A gap under two years often means the children are close in school year and may share activities, while a gap of three years or more usually puts them in different school stages. Whatever the gap, enter the earlier birth date first and the later birth date second in the calculator above, and use the exact result, rather than an estimate, when a form asks for the children's ages or the age difference between them.