Days Between Dates Calculator
Count the number of days between two dates, with or without the end date, in weeks, hours and weekend days.
Your inputs
Results
Days
364
- Weeks and days
- 52 weeks, 0 days
- Hours
- 8,736
- Saturdays and Sundays in the range (inclusive)
- 104
✓Exact calculation — rounded only for display
What this calculator does
A simple day count for deadlines, notice periods, travel and contracts.
Formula and method
Days = end day number − start day number (+1 if both dates are included)
Worked example
Calculated by this tool with its default inputs:
Inputs
- Start date: 2026-01-01
- End date: 2026-12-31
- Count both the start and end date: No
Results
- Days: 364
- Weeks and days: 52 weeks, 0 days
- Hours: 8,736
- Saturdays and Sundays in the range (inclusive): 104
How to read the results
The exclusive count matches nights in a stay (check-in to check-out); the inclusive count matches the number of calendar days touched.
Assumptions and limitations
- Date-only arithmetic on the Gregorian calendar; results do not depend on your time zone or daylight-saving changes.
Questions
Should I include the end date?
Include it when both the first and last day count, as in many leave and event calculations.
Methodology and verification
- Result type
- Exact mathematical calculation (rounded only for display)
- Formula version
- 1.0
- Automated verification
- 4 reference and validation test cases, checked against independently computed values. The site cannot be built if any of them fail.
- Editorial review
- Awaiting human editorial review. The explanation was drafted with AI assistance; the formula and examples are verified by the automated tests above.
Privacy
Everything you enter is calculated in this browser and is not sent to Numerith or anyone else. Inputs are added to a share link only if you choose to include them. Privacy policy