Ask two people how many days there are from Monday to Friday, and you may get two answers: 4 or 5. Both can be right. The difference is whether you count the end date as well as the start, and it causes a lot of off-by-one mistakes.
Our days between dates calculator has an option to include the end date, so you can get either answer.
Try the Days Between Dates Calculator. Count days, weeks and business days between dates
Open the calculatorExclusive counting: the difference between dates
The usual way to count days between two dates is to subtract one from the other. From Monday to Friday is 4 days, the same way a clock going from 1:00 to 5:00 has moved 4 hours.
This answers questions like:
- How many days until my exam?
- How many days since the last payment?
- How old is something in days?
From 1 January to 2 January is 1 day with this method.
Inclusive counting: every day in the range
Sometimes you want to count every day you will actually experience, including both the first and last. From Monday to Friday, you work 5 days.
This answers questions like:
- How many days is the conference, from 3 to 6 June? 4 days.
- How many days of leave am I taking from the 10th to the 14th? 5 days (before removing weekends).
- How many days does an offer run "from 1 to 31 March"? 31 days.
A fence-post problem
Mathematicians call this kind of confusion a fence-post problem. A fence 10 meters long with a post every meter needs 11 posts, not 10. The gaps (days between) and the posts (days themselves) differ by one.
Examples side by side
| Period | Exclusive | Inclusive |
|---|---|---|
| Monday to Friday, same week | 4 | 5 |
| 1 January to 31 January | 30 | 31 |
| 1 January to 1 March 2026 | 59 | 60 |
| Today to today | 0 | 1 |
Hotel nights vs days
Hotels count nights, which matches exclusive counting. Arriving on 10 June and leaving on 14 June is 4 nights, even though you are there on 5 calendar days.
Reading deadlines
Deadlines are where this matters most:
- "Within 30 days of the invoice date" usually means the 30 days start the day after the invoice date. An invoice on 1 March would be due by 31 March.
- "By 15 April" usually means on or before 15 April, so 15 April counts.
- "Valid for 7 days" from a Monday may end on the following Sunday or Monday, depending on whether the start day counts.
When the wording is unclear, and the deadline matters, check the exact date with whoever set it. Legal and contractual deadlines often have their own counting rules.
Business days add another layer
Counting business days raises the same question plus weekends and holidays. See how to count business days for that method.
A simple rule
- Asking how long between two dates? Do not include the end date.
- Asking how many days in a period that includes both dates? Include it, which means adding one.
Was this page helpful?
Thanks for telling us.
What was missing or wrong? Email us and we will fix it.