Two ways to count
Exclusive counting measures the gap between two dates: how many times the date changes as you go from one to the other. October 1 to October 31 is 30 days, because you cross 30 midnights.
Inclusive counting counts the dates themselves, start and end both. October 1 to October 31 inclusive is 31 days — every date in the month. The rule is simple: inclusive = exclusive + 1.
The fence-post problem
Programmers call this the fence-post problem. A 30-metre fence with a post every 3 metres has 10 gaps but 11 posts. Days work the same way: the nights between dates are the gaps, the dates themselves are the posts. Most counting mistakes come from answering a “posts” question with a “gaps” number, or the other way round.
Which one does the question want?
A good test: are you counting the time that passes, or the days something happens on?
- Time passing → exclusive. How long until a trip, how many days since an invoice was sent, how old someone is, how many nights a hotel stay lasts. Check in on the 1st and out on the 4th: 3 nights.
- Days something happens on → inclusive. How many days a festival runs, how many days of leave you’re taking, how many days a prescription covers. A conference from the 1st to the 4th is 4 days of talks.
Example
You’re off work from Monday, December 21 to Thursday, December 31. The gap between those dates is 10 days, but you’re away on 11 of them. Two of those 11 are a Saturday and Sunday, and one is Christmas Day, so the leave you actually book is 8 days. Counting days, counting dates and counting working days give three different, correct answers.
Words that give it away
“From … to …” is ambiguous on its own. “Through” and “inclusive” mean count both ends: Monday through Friday is 5 days. “Until”, “before” and “by” often exclude the end date. Legal documents sometimes use “clear days”, which excludes both the day notice is given and the day the period ends. When the wording doesn’t settle it and the answer matters, ask.
Using the calculators
Our days between dates calculator counts exclusively by default and has a switch to include the end date. The business days calculator counts inclusively by default, because “Monday to Friday is five working days” is how people talk about work, with switches to drop either end. The date calculator never counts the start date, so 30 days from the 1st is the 31st.