festivos.io

Free · no sign-up · all Spanish municipalities

Working days calculator for Spain

Count working days between two dates, add or subtract business days, find the next working day or the last one in a month. Calculations use Spain’s national and regional holidays, plus the local dates currently published for the selected municipality.

Published calendars

2024–2026

Municipal records

8,132

Calculation modes

4

API and tool

Free

Four calculations · one municipality calendar

Choose the calculation you need

The municipality index is loaded only when you use a form. No calculation is sent automatically when the page opens.

01

Count working days between two dates

Both the start and end date are included. Saturdays, Sundays and published holidays for the municipality are excluded.

    Choose a municipality from the list so regional and available local holidays can be applied.

    02

    Add or subtract working days

    The starting date is not counted. The result moves only through working days after or before it.

      Choose a municipality from the list so regional and available local holidays can be applied.

      03

      Find the next or previous working day

      Returns the first working day strictly after or before the selected date.

        Choose a municipality from the list so regional and available local holidays can be applied.

        04

        Find the last working day of a month

        Starts at the end of the chosen month and skips weekends and published holidays.

          Choose a municipality from the list so regional and available local holidays can be applied.

          Method

          What counts as a working day?

          For this tool, a working day is a Monday to Friday that is not a published national, regional or local public holiday for the chosen Spanish municipality. “Calendar days” include every date; “weekend days” are Saturdays and Sundays.

          The between-dates calculation is inclusive: both dates can count when they are working days. Add/subtract and next/previous calculations do not count the starting date. The result is general calendar arithmetic, not the application of a statutory deadline rule.

          Checked examples

          How the rules apply

          Madrid · 1–7 January 2026

          3 working days

          1 and 6 January are holidays; 3–4 January is the weekend.

          Madrid · 5 January 2026 + 1

          7 January 2026

          The start is not counted and Epiphany on 6 January is skipped.

          Tarragona · 22 September 2026 + 1

          24 September 2026

          The published local holiday Santa Tecla on 23 September is skipped.

          Coverage and sources

          Why the municipality matters

          National and regional calendars cover all 8,132 municipal records. For 2026, at least one local date is currently published for 7,212 municipalities (88.7%). Where local coverage is incomplete, the calculation can only use the dates already present; the result links back to the municipality calendar so you can inspect its status and sources.

          For developers

          Use the same calculations through the free API

          Every working-day endpoint is public, free and keyless. Use the visual calculator here; use the API for integrations, batches and reproducible queries.

          Open API documentation →

          Questions

          Working-day calculator FAQ

          Are the start and end dates included?

          Yes for the between-dates mode: each boundary counts if it is a working day. Add/subtract and next/previous begin strictly after or before the starting date.

          Does this use UK or US bank holidays?

          No. It uses public holidays in Spain for the selected municipality: national, regional and the local dates currently published.

          Are Saturday and Sunday working days?

          No. Both are excluded before public holidays are applied.

          Why do I have to choose a municipality?

          Regional and local public holidays differ by territory. The municipality’s INE code selects the correct published calendar.

          Can I calculate dates beyond 2026?

          Not yet. The interface blocks results outside the published 2024–2026 calendars so it cannot silently return a plausible but incomplete answer.

          Is the result official?

          No. festivos.io preserves official source references, but the tool does not replace the BOE, a regional gazette or professional advice.