Days Between Dates Calculator
Pick two dates to see how many days lie between them, in either order. Switch on the include option when both the first and the last day should count. The result also shows the span in weeks and days, how many are weekdays and weekend days, the hours, and which day of the week each date falls on.
Last updated November 3, 2026
Defaults to today
Defaults to 30 days from today
Result
30 days
The end date is 30 days after the start date.
4 weeks and 2 days · 720 hours
21 weekdays (Mon-Fri) · 9 weekend days
November 12, 2026 is a Thursday; December 12, 2026 is a Saturday.
Show the work
Formula: days = |end date - start date|, plus 1 when both dates are counted
- Start date November 12, 2026 (Thursday); end date December 12, 2026 (Saturday).
- Difference: 30 days (the start date is the earlier one, counted as day zero).
- The end date is not counted separately, so nothing is added.
- Weeks: 30 ÷ 7 = 4 weeks and 2 days left over.
- Weekdays (Mon-Fri) 21 + weekend days 9 = 30. Public holidays are not removed.
- Hours: 30 × 24 = 720.
Result: 30 days (4 weeks and 2 days).
How the days between two dates are counted
days = |end date - start date|
days when both dates count = |end date - start date| + 1
weeks = days ÷ 7
hours = days × 24
Every calendar date is turned into a whole-day number, and the earlier one is subtracted from the later one. The earlier date is day zero, so Monday to Tuesday is 1 day. The order of the two dates does not matter, because the calculator uses the absolute difference.
Some questions count both ends, such as a hotel stay or a leave request where the first and the last day are both used. Switch on the include option and the result grows by exactly one day.
The arithmetic uses calendar dates, not clock times, so daylight saving cannot add or remove an hour. Hours are the days multiplied by 24.
See how we calculate for the formulas, sources and review schedule behind every calculator.
Also useful alongside this calculator: Business Days Calculator and Date To Date Calculator.
Including the end date or not
Counting the gap and counting the days are different questions. From Monday 2 November 2026 to Friday 6 November 2026 the gap is 4 days. Counting every day you touch, Monday through Friday, gives 5.
If you want to know how long something lasts, such as a trial or a course, counting both days is usually what people mean. When the dates are the same day, the gap is 0 and the inclusive count is 1.
Weekdays, weekend days and business days
Each counted day is classified as a weekday from Monday to Friday or a weekend day, Saturday or Sunday. The two totals always add up to the days. From Tuesday 3 November 2026 to Tuesday 17 November 2026 there are 14 days, made of 10 weekdays and 4 weekend days.
The weekday figure is also the business-day figure. It only removes weekends. It does not know about public holidays, company closures or regional calendars, so subtract those yourself if they matter.
Leap years and long spans
A year has 366 days when it is a leap year, which is a year divisible by 4, except century years that are not divisible by 400. Counting from 28 February 2024 to 1 March 2024 gives 2 days, because 29 February exists. In 2023 the same dates are 1 day apart.
The same rule explains why 1 January to 31 December is 364 days in 2023 but 365 days in 2024. Over a whole century, from 1 January 2000 to 1 January 2100, the gap is 36,525 days, since 2100 is not a leap year but 2000 and 24 other years in between are.
How to use the Days Between Dates Calculator
- Choose the start date and the end date. They can be in any order.
- Leave Include the end date on No to treat the start date as day zero, or choose Yes to count both days.
- Read the total days, the weeks and leftover days, and the hours.
- Check the weekday and weekend split and the weekday name of each date.
- Open Show the work to see each step, then use Copy or Share to keep the result.
Worked example
From Tuesday 3 November 2026 to Friday 25 December 2026 the gap is 52 days. Divide by 7 to get 7 weeks and 3 days, and multiply by 24 to get 1,248 hours. Of those 52 days, 38 are weekdays and 14 are weekend days. Counting both dates, the total is 53 days.
| From | To | Days | Weekdays | Weekend days |
|---|---|---|---|---|
| 2 Nov 2026 | 6 Nov 2026 | 4 | 4 | 0 |
| 3 Nov 2026 | 17 Nov 2026 | 14 | 10 | 4 |
| 3 Nov 2026 | 25 Dec 2026 | 52 | 38 | 14 |
| 1 Jan 2026 | 31 Dec 2026 | 364 | 260 | 104 |
Frequently asked questions
How do I calculate the number of days between two dates?
Subtract the earlier date from the later one. The earlier date is day zero, so 3 November to 17 November 2026 is 14 days. Add 1 if both the first and last day should count.
Does the calculator include the end date?
Not by default. The start date is day zero. Choose Yes in the include option to count both days, which adds one day to the total, so 52 days becomes 53.
Why do 2023 and 2024 give different answers for the same dates?
Because 2024 is a leap year with a 29 February. From 1 January to 31 December the gap is 364 days in 2023 and 365 days in 2024.
Are public holidays removed from the weekday count?
No. The weekday and business-day figures remove Saturdays and Sundays only. Holidays differ by country, company and year, so subtract any that apply to you from the result.
Can I enter the dates in reverse order?
Yes. The count is the same either way, and the result says whether the end date is before or after the start date.