Date Difference Calculator
Find the span between two dates in days, weeks, weekdays, and more.
About this calculator
Measure how far apart two dates are — as a calendar span, total days, weeks, and weekday vs weekend counts.
How to use
- Enter the start date.
- Enter the end date.
- Optionally include the end date in the day count.
- See the difference update automatically.
Formula
calendarDifference = years, months, days from startDate to endDate totalDays = midnights between dates (+1 if includeEndDate) weeksAndDays = totalDays as weeks + remainder days weekdays / weekendDays = counts in the range (respecting includeEndDate)
Example
From 2026-01-01 to 2026-01-15 (exclude end) → 14 days; include end → 15 days.
FAQ
What does “include end date” do?
When enabled, the end date is counted as an extra day in total days, weekdays, and weekend days. Calendar years/months/days still follow the calendar difference between the two dates.
What if the end date is before the start date?
The calculator shows a date-order error. The end date must be on or after the start date.
Results are for informational purposes only. Verify important calculations independently.