Skip to main content
Dates & TimeFree · no sign-up

Age Difference Calculator

The exact gap between two birthdays, in years, months, and days — and who is older.

Updated

Age difference

1,356days

3 years, 8 months, 15 days

Whole months apart
44
Weeks apart
193

The first person is the older of the two, by 3 years, 8 months, 15 days.

In short

How do I work out the age difference between two people?

Measure from the earlier birth date to the later one on the calendar, rather than subtracting birth years. Someone born 15 June 1990 and someone born 2 March 1994 are 3 years, 8 months, 15 days apart — 1,356 days, or 44 whole months. That gap was fixed the moment the younger one was born and never changes again.

Only the two whole-number ages move: a pair born 8 months apart will call themselves the same age for part of every year and a year apart for the rest.

How to use the age difference calculator

Put in two dates of birth and the tool measures the gap between them. The fields open on 15 June 1990 and 2 March 1994 so there is a worked result on screen from the first second; swap in the two real dates and every figure follows along as you type. Neither field will accept a date in the future.

Order does not matter either: the tool compares the two dates, works from the earlier one to the later one, and then tells you in plain words which of the two people is the older, so you can enter them in whatever order they came to mind and get the same answer.

Enter them the other way round and only the label changes — the gap itself is identical, because a distance between two points does not depend on which end you started from.

3 y, 8 m, 15 d

The default gap

15 June 1990 to 2 March 1994

1,356

Total days

the same gap as a flat count

44

Whole months

or 193 whole weeks

The headline is the gap in whole days, with the same span written underneath as years, months, and days. Those are calendar months rather than thirty-day blocks, which is why the breakdown will not divide neatly out of the day count and why it should not be expected to. The tool counts whole months from the earlier birth date, clamps the monthly anniversary into whatever month it lands in, and measures the leftover as an exact number of days.

Below that you get the gap as whole months and as whole weeks, which are the units people actually reach for when the gap is small — a difference of a few months between two babies is far more legible as 26 weeks than as 0 years, 6 months, 0 days.

The address bar mirrors both dates as you edit them, so the URL you are looking at always reproduces the result you are looking at. Copy it and whoever opens it sees the same two birth dates and the same gap, though their ages-today rows will be recalculated against their own date.

Nothing is stored on our side and nothing is sent to a server; the dates travel only in the link you choose to share, which is worth knowing before you paste a link containing someone else’s date of birth into a group chat. If you need the figure for a form or a record, note the gap rather than the two ages, since the gap is the part that will still be true next year.

Do

  • Record the gap rather than the two ages, since the gap stays true.
  • Enter the two dates in whichever order they came to mind.
  • Use whole weeks or whole months when the gap is only a few months.
  • Read the two ages-today rows for the context the raw gap is missing.

Don't

  • Subtract the two birth years and call that the gap.
  • Divide the day count by 365.25 to recover the years and months.
  • Paste a link carrying someone else’s date of birth into a group chat.
  • Expect the whole-number ages to stay a fixed number of years apart.

Working from just one date of birth?

The age calculator runs the same calendar arithmetic from a single birth date to today, with the totals, the weekday born on, and the next birthday alongside it.

Open the age calculator

Worked age gaps against a fixed first birth date of 15 June 1990, showing how the same span reads as years plus months plus days, as a flat day count, and in weeks and whole months.

Second birth dateGap in years, months, daysTotal daysWhole weeksWhole months
15 June 1990 (same day)0 y, 0 m, 0 d000
15 December 19900 y, 6 m, 0 d183266
15 June 19911 y, 0 m, 0 d3655212
29 February 19921 y, 8 m, 14 d6248920
31 January 19932 y, 7 m, 16 d96113731
2 March 1994 (the default)3 y, 8 m, 15 d1,35619344
14 June 19954 y, 11 m, 30 d1,82526059
16 June 19966 y, 0 m, 1 d2,19331372
1 January 20009 y, 6 m, 17 d3,487498114
15 June 200515 y, 0 m, 0 d5,479782180
31 December 201020 y, 6 m, 16 d7,5041,072246
15 June 1985 (second person older)5 y, 0 m, 0 d1,82626060
29 February 1988 (second person older)2 y, 3 m, 17 d83711927
Every row is the output of this page’s own engine for that pair of dates, so the arithmetic can be checked against the tool directly. The last two rows have the second person born earlier, which the tool handles by sorting the pair before it counts. The gap never depends on today’s date.

Why does the gap stay fixed while the ages move?

The last two rows give each person’s age today, measured against your own device’s calendar date. That is the context the raw gap is missing: four years between a pair of toddlers and four years between two adults are the same number and a completely different fact.

Because those ages track your real today, they move on every birthday while the gap itself never budges. The measured gap in days and months is the stable figure; the pair of round-number ages is the one that keeps changing.

The formula, worked line by line

An age gap is a plain date difference, and nothing about it depends on today. The tool sorts the two birth dates, counts the whole calendar months from the earlier to the later, anchors on the monthly anniversary of the earlier date, and measures whatever is left as an exact number of days. The flat total-days figure is calculated separately, straight from the two dates, so the two views of the gap are independent of one another.

The anniversary is clamped into its month, so one month after 31 January is 28 February, or 29 February in a leap year. That single rule is what keeps the leftover day count from ever going negative, and it is why leap years need no special handling anywhere else: 29 February is simply a date that either exists in the span or does not.

It also settles the genuine ambiguity in month arithmetic, since there is no correct answer to "31 January plus one month" — only a stated convention.

earlier, later = the two birth dates, sorted
months = (later.year − earlier.year) × 12 + (later.month − earlier.month)
         − 1 if the anniversary in that month has not arrived yet
days = exact day count from (earlier + months, day clamped) to the later date
The gap between two birthdaysJun 15, 1990 to Mar 2, 1994 is 3 years, 8 months, 15 days — 1,356 days.OLDER → YOUNGERfirst birth dateJun 15, 1990second birth dateMar 2, 1994AGE DIFFERENCEwhole months apart44weeks apart193calendar breakdown3y 8m 15ddays apart1,356
Two birth dates on one line — the gap between them is fixed, only the ages either end of it move.
The worked defaults, 15 June 1990 and 2 March 1994
Raw month count
(1994 − 1990) × 12 + (3 − 6) = 45
Anniversary check
15 June 1990 + 45 months = 15 March 1994, past 2 March, so step back to 44
44-month anniversary
15 February 1994
Leftover days
15 February to 2 March 1994 = 15 (13 to 28 February, then 2 more)
The gap
3 years, 8 months, 15 days (44 ÷ 12 = 3, remainder 8)

The person born in 1990 is the older of the two, which is the label the tool prints alongside the figure.

The same gap checked the long way, as flat days
15 June 1990 to 15 June 1994
4 × 365 + 1 leap day (1992) = 1,461 days
2 March 1994 to 15 June 1994
105 days
Subtract
1,461 − 105 = 1,356
Total days
1,356

That is 44 whole months and 193 whole weeks with 5 days left over. Notice how little the two views resemble each other: 1,356 divided by 30 would suggest 45 months rather than 44, and divided by 365.25 it would suggest 3.71 years rather than 3 years and 8 months. Neither approximation is what people mean, which is why the tool counts on the calendar instead.

The gap is fixed for life; only the two ages move. Read against 15 June 2026, the first person is 36 years, 0 months, 0 days and the second is 32 years, 3 months, 13 days — still 3 years, 8 months, 15 days apart, exactly as they were on the day the younger one was born.

Read six weeks later, on 26 July 2026, they are 36 years, 1 month, 11 days and 32 years, 4 months, 24 days, and the gap is unchanged again.

Questions people ask

How do I calculate the age difference between two people?

Enter both dates of birth and the tool measures from the earlier to the later one. It reports the gap as whole days, as years plus months plus days, and as whole months and whole weeks, then names which of the two people is the older. The gap is a plain date difference, so it never depends on today’s date — only the two ages shown underneath do. Doing it by hand means counting whole months from the earlier birthday first and only then counting the leftover days, because dividing a day count by 30 or by 365.25 gives a number that does not match what anyone means by an age gap.

Does it matter which birth date I enter first?

No. The tool compares the two dates before it measures anything, always counts from the earlier to the later, and then tells you which person that makes the older one. Enter 1994 in the first field and 1990 in the second and you get the identical gap, with the label pointing at the second person instead of the first. That is why the reference table above can include rows where the second birth date is the earlier one — 15 June 1985 against a first date of 15 June 1990 still reads as a clean 5-year gap, with the second person older.

What is the age gap between someone born 15 June 1990 and 2 March 1994?

3 years, 8 months, and 15 days — 1,356 days in total, which is 44 whole months or 193 whole weeks with 5 days left over. The person born in June 1990 is the older of the two. Those are the tool’s default dates, so you can see the whole calculation on screen before you replace them with your own. Note how the two forms disagree with any simple division: 1,356 days is 3.71 average years and 44.6 average months, neither of which is the answer people are looking for.

Why is the gap not just the difference in birth years?

Because the difference in birth years ignores where in the year each birthday sits. Someone born in December 1990 and someone born in January 1994 look three years apart on paper but are only 3 years, 0 months, 21 days apart in real time, while a June 1990 and a March 1994 birth date are 3 years, 8 months, 15 days apart despite showing the same four-year spread in the year column. Subtracting years tells you how the two will describe themselves in conversation; measuring the actual dates tells you the gap. The two answers can differ by nearly a full year.

Does the age gap change over time?

The gap never changes — it was fixed the moment the younger person was born, and it is the same 3 years, 8 months, 15 days at every point afterwards. What changes is the pair of whole-number ages people quote. Two people 8 months apart are the same age for four months of every year and a year apart for the other eight, purely because of where their birthdays fall, which is why the gap in days and months is the more useful figure. If you are recording something that has to stay true, record the gap rather than the two ages.