Age Difference Between Two Dates
Pick two birthdates and the calculator shows the gap between them as whole years, months and days, along with the total number of days. The earlier date is always the start, so the order you enter them in does not matter. Every figure updates the moment you change a date, and a plain-language summary is ready to copy.
How to calculate an age difference
- Click the first birthdate field and pick a date.
- Click the second birthdate field and pick the other date.
- Read the four stat cards: years, months, days and total days.
- Read the sentence summary below, for example 2 years, 6 months, 5 days.
- Press Copy to put that summary on your clipboard.
Examples
A two and a half year gap
1990-01-15 and 1992-07-20
2 years, 6 months, 5 days (917 days)
Across several leap years
2015-08-20 and 2020-02-10
4 years, 5 months, 21 days (1635 days)
Spanning a leap day
2000-02-29 and 2001-03-01
1 year, 0 months, 1 day (366 days)
Frequently asked questions
How is the age difference worked out?
The calculator counts the largest whole number of calendar months that fits between the two dates without overshooting, then reports the leftover days from that point. The month count is split into years and months, so you get a natural years, months, days breakdown rather than a raw day total alone.
Does the order of the dates matter?
No. The earlier of the two dates is always treated as the start, so swapping the birthdates gives the same answer. Every result is reported as a positive figure.
What does the total days figure mean?
It is the exact count of whole days between the two dates, including every leap day the span crosses. It is shown as its own stat card next to the years, months and days breakdown, formatted with thousands separators.
How are the months and days at the end handled?
Months are added using end-of-month clamping, so a date like January 31 plus one month lands on the last day of February rather than spilling into March. This keeps the day remainder from ever going negative, which is how ages and anniversaries are normally counted.
How are leap years and February 29 treated?
The tool uses real calendar dates, so February 29 exists only in leap years and each month contributes its true length. A span from February 29, 2000 to March 1, 2001 comes out as 1 year and 1 day, or 366 total days.
Do time zones or daylight saving time change the answer?
No. All math runs in UTC and treats each entry as a plain calendar date with no clock time, so time zones and daylight saving shifts never move the result by a day.
Can I use it for ages, anniversaries or project spans?
Yes. Although the fields are labelled birthdates, any two calendar dates work. Use it to compare two people's ages, count time since an anniversary, or measure the length of a project or lease.
What date format does it use?
The inputs are native date pickers, so the calendar respects your browser and operating system locale. Under the hood dates are handled in ISO YYYY-MM-DD form, which the API also expects.
Is my data kept private?
Yes. The calculation runs entirely in your browser and nothing is uploaded, so the birthdates you enter never leave your device.
Learn more
- How calendar months and leap days shape an age gap
Why an age difference in years, months and days is trickier than subtracting numbers, and how end-of-month clamping keeps it honest.
Related tools
Age Calculator
Calculate your exact age in years, months and days from your date of birth. See your age in total days, weeks and months too. Free and private.
Date Difference Calculator
Find the number of days, weeks, business days and years, months and days between two dates. Enter a start and end date to see the full breakdown.
Months Between Calculator
Count the calendar months and leftover days between two dates. See the total months and a years, months and days breakdown. Free, private and instant.
Add Business Days Calculator
Add or subtract working days from a date, skipping weekends and any holidays you list. See the result date and its day of the week instantly.
Add Days Calculator
Add or subtract calendar days from any date and see the result with its day of the week. Free, instant and works for past or future dates.
Add Time Calculator
Add or subtract hours and minutes from a time of day. See the new clock time and whether it crosses into another day. Free and private.