How the age difference calculator works
The calculator counts whole calendar years first, then whole months, then the leftover days, the same way you would count on a calendar. Total days are an exact count that includes leap days.
Because months have different lengths, "4 years, 4 months, 18 days" is the most natural way to state a gap, while total days is the most precise. Both are shown so you can use whichever fits.
Formula
Difference = later date − earlier date, counted as whole years, then whole months, then remaining days
Decimal years = total days ÷ 365.2425
Worked example
Born April 15, 1990 and September 2, 1994: the gap is 4 years, 4 months and 18 days, or 1,601 days.
Frequently asked questions
How do I calculate an age gap by hand?
Subtract the birth years, then adjust: if the younger person's birthday month and day come earlier in the year than the older person's, subtract one year.
Does it account for leap years?
Yes. Total days are calculated from the real calendar, including February 29.
What is the "half your age plus seven" rule?
It is an informal dating rule of thumb, not a scientific one: the youngest "socially acceptable" partner age is half your age plus seven. Use the numbers here however you like.