Shift Schedule Creator — Automatic Shift Planner

Automatically generate weekly shift schedules for any team. Add workers, define shift types, set preferences and days-off constraints, then auto-generate a balanced calendar. Download as PDF or CSV.

Schedule Settings

What Is the Shift Schedule Creator — Automatic Shift Planner?

The Shift Schedule Creator automatically generates balanced weekly shift schedules for any team. Add workers with individual names, set their days off and preferred shift types (Morning, Afternoon, Night, or any custom shift), and define a maximum number of shifts per week per worker. The algorithm assigns shifts in two passes — first honouring shift preferences, then filling remaining slots by workload — to produce a fair, constraint-respecting schedule for up to 12 consecutive weeks. Download the full calendar as a PDF (landscape A4) or export to CSV for import into Excel, Google Sheets, or payroll systems.

Formula

EligibilityWorker available if: day ∉ daysOff ∧ shifts < maxDays
Priority 1Assign preferred shift first → eligible worker with fewest shifts
Priority 2Fill uncovered slots → any eligible worker with fewest shifts
CoverageAll unassigned days → Day Off
BalanceSort candidates by workerDaysUsed ascending

How to Use

  • Set the week start date and the number of weeks to schedule (1–12).
  • Go to the Workers tab: add each team member, set their preferred shift, max days per week, and click the day buttons to mark their days off.
  • Go to the Shift Types tab: rename shifts, adjust start/end times, add custom shifts (e.g., split shifts), and choose a colour for each.
  • Click Generate Schedule to run the automatic assignment algorithm.
  • Review the colour-coded calendar grid in the Generated Schedule tab. Each cell shows the shift label and hours.
  • Check the Schedule Summary to see average shifts per week for each worker.
  • Click Download PDF to get a printable landscape schedule, or Export CSV to use in a spreadsheet.

Example Calculation

Example 1 — 3-worker café rota (1 week)

Alice: Morning pref, Sat/Sun off, max 5 days Bob: No pref, Mon off, max 5 days Carol: Afternoon pref, Sun off, max 5 days → Algorithm fills Morning/Afternoon slots respecting preferences and days off — balanced 5/5/5 result

Example 2 — Hospital night shift coverage (4 weeks)

5 nurses, 3 shift types: Day (07:00–15:00), Evening (15:00–23:00), Night (23:00–07:00) Each nurse max 5 days, varying days off → 4-week rolling schedule exported as PDF for posting on notice board

Example 3 — Retail team with custom shifts

Added custom shift: "Open" (08:00–16:00), "Close" (14:00–22:00), removed Night shift 6 workers, 2 week schedule, CSV exported → Imported into Google Sheets for payroll calc

Understanding Shift Schedule Creator — Automatic Shift Planner

What Is Shift Scheduling?

Shift scheduling (also called workforce scheduling or rota planning) is the process of assigning employees to specific time blocks to ensure continuous operations. It balances operational coverage needs against worker availability, legal rest requirements, preferences, and fairness. Good shift scheduling reduces overtime costs, improves morale, and ensures consistent service quality.

  • Fixed shifts: same hours every day — simplest to manage, less flexible.
  • Rotating shifts: workers cycle through morning/afternoon/night — spreads unsociable hours fairly.
  • Split shifts: two separate work periods in a day — common in hospitality and transport.
  • On-call shifts: worker available but not confirmed on-site — used in healthcare and emergency services.

Common Shift Patterns

PatternShifts/DayTypical HoursCommon In
Day only108:00–17:00Offices, schools
Two-shift206:00–14:00 / 14:00–22:00Retail, light manufacturing
Three-shift306:00–14:00 / 14:00–22:00 / 22:00–06:00Healthcare, factories
4-on 4-off212-hour days/nights rotatingEmergency services, security
Continental3Rotating 4-day blocksHeavy industry, utilities
Split shift2 parts07:00–11:00 & 16:00–20:00Hospitality, transport
Flexitime + core1Core 10:00–15:00Tech companies, professional services

Legal Rest Requirements (Key Jurisdictions)

RegionDaily RestWeekly RestMax Weekly Hours
EU (Working Time Directive)11 hours24 hours48 hours average
United Kingdom11 hours24 hours48 hours average
United States (Federal)No mandateNo mandateOT after 40h (FLSA)
Canada (Ontario)11 hours24 hours48 hours
Australia (Fair Work)12 hours24 hours38 ordinary hours
India (Factories Act)12 hours1 day48 hours
Germany (ArbZG)11 hours24 hours48 hours

Shift Scheduling Best Practices

  • Publish schedules early — give workers at least 2 weeks notice to plan childcare, transport, and personal commitments.
  • Respect rest periods — avoid scheduling back-to-back closing and opening shifts (known as "clopenings") which erode rest time.
  • Rotate unpopular shifts — share night and weekend shifts fairly across the team to prevent resentment.
  • Track actual hours — use this schedule in conjunction with the Work Hours Calculator to compare planned vs actual hours for payroll.
  • Build in buffer — include a spare on-call worker where possible to cover unplanned absences without forcing overtime on others.
  • Consider preferences — workers who get their preferred shifts are more engaged and have lower absence rates.

Frequently Asked Questions

How does the automatic scheduling algorithm work?

The scheduler runs two passes per week:

  • Pass 1 — Preferred shifts: For each shift-day slot, find workers who prefer that shift, are available (not on their days off), and have not yet hit their max days. Among eligible workers, assign the one with the fewest shifts so far.
  • Pass 2 — Fill remaining: For any shift-day slot still uncovered, find any eligible worker with capacity, again prioritising those with fewer shifts to balance the load.
  • All remaining unassigned day slots are marked as Day Off.
  • The algorithm is greedy and fast — it runs client-side with no server needed.

Can I schedule across multiple weeks?

Yes — set the Number of Weeks field to any value from 1 to 12. The schedule repeats the same worker preferences and constraints each week, but because of the load-balancing logic, the actual assignment of shifts to workers varies week to week to distribute the workload fairly. Each week is shown as a separate table in the Generated Schedule view.

Can I add custom shift types?

Yes. Go to the Shift Types tab and click "+ Add Shift Type". You can:

  • Set any name (e.g., "Split Shift", "On Call", "Training").
  • Define start and end times — overnight shifts (e.g., 22:00–06:00) are supported.
  • Pick a custom colour for the calendar display.
  • Remove custom shifts at any time; the four built-in types (Morning, Afternoon, Night, Day Off) can be renamed and recoloured but not deleted.

What happens if there are not enough workers to cover all shifts?

The scheduler will assign workers to as many shifts as their constraints allow. If demand exceeds worker capacity (e.g., 3 shift types × 7 days but only 2 workers with max 5 days each), some shift-day slots will simply not be covered by that shift type. No worker will be assigned more days than their maximum. To increase coverage:

  • Increase max days per week for some workers.
  • Add more workers.
  • Reduce the number of active shift types.
  • Mark fewer days off for specific workers.

Can I download the schedule as a PDF?

Yes. After generating the schedule, click the Download PDF button. This opens a new browser tab with a formatted landscape A4 schedule including all weeks, worker names, shift labels, times, and a colour-coded legend. Your browser's Print dialog opens automatically — select "Save as PDF" to download it. No data is sent to any server — everything runs in your browser.

Is my schedule data saved?

Worker names, shift types, preferences, and settings are automatically saved to your browser's localStorage and restored on your next visit. No data is transmitted to any server — your team information stays entirely on your device. Use the CSV export to back up specific schedules or share them with colleagues.

What industries use shift scheduling?

  • Healthcare — hospitals, nursing homes, GP practices (24/7 coverage, 3-shift patterns).
  • Retail & hospitality — stores, restaurants, hotels (variable demand, part-time heavy).
  • Manufacturing — factories running continuous operations (rotating 4-shift systems).
  • Emergency services — police, fire, ambulance (fixed rotating rotas).
  • Security — 24-hour security posts, airports, data centres.
  • Logistics — warehouses, delivery hubs, transport depots.
  • Utilities — power plants, water treatment (continuous operation required).

Related Calculators