Sometimes a rough answer is enough: "my brother is about five years older". Other times you want the precise figure, for a family history project, a school form that asks for sibling spacing, a speech at an anniversary, or simply to settle a friendly argument about who is older and by how much.
This guide shows how to calculate the gap between two birth dates exactly, explains why two calculators can give different answers for the same pair of dates, and looks at how the same gap feels very different at different ages. The method works for any two dates, not just birthdays.
Age difference is just a date difference
The gap between two people never changes: if one was born 2,031 days before the other, that stays true forever. What changes is how we express it. There are three common ways:
- Years, months and days, counted the way you count an age.
- Total days (or weeks), which is unambiguous.
- Decimal years, useful for statistics and charts.
Counting in years, months and days
The standard method mirrors how you count your own age: take the older person's birth date, add whole years, then whole months, while you stay on or before the younger person's birth date, then count the remaining days.
Worked example
Person A was born on 12 April 1988 and Person B on 3 November 1993.
- From 12 April 1988, add 5 years: 12 April 1993. Adding a sixth year would pass 3 November 1993, so stop at 5.
- Add months: 12 May, 12 June … 12 October 1993 is 6 months later. 12 November would pass the target, so stop at 6.
- Count days from 12 October to 3 November: 22 days.
Person A is 5 years, 6 months and 22 days older. In total that is 2,031 days, 290.1 weeks, or 5.56 years (dividing by 365.2425, the average length of a Gregorian year).
Why calculators sometimes disagree
Months have different lengths, so "one month later" isn't always well defined. Consider two people born on 31 January and 1 March of the same (non-leap) year:
- Adding one month to 31 January has no real answer, because February has no 31st. A common convention clamps to the last day of the month, 28 February. One more day reaches 1 March, so the gap is 1 month, 1 day.
- Another convention would roll over into March and call the gap 1 month, 0 days, or even count it as 29 days.
Both approaches are defensible; what matters is consistency. Our calculator clamps to the month end, the same way ages are commonly counted, and it also shows the total in days so there is no ambiguity.
Leap days add a similar wrinkle. From 29 February 2000 to 28 February 2004, the clamped method gives 3 years, 11 months and 30 days, because 29 February 2004 hasn't arrived yet. That is 1,460 days, almost exactly four years in decimal terms.
Calculate an age gap with our tool
The Age Difference Calculator handles all of this for you.
- Type a Name for each person (optional; it makes the result easier to read and share).
- Enter each person's Date of birth.
- Press Swap if you want to reverse the two entries; the result doesn't depend on order.
- Read who is older and by how much, in years, months and days.
- Check the tiles for the gap in Days, Weeks and decimal Years, and each person's age today.
- Press Copy result to copy a one-line summary such as "Person A is 5 years, 6 months, 22 days older than Person B (2,031 days)."
If both dates are the same, the tool reports a same-day birthday with no age difference.
The gap stays the same, the ratio doesn't
A five-year gap feels enormous between a 5-year-old and a 10-year-old, when one person is twice the other's age. Between 40 and 45 it barely registers. The absolute difference is constant, but the ratio between the ages shrinks every year:
| Ages | Gap | Older is … × younger |
|---|---|---|
| 5 and 10 | 5 years | 2.00 |
| 15 and 20 | 5 years | 1.33 |
| 30 and 35 | 5 years | 1.17 |
| 60 and 65 | 5 years | 1.08 |
This is also why the question "when will I be half your age?" only has an answer in the past: once the younger person is older than the gap itself, they are always more than half the older person's age.
Other ways to work it out
- Spreadsheets. In Excel or Google Sheets,
=DATEDIF(A2,B2,"Y")gives whole years,"YM"the leftover months and"MD"the leftover days.B2-A2gives total days. Be aware thatDATEDIFwith"MD"has known quirks around month ends, so double-check those cases. - Two age calculations. Work out each person's exact age today with the Age Calculator and subtract. This works but is fiddly with months and days; subtracting the birth dates directly is simpler.
- Total days only. If you just need days, the Date Difference Calculator counts them, with options for inclusive counting and weekdays.
For the manual method of counting age, including borrowing days from the previous month, see how to calculate exact age by hand.
Tips and pitfalls
Check the date format
"03/11/1993" is 3 November in most of the world and 11 March in the United States. Entering dates through a date picker avoids this mistake.
Decimal years are approximate
Dividing days by 365.2425 gives a smooth average, but a "year" in real calendars is either 365 or 366 days. Use the years-months-days figure for anything official.
Time of birth
Twins or people born on the same day but hours apart show no difference in a date-based calculator. If minutes matter (for twins, it usually does in family lore), compare birth times separately.
Use it beyond people
The same calculation works for anything with a start date: how much older one building, company or car is than another. For a birthday-focused view of a single date, try the Birthday Calculator.
Frequently asked questions
How do I calculate the age difference between two people?
Start from the older person's birth date, count whole years and months up to the younger person's birth date, then count the remaining days. Or subtract the dates to get total days.
Does the age gap between two people change over time?
No. The difference in days is fixed forever. Only the ratio between your ages changes, which is why the same gap feels smaller as you both get older.
Why do different calculators give different months and days?
Month lengths vary, and tools handle dates like 31 January plus one month differently. The total number of days is the same in every correct calculator.
How do I convert an age gap into weeks?
Divide the total days by 7. A gap of 2,031 days is 290 weeks and 1 day, or about 290.1 weeks.
Can I use it for dates that aren't birthdays?
Yes. It works for any two dates, such as company founding dates, anniversaries or when two pieces of equipment were bought.