# Error Budget

An error budget is the amount of unreliability permitted by a service-level objective during its evaluation window.

- Type: metric
- Domain: Engineering & architecture
- Level: Intermediate
- Last reviewed: 2026-09-22
- Original: [Soroush’s Product Wiki](<https://wiki.soroush.uk/topic/error-budget/>)

## What it means

An error budget translates an SLO into an allowance for unsuccessful or slow events. If an objective requires 99.9% good events, up to 0.1% may be bad within the window. Teams can express the allowance as events, minutes, or another unit consistent with the underlying indicator.

## Why it matters

The budget reframes reliability as a managed trade-off rather than a demand for perfection. Healthy remaining budget supports responsible change; rapid consumption signals that reliability work deserves priority. A shared policy can replace opinion-driven arguments between product teams seeking speed and operators seeking stability.

## When to use it

Use an error budget after establishing a valid SLI and SLO. It is especially useful for services with frequent releases or recurring tension over operational risk. Pair the number with an agreed policy describing what happens when burn is fast, the budget is nearly exhausted, or exceptions are justified.

## How it works

1. Calculate the permitted bad-event fraction from the SLO target.
2. Measure actual bad events over the same evaluation window.
3. Track remaining budget and burn rate at useful time scales.
4. Apply predefined actions, such as release review or reliability investment, when thresholds are crossed.
5. Reset or roll the window as specified and review whether the policy changed behavior constructively.

## A practical example

An API with a 99.9% monthly success objective receives ten million eligible requests, allowing ten thousand failures. A faulty release causes four thousand failures in one hour. Although the monthly target has not yet been missed, the burn rate triggers the policy: rollout stops, incident response begins, and reliability fixes take precedence.

## Where it breaks

Budgets are only as honest as the SLI and objective beneath them. Long windows can conceal acute harm, while rigid release freezes can punish teams without reducing risk. Low-traffic services may need statistical care, and safety or security failures should not be treated as acceptable merely because budget remains.

## Common mistakes

- Treating the entire allowance as a quota that ought to be spent.
- Watching only end-of-window compliance instead of burn rate.
- Declaring a freeze without a policy, scope, or path to recovery.

## Visualization

[View the visualization on the website](<https://wiki.soroush.uk/topic/error-budget/#visualization-error-budget>)

## Sources

1. [Embracing Risk](<https://sre.google/sre-book/embracing-risk/>) — Google Site Reliability Engineering · Foundational book chapter
2. [Error Budget Policy](<https://sre.google/workbook/error-budget-policy/>) — Google Site Reliability Engineering · Institutional policy example

## Related topics

- [Service-Level Objective](<https://wiki.soroush.uk/topic/service-level-objective/>)
- [Site Reliability Engineering](<https://wiki.soroush.uk/topic/site-reliability-engineering/>)
- [Incident Management](<https://wiki.soroush.uk/topic/incident-management/>)
