DevTools Logo

SLO & Error Budget Calculator

SLO & Error Budget Calculator

Derive error budgets, burn rates and multiwindow alert thresholds from any SLO.

Runs in your browser
Budget is measured in downtime minutes.
Try an example

SLO inputs

99.9% · 30 day window

Budget & burn rate

recovering · 0.1% budget
Error budget
43.2 min
Budget per day
1.44 min
Consumed
0%
Remaining
100%
Burn rate
0.200×
Time to exhaustion
Not burning
Projected availability
99.9800%
Verdict
recovering

Details

Enter an availability target and compliance window to get the exact error budget in minutes or failed requests, current burn rate, consumed and remaining budget, and time to exhaustion. The multiwindow alert derivation shows the Google SRE workbook's 1 h at 14.4x and 6 h at 6x pattern generalized to any window, with the substitution steps and example Prometheus alert rules. Derived thresholds are starting points: validate alert noise against real traffic.

More examples

Canonical workbook SLO

target 99.9% · 30 days · 0.02% errors

A 99.9% target over 30 days allows 43.2 minutes of downtime; at 0.02% errors the burn rate is 0.2x, so the service is recovering rather than exhausting its budget.

Multiwindow alert thresholds

fast: 1 h at 14.4x · slow: 6 h at 6x

For 99.9% over 30 days the derived error-rate thresholds are 0.002% in one hour and 0.00083% sustained over six hours, each paired with a short 5 m / 30 m window to reject flaps.

Request-based budget

10,000,000 requests · 99.9% target

A request-based SLO with ten million requests per month allows 10,000 failed requests before the budget is exhausted.

Examples

Recovery

Input
99.9% · 30 d · 0.02% errors
Output
43.2 min budget · 0.2× burn · recovering

Projected spend is well below the budget, so no exhaustion time is reported.

Fast burn

Input
99.9% · 30 d · 0.5% errors
Output
5× burn · 7.5 days to exhaustion

Errors are five times the budget rate; the remaining budget is gone in a quarter of the window.

Seven-day window

Input
99.9% · 7 d
Output
10.08 min budget · 3.36× / 1.4× alerts

Short windows use smaller burn multipliers to keep the same 2% / 5% budget-consumption goals.

About this tool

The SLO & Error Budget Calculator turns an availability target and a compliance window into the numbers an SRE team actually works with: the allowable error budget, how much of it has been spent, the current burn rate and the time left before it runs out.

It also derives multiwindow alert thresholds from the same inputs. The Google SRE workbook's canonical 99.9% over 30 days gives a fast 1 h window at 14.4x burn and a slow 6 h window at 6x; here those rules are generalized to any target and window, with each substitution shown step by step and example Prometheus alert rules generated from the thresholds.

Choose a time-based SLO to see the budget in minutes and seconds, or a request-based SLO to see it as a count of failed requests. Enter the error rate observed so far and the fraction of the window already elapsed to see consumed budget, remaining budget, recovery or exhaustion state, and the projected period-end availability.

Derived alert thresholds are starting points, not guarantees. Alert noise depends on request volume and failure patterns; validate every rule against real traffic before paging anyone.

What this tool does not do

  • Rules are format examples, not drop-in configurations for every monitoring system.
  • Time-to-exhaustion assumes the current error rate persists and a fixed (non-rolling) window.
  • Burn-rate thresholds are heuristic; request volume and traffic shape affect alert noise.
  • The tool does not collect metrics, connect to monitoring systems or manage incidents.
  • All computations happen locally; no SLO data is uploaded.

How to use this tool

  1. Pick a preset

    Start with 99.9% / 30 days, 99.99% / 30 days or 99.9% / 90 days, then adjust the target and window fields.

  2. Choose the SLO type

    Time-based SLOs budget downtime minutes; request-based SLOs need the total request count for the window.

  3. Enter the current state

    Type the observed error rate and how much of the window has elapsed. Both are percentages.

  4. Read the budget and burn

    The budget card shows allowed, consumed and remaining budget; the burn card shows the rate, verdict and time to exhaustion.

  5. Copy the alert rules

    Open the multiwindow section for derived thresholds and example PromQL rules, then copy or download them for your alerting system.

Use cases

Alert rule design

Derive long and short window thresholds for a service before configuring an alert manager.

Reliability policy

Show a team how much failure a quarterly SLO actually permits and what counts as an emergency.

Incident triage

Turn a current error rate into time-to-exhaustion so responders know how much runway remains.

Teaching SRE

Expose the substitution steps behind 14.4 and 6 instead of quoting a lookup table.

Core formulas

QuantityFormula
Budget fraction1 − target
Time budgetwindow × 1440 × budget fraction
Request budgettotal requests × budget fraction
Burn rateerror rate ÷ budget fraction
Fast multiplier0.02 × 24 × window days
Time to exhaustionremaining × window ÷ (burn − 1)

For a burn of 1 the budget ends exactly at the window boundary; below 1 the budget is recovering and has no exhaustion time.

Common mistakes

Mistake:Reading burn rate as a percentage.

Fix:Burn is a multiple of the budget rate: 2× means the budget is spent twice as fast as planned.

Mistake:Expecting a time-to-exhaustion below 1× burn.

Fix:At or below budget pace the service is recovering or exactly on plan, so there is no exhaustion countdown.

Mistake:Applying the 14.4× and 6× constants to every window.

Fix:They are for 30-day windows. The multipliers scale with window length because the budget-consumption goals stay fixed.

Mistake:Treating one long window as sufficient.

Fix:Pair each long window with its short companion to avoid paging on a brief flap.

Mistake:Using a 100% target.

Fix:A 100% target has a zero budget and undefined burn rate. Use a realistic target such as 99.999%.

Frequently asked questions

What is an error budget?

It is the amount of failure a service is allowed to have within its compliance window. For a 99.9% SLO over 30 days the budget is 0.1% of the window, which is 43.2 minutes of downtime or 0.1% of requests. Spending the budget is expected; exhausting it means reliability work should take priority over feature work.

How does burn rate relate to the budget?

Burn rate is the observed error rate divided by the budget error rate. At 1× the budget is spent exactly at the planned pace, at 2× twice as fast, and at 0.5× only half as fast. The tool computes time-to-exhaustion from the remaining budget and the excess above 1×; at or below 1× there is no countdown because the service is on pace or recovering.

Why do multiwindow alerts use two windows?

A long window measures sustained budget consumption, while a short companion window confirms the problem is still happening now. Requiring both prevents a brief error spike from paging after the long window has already accumulated enough errors. The tool pairs 1 h with 5 m and 6 h with 30 m by default.

Where do the 14.4 and 6 multipliers come from?

For a 99.9% / 30-day SLO, the budget is 0.1% spread over 720 hours. Consuming 2% of that budget in one hour means an error rate of 0.002%, which is 14.4× the hourly budget rate; consuming 5% in six hours gives 6×. For other window lengths the tool keeps the same 2% / 5% goals, so the multipliers become 0.48 × windowDays and 0.2 × windowDays respectively.

What is the difference between time-based and request-based SLOs?

A time-based SLO budgets downtime: 99.9% over 30 days allows 43.2 minutes. A request-based SLO budgets failed requests: the same percentage of ten million monthly requests allows 10,000 failures. Both use the same budget fraction, so burn rates and alert multipliers are identical; only the budget units differ.

Are the generated alert rules ready to deploy?

They are templates with the derived thresholds substituted in, showing both the long expression and the short-window check. Adapt metric names, labels and routing to your monitoring stack, and validate the resulting alert volume against real traffic before enabling paging.

What happens if the target is 100%?

The tool rejects it with guidance: 100% leaves zero error budget, so burn rate is undefined. Choose a realistic target such as 99.9% or 99.999% instead.

Does my reliability data leave the browser?

No. All math and derivation happen locally in the tab. No target, window, error rate or generated rule is uploaded or stored on a server.

References & standards