Couples, siblings & friends

Age Difference Calculator

Find the exact age gap between two people in years, months and days. Enter two birthdays, or just two ages, to see who is older, the gap in every unit and both people’s current ages.

Quick answer: the age difference is the time between the two birth dates. Subtract the earlier birthday from the later one in years, months and days. It never changes as both people get older.

Calculate the age gap

How to Calculate Age Difference

The age difference between two people is the time between their two birth dates. Today’s date does not matter, which is why an age gap stays the same for life.

Age difference = Later birth date − Earlier birth date (Y, M, D)
  1. Write both birth dates as year, month and day, with the later (younger person’s) date on top.
  2. Subtract the days. If the top day is smaller, borrow one month and add that month’s days.
  3. Subtract the months, borrowing 12 months from the year if needed, then subtract the years.

Example: one person was born on 4 August 1990 and the other on 19 March 1994. Days: 19 − 4 = 15. Months: 3 is smaller than 8, so borrow a year: 3 + 12 = 15 months and 1994 becomes 1993, then 15 − 8 = 7. Years: 1993 − 1990 = 3. The age gap is 3 years, 7 months and 15 days.

This uses the same borrowing method as our guide to calculating chronological age.

Age Difference Examples

Older person bornYounger person bornAge difference
12 Jan 198530 Jun 19883 years, 5 months, 18 days
25 Dec 20002 Jan 20018 days, though they are born in different years
15 May 196015 May 1975Exactly 15 years

The second example shows why the birth years alone can mislead: 2001 − 2000 suggests one year, but the real age gap is just 8 days. A good age calculator for differences always works from the full dates.

Why Use an Age Difference Calculator by Birthday and Age?

Most people know a partner’s or sibling’s age but not always their exact birthday, so this tool accepts either. Start with ages for a quick estimate, then switch to birthdays when you have them for the exact figure. Both modes show who is older, the gap in months, weeks and days, and each person’s current age, so you get every answer in one place without a separate time difference tool.

Age Difference by Birthday vs by Age

If you know both birthdays, use the By birthday mode for an exact age difference to the day. If you only know two ages, the By age mode gives the gap in whole years, which can be off by up to a year because birthdays may fall at different times. For example, a 30-year-old and a 27-year-old are about 3 years apart, but the real gap could be anywhere from just over 2 to just under 4 years.

Age Gaps in Relationships

An age gap calculator is often used by couples who want to know their exact age difference. A few facts for context:

Age gap relationships work or struggle for many reasons, and the number on its own says little about a couple. Use the result as a fun fact, not a test.

Other Ways to Use an Age Difference Calculator

To find one person’s exact age instead, use our chronological age calculator. For a baby’s age, try the age in months calculator.

Does the Age Gap Change Over Time?

The gap in years never changes, but how big it feels does. Ten years between a 5-year-old and a 15-year-old is two different life stages; ten years between a 45-year-old and a 55-year-old feels much smaller. That is why the calculator also shows the gap as a share of the older person’s age: the same gap is a smaller share as both people get older.

About the author: Sandeep

Sandeep is a researcher and writer who builds free health and education calculators. Every tool on this site follows published methods and sources, and each guide is checked for accuracy before it goes live. See how our calculators work on the methodology page.

Age Difference Calculator FAQs

How do I calculate the age difference between two people?

Subtract the earlier birth date from the later one in years, months and days, or enter both birthdays in the age difference calculator above.

Can I calculate the age difference by age instead of birthday?

Yes. Switch to By age and enter both ages in years. The result is approximate, because the exact gap depends on the birthdays.

What is the average age difference between couples?

In the US, husbands are on average about 2 years older than wives in opposite-sex marriages. Many couples are within 1 to 4 years of each other.

What is the half your age plus seven rule?

It is a rule of thumb for the youngest socially accepted partner: divide your age by 2 and add 7. For a 30-year-old, that is 22. It is not a legal or scientific rule.

Does the age difference between two people ever change?

No. The gap between two birth dates is fixed for life. It only feels smaller as both people get older.

How do I calculate the age difference in years only?

Take the full years from the result above. By hand, subtract the birth years and take away one if the younger person’s birthday falls earlier in the year than the older person’s.