Skip to content
Tutorials5 min read

How to Calculate Age Difference Between Two People: A Complete Guide

Learn how to calculate the exact age difference between two people in years, months, and days — with worked examples, edge cases, and a free calculator.

By AlexPublished
How to Calculate Age Difference Between Two People: A Complete Guide

Why year subtraction alone is not enough

The most common way people estimate an age gap is to subtract one birth year from another. If Person A was born in 1990 and Person B in 1995, the quick answer is five years. That is accurate enough for casual conversation — but it ignores months and days entirely.

The actual gap between March 28, 1990 and November 5, 1995 is 5 years, 7 months, and 8 days. In contexts where the exact difference matters — sibling age spacing in a pediatric assessment, eligibility cutoffs, or legal age requirements — the month and day component changes the answer in ways that matter.

Getting the precise figure requires the same calendar subtraction used in chronological age calculations: work right to left, handle borrowing at each boundary, and account for varying month lengths.

The step-by-step method

To find the exact age difference between two people, identify which birth date is earlier — that person is older. Then subtract the earlier date from the later date in three steps.

Step 1 — Days: Subtract the earlier birth day from the later birth day. If the result is negative, borrow from the months column by adding the number of days in the preceding month.

Step 2 — Months: Subtract the earlier birth month from the later birth month. If the result is negative after any day borrowing, add 12 and reduce the year count by one.

Step 3 — Years: Subtract the earlier birth year from the later birth year, adjusted for any month borrowing in step 2.

  • Always work right to left: days first, then months, then years.
  • Borrow the actual number of days in the relevant month — not a flat 30.
  • Leap year birthdays (February 29) use February 28 as the equivalent in non-leap years.
  • The person with the earlier birth date is always the older person, regardless of how the dates are entered.

Worked example — no borrowing needed

Person A: January 10, 1988. Person B: June 25, 1994. Person A is older.

Days: 25 − 10 = 15 days. Months: 6 − 1 = 5 months. Years: 1994 − 1988 = 6 years.

Result: 6 years, 5 months, 15 days. This is the straightforward case where every column subtracts cleanly without borrowing.

Two people comparing dates on a calendar
When the later date is larger in every column, no borrowing is needed and the subtraction is direct.

Worked example — borrowing required

Person A: August 22, 1985. Person B: March 7, 1992. Person A is older.

Days: 7 is less than 22, so borrow from months. The month before March is February. 1992 is a leap year, so February has 29 days. Add 29 to 7: 7 + 29 = 36. Then 36 − 22 = 14 days. Reduce the month count: March becomes month 3, minus the borrow = 2.

Months: 2 is less than 8, so borrow from years. Add 12: 2 + 12 = 14. Then 14 − 8 = 6 months. Reduce years: 1992 − 1 = 1991.

Years: 1991 − 1985 = 6 years.

Result: 6 years, 6 months, 14 days. The leap year check in the day borrowing step is what separates a correct answer from an off-by-one error.

When the exact age difference actually matters

For most everyday purposes, knowing two people are roughly five years apart is enough. There are specific situations where the months and days matter significantly.

Pediatric and educational assessments sometimes compare a child's performance against a sibling or peer of known age. The exact gap affects how clinicians interpret relative developmental timing. School enrollment cutoffs compare a child's age against a fixed date — being one month short of the cutoff produces a different outcome than being one month past it.

Legal and administrative contexts such as pension eligibility, insurance age bands, and benefit qualification dates often work with exact birth dates rather than rounded years. In these situations, a difference of a few months can determine which category applies.

Documents showing date-based eligibility criteria
Eligibility thresholds in education and healthcare are written in exact calendar terms — months and days matter, not just years.

Using a calculator to verify the result

Manual calculation is reliable when done carefully, but a single borrowing error — particularly around February or month-end dates — produces a result that looks plausible but is off by one day or one month. Running the same two dates through a dedicated age difference calculator takes seconds and confirms whether the manual result is correct.

The free Age Difference Calculator on this site accepts any two birth dates and returns the exact gap in years, months, and days. All calculation runs in the browser — no data is sent to any server.

Free Tool

Calculate Age Difference Free

Open Calculator →