Skip to content
Date & Time

Age Gap Calculator

Find the exact age difference between two people from their birth dates — in years, months and days — plus the total days and months between them, and which person is older.

Calculator

Person A — date of birth
Person B — date of birth
Age difference
5 years
5 years, 5 months, 14 days
Total months
65
Older person
Person A
Total days
1,991
Total months
65

Who is older

Person A is older by 5 years, 5 months, 14 days.

The gap is counted in real calendar months and days, so one “month” can be 28, 30 or 31 days, and leap days are respected.

A reference and planning tool — double-check important dates, figures and official requirements before you rely on them.

About this calculator

The age gap between two people sounds like simple subtraction, but counting it exactly is fiddlier than it looks: months are different lengths, leap years add a day, and the day of the month each person was born on shifts the result. This calculator takes two birth dates and works out the difference to the day — years, months and days — then adds the totals people usually want alongside it: the total number of days and whole months between the two dates, and which of the two people is older. It never assumes "today" — the gap depends only on the two dates you enter, so it is the same whenever you run it.

How to read your results

The headline is the age difference in completed years; the line beneath breaks the same gap into years, months and days. "Total days" and "Total months" restate that span as a plain day count and a whole-month count. The "Who is older" line names the person with the earlier birth date and by how much. If both dates are identical, the gap is zero and the calculator says so.

How it's calculated

The gap counts how many full years separate the two birth dates, then how many whole months past that anniversary, then the leftover days — using the true length of each calendar month and accounting for leap years, exactly like an age calculation. Total days is the plain count of days between the two dates; total months is years × 12 plus the leftover months. The result is symmetric: swapping the two people gives the same absolute gap, only the "older" label flips. Because the breakdown respects real month lengths, a gap of "1 month" can be 28, 30 or 31 days depending on where in the year it falls.

Worked example

Person A was born on 1 January 1990 and Person B on 15 June 1995.

The age gap is 5 years, 5 months and 14 days — about 1,991 days, or 65 whole months. Person A is older, having the earlier birth date.

Frequently asked questions

How is the age gap between two people calculated?

It counts the full years between the two birth dates, then the whole months past that point, then the remaining days — using each calendar month's real length and accounting for leap years. That day-and-month breakdown is more precise than just subtracting the birth years.

Does the order of the two dates matter?

No. The gap is the absolute difference between the two birth dates, so entering them in either order gives the same years, months and days. The only thing that changes is which person is reported as older — always the one with the earlier birth date.

Why isn't the age gap just the difference in birth years?

Subtracting birth years ignores the months and days. Two people born in 1990 and 1995 are not necessarily "exactly five years apart" — if their birthdays fall on different days, the real gap can be a few months more or less. This calculator measures it to the day.

How are leap years handled?

Each February's real length (28 or 29 days) is respected, so a gap that spans one or more leap days is counted correctly. A person born on 29 February is handled the same way an age calculator would, with the anniversary falling on 28 February in non-leap years.

Sources

Reviewed by the YouCalc Team · Last reviewed

Spot a translation issue, a calculation issue, or have a suggestion? Let us know.

More calculators like this. Pick the next one.