Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Date and time

Age difference calculator

This age difference calculator takes two dates of birth and returns the gap in years, months and days, who is older, and both ages on any date you pick. It runs in your browser.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Leave empty to compare ages today. Pick another date to see both ages and their ratio on that day. The gap itself never changes.
Age difference
3 years, 7 months, 19 daysPerson 1 is older: born Friday, June 15, 1990, the other Thursday, February 3, 1994
  • Person 1 is older
  • The gap stays the same for life
  • Ages counted to the date you chose
Total months
43
Total weeks
189 weeks, 6 days
Total days
1,329
Person 1 born on a
Friday
Person 2 born on a
Thursday
Ages on 2026-11-19
Person 1: 36, Person 2: 32
Age ratio
1.11 times (by days lived)

How to use the Age Difference Calculator

  1. Enter Date of birth, person 1 and Date of birth, person 2. The order does not matter.
  2. Read the gap under Age difference, with the total months, weeks and days below it.
  3. Leave Compare ages on empty to see both ages today, or press Today or pick another date to compare on that day.
  4. Press Copy to keep the result as a line of text.

How do you calculate the age difference between two people?

Take the earlier date of birth and count forward to the later one. The tool moves the earlier date ahead one whole month at a time, stops at the last month that does not pass the later date, and counts the days that remain. For 1990-06-15 and 1994-02-03 that gives 3 years, 7 months, 19 days, which is 43 whole months and 1,329 days in total. In weeks that is 189 weeks, 6 days.

Subtracting the birth years gives 4, a common shortcut, and it overstates the gap here: June 1990 to February 1994 is less than four full years. Counting from month to month avoids the error, because it never subtracts one day of the month from another.

The order of the two dates does not matter. Swap them and the answer stays 3 years, 7 months, 19 days, while the line under it switches to say that person 2 is the older one. If both dates are the same, the gap is 0 days and the tool says both were born on the same date.

Does the age gap change as people get older?

The gap in days never changes. Two people born 1,329 days apart stay 1,329 days apart for life. What does change is the ratio of their ages. Under the tool's result you see the older person's age divided by the younger person's, counted in days lived: on 2026-11-19 it reads 1.11 times (by days lived). The ages that day are Person 1: 36, Person 2: 32.

Pick a later date under Compare ages on and the ratio shrinks. On 2040-06-15 the same two people are Person 1: 50, Person 2: 46, and the ratio falls to 1.08 times (by days lived). This is why a gap of a few years feels large between children and small between adults. The table below shows a fixed gap of 5 years at different ages of the younger person.

A 5 year gap at different ages
Younger person isOlder person isOlder divided by younger
5102.00 times
10151.50 times
20251.25 times
30351.17 times
40451.13 times
50551.10 times

The ratio is the older age divided by the younger age, so 15 ÷ 10 = 1.50. The tool computes its own ratio from days lived and not from whole years, so a result for real dates differs a little from this table.

Leap days, month ends and dates that have not happened yet

A person born on 29 February has no birthday in a common year, so the tool counts months, not birthdays. The pair 2000-02-29 and 2004-02-29 gives a gap of 4 years and 1,461 days, which is 4 × 365 plus one leap day. The pair 2000-02-29 and 2001-02-28 gives 1 year, because 28 February is the last day of February 2001, and the month count moves 29 February to that day.

The same month-end rule applies to 29, 30 and 31. Starting on 1990-01-31, one month later is 28 February, so the pair 1990-01-31 and 1990-03-01 gives 1 month, 1 day. The result for the total days is always the plain difference of the two dates.

If you choose a comparison date before the younger person was born, the tool says so instead of showing a negative age. On 1992-01-01 the example shows Person 1: 1, Person 2: not born yet and the ratio line reads "Younger person not born yet". The gap itself is unchanged.

Only calendar dates are used. No clock time or time zone enters the sum, so a birth late in the evening in one country and early the next morning in another still counts as the date you type. For one person's age in years, months and days, use the age calculator, and for the span between any two dates use days between dates.

Use it with

Questions

How do I find the age difference between two people?

Subtract the earlier date of birth from the later one, counting whole months first and then days. For 1990-06-15 and 1994-02-03 the gap is 3 years, 7 months, 19 days.

Does the age gap between two people ever change?

Not in days. The same 1,329 days separate the example pair for life. Only the ratio of their ages changes, from 1.11 times now to 1.08 times on 2040-06-15.

Can I enter the older person first or second?

Either order works. The gap is the same and the tool names the older person under the answer.

How is the gap counted when a birth date is on the 29th, 30th or 31st?

The count of months moves to the last day of a short month. For 1990-01-31 and 1990-03-01 the result is 1 month, 1 day.

Can twins or people born on the same day be compared?

Yes. The result reads 0 days and the tool states that both have the same date of birth.

Is my data sent anywhere?

No. The dates you enter stay in your browser and are not uploaded or stored.

The tool's results are computed in your browser by the code on this page; the explanations are checked against the tool's own output.