Home / Date & Time / Age Difference Calculator

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

Leave blank to use today. The age gap itself is based on the two birth dates.
Dates are calculated using calendar years, months, and days. Future dates of birth are not accepted.

Your results

Exact age difference
5 years, 4 months, 12 days
Person 1 is older than Person 2.
Person 1's age36 years, 6 months
Person 2's age31 years, 1 month
Total difference in days1,960 days
Difference in weeks280 weeks
The age gap is the same regardless of the date used to display each person's current age.

How to use the Age Difference Calculator

  1. Enter the names of the two people, if you want them included in the results.
  2. Select each person's date of birth.
  3. Optionally choose an “as of” date to calculate both ages on a particular day.
  4. 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.