Age Difference Calculator

Compare two birth dates and calculate the exact age gap.

Enter your values

Change any field. The result is recalculated on this device.

Formula, example and assumptions
Exact age gap5 years, 5 months, 14 days

Your result

Local calculation
Exact age gap5 years, 5 months, 14 days

The age gap is the calendar distance between the two birth dates, also shown in total days. It stays the same whichever birth date you enter first.

First birth date
1 January 1990
Second birth date
15 June 1995
See how this is calculated

Result breakdown

Difference in days
1,991
Check the inputs and method

These are your current inputs, not the worked example further down the page.

First birth date
1 January 1990
Second birth date
15 June 1995

Method

Order the birth dates from earlier to later. Count complete calendar years, then months, then remaining days; absolute day gap = |second date − first date| in whole days.

Read the worked example and assumptions

How this calculation works

Compare two birth dates to describe the calendar gap between people. The earlier birth date identifies the older person, and the result reports a nonnegative gap regardless of entry order. No reference date is required because the separation between the two birth dates does not change as both people age.

Order the birth dates from earlier to later. Count complete calendar years, then months, then remaining days; absolute day gap = |second date − first date| in whole days.

Worked example

This example uses illustrative inputs. Your current result is shown above.

For birth dates 1 January 2000 and 1 January 2005, the gap is 5 years, 0 months, 0 days. The interval includes leap days in 2000 and 2004, so the day gap is 5 × 365 + 2 = 1,827.

Assumptions and limits

  • The result is the absolute separation of the entered dates, not a signed age difference.
  • Birth times and time zones are not included.
  • Calendar components use the same end-of-month convention as the date-difference tool; legal age comparisons can use other rules.

Questions people ask

Does swapping the birth dates change the result?

No. The tool reports the magnitude of the age gap. The earlier birth date still belongs to the older person.

Why can subtracting two rounded ages give a different answer?

Whole-year ages discard the months and days since each birthday. Comparing full birth dates preserves that part of the gap.

Related calculators