Backend, Data & Security More detail C · Industry convention Platform: Web

Error Budget

An error budget is the allowed amount of bad service during an SLO window. It equals the part below 100%.

See how it works
You might call it reliability budgetfailure allowanceSLO budget

See how it works

Original worked exampleError Budget
State & recoveryError Budgetallowed bad events = (1 - SLO) × valid events; consumed share = bad events / allowed bad events
28-DAY ERROR BUDGET99.9% SLO
1,000○allowed
700−used
300✓remaining
Budget remains30%
KEEP SAFEUse the same signal and window as the SLO.RECOVERWhen budget runs out, follow the team's agreed policy.
allowed bad events = (1 - SLO) × valid events; consumed share = bad events / allowed bad eventsSRE
Error BudgetService resilience

Another example

A service has a 99.9% SLO for one million requests. The budget allows 1,000 bad requests. After 700, 300 remain.

Main parts

  1. 01Linked SLO
  2. 02Budget window
  3. 03Allowed bad events
  4. 04Consumed amount
  5. 05Remaining amount
  6. 06Release decision policy

Use it when

Use it after a team agrees on an SLO and a policy. Let remaining budget guide release and reliability work.

Do not use it when

Do not treat the budget as planned downtime or a punishment. It is a shared signal for making tradeoffs.

Name used in code

allowed bad events = (1 - SLO) × valid events; consumed share = bad events / allowed bad events

Before you ship

Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.

Request you can copy

Outcome: Design or review Error Budget for this system while keeping data correct, secure, and easy to operate. User context: A service has a 99.9% SLO for one million requests. The budget allows 1,000 bad requests. After 700, 300 remain. Technical concept or control: Error Budget. Why it fits: Use it after a team agrees on an SLO and a policy. Let remaining budget guide release and reliability work. Do not use it when: Do not treat the budget as planned downtime or a punishment. It is a shared signal for making tradeoffs. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary): No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.

Check this request

Review the current use of Error Budget. Definition: An error budget is the allowed amount of bad service during an SLO window. It equals the part below 100%. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, report the evidence you found, gaps, severity, and the smallest safe fix.

C
How official is this term?

Industry convention

People often use this term at work. The listed sources may support practice or limitations. They do not define every part of the term.

No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks.

Scope
Cross-platform error-budget convention; Google SRE documents one calculation and policy model, not a universal release rule
Document status
stable
Checked on
2026-07-30

Evidence sources & scope

Authority source + Term reference · Google SRE · stable Implementing SLOs Scope: Google SRE model for user-facing SLIs, SLO targets, time windows, and error-budget decisions; not a universal reliability contract Role here: Direct term reference Source covers: canonical name, definition, semantics, implementation, usage guidance, avoidance guidance Authority source · Google SRE · stable Example Error Budget Policy Scope: One example policy for release and reliability decisions after an SLO miss; context, not a universal release rule Role here: Helpful background, not a definition Source covers: definition, semantics, implementation, usage guidance, avoidance guidance

Copy it yourself

The browser could not copy this. Select the request below and copy it yourself.