Skip to main content
HS Calculadora
Work & Payroll

Rotating Shift Calendar

Check your rotating shift calendar for a date and calculate scheduled workdays and hours for the year.

Quick answer

Check your rotating shift calendar for a date and calculate scheduled workdays and hours for the year. Formula: A repeating work/rest pattern is a calendar cycle, not a conventional Monday-to-Friday week.

With first working day of pattern: 2026-01-01; date to inspect: 2026-01-05; consecutive working days per cycle: 4; consecutive rest days per cycle: 4; hours per working day: 8, working days in selected calendar year is approximately 184 days. Work/rest blocks only, not morning/evening/night team allocation. Holidays, leave, swapped shifts and statutory rest compliance are not deducted. Dates before the pattern start are invalid.

Enter consecutive working days per cycle in days; use the period shown in the label.

Enter consecutive rest days per cycle in days; use the period shown in the label.

h

Enter hours per working day in h/day; use the period shown in the label.

Results update as you type.

Status on selected date
Rest
Working days in selected calendar year184
Scheduled hours in selected calendar year1,472 h

How it works

A repeating work/rest pattern is a calendar cycle, not a conventional Monday-to-Friday week. The tool anchors the pattern on its first working day and checks the selected date by cycle position. It then counts the scheduled working days and hours within the selected calendar year from the pattern start, including leap-year differences. The calculation uses first working day of pattern, date to inspect, consecutive working days per cycle, consecutive rest days per cycle, hours per working day. These inputs describe one consistent scenario, so the result changes when any applicable amount, period or selected rule changes. The outputs separate status on selected date, working days in selected calendar year, scheduled hours in selected calendar year. Intermediate amounts are kept at full numerical precision and rounded only for display, allowing the components to be reconciled without accumulating rounding differences. Work/rest blocks only, not morning/evening/night team allocation. Holidays, leave, swapped shifts and statutory rest compliance are not deducted. Dates before the pattern start are invalid. Anchor the cycle on a known first workday and check a known rest day. Deduct holidays and approved leave separately before using scheduled hours as an actual attendance forecast. Use the worked example as a reproducible check, then replace its assumptions with your own documented figures. Compare a changed scenario with the original while keeping the remaining inputs fixed; this identifies which assumption drives the difference. A displayed amount describes the entered case and does not establish a contractual entitlement, an administrative award or a guaranteed future return.

Formula

Cycle position = elapsed days mod (work days + rest days); work if position < work days

A repeating work/rest pattern is a calendar cycle, not a conventional Monday-to-Friday week. The tool anchors the pattern on its first working day and checks the selected date by cycle position. It then counts the scheduled working days and hours within the selected calendar year from the pattern start, including leap-year differences. The calculation uses first working day of pattern, date to inspect, consecutive working days per cycle, consecutive rest days per cycle, hours per working day. These inputs describe one consistent scenario, so the result changes when any applicable amount, period or selected rule changes. The outputs separate status on selected date, working days in selected calendar year, scheduled hours in selected calendar year. Intermediate amounts are kept at full numerical precision and rounded only for display, allowing the components to be reconciled without accumulating rounding differences.

Source:Calendar modular arithmetic; Estatuto de los Trabajadores, article 36, shift-work context

We review all our tools from time to time to ensure accuracy.

Worked example

First working day of pattern:2026-01-01Date to inspect:2026-01-05Consecutive working days per cycle:4Consecutive rest days per cycle:4Hours per working day:8
With first working day of pattern: 2026-01-01; date to inspect: 2026-01-05; consecutive working days per cycle: 4; consecutive rest days per cycle: 4; hours per working day: 8, working days in selected calendar year is approximately 184 days. Work/rest blocks only, not morning/evening/night team allocation. Holidays, leave, swapped shifts and statutory rest compliance are not deducted. Dates before the pattern start are invalid.

How to use this calculator

  1. 1

    Enter your values

    Enter first working day of pattern, date to inspect, consecutive working days per cycle, consecutive rest days per cycle and hours per working day.

  2. 2

    Adjust the options

    Fine-tune any options to match your situation.

  3. 3

    Read your result

    Status on selected date updates instantly as you type — no button to press.

Frequently asked questions

How does rotating shift calendar work?

A repeating work/rest pattern is a calendar cycle, not a conventional Monday-to-Friday week. The tool anchors the pattern on its first working day and checks the selected date by cycle position. It then counts the scheduled working days and hours within the selected calendar year from the pattern start, including leap-year differences. Cycle position = elapsed days mod (work days + rest days); work if position < work days Work/rest blocks only, not morning/evening/night team allocation. Holidays, leave, swapped shifts and statutory rest compliance are not deducted. Dates before the pattern start are invalid.

Which figures should I enter?

Enter first working day of pattern, date to inspect, consecutive working days per cycle, consecutive rest days per cycle, hours per working day. Anchor the cycle on a known first workday and check a known rest day. Deduct holidays and approved leave separately before using scheduled hours as an actual attendance forecast. Keep the stated units and periods: an annual amount and a monthly amount are not interchangeable. Work/rest blocks only, not morning/evening/night team allocation. Holidays, leave, swapped shifts and statutory rest compliance are not deducted. Dates before the pattern start are invalid.

What does the worked example show?

With first working day of pattern: 2026-01-01; date to inspect: 2026-01-05; consecutive working days per cycle: 4; consecutive rest days per cycle: 4; hours per working day: 8, working days in selected calendar year is approximately 184 days. Work/rest blocks only, not morning/evening/night team allocation. Holidays, leave, swapped shifts and statutory rest compliance are not deducted. Dates before the pattern start are invalid. The checked output is working days in selected calendar year, while the other outputs explain the same scenario from the perspectives listed on the result card. Change one input at a time if you want to see its individual effect.

What assumptions can change this result?

Work/rest blocks only, not morning/evening/night team allocation. Holidays, leave, swapped shifts and statutory rest compliance are not deducted. Dates before the pattern start are invalid. A repeating work/rest pattern is a calendar cycle, not a conventional Monday-to-Friday week. The tool anchors the pattern on its first working day and checks the selected date by cycle position. It then counts the scheduled working days and hours within the selected calendar year from the pattern start, including leap-year differences. The source identifies the legal or mathematical basis; the entered assumptions determine the scenario to which it is applied.

How should I compare alternatives?

Anchor the cycle on a known first workday and check a known rest day. Deduct holidays and approved leave separately before using scheduled hours as an actual attendance forecast. Compare status on selected date, working days in selected calendar year, scheduled hours in selected calendar year. Work/rest blocks only, not morning/evening/night team allocation. Holidays, leave, swapped shifts and statutory rest compliance are not deducted. Dates before the pattern start are invalid. Keep a copy of the original inputs before changing them so that differences can be traced to a particular amount, period or selection rather than an accidental change of units.

More Work & Payroll calculators

Finance

Take-Home Pay Calculator

Estimate your net pay after taxes and deductions.

Finance

Spain Severance Pay Calculator

Statutory severance for unfair, objective dismissal or end of a temporary contract.

Finance

Spain Unemployment Benefit Calculator

Contributory unemployment benefit (paro): monthly amount by period and duration.