Age Difference Calculator
Find the exact age gap between two people in years, months, and days. You can also compare both ages as of a chosen date.
Enter two dates of birth
Your results
How to use the Age Difference Calculator
- Enter the names of the two people, if you want them included in the results.
- Select each person's date of birth.
- Optionally choose an “as of” date to calculate both ages on a particular day.
- Select Calculate age difference to see the exact gap in years, months, days, and total days.
How is age difference calculated?
The calculator compares the earlier and later birth dates, then counts complete calendar years, complete months, and remaining days between them. It also calculates the elapsed number of days using UTC date arithmetic to avoid daylight-saving-time changes affecting the total.
Example
If one person was born on April 10, 1990 and another on August 22, 1995, the age difference is 5 years, 4 months, and 12 days. The exact number of days is also displayed.
Frequently asked questions
Does the calculator account for leap years?
Yes. Calendar dates and elapsed days include leap years automatically.
Can I calculate ages on a past or future date?
Yes. Choose any valid “as of” date to calculate each person's age on that date. The age difference between the two birth dates stays the same.
Is the age gap shown in total days too?
Yes. The results include total elapsed days and an approximate number of weeks, alongside the calendar-based difference.
What if both people were born on the same date?
The age difference will be zero years, zero months, and zero days, with zero total days.