Checking exclusions at and outside an interval boundary
The weekday count includes the start date and leaves out the end date. An exclusion that equals the end date therefore changes nothing. This guide tests that boundary with two intervals.
A half-open interval
The Business Days Calculator counts dates from the start up to, but not including, the end. Mathematicians write this as a half-open interval, closed on the left and open on the right. The convention makes adjacent intervals fit together: one interval ending on 2026-10-26 and another starting on that date share no day, and no day is counted twice. It also means that a count from a date to itself is zero. Whether an end date should be included is a question about the wording of the task, and the tool takes the end as the first date that is not counted.
Excluding the end date itself
Use the interval from Monday 2026-10-19 to Monday 2026-10-26 and list 2026-10-26 as an exclusion. The end date is a Monday, a weekday, which might suggest the count should fall. It does not. The date was never in the count, so there is nothing to remove, and the result stays at 5 weekdays: October 19 through 23. The exclusion list is applied only to dates already in the interval. This is the property that lets a user keep one long list of holidays and apply it to any range without editing the list for each range. It also means that an excluded end date is harmless, and a person who lists it out of caution has not changed the count, although they may have misunderstood which days the tool includes.
Extending the end by one day
Now move the end to Tuesday 2026-10-27, which makes Monday October 26 part of the interval. With no exclusions, the count rises to 6. If the same Monday is listed as an exclusion, it is removed again, and the count returns to 5. The two intervals, one ending on the 26th and one on the 27th, produce the same count of 5 for different reasons. In the first, the Monday is outside the range. In the second, it is inside the range and excluded by the list. Both results are correct for their inputs. A reader who sees only the final number of 5 cannot tell which reason applies, which is why a planning document should record the start, the end and the exclusions beside the count. Three short entries cost little and let anyone rerun the calculation later and reach the same answer.
Why the same answer can have two causes
Seeing 5 in both runs could suggest that extending the interval had no effect. It did have an effect, but the exclusion cancelled it. This is worth remembering when a project date moves by a day and the business-day count does not change. The cause may be a weekend, a listed holiday or an end boundary. Checking the list of dates in the interval is the quickest way to find out which. A small calendar sketch with the start date, end date and listed dates marked usually settles the question in less than a minute.
Dates outside the interval
The exclusion list can hold dates anywhere in the calendar without harm. Take the first interval, from 2026-10-19 to 2026-10-26, and list 2026-10-12, a Monday one week earlier. The count remains 5, since that date is before the start and so is not in the interval. A list of holidays for the whole year can therefore be reused for any range within it. The tool does not warn about dates outside the interval, so a typo that moves a holiday to the wrong week will pass silently. Reading the list against a calendar catches such errors.
Counting across a weekend
Weekends add a wrinkle to boundary reasoning. If the end date is a Saturday or Sunday, then the date before it matters more than the end itself, since the end is outside the count and neither weekend day would be counted anyway. An interval from Monday 2026-10-19 to Saturday 2026-10-24 counts October 19 through 23, the same five weekdays as an interval ending on Monday the 26th. Moving the end from Saturday to Sunday to Monday leaves the count at 5 until the Monday is reached and becomes inside the range one day later. Any end date from Saturday through Monday returns 5 in this example, and only an end date of Tuesday or later adds the next weekday.
Choosing an end date for a deadline
Because the end date is not counted, the way you phrase a deadline affects the input. A task that must finish by the close of Friday October 23 can be counted from Monday October 19 with an end of Saturday October 24, which includes Friday. Entering Friday itself as the end would leave Friday out and return 4 instead of 5. Decide whether the last day of work belongs to the period, and set the end to the following day if it does. This is the most common source of off-by-one differences between a calculator result and a manual count.
Start date inclusion
The start date, by contrast, is counted when it is a weekday that is not excluded. A count that begins on Monday 2026-10-19 includes that Monday. If you want to count working days after a trigger event, such as the days following the receipt of a notice, move the start to the next day. For a notice received on Monday and a period beginning the next day, start on Tuesday October 20. The convention should be written next to the result in any plan, so that readers know whether the first day was included.
Testing the boundary in your own spreadsheet
Spreadsheet formulas for working days often treat both ends as included, which gives a different count from this tool for the same dates. To compare the two, run the interval from Monday 2026-10-19 to Friday 2026-10-23. A formula that includes both ends returns 5. This tool returns 4, because the end date of October 23 is left out. Extending the end to Saturday October 24 makes the tool return 5. Neither convention is wrong. They count different things, and mixing them when copying a result from one system to another is a frequent cause of schedules that are off by one day. Match the convention of the source before comparing numbers.
Scope of the result
The count describes weekdays in a date range after removing the dates provided. It says nothing about whether the list is complete for another interval or jurisdiction, and it does not account for company closures, partial days or regional working weeks. A result of 5 is the answer to a precise question about the supplied dates. Confirm the end-date convention, the holidays and the working week in the source document before relying on the number for a contract term, a payment due date or a delivery promise.
Reproduce the checks
Excluded date at end boundary
Open the Business Days Calculator and enter:
- Start
2026-10-19- End
2026-10-26- Holiday dates (optional)
2026-10-26
Expected output:
Business days
5The listed date is already outside the count.
Same excluded date inside extended interval
Open the Business Days Calculator and enter:
- Start
2026-10-19- End
2026-10-27- Holiday dates (optional)
2026-10-26
Expected output:
Business days
5The added weekday is included and then excluded once.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- Primary definition and convention reference ↗ · 2026-10-08