How to Use the Age Difference Calculator
- 1Pick or type the first person's date of birth in Person 1 date of birth.
- 2Add the second person's date of birth in Person 2 date of birth. Either person can be the older one.
- 3Press Show Age Difference.
- 4Read the gap in years, months and days, then the totals beneath it. Expand Step-by-step calculation for the working, or use Clear to compare two new dates.
How the Age Difference Is Counted
The count starts on the earlier date of birth and moves forward to the later one. First come the whole years, then the whole months that fit after them, and finally the days that are still left.
Every month keeps its real length of 28, 29, 30 or 31 days; nothing is averaged. Swapping the two dates gives exactly the same gap. Only the line saying who is older changes.
Total Days, Weeks and Completed Months
Total days is the number of calendar days you step through to get from the earlier date to the later one. Total weeks splits that number into whole weeks plus any days left over.
Completed months is the number of whole calendar months in the gap: the years multiplied by 12, plus the extra months. It is not the total days divided by 30. From January 31 to April 30 there are 89 days but only 2 completed months, because the third month is not finished until May 1.
When a Birthday Falls at the End of a Month
A month is counted only when the same day number comes round again. If the later month has no such day, for example a 31st in a 30-day month, that month is completed on the 1st of the month after it.
So January 31 to February 28 is 28 days with no whole month, and January 31 to March 1 is 1 month and 1 day. A day number that every month has, such as the 15th, never needs this rule.
Birthdays on February 29
February 29 appears only in leap years. Any year that divides evenly by 4 has one, but a century year qualifies only if it also divides evenly by 400, so 2000 had a February 29 and 1900 did not.
When the earlier date is February 29 and the later year has no February 29, the calculator treats February 28 as the anniversary, the same rule the Age Calculator follows. That is why February 29, 2000 and February 28, 2001 are shown as exactly 1 year apart even though only 365 days separate them. Measured to February 29, 2004, the gap is 4 years and 1,461 days.
Past and Future Dates
Both dates can be in the past, in the future, or one of each, because the calculator compares the two dates with each other and never with today's date.
Any date from January 1 of year 1 to December 31, 9998 is accepted. The Gregorian leap-year rule is applied to every year, including years before the Gregorian calendar was introduced in 1582, which is also how dates are defined for web date fields.
Ways to Use an Age Gap
Compare two siblings, two friends or a couple, or check how far apart two historical figures were born.
For a parent and a child, the gap doubles as the parent's exact age on the child's date of birth.
To find one person's age today or on a chosen date, use the Age Calculator. To add or subtract years, months, weeks or days from a date, use the Date Calculator.