Make every date count

Age difference calculator

Calendar dates. Clear answers.

Dates stay in your browser. Enter dates from 1600 through 9998.

Your result

Enter your dates and select Calculate to see the result.

Compare two birth dates to find the age difference in completed years, months and days. You can enter the dates in either order. The tool identifies the earlier birth date, the later birth date and the total number of calendar days between them. This is useful when you want a precise date gap rather than the difference between two rounded ages. No names or other identifying details are needed. The result measures the birth-date interval and does not judge relationships, eligibility or any legal rule.

Worked example

Illustrative birth dates, with a computed gap
Earlier dateLater dateCalendar gapDays
06/15/200009/20/20022 years, 3 months, 5 days827

How it works

The tool puts the two birth dates in chronological order. It treats the earlier date as the beginning of the interval and the later date as the comparison date. Completed anniversaries supply the year portion. Completed calendar months after that anniversary supply the month portion. A continuous day-count difference supplies the days left over. The method follows the Naval Observatory date conversion algorithm and its Gregorian leap-year rule.

Date gap = later birth date - earlier birth date

Total days = Julian day number(later) - Julian day number(earlier)

Why rounded ages can hide the gap

Two people can report the same age in years even when their birthdays are far apart within that year. Likewise, the difference between their reported whole-year ages can change when one birthday arrives before the other. The actual distance between their birth dates stays fixed. Use the total-days figure when you need a single unit that does not change with a comparison date.

The calendar breakdown is easier to read for everyday comparisons. Its month component depends on the calendar, so it should not be interpreted as a fixed number of days. If the earlier date is at the end of a month, the calculator clamps any missing day to the last available day in the target month. It then counts the remaining days from that anchor.

Using the comparison

Enter the complete birth dates, check the earlier and later labels, and decide whether the calendar gap or day count fits your task. If you instead need each person's age at an event, use the age-on-a-date tool twice with the same event date. This separates the fixed gap between birthdays from ages that depend on an event date.

Identical dates give a zero gap. If you only know birth years, the result cannot be exact: the missing months and days could change the gap. The form requires full dates so that it can calculate a definite interval. The worked example below uses illustrative inputs; it is a calculation demonstration rather than a record of real people.

Frequently asked questions

Does the order of the birth dates matter?

No. The calculator sorts the dates and labels the earlier and later birth dates. The displayed gap is always nonnegative.

Is an age difference the same as subtracting current ages?

Subtracting rounded ages in years can hide the months and days between birthdays. This tool measures the actual interval between birth dates.

Can I compare dates in a leap year?

Yes. Leap days are included in the day count. For calendar years and months, a missing anniversary day is clamped to the last day of the month.

Sources