Error Budgets Explained: Turning SLA Targets into Daily Decisions

Error Budgets Explained: Turning SLA Targets into Daily Decisions

An SLA that promises 99.9% availability means little to the engineer deciding on a Tuesday afternoon whether to ship a schema migration. Error budgets close that gap: they turn an abstract percentage into a fixed amount of allowed failure that teams can spend, track, and run out of. This guide covers how to calculate an error budget, how to monitor how fast it burns, and how to use it to make release and maintenance decisions without arguing every time.

What an Error Budget Actually Measures

An error budget is the inverse of your reliability target. If the service level objective (SLO) is 99.9% over 30 days, the budget is the remaining 0.1%. That works out to 43.2 minutes of downtime per month, or one failed request in every thousand if you measure by request.

The numbers shrink fast as targets go up. At 99.95% the monthly budget is 21.6 minutes. At 99.99% it is 4.32 minutes, which is less time than most teams need to notice an alert, open a laptop, and connect to the VPN. A seasoned SRE looks at that figure before agreeing to any four-nines commitment.

The SLA and the SLO should not be the same number. The SLA is the contract and decides when credits or penalties apply. The SLO is your internal target and should be stricter. If the contract says 99.9%, a sensible internal SLO is 99.95%. The difference gives you a buffer, so burning through the internal budget is a warning rather than a breach.

Calculating Your Error Budget Step by Step

The calculation is simple. Most of the mistakes happen in the definitions that go into it. An experienced practitioner works through it in this order:

1. Pick the service level indicator (SLI). Decide what “good” means. It could be successful HTTP responses (non-5xx), requests served in under 300 ms, or synthetic checks passing from at least two regions.

2. Choose the window. A rolling 28 or 30 days is common. Calendar months reset the budget on the first of the month, and teams learn to save risky work for the 1st.

3. Set the SLO below the SLA. Leave room for detection and recovery time.

4. Compute the budget. Total minutes or requests in the window × (1 − SLO).

5. Write the policy before you need it. Agree in advance what happens at 50%, 75%, and 100% consumption, and get product owners to sign off.

Step five is the one teams skip, and it decides whether the error budget changes anything in practice. Without an agreed policy, the budget becomes a number on a dashboard that no one acts on. If you already produce SLA tracking and reporting for customers, the error budget policy belongs in the same document set.

A Realistic Month of Budget Spending

Take an API with a 99.9% SLO on a rolling 30-day window, which gives a 43-minute budget. On day 3, an upstream DNS provider has resolution failures that cause 12 minutes of failed health checks. On day 9, a deploy ships a connection pool setting that exhausts PostgreSQL connections under peak load. Rollback takes 18 minutes.

By day 10, 30 of the 43 minutes are gone, and 20 days remain. The platform team had planned a PostgreSQL 15 to 17 major upgrade for day 14, and the dry run showed a cutover of 8-10 minutes. Under the policy, that upgrade moves to the next window. Feature deploys continue, but only behind feature flags, with canary rollouts to 5% of traffic, and outside Friday afternoons.

This is how an error budget should work. The upgrade decision didn’t need a meeting. The numbers made it.

Burn Rate Alerts and Budget Monitoring

Checking the remaining budget once a week is too slow. What matters day to day is burn rate, meaning how fast you are using the budget compared with spending it evenly. A burn rate of 1 uses the budget exactly at the end of the window. A burn rate of 10 uses it in three days.

The multiwindow approach from the Google SRE Workbook holds up well in practice. Page someone when the 1-hour burn rate goes above 14.4, which means 2% of a 30-day budget gone in one hour. Open a ticket when the 6-hour burn rate goes above 6, which means 5% gone. Pair each long window with a short one (5 minutes for the 1-hour alert, 30 minutes for the 6-hour alert) so the alert clears soon after recovery and doesn’t keep paging.

This replaces a lot of threshold-based alerting. A CPU spike that causes no failed requests doesn’t burn budget and shouldn’t wake anyone up. If your on-call rotation is struggling with noise, moving to burn-rate monitoring alerts usually does more than any amount of threshold tuning and notification rules.

Common Mistakes When Adopting Error Budgets

Measuring the wrong thing. Internal uptime monitoring from the same subnet shows 100% while customers behind a broken CDN edge get errors. An SLI should be measured as close to the user as possible, from external probes, load balancer logs, or both. If the indicator says everything is green while the support queue fills up, the indicator is wrong.

Excluding too much. Teams leave out “planned maintenance,” then “third-party outages,” then “partial degradation.” Customers notice every one of those. If the budget never burns, it can’t tell you anything.

Treating the budget as only a freeze trigger. When the budget is mostly unspent near the end of the window, that is also information. Either the SLO is too loose or the team is too cautious. That is the time for the chaos test, the kernel upgrade, or the database failover drill.

The Myth That 100% Should Be the Goal

Many stakeholders treat any downtime as failure and push for targets close to 100%. That assumption is wrong. Users reach your service over home Wi-Fi, mobile networks, and ISPs that are themselves well below 99.99% reliable. Above a certain point, extra reliability work costs real engineering time and makes no difference users can notice.

A 100% target also means zero budget, so in principle no changes can ever be made. In practice, teams under that kind of pressure ship less often and in larger batches. Each release then carries more risk, and incidents get worse.

When Standard Error Budget Advice Doesn’t Fit

Low-traffic services break request-based SLIs. An internal tool serving 2,000 requests a day fails its 99.9% target after just three errors. For these, use time-based SLIs from synthetic checks every 60 seconds instead.

Small teams under 10 people rarely benefit from formal multi-tier policies. One SLO, one burn-rate page, and a simple rule (“budget below 25%, no non-urgent changes”) is enough.

Regulated environments such as healthcare, payments under PCI DSS, or systems in scope for the EU’s DORA rules may require change control that overrides any budget logic. The budget still helps there. It becomes evidence for change advisory boards rather than a self-service gate.

FAQ

What happens when the error budget is fully spent?
Under a typical policy, feature releases stop and engineering time goes to reliability work until the rolling window recovers. Security patches and fixes for the incident itself are normally exempt.

Should scheduled maintenance count against the error budget?
If users experience it as downtime, yes. Counting it encourages zero-downtime techniques such as rolling restarts and blue-green deployments, rather than hiding the cost.

How often should SLO targets be reviewed?
Quarterly is common. Review sooner if the budget runs out every month or is never touched, because either one suggests the target doesn’t reflect what users experience.

Making the Budget Part of Daily Work

Error budgets are useful because they replace opinion with a number everyone agreed on beforehand. Start with one service, one user-facing SLI, a 30-day rolling window, and a written policy. Add burn-rate alerting, and review consumption in the same weekly meeting where you look at incidents and mean time to recovery. Faster recovery means each incident uses less budget.