Shift pattern calculator

A shift rota is a repeating cycle. Its length and the hours it contains decide whether it is legal and sustainable.

weeks
%
%
Average weekly hours
42.00
= Exact Within the usual working time limit
Cycle length
8 days
Shifts in the period
182.0
Total hours
2184.0
Days off in the period
182.0
Total pay
44 226.00
Effective hourly rate
20.250
Show the working
  1. Days on = 4
  2. Days off = 4
  3. Hours per shift = 12
  4. Period to check = 52
  5. Hourly rate = 18
  6. Share of shifts at night = 50
  7. Night premium = 25
  8. Cycle length = 4 + 4 = 8
  9. cycles = 8 > 0 ? 52 * 7 / 8 : 0 = 45.5
  10. Shifts in the period = 45.5 * 4 = 182
  11. Total hours = 182 * 12 = 2184
  12. Average weekly hours = 52 > 0 ? 2184 / 52 : 0 = 42
  13. days_worked = 182 = 182
  14. Days off in the period = 52 * 7 - 182 = 182
  15. base_pay = 2184 * 18 = 39 312
  16. night_pay = 2184 * 50/100 * 18 * 25/100 = 4914
  17. Total pay = 39 312 + 4914 = 44 226
  18. Effective hourly rate = 2184 > 0 ? 44 226 / 2184 : 0 = 20.25

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • cycle = days on + days off
    • average weekly hours = total hours / weeks

    Working time rules in many countries cap the average at 48 hours over a 17-week reference period.

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library