Skip to content
Free Tool Arena

Random & Fun · Guide

How to calculate an age gap

A step-by-step method — and a free calculator — for finding the exact age gap between two people in years, months, and days.

Updated April 2026 · 6 min read

Calculating an age gap looks like subtraction and isn’t. If one person was born on March 1 and the other on February 28 of the previous year, they’re not exactly one year apart — they’re one year and one day, and for sports eligibility, adoption paperwork, or a pedantic family argument, that day matters. Here’s the correct method, the edge cases people miss, and when to just let a calculator do it.

The right way: years, then months, then days

The clean method works top-down. Take the two birth dates. Subtract the years first. Then subtract the months. Then subtract the days. If the day difference comes out negative, you borrow from the months — just like long subtraction in grade school. If the month difference then goes negative, you borrow from the years.

Example: person A born 2010-05-20, person B born 2007-08-03. Years: 2010 - 2007 = 3. Months: 5 - 8 = -3. Days: 20 - 3 = 17. The months went negative, so borrow one year: 3 - 1 = 2 years, and -3 + 12 = 9 months. Final answer: 2 years, 9 months, 17 days.

Why “just subtract the years” is wrong

A common shortcut: birth year minus birth year. This is fine for rough conversation and wrong for anything that matters. Two people born in 2015 and 2017 could be anywhere from just over a year apart (Dec 2015 and Jan 2017) to almost three years apart (Jan 2015 and Dec 2017). The year alone hides up to 23 months of real gap.

The Feb 28 / Mar 1 problem is the classic case. Born Feb 28, 2020 vs Mar 1, 2021 is one year and one day, not one year — and if a rule says “at least one year,” both pass; if a rule says “exactly one year,” only one does.

Leap-year edge case

Feb 29 birthdays are a fun puzzle. Someone born Feb 29, 2000 technically only has a “real” birthday every four years. For age calculations, the common conventions are: in non-leap years, treat their birthday as Feb 28 (legal default in most places) or Mar 1 (some jurisdictions, some sports bodies). Pick one convention and be consistent. For casual use, Feb 28 is the safer default.

Leap years also mean that the exact number of days in a “year” varies. If you need total days between two dates, count them — don’t multiply years by 365.

What people actually use age gap for

Four common contexts. Couples: the classic “how many years apart are we” — people almost always want the year-and-month format, not raw days. Siblings: same format, same reason. Sports eligibility: youth leagues often set cutoffs like “must be under 12 on September 1.” You need the day-precise answer on the cutoff date. Adoption, immigration, family law: any paperwork that says “at least X years younger” wants a precise calculation.

When to reach for a calculator

Doing the borrowing math once is educational. Doing it ten times is a recipe for an arithmetic error in exactly the spot that matters. Our age gap calculator handles the borrowing, leap years, and edge cases — enter two dates and read off the result. If you just need one person’s current age, the age calculator is the simpler version.

A sanity check that usually catches errors

After you calculate, do a rough cross-check: does the elder’s birthday this year, plus the gap, land on roughly the younger’s birthday this year? If the two don’t line up to within a day, you’ve made an arithmetic error. This ten-second check has saved more family debates than any formula.