Age Difference Calculator
Enter two dates of birth and get the exact age gap in years, months and days, with who is older and both ages today.
Free, no sign-up. The calculation runs in your browser. Nothing you type is sent to a server.
How to use it
- Enter the first date of birth.
- Enter the second date of birth. The order does not matter.
- Read the gap, who is older, and both ages today.
The gap is fixed for life. It never changes as the two people get older, even though a 5 year gap feels large at 15 and 20 and small at 60 and 65. For the full step-by-step method, see how to calculate age between two dates and how to calculate age difference.
How an age gap is counted
The gap is counted from the earlier birth date to the later one, on the calendar. Count the completed years between the two birthdays first, then the whole months after the last yearly anniversary, then the days left over. That gives the gap in years, months and days, and the total days is the same span counted in single days.
Leap days count in the total. A gap that crosses several 29 February dates is longer in days than the same number of years without them, which is why dividing the total days by 365 gives a wrong answer for the gap in years.
Month ends are where two calculators can disagree by a day. From 31 January to 28 February is 1 month, because February has no 31st and its last day stands in. If you subtract the day numbers directly you get a negative day count, so the tool borrows days from the previous month instead, the same way you would by hand. For the step-by-step method, see how to calculate age difference.
Worked example
One person was born on 15 May 1990 and the other on 20 August 1993. From 15 May 1990 to 15 May 1993 is 3 years. To 15 August 1993 is 3 more months, and to 20 August is 5 more days. The gap is 3 years, 3 months and 5 days, or 1,193 days in total. On 20 November 2026 they are 36 and 33.
The same method works for a couple, for siblings, for a parent and a child, or for two historical figures. For a parent and a child, the gap is also the parent's exact age on the day the child was born.
A second example, with two sisters born on 2 September 1985 and 14 January 1989. From 2 September 1985 to 2 September 1988 is 3 years. To 2 January 1989 is 4 more months, and to 14 January is 12 more days. The gap is 3 years, 4 months and 12 days, or 1,230 days in total. On 20 November 2026 the older sister is 41 years, 2 months and 18 days old and the younger is 37 years, 10 months and 6 days old. Subtract those two ages and you get the same 3 years, 4 months and 12 days back, which is a useful check on any gap you work out by hand.
The gap never changes, but it feels different at different ages. On the older sister's 10th birthday, 2 September 1995, the younger was only 6 years, 7 months and 19 days old, so the gap was more than a third of the younger sister's life. By the older sister's 40th birthday, 2 September 2025, the younger was 36 years, 7 months and 19 days old, and the same gap was a small share of either life.
When to use it
An exact gap is useful whenever a few months either way changes the answer. Four everyday uses cover most of them.
Siblings and family records. Parents often want the gap between children in years and months, not just in years, for school forms and family records. The gap is also the older child's age when the younger was born, so the same number answers two questions at once. If you need one child's age in months rather than the gap between two children, use the child age calculator.
Partners. Couples compare birth dates out of curiosity, and sometimes because a form asks for both ages on the same date. Enter both dates and read both ages today as well as the gap, so you can see the difference in context instead of as a bare number.
School and league cut-offs. This is where a small gap has the biggest effect. Two children born only 6 days apart can land in different school years. A child born on 28 August 2021 is 5 years, 0 months and 4 days old on a 1 September 2026 cut-off, while a child born on 3 September 2021 is 4 years, 11 months and 29 days old on the same date. The first meets a 5-year-old entry rule and the second does not. Sports leagues work the same way with their own cut-off dates, so check the printed cut-off before you read the result.
Family history. When you are filling in a family tree, the gap between a parent and a child is the parent's age at the birth. Working from full birth dates keeps the generations in the right order and stops a year-only subtraction from putting two relatives a year out.
Half your age plus seven
This is an old folk rule, not a scientific, medical or legal standard. It says the youngest partner someone should date is half their age plus seven. For a 40 year old, that is 27. The calculator shows it only when both people are adults, and only as a curiosity. It says nothing about whether a relationship is healthy, legal or a good idea.
When one person was born on 29 February
A leap-day birthday has no date in most years, so the rule you pick changes the gap by a day near the end of February. Take someone born on 29 February 2000, measured on 28 February 2026. Under the 28 February rule they turn 26 that day, so the age is 26 years, 0 months and 0 days. Under the 1 March rule they are still 25 years, 11 months and 27 days, and turn 26 the next day. The total days are the same either way: 9,496. Use the rule on the calculator, and use the same rule for both people, so the gap matches the ages shown.
Common mistakes
- Subtracting only the birth years. 1993 minus 1990 is 3, but someone born in August 1993 is only 3 years and 3 months younger than someone born in May 1990, not a neat 3 years.
- Dividing the gap in days by 365. Leap days inside the gap make the year count come out wrong. Count completed years on the calendar instead.
- Thinking the gap changes as people age. The gap in days never changes. Only how large it feels changes, which is why the same 5 years feels big at 15 and 20 and small at 60 and 65.
- Treating half your age plus seven as a rule. It is a folk saying, not a standard. It says nothing about whether two people suit each other, and it has no legal standing.
- Swapping day and month. 03/04/2010 is 3 April in most countries and March 4 in the US. The date picker on this page removes that doubt.
Frequently asked questions
How do I calculate the age difference between two people?
Line up both birth dates, note who was born first, then count full years plus leftover months and days. The calculator does this and reports the gap in years, months and days.
Does the age gap change over time?
No. The gap in days is fixed for life. What changes is how large it feels at different ages.
Who is older if both were born in the same year?
The one with the earlier birth date. The calculator compares full dates, so 3 January is older than 20 November of the same year.
What if both people have the same birthday?
The gap is zero. They are the same age to the day.
Is the half your age plus seven rule real?
No. It is a folk saying with no scientific basis. The calculator shows it as a curiosity for adults only.
Can I work out the age gap from the birth years alone?
No, not exactly. Two people born in 1990 and 1993 could be 2 years and 1 day apart, if they were born on 31 December 1990 and 1 January 1993, or 3 years, 11 months and 30 days apart, if they were born on 1 January 1990 and 31 December 1993. You need the full dates.