On-Call Rotation Calculator: Formulas for Rotation Size, Coverage, and Load
An on-call rotation calculator multiplies concurrent roles by weekly coverage hours and divides by team size to get each person's share of time on call. Rotation size is that coverage divided by a cap, such as 25 percent, adjusted for leave. Load per shift comes from real page counts, and incident hours from incidents times handling time.
What the calculator is for
An on-call rotation calculator turns a handful of inputs into the numbers that decide whether a rotation is sustainable: how often each person is on call, how much of their calendar that is, how many pages land on each shift, and how many people the coverage actually needs. The patterns themselves (weekly, split weekday and weekend, follow-the-sun) are covered in how to design an on-call schedule. This page is the arithmetic, so you can run it in a spreadsheet before arguing about patterns.
The inputs
- H: hours per week that need coverage. 168 for 24x7. 50 for weekdays 08:00 to 18:00.
- r: people on call at the same time. 1 for primary only, 2 for primary and secondary.
- N: people in the rotation.
- L: shift length in hours. 168 for a weekly shift covering everything, 12 for a half-day shift.
- c: the maximum share of calendar time any one person should be on call.
- a: availability, the share of the year people are actually around after leave and training.
- P: pages per week, and o, the share of pages outside working hours.
- Q: incidents per week that need real work, and t, average hours per incident including follow-up.
Measure P, o, and Q from the last quarter of paging data, not from memory. Memory undercounts nights.
The formulas
Each formula answers one question.
Share of time on call
f = (r x H) / (N x 168)
For 24x7 with primary and secondary, f = 2 / N. Six people gives 33 percent: one week in three, either as primary or secondary.
Minimum rotation size
N_min = ceil((r x H) / (168 x c x a))
Google's SRE book caps on-call at no more than 25 percent of an SRE's time and gives eight engineers as the minimum for a single-site team with two people on call and week-long shifts. The formula reproduces that: 2 x 168 / (168 x 0.25) = 8 at full availability. Add realistic availability, say 0.85 for leave and training, and the minimum becomes 10.
Cycle length
With weekly shifts and one role, each person comes round every N weeks. With r roles cycling, each person holds some role for r weeks out of every N. A secondary week immediately before a primary week is a common choice because it brings context into the primary shift.
Load per shift
pages per shift = P x (L / H) and out-of-hours pages per shift = P x o x (L / H)
This is the number that people feel. A rotation can have a comfortable share of time on call and still be unsustainable because each shift is brutal. The SRE book sets a ceiling of two incidents per 12-hour shift, so compare Q x 12 / H against 2.
Engineering time consumed
hours per week = Q x t
The SRE book estimates about six hours per incident once root-cause analysis, remediation, and postmortem follow-up are counted. Ten incidents a week at that estimate is 60 hours, more than one person's working week, regardless of how the schedule is drawn.
Follow-the-sun
With k regions each covering its own daytime, each region covers 168 / k hours, so N_min per region = ceil((r x 168 / k) / (168 x c x a)). Two regions with primary and secondary at a 25 percent cap give four per region at full availability. The SRE book's reasonable minimum for dual-site teams is six per site; treat the gap between four and six as headroom for leave, attrition, and the context each site needs to respond alone.
A worked example
A team of six covers a service 24x7 with a weekly primary and secondary. The last quarter averaged 21 pages a week, 40 percent of them outside working hours, and 3 incidents a week needing real work.
- Share of time on call: 2 / 6 = 33 percent, above a 25 percent cap.
- Minimum size at 0.85 availability: ceil(2 x 168 / (168 x 0.25 x 0.85)) = ceil(9.4) = 10.
- Load per primary week: 21 pages, 8.4 of them outside hours. More than one night page in an average night.
- Incidents per 12-hour block: 3 x 12 / 168 = 0.2, well under the ceiling of 2.
- Engineering time: 3 x 6 = 18 hours a week.
The reading is specific. Incident volume is fine. Page volume is not, because 21 pages against 3 real incidents means most pages are not actionable. Headcount is short by four for this coverage model. The options, in order of cost: cut non-actionable pages, which improves every other number (see stopping alert storms); drop the secondary to a shared escalation with a neighbouring team, which takes r toward 1; or move to follow-the-sun if the team spans time zones. Hiring four people to carry a noisy pager is the expensive answer.
What a good calculator outputs
Whether it is a spreadsheet or a feature in on-call rotation software, the useful outputs are:
- Share of time on call per person, against your cap.
- Minimum rotation size for the chosen coverage, with and without availability.
- Weeks between shifts, per role.
- Pages per shift and out-of-hours pages per shift, from real data.
- Incidents per 12-hour block against a ceiling.
- Engineering hours consumed by incidents per week.
- Handoffs per week, which is
H / Lfor continuous coverage. Shorter shifts reduce exposure and add handoffs. - Per-person totals over a quarter, so uneven load from swaps and overrides is visible.
The last output matters most over time. Averages hide the person who took three extra weekends for colleagues.
Where the numbers stop
The formulas measure exposure and volume. They do not measure the cost of a single 3am page that takes two hours, or the difference between a page you can fix and one you can only escalate. Pair the calculator with a short survey after each shift and with incident records that name the shift, so the numbers and the experience can be compared. Rerun the calculation every quarter, and after any change to coverage hours, team size, or alerting.
Frequently asked questions
- How do you calculate on-call rotation size?
- Divide the on-call hours needed by the hours each person can carry. The formula is N = (r x H) / (168 x c x a), where r is people on call at once, H is weekly coverage hours, c is the maximum share of time on call, and a is availability after leave. For 24x7 with primary and secondary at a 25 percent cap, that is eight before leave.
- How many people do you need for 24/7 on-call?
- With one primary and one secondary at all times and a cap of 25 percent of time on call, eight people is the arithmetic minimum, which matches the figure in Google's SRE book for single-site teams. Allowing for leave and training pushes it to around ten. Primary only halves the requirement, at the cost of no backup for missed pages.
- How do you measure on-call load per engineer?
- Count pages per shift and out-of-hours pages per shift from paging data, then total them per person over a quarter, including swaps and overrides. Add incidents per shift and estimated hours spent on each, including follow-up. Compare per-shift numbers against a ceiling, such as the SRE book's two incidents per 12-hour shift, not only against averages.
- Is follow-the-sun on-call cheaper in headcount?
- Per region, yes, because each region covers only part of the day. Two regions with primary and secondary need four people each at a 25 percent cap before leave. In total headcount it is often similar or higher, because each region must be able to respond alone, and the SRE book suggests six per site for dual-site teams.