Guide

Shift pattern calculator: how the average week is worked out

Updated

Almost every argument about whether a shift pattern is legal is really an argument about which number to compare with 48. The calculation is one line, and getting it wrong in either direction is expensive: overestimate and you buy crews you do not need, underestimate and you run an unlawful rota.

Talk to a specialist Three numbers in, and you have the cycle, the average week, the crews and the Working Time position.

The run of consecutive working days. A 4 on 4 off pattern is 4 here.

The run of consecutive rest days that follows. A 5 on 2 off pattern is 2 here.

Exclude unpaid breaks if your reference period excludes them. The 48 hour limit is measured on working time, not on time at the site.

24 for a continuous operation. Enter the real span for a single day shift, for example 12.

Average working hours a week

42

Days on as a share of the cycle, spread over a seven day week, times the shift length. This is the figure the 48 hour average is measured against.

Cycle length in days8
Hours a week under the 48 hour average limit6
Crews needed to cover the operation4
Whole crews you would actually roster4
Hours between shifts on consecutive working days12
Average hours in a 24 hour period, tested against the 8 hour night limit6
Days worked a year on this cycle183

Get supplier introductions

Tell us the shape of the operation and what the current pattern is failing at. Up to three payroll and HR service providers will contact you directly.

Next: where to reach you.

  • Free, no obligation
  • Your details go to at most three suppliers
  • No marketing lists, ever
How this calculator works
  • The 48 hour average weekly limit is applied as gov.uk states it: "you cannot work more than 48 hours a week on average, normally averaged over 17 weeks". A worker may choose to opt out of the 48 hour week in writing, and several categories of work sit outside the limit entirely, including jobs requiring 24 hour staffing, the armed forces and emergency services, and roles where working time is not measured and the worker controls their own decisions (gov.uk).
  • Average weekly hours are computed from the SHAPE of the cycle rather than from a calendar: days on divided by cycle length, times seven, times the shift length. That is exact for a repeating cycle and is why a 4 on 4 off 12 hour pattern produces 42 hours a week rather than the 48 people assume from the shift length.
  • Daily rest is 11 hours between working days and the weekly rest is either an uninterrupted 24 hours each week or an uninterrupted 48 hours each fortnight. Workers also have the right to one uninterrupted 20 minute rest break during the working day where they work more than 6 hours (gov.uk).
  • The daily rest figure assumes shifts on consecutive days start at the same clock time, so the gap is 24 hours minus the shift. A pattern that rotates forward from nights to days inside a cycle can produce a shorter gap than this figure shows, and that transition is the one to check by hand.
  • Night workers are staff who regularly work at least 3 hours during the night period, which is 11pm to 6am unless the worker and employer agree a different period. They "must not work more than an average of 8 hours in a 24-hour period", usually calculated over 17 weeks, or up to 52 weeks by agreement. Where the work involves special hazards or heavy physical or mental strain the limit is absolute: they "cannot work longer than 8 hours in any 24-hour period" (gov.uk).
  • The crew count is arithmetic, not a rota: shifts needed a day multiplied by the cycle length over the days on. It tells you how many crews the pattern implies for the cover you asked for. It does not account for holiday, sickness, training or the relief factor, all of which push the real headcount above it.
  • Under 18s are not modelled. gov.uk states that under 18s "cannot work more than 8 hours a day or 40 hours a week", that 16 and 17 year olds "cannot work between midnight and 4am", and that they usually cannot work between 10pm and 6am, with narrow industry exceptions. Any pattern involving young workers needs checking against those rules directly.
  • No figure here is a market rate, a typical pay rate or a benchmark. Everything the tool returns is derived from the pattern you enter and the published statutory limits, and nothing is estimated.

The formula any rota calculator should use

Average weekly hours are days on, divided by the cycle length, multiplied by seven, multiplied by the shift length.

For 4 on 4 off on 12 hour shifts that is 4 over 8, times 7, times 12, which is 42 hours a week. The intuition that a 12 hour shift pattern must be near the 48 hour limit is wrong by six hours, because the pattern only works half the days in the cycle.

The same ratio gives the same answer whatever the cycle length. 3 on 3 off and 7 on 7 off both average 42 hours on 12 hour shifts, because both work half the days. Cycle length changes how the pattern lands on the calendar, not how many hours it produces.

Where the arithmetic is exact and where it is not

It is exact for a repeating cycle measured over whole cycles. It stops being exact the moment overtime, callouts, shift swaps or training days are added, and every one of those pushes the average up rather than down.

The limit is measured on working time, so unpaid breaks come out of the shift length before the calculation if your reference period excludes them. A 12 hour shift with an hour of unpaid break is 11 hours of working time and averages 38.5 hours a week rather than 42.

The reference period matters as much as the average

gov.uk states the limit as 48 hours a week on average "normally averaged over 17 weeks". A pattern is not unlawful because one week in it exceeds 48 hours. It is unlawful if the average over the reference period does.

That is why a seasonal operation can lawfully run heavy weeks in a peak, provided the shoulder weeks bring the average back. It is also why an employer relying on that has to actually measure the average rather than assume it.

The opt-out is individual, and it is not a formality

gov.uk describes the 48 hour limit as something a worker "can choose to work more" than by opting out. It is an individual choice made in writing, not a clause an employer can apply to a department.

For a pattern that averages over 48 hours, such as 6 on 4 off on 12 hour shifts at 50.4 hours, the opt-out is not a tidying-up exercise. It is the only thing standing between the rota and a breach, and it has to exist for every worker on the pattern.

Need the rota built, not just tested?

Tell us the shape of the operation and what the current pattern is failing at. Up to three payroll and HR service providers will contact you directly.

Next: where to reach you.

  • Free, no obligation
  • Your details go to at most three suppliers
  • No marketing lists, ever

Questions, answered directly

Is a shift pattern calculator the same as a rota calculator?

They answer the same question from the same two numbers. A rota calculator that is worth using takes days on and the cycle length, works out the share of days worked, and multiplies by seven and by the shift length to get the average week. If a rota calculator asks only for the shift length, it cannot tell a 4 on 4 off pattern at 42 hours from a 6 on 4 off pattern at 50.4 hours.

Sources

This site's own datasets, every figure quoted from its source and dated:

  • The Shift Premium Rates carries 2 published figures read from 2 sources' own pages, from 10 to 47 percent, read 24 October 2026.
  • The median published figure in the Shift Work Prevalence is 22.50 percent across 2 sources' own pages (range 19 to 26 percent), read 12 October 2026.
  • The Working Time Rules carries 6 published figures read from 4 sources' own pages; the 4 published figures given without a breakdown run from 10 to 48 hour, read 24 October 2026.
  1. gov.uk, maximum weekly working hours
  2. gov.uk, rest breaks at work
  3. gov.uk, night working hours and rules
  4. gov.uk, holiday entitlement
  5. Acas, checking holiday entitlement

Test a pattern before you consult on it

Three numbers in, and you have the cycle, the average week, the crews and the Working Time position.

Talk to a specialist