How to use the Date Difference Calculator
Pick a start date and an end date. The calculator counts the calendar days between them, and the order of the dates does not matter.
Worked example
From 1 January 2026 to 1 March 2026 there are 59 days, because January has 31 days and February has 28. If you count both the first and the last day, as some contracts and leave policies do, add one to get 60.
Days, weeks and working days
Divide the result by 7 to get weeks, or use the weeks between dates calculator to see whole weeks plus the leftover days. If you need working days only, remember that weekends and public holidays differ by country and employer, so check them against the calendar you actually use.
The formula
elapsed days = absolute difference between UTC calendar dates
Examples
- 1 January to 31 January 2026
30 elapsed calendar days
- 1 January to 25 December 2026
358 elapsed calendar days
- Across a leap day: 1 Feb to 1 Mar 2028
29 elapsed calendar days
Limitations and assumptions
Counts whole calendar days and does not include the start day. Add one if you need to count both the first and last day.
Frequently asked questions
Are both dates counted?
The result is the elapsed days between them, so 1 to 31 January is 30 days.
Does it handle leap years?
Yes, calendar dates are used.
How do I count only weekdays?
Use the weekend days between dates and weekdays calculators.
How do I get the answer in weeks?
Use the weeks between dates calculator, or divide days by 7.