Payroll runs and leave balances both come down to one deceptively small question: how many working days are in this span? Count a weekend by accident and someone is overpaid or a leave balance is short. Miss a public holiday and the same thing happens in the other direction. The count looks trivial until you are doing it for a whole team, month after month.
Counting business days is a precise job with a precise answer: a number. This guide explains how to get it with the free Business Days Calculator on Ovatly, why count mode is the right shape for payroll and leave, and why the holiday list you type in does most of the real work.
Contents
- Quick answer
- Payroll and leave counting is a count-mode job
- Your holiday list decides what is removed
- How to count a span, step by step
- Worked example: a two-week span with one holiday
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
To count business days for payroll or leave: open the Business Days Calculator, choose count mode, enter the first and last day of the span, pick your workplace's weekend, Saturday and Sunday or Friday and Saturday, and list your workplace holidays one per line as YYYY-MM-DD. The number returned is the business days in the span. Both endpoints are counted when they are business days, and the only holidays removed are the ones you listed.
Payroll and leave counting is a count-mode job
The calculator works in two modes. Add mode starts from one date and moves forward by a number of business days to find a landing date. Count mode takes two dates you already have and measures the business days between them.
Payroll and leave are always the second shape. A pay period has a first day and a last day. A leave request starts on one date and ends on another. In both cases the dates are fixed and the unknown is the count, which is exactly what count mode returns.
Count mode has one rule that matters here: it includes both endpoints when they are business days. A leave span from Monday to Friday of the same week counts five days, not four, because both the Monday and the Friday are working days inside the span. Hand counts often lose a day at one end or the other, and this rule is the usual reason why.
Your holiday list decides what is removed
The calculator contains no public holidays at all, and that is deliberate. Holiday calendars differ by country and by year, and they differ even within countries. A built-in list would go stale and would silently apply some other workplace's calendar to your payroll. Instead, the only holidays the tool removes are the ones you type in.
That makes your holiday list the heart of the count. Build it from your own workplace's calendar for the period you are counting, one holiday per line, each in YYYY-MM-DD format. The tool then reports back any listed holidays that fell on a weekday inside the span, so you can see exactly which entries reduced the count. A listed holiday that falls on a weekend changes nothing and is not reported, because the day was already skipped as part of the weekend.
This is also where accuracy is won or lost. Leave the list empty and every weekday counts, including days the whole workplace was closed. Add a holiday your workplace does not observe and a day vanishes that should have been paid or charged. The calculator applies your list faithfully, which means the list has to be right.
How to count a span, step by step
- Open the Business Days Calculator and choose count mode.
- Enter the start date and the end date of the pay period or leave span.
- Choose the weekend that matches your workplace: Saturday and Sunday, or Friday and Saturday.
- List your workplace holidays for the span, one per line, each in YYYY-MM-DD format.
- Read the count, and check the holidays the tool names as weekday holidays inside the span. If a line was typed in the wrong format, the tool lists it as an offending line and ignores it, so fix it and run the count again.
Worked example: a two-week span with one holiday
Take the span from Monday 2 November to Friday 13 November 2026, and suppose Wednesday 11 November is a workplace holiday, typed into the holiday list.
The span holds 12 calendar days. Two of them are weekend days, Saturday 7 and Sunday 8 November, so they are skipped. Wednesday 11 November is your listed holiday, and the tool names it as the weekday holiday inside the span, so it is removed as well. Both endpoints, Monday 2 and Friday 13 November, are business days, so both are counted.
The result is 9 business days. That is the number you would use for a leave span covering those two weeks, or for the working days inside that pay period: nine, not twelve, and not ten.
Limitations and honest tradeoffs
The tool only counts. It keeps no records of past counts, stores no leave balances, and applies no workplace policy. Whether a day inside the span is paid, unpaid, charged against a balance or treated some other way is decided by your workplace's rules, not by the calculator. The count is an input to your payroll or leave process, never a replacement for it.
It also knows only what you tell it. It cannot look up your workplace's holidays, and a correctly formatted date for a holiday your workplace does not observe will be removed without question. The tool works in plain calendar dates, with no times or timezones, so part days and spans that start or end mid-day have a layer it does not model.
Finally, count mode runs in one direction. Enter the end date before the start date and the count is rejected with a message, so the span always has to be given in order.
Common mistakes
- Losing an endpoint. Count mode includes both the first and last day when they are business days. A hand count that drops one end is a day short.
- Counting with an empty holiday list. The tool removes only the holidays you type. An empty list counts days the workplace was closed.
- Listing holidays the workplace does not observe. Your list is applied faithfully, so an extra entry removes a day that should have counted.
- Typing holidays in the wrong format. Use one holiday per line in YYYY-MM-DD format. A malformed line is ignored and the day quietly stays in the count.
- Using add mode for a span. Add mode finds a landing date from a start date and a number of days. Payroll and leave already have both dates, so count mode is the right tool.
FAQs
Does the count include the first and last day of the span? Yes. Counting includes both endpoints when they are business days. If the first or last day falls on a weekend or a listed holiday, it is not counted, because it is not a business day.
Why are there no built-in public holidays? Built-in holiday sets go stale and differ even within countries, so the tool ships with none. The only holidays removed are the ones you type in yourself, which keeps the count on your workplace's actual calendar.
Our weekend is Friday and Saturday. Can the tool handle that? Yes. When you set up the count you choose the weekend, either Saturday and Sunday or Friday and Saturday, and the tool skips those days instead.
What happens if I enter the end date before the start date? Count mode rejects it with a message. Counting runs from the start date to the end date, so swap the two dates and run the count again.
What if I type a holiday in the wrong format? A line in the wrong format is listed back to you as an offending line and ignored. Enter holidays one per line in YYYY-MM-DD format so every day you meant to remove is actually removed.
Conclusion
A payroll or leave count is only as good as the weekend and holiday list behind it. The Business Days Calculator does the counting for you, endpoints included, and shows its working by naming the weekday holidays it removed. The same calculator works in the other direction when a date is what you need, which our guide to calculating business days for shipping and delivery promises covers in full. For more guides in this series, see our Business and Finance Utilities guides, which pair each technique with the free tool that performs it.