Loading the calculator…
How to use the date difference calculator
- Pick the start date.
- Pick the end date, or leave it blank to measure up to today.
- Read the elapsed time as years, months and days, plus the totals in days, weeks and months.
If you enter the end date before the start date, the calculator swaps them, so the result is always positive.
How the result is worked out
The total number of days is the number of calendar days from the start date to the end date. The years, months and days are found by counting calendar years and months first, then the remaining days, so month lengths and leap years are handled correctly.
Example: from 15 June 1990 to 18 October 2026. The elapsed time is 36 years, 4 months and 3 days. The total is 13,274 days, which is 1,896 weeks and 2 days.
Working out an age
Enter your date of birth as the start date and leave the end date blank. The result shows your exact age today in years, months and days.
What the calculator does not count
The calculator counts every calendar day, including weekends and public holidays. If you need working days, subtract weekends and the public holidays of your country, which vary from place to place.
Questions about date differences
Does the count include the end date?
No. The total is the number of days from the start date to the end date. Add one if you want both the first and last day included.
Does it handle leap years?
Yes. The calendar arithmetic includes 29 February in leap years, so a span that crosses one gets the extra day.
Can it count working days?
Not at the moment. It counts all calendar days. Working days depend on weekends and public holidays, which change by country and sometimes by region.