Error budget

An error budget is the amount of failure a service is allowed before it misses its SLO. A 99.9% SLO over 30 days gives an error budget of 0.1%, about 43 minutes of downtime or 1 failed request in 1,000.

Hyperping reporting dashboard adding up incidents and total downtime over the last 7 days, with each incident and its duration

An error budget is spent by every outage, so it is only as accurate as the monitoring that records them. Hyperping records each confirmed outage per monitor with its duration, and the reporting dashboard adds up total downtime for any period. Compare that total with your budget: if a 99.9% SLO allows 43 minutes this month and the report shows 30, you have 13 minutes left.

How to calculate an error budget

error budget = (1 - SLO) x window

  • 99.9% over 30 days: 0.001 x 43,200 minutes = 43.2 minutes.
  • 99.95% over 30 days: 21.6 minutes.
  • 99.99% over 30 days: 4.3 minutes.

For request-based SLOs the budget is a count: at 99.9% and 10 million requests a month, 10,000 requests can fail.

Using an error budget

It settles the argument between shipping fast and staying stable with a number both sides agreed to beforehand. While budget remains, the team ships at its normal pace and takes reasonable risks. When the budget is close to spent, reliability work comes first until the window recovers. A budget that's never touched is a sign the SLO is too loose, or the team is moving more slowly than it needs to.

Error budget policies

Write down what happens at each level before you need it. A simple policy:

  • More than 50% left: normal work.
  • 25% to 50% left: risky changes need a second reviewer and a rollback plan.
  • Less than 25% left: feature releases pause, and the next sprint goes to the causes of the recent incidents.
  • Budget spent: only fixes and reliability work ship until the 30-day window is back under budget.

The policy only works if product and engineering leads both sign it. Otherwise the first freeze turns into a negotiation.

Burn rate

Burn rate is how fast the budget is being used compared to an even spend. A burn rate of 1 uses the whole budget exactly by the end of the window. A burn rate of 10 empties a 30-day budget in 3 days. Alerting on a high burn rate over the last hour catches serious incidents early, and a low but steady burn rate over days catches slow degradation.

FAQ

What happens when the error budget runs out?

Whatever your policy says. The usual answer is a release freeze for anything except fixes until the rolling window recovers, plus a review of the incidents that spent it.

Does planned maintenance use the error budget?

Decide once and apply it consistently. Most teams exclude announced maintenance from the SLA but count it against the internal budget, because users still couldn't use the service.

Is an error budget the same as downtime allowed by an SLA?

Close, but they come from different targets. The SLA's allowed downtime is a contractual limit. The error budget comes from the internal SLO, which is usually stricter, so the budget runs out before the SLA is breached.

Related Terms

SLO (service level objective)
An SLO, or service level objective, is the reliability target a team sets for its own service, such ...
SLA (service level agreement)
An SLA, or service level agreement, is the contract in which a provider promises a level of service,...
SRE (Site Reliability Engineering)
A discipline that applies software engineering practices to infrastructure and operations to build s...
Uptime
Uptime is the share of time a service is available and working, expressed as a percentage of a perio...
Availability
Availability is the share of time a service can actually be used, expressed as a percentage. It is c...

Related Resources

Get started

Start monitoring in the next 5 minutes.

Stop letting customers discover your outages first. Set up monitoring, status pages, on-call, and alerts before your next coffee break.

Free plan, 20 monitors. No credit card, no time limit.