Age Difference Calculator

Everyday Life Updated 31 Oct 2026

Finds the age gap between two people: siblings, partners, parents and children or friends. Enter their two ages for a quick answer, or their dates of birth for an exact difference in years, months and days (plus the total in days and weeks), or just the years they were born. The result also says who is older and gives the gap as decimal years, months, weeks and days.

  • Dates are in the Gregorian calendar; the time of birth is not used.

Formula

age difference = |age₁ − age₂| = |year₁ − year₂|, or the calendar time between the two dates of birth
  • With dates of birth, whole months are counted from the earlier date first, then the days left over, the same way an age is counted.
  • Decimal years divide the total days by 365.2425, the average length of a Gregorian year.
  • From birth years alone the gap is only known to within a year: someone born in December 1990 is less than a month older than someone born in January 1991.
  • Ages and gaps are rounded to 4 decimal places.

Born 15 May 1990 and 2 November 1993

Inputs
  • Method: dob
  • Date of birth, person 1: 1990-05-15
  • Date of birth, person 2: 1993-11-02

15 May 1990 to 15 October 1993 is 3 years and 5 months; 15 October to 2 November is 18 days. The gap is 3 years, 5 months, 18 days, or 1,267 days, and person 1 is older.

Sources & references

  • Gregorian calendar
    Wikipedia · Retrieved 31 Oct 2026

    Gregorian leap-year rule; average year of 365.2425 days.

Frequently asked questions

How do I calculate the age difference between two people?
Subtract the younger person's age from the older person's. For an exact answer, count the years, months and days from the earlier date of birth to the later one.
Does the age difference ever change?
No. Both people age at the same rate, so the gap in years stays the same for life. What changes is the ratio: a 5-year gap is huge between a 2- and a 7-year-old but small between 60 and 65.
What is the half-your-age-plus-seven rule?
A popular rule of thumb that the youngest socially acceptable partner age is half your age plus 7: 20 for a 26-year-old. It is a cultural guideline, not a scientific one.
Why do birth years alone give an approximate answer?
The months matter. People born in 1990 and 1993 could be anywhere from just over 2 to just under 4 years apart, depending on their birthdays.

Related calculators

Age Calculator Works out exactly how old someone is from their date of birth: in years, months and days, and as a total number of months, weeks, days and hours. By default the age is calculated for today, or you can pick any other date to find an age on a past or future day. You also see the day of the week the person was born and the date of their next birthday with a countdown in days. Days Between Dates Calculator Counts the number of days between two dates, with the option to include the end date in the count. Beyond the total, it breaks the period down into years, months and days, into weeks and days, and into hours, and counts how many of the days are weekdays (Monday to Friday) and how many fall on weekends. Use it for deadlines, notice periods, trip lengths, project schedules or counting down to an event. Add Days to Date Calculator Adds or subtracts days, weeks, months and years from a date to find the resulting calendar date and its day of the week. Use it to work out deadlines, due dates, expiry dates, notice periods or the date a given number of days ago. Choose calendar days, or business days to skip Saturdays and Sundays. Months are added on the calendar, so 31 January plus one month is the last day of February. Days Until Calculator Counts down the days until a date: a birthday, holiday, exam, wedding, deadline or retirement. Pick the date you are counting to and, if you are not counting from today, the date to start from. You get the number of days left, the same countdown in weeks, in months and days, and in hours, minutes and seconds, plus how many of the remaining days are weekdays and weekend days.