Days Between Dates Calculator
Pick a start and an end date. The count updates instantly and is worked out entirely on your device.
Dates
Pick two dates to count the days between them.
The end date is before the start date, so the dates were counted the other way round.
How to use the days between dates calculator
Choose a start date and an end date. By default the result is the number of days from the start to the end, which does not count the end date itself (Monday to Friday is 4 days). Tick Include the end date when both days should count, for example for a trip, a hotel stay or a leave request (Monday to Friday is then 5 days).
How the days are counted
Each date is turned into a day number on the Gregorian calendar, which handles every leap year correctly (years divisible by 4, except century years not divisible by 400). The difference between the two day numbers is the number of calendar days. Weeks are that total divided by 7, with the remainder shown as days.
Months and days count whole calendar months first: a month is complete when the same day of the month comes round again (or the last day of a shorter month), then the leftover days are added. Business days are the Monday to Friday days in the same span, so business days plus weekend days always equals the total.
Worked example
From 1 January 2026 to 1 March 2026: January has 31 days and February 2026 has 28, so the span is 59 days (8 weeks and 3 days), or exactly 2 months. Of those 59 days, 42 are weekdays and 17 fall on a weekend. Including the end date (a Sunday) gives 60 days, still with 42 business days.
FAQ
Should I include the end date?
Leave it off to measure elapsed time, such as how many days until an event or how long ago something happened. Turn it on to count the days covered, like days of leave, a rental period or a course that runs from one date to another inclusive.
Are public holidays excluded from business days?
No. Business days here are every Monday to Friday. Public holidays differ by country and region, so subtract any that fall in your range.
Can I count days across years or centuries?
Yes. Any dates from the year 1 to 9999 work, using the Gregorian calendar throughout, including leap days.
Is anything I enter sent anywhere?
No. The calculation runs in your browser with WebAssembly. No dates are uploaded or stored.