How to Calculate the Age Difference Between Two People
Find the exact age gap between two people in years, months and days by comparing their birth dates, with worked examples, the borrowing method and pitfalls.
The short answer
To find the age difference between two people, count the time from the older person's date of birth to the younger person's date of birth. In the Age Calculator, enter the older person's birthday as the date of birth and the younger person's birthday as the "Age as of" date: the result is the gap in years, months and days, plus the total in days. For example, someone born on 15 August 1990 is 3 years, 6 months and 15 days older than someone born on 2 March 1994.
Why you compare birthdays, not current ages
Subtracting current ages ("she is 36, he is 32, so 4 years") gives a rough answer that can be off by almost a year, because each age is rounded down to whole years. Using today's date as an example (15 November 2026):
- Person A, born 15 August 1990, is 36 years, 3 months and 0 days old.
- Person B, born 2 March 1994, is 32 years, 8 months and 13 days old.
Their whole-year ages differ by 4, but the real gap is 3 years, 6 months and 15 days. That gap never changes, while the difference in whole-year ages flips between 3 and 4 depending on whose birthday has passed this year.
How to calculate it with the Age Calculator
The date picker does not offer a date of birth later than the "Age as of" date, so if you cannot select a date, swap the two dates: the older person always goes first.
Ignore the "Next birthday" and "Zodiac sign" boxes for this use. They describe the older person's birthday relative to the "Age as of" date, which has no meaning when that date is someone else's birthday.
Worked examples
All of these were computed with the same calculation the tool uses and checked against Python's dateutil library.
| Older person born | Younger person born | Difference | Total days |
|---|---|---|---|
| 15 Aug 1990 | 2 Mar 1994 | 3 years, 6 months, 15 days | 1,295 |
| 20 Nov 1992 | 10 May 1996 | 3 years, 5 months, 20 days | 1,267 |
| 10 Jun 1985 | 25 Dec 1985 | 0 years, 6 months, 15 days | 198 |
How to do it by hand
Work on the dates as year, month and day, subtracting the older date from the younger one.
Example: 2 March 1994 minus 15 August 1990.
Result: 3 years, 6 months, 15 days. When borrowing days, use the length of the month just before the later date's month (here February), which is the convention the tool follows.
Month-end birthdays
When one birthday falls on the 29th, 30th or 31st, "months and days" can be counted in more than one reasonable way, because months have different lengths. Different calculators can show results that differ by a day or two in the days part, and for some month-end pairs the split can look odd. The total days figure has no such ambiguity, so use it to settle any doubt. To turn total days into weeks, divide by 7; the Date Difference Calculator does this for you and also shows the gap in weeks and approximate months.
Who is older, and by how much in days?
For twins or people born close together, total days is often the most useful answer, and for people born on the same day the difference is simply zero. If you know birth times as well, you can go finer, but the tools here work in whole days.
Ways people use the age gap
- Siblings and family trees. Comparing birth order and spacing between children.
- Forms and eligibility rules that ask for the difference between, for example, a parent's and a child's age, or that set a minimum gap. Check the exact wording: some rules mean completed years only, which in the first example would be 3, not 3.5.
- Couples and friends. Just out of curiosity, or to work out who reaches a milestone birthday first.
Expressing the gap in other units
Once you have total days, other units follow:
- Weeks: 1,295 days ÷ 7 = 185 weeks exactly for the first example.
- Years as a decimal: 1,295 ÷ 365.25 ≈ 3.55 years. This is an average, because of leap years.
- Months (approximate): 1,295 ÷ 30.44 ≈ 42.5 months.
Common mistakes
- Subtracting birth years only. 1994 − 1990 = 4, but the actual gap is 3 years and 6 months.
- Putting the dates the wrong way round. The older person's birthday is the start date.
- Counting the gap from today. Today's date does not matter for an age difference, because both people get older at the same rate.
- Rounding 3 years 6 months to "3.5 years" in a formal form. If a form wants completed years, write 3.
Related calculations
To find one person's exact age on a particular date (for example an exam cut-off), see how to calculate age as on a cut-off date. To count the days between any two dates, inclusive or not, see how to calculate days between two dates.
Frequently asked questions
How do I calculate the age difference between two people?
Count the time from the older person's date of birth to the younger person's date of birth. In the Age Calculator, enter the older birthday as the date of birth and the younger birthday as the Age as of date.
Can I just subtract their current ages?
Only as a rough guide. Whole-year ages are rounded down, so the difference can be off by almost a year. Someone born 15 Aug 1990 and someone born 2 Mar 1994 differ by 4 in whole years today, but the real gap is 3 years, 6 months and 15 days.
Does the age difference change over time?
No. Both people age at the same rate, so the gap between their birth dates stays the same. Only the difference between their whole-year ages switches between two values during the year.
What if a birthday is on the 31st?
Month-end dates can be split into months and days in more than one way, so calculators may differ by a day or two. Use the total number of days, which is unambiguous.
Put this guide into practice with our free online tool — no signup required.
Open tool