Skip to content

Age Difference Calculator

Compare two dates of birth and see the exact age gap

Try:

Updated November 9, 2026 · 12 minute read · How we calculate

By the Age-Finder team · Last updated 7 November 2026

Quick answer

Two dates of birth make one gap. The age difference is the time from the earlier date of birth to the later one, counted in completed years, months and days.

Enter both dates in any order and the calculator shows the exact gap, the totals in days, weeks and months, and who is older.

Two gold timeline arrows running side by side with a bracket between them showing the gap
Two gold timeline arrows running side by side, one starting higher than the other, with a bracket between them showing the gap. Two dates of birth make one gap.

How to Use the Age Difference Calculator

Enter Person 1’s complete date of birth. Enter Person 2’s complete date of birth. Select Calculate difference to see the exact gap. You can enter the two people in either order.

The calculator identifies the earlier birth date automatically and reports the age difference, so the entry order does not affect the result. Method: Age difference = Later DOB minus Earlier DOB.

Four quick chips sit under the form. “14 May 1990 and 3 Sep 1995” fills both dates and calculates at once. “1 Jan 2000 and 1 Jan 2010” shows a round ten years. “29 Feb 2000 and 1 Mar 2020” tests a leap-day birth.

“Same day 5 Nov 2005” shows what happens when both dates match: the calculator answers “Both dates are the same, so there is no age difference.” Each date also has a “Show date picker” link that opens the native picker and fills the three fields for that date.

The result names the older person (“The person born on Monday, 15 March 1990 is older.”), gives the span (“From Monday, 15 March 1990 to Saturday, 22 July 1995.”), and shows the totals: total months, total weeks, and total days.

If a date field is empty, the calculator answers: “Please enter the first person’s date of birth.” A date that does not exist brings back “That date is not valid. Please check the first person’s date of birth.” The same two messages exist for the second person.

When the Older Person Turned: The Comparison Panel

Under the result, the calculator shows a second panel titled “When the older person turned…” It lists seven ages (10, 18, 21, 30, 40, 50 and 65), with the date the older person reached each one and how old the younger person was (or will be) on that day.

It is a merged-in feature from the Age Comparison Calculator, and no rival in the comparison table below has anything like it.

Take the worked example below, older born 15 March 1990, younger born 22 July 1995:

Table 1: What the comparison panel shows for the guide example, older born 15 March 1990 and younger born 22 July 1995.
Older person turned Date Younger person was
10 15 March 2000 4 years, 7 months
18 15 March 2008 12 years, 7 months
21 15 March 2011 15 years, 7 months
30 15 March 2020 24 years, 7 months
40 15 March 2030 Will be 34 years, 7 months
50 15 March 2040 Will be 44 years, 7 months
65 15 March 2055 Will be 59 years, 7 months

When the older person turned 10, the younger person was not yet born in the other chip pair (14 May 1990 and 3 September 1995, the older person turns 10 on 14 May 2000 and the younger person is 4 years, 8 months old),

And the panel says so directly: “the younger person was not yet born”. The panel hides when both dates are the same or when the result is an error.

Worked Example

Person 1 was born on March 15, 1990. Person 2 was born on July 22, 1995. Count from the earlier date: 5 full years reach March 15, 1995. Then 4 full months reach July 15, 1995. Then 7 days reach July 22, 1995.

The age difference is 5 years, 4 months, and 7 days, or 1,955 days in total. That is 279 weeks and 2 days. In total months it is 64 months. As decimal years it is 1,955 divided by 365.2425, which is 5.353 years.

Table 2: The four quick chips worked out in full, with every total the calculator shows.
Earlier date Later date Years, months, days Total days Total weeks Total months
14 May 1990 3 Sep 1995 5 years, 3 months, 20 days 1,938 276 weeks, 6 days 63
1 Jan 2000 1 Jan 2010 10 years, 0 months, 0 days 3,653 521 weeks, 6 days 120
29 Feb 2000 1 Mar 2020 20 years, 0 months, 1 day 7,306 1,043 weeks, 5 days 240
5 Nov 2005 5 Nov 2005 0 years, 0 months, 0 days 0 0 weeks 0

The ten-year chip is the one to check your own counting against: 1 January 2000 to 1 January 2010 covers three leap days (29 February 2000, 2004 and 2008), so it is 3,653 days, not 3,650.

The leap-day chip is the other edge case: 29 February 2000 plus 20 years lands on 29 February 2020, because 2020 is a leap year, and one more day reaches 1 March 2020.

What Each Output Means

The calculator shows the gap four ways, and each one answers a different question.

Table 3: The four outputs the calculator shows and what each one answers.
Output What it answers
Years, months, days How long the gap is on a calendar, in completed years, then completed months, then the days left over
Total days The number of days from one date to the other, counting every leap day in the span
Total weeks The total days split into whole weeks, with the days left over shown beside them
Total months The whole calendar months from the earlier date to the later one, with the years already folded in

Who is older is simply the person with the earlier date of birth. The calculator says so in a sentence: “The person born on Monday, 15 March 1990 is older.” If both dates are the same, it says there is no age difference instead of naming an older person.

How the Gap Ratio Shrinks Over Time

The age gap between two people never changes. A 10-year gap is 10 years at age 20 and still 10 years at age 60. But the ratio keeps shrinking, which is why the same gap feels huge in childhood and tiny in old age. This table shows it for two people born 10 years apart.

Table 4: How a fixed 10-year gap looks at different ages, from a newborn and a 10-year-old to 60 and 70.
Year Younger person Older person Gap Ratio
2000 Newborn 10 years 10 years Infinite (10 to 0)
2010 10 years 20 years 10 years 2 to 1
2030 30 years 40 years 10 years 1.33 to 1
2060 60 years 70 years 10 years 1.17 to 1

The math is simple division, but seeing the ratio collapse from infinite to nearly 1 to 1 explains an intuition everyone has felt but few can name.

Age Gap Details Worth Knowing

Age gap and age difference mean the same thing

Searchers type both “age gap calculator” and “age difference calculator.” They are the same tool. This page answers both queries. But there are two different questions behind the same words. This page answers the date question: the gap between two birth dates, in years, months and days, with totals and the comparison panel.

The Age Gap Calculator answers the relationship question: what a gap means between partners, with the research on satisfaction, divorce risk and the half-plus-seven rule. Use this page for the number; use that page for what the number means.

Inclusive vs exclusive day counting

Tools disagree on day counts because of convention, not error. Exclusive counting (used here and by most calculators) counts the days between two dates. Inclusive counting adds one for the start date itself.

Spreadsheet date subtraction counts midnights between dates, which is exclusive. If another tool shows one day more or less than ours, this convention is almost always the reason.

Why we use exact calendar math

Many calculators divide by averages: 365.25 days per year, 30.44 days per month. Those averages drift from the real calendar. The Gregorian calendar averages 365.2425 days per year and 30.436875 days per month, but even those are averages.

Our calculator walks the actual calendar month by month, counting real days including every February 29. The U.S. Naval Observatory documents the Gregorian leap year rule (years divisible by 4, except century years not divisible by 400) that makes this exact counting necessary.

Month-end dates are handled honestly

When a birth date falls on the 31st and the target month is shorter, we clamp to the month end rather than rounding.

January 31 to February 28 is reported as 28 days, not rounded to “one month.” This matches how the calendar actually works. The edge cases prove it: 31 January to 1 March is 29 days in 2023 and 30 days in the leap year 2024, because the leap day sits inside the span.

From 15 January 2000 to 10 March 2000 the day subtraction goes negative, so the calculator borrows one month and returns 1 month and 24 days.

Dates are time-zone neutral

This calculator works with calendar dates only, never times of day. Time zones and daylight saving changes cannot shift the result, because no time component enters the math.

What is a normal age gap in a relationship?

Most couples are close in age. In the United States the average gap between married partners is about 2.2 years, and about 8% of married couples have a gap of 10 or more years.

Couples with a gap of 1 to 3 years report the highest satisfaction, and the relative divorce risk rises with the gap: 18% higher at 5 years, 39% at 10 years and 95% at 20 years, according to Emory University research.

The half-plus-seven rule, that the youngest partner you should date is half your age plus seven, is a social heuristic with no scientific basis. The full research, the numbers behind it, and the rule worked out at several ages are on our Age Gap Calculator page.

How This Calculator Compares

Three other calculators rank for the same query, and each one has a feature this page lacks. The table below lines them up side by side so you can see where this page wins and where it loses.

Table 5: This calculator set beside FinCalcBox, AgeGapCalc and CalculatorPark, the three age-difference calculators that rank highest for the same query.
Feature Age-Finder FinCalcBox AgeGapCalc CalculatorPark
Free, no sign-up, no download Yes Yes Yes Yes
Gap in years, months and days Yes Yes Yes Yes
Totals in months, weeks and days Yes Yes Yes Yes
When the older person turned panel Yes No No No
Each person’s age on a chosen date No No No Yes
Swap button for the two dates No No Yes No
Totals in hours No Yes No No
Each next birthday listed No Yes No No

Where the calculator still stops: no As of Date to show each person’s current age, no multi-method input with average-based years and months, no decimal years, no working days, and no swap button.

The guide covers the missing pieces by hand where it can: the chip table works out every total, the decimal-year calculation is shown for the worked example (1,955 days divided by 365.2425 is 5.353 years), and the comparison panel gives the one view no rival has.

Frequently Asked Questions

How do I enter the dates?

Enter each person’s complete date of birth, day, month, and year, into the two date fields, then select Calculate difference. Use the full date for an exact result; the birth year alone is not enough.

Does it matter which person’s date of birth I enter first?

No. The calculator compares both dates, identifies the earlier birth date automatically, and reports the age difference. The entry order does not change the result.

How do you calculate age difference manually?

Start with the later date and subtract the earlier date. Subtract days first, then months, then years. If days go negative, borrow the number of days from the previous month.

If months go negative, borrow 12 months from the years. For example, from March 15, 1990 to July 22, 1995: 5 full years, then 4 full months, then 7 days.

Does the age difference between two people change over time?

No. The age difference is fixed at the moment the younger person is born. Both people age at the same rate, so the gap in years, months, and days stays exactly the same forever. What changes is each person’s current age, not the difference between them.

How do leap years affect the age difference calculation?

The calculator counts every calendar day including February 29 in leap years. When splitting the total into years, months, and days, it uses real month lengths. A person born on February 29 has a birthday that only appears every 4 years, but their age difference with someone else is still calculated using exact calendar days.

Can I use this calculator for dates that are not birthdays?

Yes. Enter any two calendar dates and the calculator will show the exact gap between them in years, months, days, and weeks. This works for anniversaries, project timelines, historical events, or any two dates you want to compare.

What is the formula for age difference?

Age difference equals the later date minus the earlier date, expressed in calendar years, months, and days. Total days is the exact count of calendar days between the two dates. Total weeks is total days divided by 7.

What does the “When the older person turned” panel show?

It lists the ages 10, 18, 21, 30, 40, 50 and 65, with the date the older person reached each one and how old the younger person was (or will be) on that day.

If the younger person was not yet born on one of those dates, the panel says so. It hides when both dates are the same or when the result is an error.

What is the average age gap in a relationship?

In the United States the average gap between married partners is about 2.2 years, and about 8% of married couples have a gap of 10 or more years.

Couples with a gap of 1 to 3 years report the highest satisfaction. The full research, including the divorce-risk figures and the half-plus-seven rule, is on our Age Gap Calculator page.

Keep Exploring

Age Gap Calculator: what an age gap means between partners, with the research on satisfaction, divorce risk and the half-plus-seven rule.

Age on a Specific Date Calculator: find your exact age on any date, down to the day.

Days Between Dates Calculator: the gap between any two dates in days, weeks, months and years, including the end date.

Average Age Calculator: the average age of a group of people, with the mean worked out step by step.

Sources

U.S. Naval Observatory: Leap Years FAQ (Gregorian leap year rule and the 365.2425-day average year)

U.S. Naval Observatory: Julian Date Converter (day-count method behind exact date-difference math)

United Nations Statistics Division: Demographic Yearbook 2007 (age defined as completed solar years between birth date and reference date)