Date difference calculator
This calculator counts how many calendar days fall between a start date and an end date. It also shows the same gap in weeks, in months and days, in weekdays and in hours. People use it for deadlines, countdowns, ages of projects and checking billing periods.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
The short answer
Subtract the earlier date from the later one to get the days between them. The start date is not counted, so add 1 if you want to include both ends. Divide the days by 7 for weeks.
FormulaDays between = end date - start date; weeks = days / 7
Worked exampleFrom 2026-01-01 to 2026-12-25 is 358 days, which is 51 weeks and 1 day, 11 months and 24 days, 256 weekdays and 8,592 hours.
Example
- Start date
- 2026-01-01
- End date
- 2026-12-25
- Weeks
- 51 weeks, 1 day
- Calendar time
- 11 months, 24 days
- Weekdays, Monday to Friday
- 256
- Hours
- 8,592
Counts from the start date to the end date without counting the start date. Add 1 to include both dates.
How to use the date difference calculator
- Pick the Start date.
- Pick the End date.
- The result updates as you type, or press Run. Use Copy result or Download to keep it.
How it works
Both dates must be real dates in years 0001 to 9999.
The start date is not counted, so 2024-02-28 to 2024-03-01 is 2 days in a leap year.
A negative result means the end date is earlier than the start date.
Dates are handled in UTC on the Gregorian calendar, so daylight saving changes never add or remove an hour.
Hours are shown at 24 hours per day. Weekdays count Monday to Friday and ignore public holidays. Calendar time counts whole months first, then the days left over.
Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.
Questions and answers
How do I calculate the number of days between two dates?
Pick the two dates and read the Difference line. The tool subtracts the dates and reports whole calendar days.
Does the count include both the start and end date?
It counts the end date but not the start date. If you want to include both, add 1 to the result.
Does it count only weekdays?
It counts every calendar day in the headline, and a separate line shows the Monday to Friday count. Public holidays are not removed.
Why might the hours look different from a clock?
The tool uses 24 hours per day for every day. A real local clock can show 23 or 25 hours on a daylight saving change day.
Last updated November 1, 2026. Maintained by SnowRock. How our tools work
All 220 SnowRock tools