Search Tools

Shift Coverage and Minimum Staffing Calculator

Report an issue

Minimize the number of people assigned to anonymous work patterns across the entire planning period and check shortfalls by time slot.

Each person must follow only one of the entered patterns for the entire planning period. Check breaks, rest periods, consecutive working time, and other conditions in advance.

What to calculate
Required staffing by time slotRequired
RowTime-slot IDRequired staffing (people)Actions
1
2

Paste 2 tab-separated columns into the leftmost field. Up to 16 rows.

Assign IDs to non-overlapping intervals within the planning period. Interval duration does not affect the staffing calculation.

Anonymous work patternsRequired
RowPattern IDStaffing cap (people) OptionalBreak and rest checksActions
1
2

Paste 3 tab-separated columns into the leftmost field. Up to 12 rows.

Each pattern represents one person's schedule for the entire planning period. A blank staffing cap means no specified cap. Only patterns with checked breaks and rest periods are eligible.

Time slots covered by each work patternRequired
RowPattern IDTime-slot IDActions
1
2

Results

Enter the values, then select Calculate.

Method, applicability and sources

Calculation method

Let x_j be the non-negative integer number of people assigned to pattern j, and a_ij be 0 or 1 according to whether that pattern covers time slot i. Assigned staffing is c_i = Σ_j a_ij×x_j and shortfall is s_i = max(0, required staffing d_i−c_i). First minimize Σ_i s_i, then minimize Σ_j x_j among those solutions. The full-coverage method displays a result only when Σ_i s_i = 0. Each x_j stays within its entered cap; uncapped patterns use a safe finite search bound derived from required staffing. Staffing counts are displayed as integers.

Worked example (hypothetical values)

Example: time slots A/B/C require 1/2/1 people. Pattern A covers slots A and B; pattern B covers slots B and C. With no caps, assigning 1 person to each pattern covers every slot with 2 people in total.

Applicability and limitations

Plans with defined time intervals and required staffing, plus candidate patterns whose work and rest arrangements have been checked for the entire period. Excludes assignments to named individuals, wages, FTEs, skill-specific staffing, automatic pattern generation, legal compliance checks for breaks, rest, and labor rules, or assigning the same person to multiple patterns. Shortfalls are not weighted by duration when time slots differ in length.

Methods used

  • Integer multicover using checked work patterns (v1.0): scope Anonymous assignments in which each person belongs to 1 pattern for the entire period and provides 1 person's coverage per included time slot; region General mathematical optimization; does not automatically assess statutory working conditions.

Method and sources

Method: Set multicover model v1.0 (2026-11-13). Data recorded: 2026-11-13.