How to Calculate Working Days Between Two Dates (Excluding Weekends and Holidays)

If you need to know how to calculate working days between two dates, count the weekdays — Monday to Friday — from the start date to the end date, counting both end dates, and subtract any public holidays that fall on weekdays. The fastest way is a free date difference calculator with a business-days option: enter the two dates and it gives you the count at once.

If the count lives in a spreadsheet, Excel and Google Sheets both have a built-in function for it: NETWORKDAYS. This guide covers the online calculator, the Excel formula with a worked example you can check, the Google Sheets version, and how to handle public holidays and weekends that are not Saturday and Sunday.

Detailed shot of a person's hand writing notes on a calendar using a blue marker

Working Days vs Calendar Days: What’s the Difference?

Calendar days are every day on the calendar, weekends included. Working days (also called business days) are the days people normally work — Monday to Friday in most countries — with public holidays taken out.

The gap between the two is bigger than most people expect. Take a three-week stretch: Monday 2 March 2026 to Friday 20 March 2026. Counted as calendar days, that is 19 days. Counted as working days, it is 15 — the four weekend days in the middle (Saturday 7 and Sunday 8 March, Saturday 14 and Sunday 15 March) do not count. And if Tuesday 17 March is a public holiday where you are, the count drops to 14.

That difference is why the question matters. A project quoted as “three weeks” is 15 working days of actual work, not 19. A delivery promised in “10 working days” arrives two calendar weeks after you order it, not ten days later. And a leave request from Monday to Friday uses five days of allowance, while the same dates counted as calendar days would be seven.

One detail trips people up: working-day counts include both the start date and the end date when they fall on weekdays. Monday to Friday of the same week is 5 working days, not 4. Every method in this guide for how to calculate working days between two dates — the calculator, Excel, and Google Sheets — counts both ends.

How to Calculate Working Days Between Two Dates Online

The online calculator is the right tool when you need an answer once, fast, without opening a spreadsheet.

  1. Open the Date Difference Calculator.
  2. Enter the start date and the end date.
  3. Choose the business-days or working-days option.
  4. Add any holidays that fall inside the range, if the calculator has a holiday field — otherwise subtract them from the result yourself.

Using the example above: enter 2 March 2026 and 20 March 2026, and the calculator returns 15 working days. Mark 17 March as a holiday and it returns 14. The same result as the spreadsheet formula, with no formula to remember.

Use the online route when the dates are a one-off — a delivery estimate, a notice period, a countdown to a deadline. If you are counting working days every week, or the dates feed into other calculations, the spreadsheet formula below is worth learning, because it updates itself when the dates change.

Working Days in Excel: The NETWORKDAYS Formula

Excel’s NETWORKDAYS function returns the number of whole working days between two dates, excluding Saturdays, Sundays, and any holidays you list. The syntax is:

=NETWORKDAYS(start_date, end_date, [holidays])
  • start_date — the first date. Counted if it is a weekday.
  • end_date — the last date. Also counted if it is a weekday.
  • holidays — optional. A range of cells holding holiday dates to exclude as well.

Put the dates in cells rather than typing them into the formula — it makes the sheet easier to read and to change. With 2 March 2026 in cell A2 and 20 March 2026 in cell B2:

=NETWORKDAYS(A2, B2)

The result is 15: three full working weeks, Monday to Friday, both end dates included.

Now add a holiday. List your holidays in a column — say 17 March 2026 in cell D2 — and pass that range as the third argument:

=NETWORKDAYS(A2, B2, D2:D5)

The result is 14. The 17 March holiday fell on a Tuesday, so it is subtracted from the count. A holiday that falls on a Saturday or Sunday is not subtracted twice — it was never counted in the first place.

Detailed view of a table calendar displaying the month of March

Three things worth knowing about NETWORKDAYS:

  • It counts both end dates. If you want the start date excluded — for example, counting the days after a start date — use =NETWORKDAYS(A2+1, B2).
  • Holidays must be real dates. A holiday typed as text in a format Excel does not recognise will not be excluded, and the formula will not warn you — it just returns a count that is too high. Use the DATE function (=DATE(2026,3,17)) or enter dates in cells formatted as dates.
  • The reverse calculation is WORKDAY. If you know the start date and the number of working days, =WORKDAY(start_date, days, [holidays]) gives you the date that many working days later. So =WORKDAY(DATE(2026,3,2), 10) returns 16 March 2026 — ten working days after Monday 2 March, skipping the two weekends in between.

Let me check that WORKDAY example: ten working days after Monday 2 March 2026. Counting forward — 3, 4, 5, 6 March (4), then 9, 10, 11, 12, 13 March (9), then Monday 16 March (10). Yes, 16 March 2026.

Working Days in Google Sheets

If you use Sheets rather than Excel, how to calculate working days between two dates is the same: Google Sheets has the same function with the same syntax, so everything above works unchanged:

=NETWORKDAYS(A2, B2)
=NETWORKDAYS(A2, B2, Holidays)

A few Sheets-specific notes:

  • Named ranges help. Put your holiday dates on a separate sheet, select them, and use Data > Named ranges to call the range Holidays. Every formula then reads =NETWORKDAYS(A2, B2, Holidays), which is easier to understand than a cell reference — and you only update the list in one place.
  • You can pass holidays inline. For a quick one-off, use an array: =NETWORKDAYS(A2, B2, {DATE(2026,3,17), DATE(2026,4,3)}). This works in Sheets; in Excel, the same idea needs a different syntax, so a cell range is the safer habit there.
  • The same rules apply. Both end dates are counted, weekends are Saturday and Sunday, and holiday dates must be real dates, not text. If a holiday is not being excluded, check that Sheets recognises the cell as a date — a quick test is whether the cell right-aligns like other dates.

If you share the sheet with colleagues, the named-range version is the one to use: anyone reading the formula can see at a glance that holidays are being excluded, without hunting for the range.

How to Handle Public Holidays (and Different Weekend Days)

Neither Excel nor Google Sheets knows your public holidays. There is no built-in holiday list — you supply the dates. That is actually a strength: your holidays are yours, whether they are national holidays, company shutdown days, or school holidays that affect your schedule.

The practical way to manage them is one list, kept in one place:

  • Make a single holiday list for the year, in a column on its own sheet, with one date per row. Add a note next to each one if it helps — “New Year’s Day”, “Company shutdown” — but keep the date itself in its own cell.
  • Include only the holidays that affect your count. A public holiday in another country does not change your working days. A company-wide shutdown day does.
  • Do not worry about holidays that fall on weekends. They are already excluded as weekend days, and listing them as well does not double-count them.
  • Update the list once a year. Holidays shift — Easter moves, some holidays are observed on the nearest weekday — so check the list each January rather than copying last year’s dates forward.

A neat office desk featuring a calendar, laptop, notebook, and pen holder

When the weekend is not Saturday and Sunday

Not every working week runs Monday to Friday. In much of the Middle East, the weekend is Friday and Saturday. Some businesses run a four-day week, and some people work Sundays. For those cases, use NETWORKDAYS.INTL, which adds a weekend argument:

=NETWORKDAYS.INTL(start_date, end_date, weekend, [holidays])

The weekend argument is a code number. Code 1 is the usual Saturday–Sunday weekend. Code 7 means Friday and Saturday are the non-working days. So for a Friday–Saturday weekend, the March example becomes:

=NETWORKDAYS.INTL(A2, B2, 7)

You can also pass a seven-character string of 0s and 1s, read Monday to Sunday, where 1 marks a non-working day. "0000011" is Saturday–Sunday; "0001100" is Friday–Saturday. The string form is the flexible one — it covers a four-day week, a single day off, or any pattern the numbered codes do not have. Both Excel and Google Sheets support it.

Common Uses: Project Deadlines, Leave, and Delivery Dates

Working-day counts show up in more places than most people realise. The common ones:

  • Project deadlines. “This task takes 12 working days” is a promise you can put on a calendar; “about two and a half weeks” is not. Count the working days from the start date, then use WORKDAY to find the finish date — and check whether a public holiday sits inside the range before you commit to it.
  • Leave requests. A week of leave from Monday to Friday is five working days, but a request that runs across a public holiday is four. Counting properly means you neither short-change yourself nor over-claim.
  • Delivery estimates. “Dispatched within 3 working days” means something precise: order on Friday, and the third working day is Wednesday, not Monday. If you sell online, stating delivery times in working days sets expectations your customers can actually check.
  • Notice periods and payment terms. Contracts often count in working days — 10 working days’ notice, payment within 30 working days. Getting the count right avoids disputes about when a deadline actually fell.
  • Countdowns. Once you know the working days remaining until a launch or a deadline, a countdown timer keeps the target visible while you work through them.

If you plan your week around these counts, it also helps to block the working days themselves on your calendar. Our guides to time-blocking templates for Google Calendar and using Google Calendar to boost productivity show how to turn a working-day plan into a week that actually happens.

Person writing in a planner to organize weekly tasks and schedule

Frequently Asked Questions

How many working days are there between 2 March and 20 March 2026?

15 working days. The period covers 19 calendar days, but four of them are weekend days (7–8 and 14–15 March). If 17 March is a public holiday, the count is 14.

Does NETWORKDAYS count the start and end dates?

Yes. NETWORKDAYS includes both the start date and the end date when they fall on weekdays. Monday to Friday of the same week returns 5, not 4.

How do I exclude holidays in NETWORKDAYS?

List the holiday dates in a range of cells and pass that range as the third argument: =NETWORKDAYS(A2, B2, D2:D5). The dates must be real dates, not text, and holidays falling on weekends are not subtracted twice.

What if my weekend is Friday and Saturday?

Use NETWORKDAYS.INTL with weekend code 7: =NETWORKDAYS.INTL(A2, B2, 7). For any other pattern, pass a seven-character string of 0s and 1s read Monday to Sunday, where 1 marks a non-working day.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top