# Crewdesk Working Days Calculator > Count the working days between two dates with your weekdays and regional public holidays. Counts the working days from a first to a last day (both included) for your own working pattern — Mon–Fri, a four-day week or shifts — minus the public holidays of your country and state or region (all 16 German states, Austrian and Swiss regions, US states, UK nations and more) and any extra company holidays. Half days at the start or end count 0.5. Lists every holiday and a month-by-month breakdown. Part of usefulweb.site (https://usefulweb.site/). Part of [Crewdesk](https://crewdesk.usefulweb.site/) (ownerApp: crewdesk). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://crewdeskworkingdays.usefulweb.site/ (interactive tool at https://crewdeskworkingdays.usefulweb.site/tool) - JSON API: POST https://crewdeskworkingdays.usefulweb.site/api/v1/calculate with a JSON object of inputs (schema: https://crewdeskworkingdays.usefulweb.site/api/v1/tool) - OpenAPI: https://crewdeskworkingdays.usefulweb.site/openapi.json - MCP (Streamable HTTP): https://crewdeskworkingdays.usefulweb.site/mcp - tool `crewdesk_working_days` ## Inputs - from (text): First day (YYYY-MM-DD) - to (text): Last day (YYYY-MM-DD) - country (text): Country (two letters) - subdivision (text): State or region (optional) - ISO 3166-2 code such as DE-BY (Bavaria), DE-BE (Berlin), AT-9 (Vienna), CH-ZH or US-CA. Without it only nationwide holidays count. - workingDays (text): Working days - Mon-Fri, Mon-Thu, Tue-Sat or Mon+Wed+Fri. - halfFrom (boolean): The first day counts half - halfTo (boolean): The last day counts half - extraHolidays (textarea): Extra holidays (one per line: YYYY-MM-DD, name) - Company closing days or local holidays that are not in the national data, e.g. 2026-12-24, Christmas Eve. ## Method - Every date from the first to the last day (both included) is a working day when it is one of your working weekdays, not a public holiday of the chosen country and region, and not an extra holiday. - Public holidays: Nager.Date entries of type “Public” — nationwide ones plus those of the chosen state or region. Holidays that fall on a day you do not work change nothing. - A half first or last day counts 0.5 (a one-day range is 0.5 when either is set). - Some holidays apply only in some towns (e.g. Assumption Day in most of Bavaria, the Augsburg Peace Festival); they are named in the warnings — add them as extra holidays where they apply.