Enter both birth dates
Label the people A and B only for input. The calculator accepts the dates in either order and does not require names or other personal information.
Compare two people
Enter two dates of birth to see who is older and how far apart the birthdays are. This is just a date comparison, not relationship advice.
Age difference calculator
Second person is older by 4 years, 6 months and 17 days.
Method
later birth date - earlier birth date = age gapHow it works
Enter the dates, choose any needed option, and read the result with the method shown.
Label the people A and B only for input. The calculator accepts the dates in either order and does not require names or other personal information.
The earlier date belongs to the older person. Reversing A and B changes the label in the result, but not the size of the age gap.
Use years, months and days for a normal readable gap. Use total days when you need one exact number.
Ordering
An age difference is the time between two dates of birth. The earlier date belongs to the older person, no matter which box it was entered in.
If both dates are the same, neither person is older. The difference is zero years, zero months and zero days.
older person = earlier birth dateCalendar gap
Start with the earlier date. Count full years without going past the later date. Then count full months, then the days left over.
That gives a readable gap, such as 2 years, 5 months and 14 days. Because months have different lengths, the calculator also shows the total number of days.
age gap = later birth date - earlier birth date1 January 1990 to 15 June 1992 = 2 years, 5 months, 14 days.
Total days
For total days, the calculator counts the calendar days between the two birth dates.
The total does not change if you swap the inputs. Leap days are included automatically.
total days = later date - earlier dateKeep this handy
The same dates can be expressed in two useful forms.
| Output | Best for | Important detail |
|---|---|---|
| Years, months and days | Reading the gap in normal calendar language | Uses real month lengths |
| Total days | Comparing with one exact number | Does not depend on month names |
| Older-person label | Understanding direction | Based on the earlier date |
| Zero difference | Identical dates | Neither person is older |
Follow the calculation
Each example uses the same calendar rules as the calculator.
A multi-year difference
The calculator also shows the same gap as total days.
Dates in reverse order
Input order changes the label, not the age difference.
Across New Year
Subtracting birth years alone would misleadingly suggest a one-year gap.
Calendar details
These are the small details where quick shortcuts often get the wrong date.
The result is zero years, zero months and zero days, and neither person is described as older.
You can enter the dates either way round. The calculator sorts them before counting.
If the gap involves the 29th, 30th or 31st, the calculator uses real month lengths, not a fixed 30-day month.
Total days includes 29 February whenever it falls between the two birth dates.
Avoid mistakes
A few quick checks make the answer easier to trust.
Years alone ignore the month and day. Two people in adjacent birth years may be only one day apart.
The earlier calendar date determines who is older. Field order is only a label.
Months are not all the same length. Use total days if you need one fixed unit.
An age gap is just a time difference. Personal, legal or safeguarding questions need proper context.
Choose the right page
Use the page that matches the question you actually have.
Prefer the method in prose? Read manual calendar subtraction. The age formula guide explains how years, months and days are borrowed.
Related guides
These guides explain the rules that most often change an age, birthday or day-count answer.
References
These references support the calendar facts and definitions used on this page. Calculator-specific choices are disclosed separately.
FAQ
Short answers to the questions that usually come up after using the calculator.
Order the birth dates, then count complete years, complete months and remaining days from the earlier date to the later date.
It changes which person is labelled older, but the positive calendar gap and total number of days remain the same.
Yes. A person born on 31 December and another born on 1 January of the following year are one day apart.
Total days gives one exact number. Years, months and days are easier to read, but months are not all the same length.
No. It only measures the interval between two dates and offers no relationship, legal or safeguarding judgement.