Calculators & Generators tool
Date Difference Calculator
Date difference calculator: find the exact time between two dates in years, months and days, plus the total number of days, with leap days included.
Your file never leaves your device.
Inputs
Results
Simple steps
How it works
- 01
Choose a start date and end date.
- 02
Submit the dates to calculate the interval.
- 03
Review calendar duration and total days.
Calendar duration and total days
The result has two parts. The calendar duration counts whole years, months and days, as you would on a calendar; the total counts the days that pass. From 1 January to 31 December 2026 is 11 months and 30 days, or 364 days.
When the start day is missing from the month before the end, such as 31 January to 1 March, the tool counts one month to the end of February and then the remaining days, so the result never shows negative days.
Counting both dates
The total measures the time between the two dates, like nights in a hotel: 1 to 3 March is 2 days. If you need to count the first and the last day, as for an event from 1 to 3 March that lasts 3 days, add 1 to the total.
Working days, time zones and Hijri dates
Weekends and public holidays are included in the total; for working days, subtract the weekends and holidays in that period yourself.
Dates are compared as calendar days, so time zones and daylight-saving changes do not shift the result. The Hijri option also shows both dates in the Umm al-Qura calendar, for reference.
Good to know
Frequently asked questions
Is the end date included in total days?
Total days measures elapsed midnight-to-midnight intervals; it does not add one for an inclusive range.
Are leap days included?
Yes. The elapsed-day total uses UTC calendar dates and includes leap days.
Can I enter the later date first?
The calculator requires a start date on or before the end date.
How are months calculated?
Calendar months use year/month/day components rather than an assumed fixed number of days.
Is date data uploaded?
No. Date arithmetic is performed locally in your browser.