Business days calculator

Count the working days between two dates, or add working days to a date, skipping weekends and holidays.

Input

The start date.
The end date, to count the working days between the two.
Working days to add to the start date instead. Negative numbers go back.
Days of the week that are not worked.
Dates that are not worked, as YYYY-MM-DD.
When counting, include the end date as well as the start date.

Result

Fill in the input and press Run.

Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.

Use it from code or an agent

curl -s https://setget.net/v1/tools/business-days \
  -H 'Content-Type: application/json' \
  -d '{"input":{"start":"2026-03-02","end":"2026-03-13","holidays":["2026-03-06"]}}'
import json, urllib.request

body = {'input': {'start': '2026-03-02', 'end': '2026-03-13', 'holidays': ['2026-03-06']}}
request = urllib.request.Request("https://setget.net/v1/tools/business-days", json.dumps(body).encode(),
                                 {"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/business-days", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"input":{"start":"2026-03-02","end":"2026-03-13","holidays":["2026-03-06"]}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
  "slug": "business-days",
  "input": {
    "start": "2026-03-02",
    "end": "2026-03-13",
    "holidays": [
      "2026-03-06"
    ]
  }
}
{
  "input": {
    "start": "2026-03-02",
    "end": "2026-03-13",
    "holidays": [
      "2026-03-06"
    ]
  }
}

Endpoint: POST /v1/tools/business-days. Over MCP: run_tool with slug: "business-days". Machine-readable: input schema, Markdown. Connect an agent.

Inputs

NameTypeRequiredWhat it does
start string yes The start date.
end string no The end date, to count the working days between the two.
add integer no Working days to add to the start date instead. Negative numbers go back. From -36500 to 36500.
weekend array no Days of the week that are not worked. Default: ["sat", "sun"].
holidays array no Dates that are not worked, as YYYY-MM-DD.
inclusive boolean no When counting, include the end date as well as the start date. Default: true.

Examples

Input
{
  "start": "2026-03-02",
  "end": "2026-03-13",
  "holidays": [
    "2026-03-06"
  ]
}
Result
{
  "mode": "count",
  "start": "2026-03-02",
  "end": "2026-03-13",
  "working_days": 9,
  "calendar_days": 12,
  "weekend_days": 2,
  "holidays_skipped": [
    "2026-03-06"
  ]
}

Five working days later

Input
{
  "start": "2026-03-05",
  "add": 5
}
Result
{
  "mode": "add",
  "start": "2026-03-05",
  "add": 5,
  "result": "2026-03-12",
  "weekday": "Thursday",
  "calendar_days": 7,
  "holidays_skipped": []
}

Questions

Are the start and end dates counted?
Yes, both, when they are working days. This matches NETWORKDAYS in spreadsheets. Set inclusive to false to leave out the end date.
Does it know public holidays?
No. Holidays differ by country and region, so list the dates you want skipped.
My weekend is Friday and Saturday. Can I change it?
Yes. Set weekend to ["fri", "sat"], or to any other days.