Reliatools

SLO & Error Budget Calculator

Turn an uptime target such as 99.9% into allowed downtime per day, week, month and year. Track how much error budget is left, how fast it is burning, and what availability a chain of dependencies can really deliver.

Uptime and allowed downtime

How much downtime an availability target allows, or which target a downtime figure meets.

%

Allowed downtime per 30 days

43m 12s

99.9% is 3 nines: an error budget of 0.1% of the time.

Daily1m 26s
Weekly10m 5s
28 days40m 19s
30 days43m 12s
Monthly (avg.)43m 50s
Quarterly (avg.)2h 11m 29s
Yearly8h 45m 58s

Error budget remaining

How much of this window's budget is left, how fast it is going, and when it runs out.

%

Days into the window so far.

Errors, plus requests slower than your latency threshold if it counts.

Error budget remaining

81.3%

  • Budget for the window: 11,250 requests (at the traffic rate so far). Left: 9,150 requests.
  • Availability so far: 99.9533% against a 99.9% target.
  • Burn rate: 0.47×. At this pace the budget lasts the whole window.

Burn rate and alert thresholds

How fast a given error rate spends the budget, and the burn rates worth paging on.

%
%

Bad requests ÷ all requests, right now.

Burn rate

5×

At 0.5% errors the whole 30-day budget is gone in 6d. Each hour spends 0.69% of it.

Multi-window burn-rate alerts for 99.9% over 30 days

ActionLong / short windowBudget spentBurn rateError rate
Page1h / 5m2%14.4×≥ 1.44%
Page6h / 30m5%6×≥ 0.6%
Ticketfires if sustained3d / 6h10%1×≥ 0.1%

Alert when the error rate is above the threshold over both the long and the short window. The short window lets the alert clear soon after the problem stops. "Fires if sustained" means the current error rate would trigger the alert once it has held for the whole long window.

Composite availability of dependencies

List the hard dependencies a request needs. Set replicas above 1 for redundant copies where any one can serve.

%
%

3 independent copies: 99.9999875% together.

%
%

System availability

99.84%

About 1h 9m 6s of downtime per 30 days and 14h 1m 16s per year. The weakest link is Payment provider at 99.9%; no SLO for the whole service can be stricter than that.

Uptime to downtime: the nines table

Allowed downtime for common availability targets. A month is the calendar average of 30.44 days and a year is 365.25 days.

AvailabilityPer dayPer weekPer monthPer year
90%2h 24m16h 48m3d 1h 3m36d 12h 36m
99%14m 24s1h 40m 48s7h 18m 18s3d 15h 40m
99.5%7m 12s50m 24s3h 39m 9s1d 19h 50m
99.9%1m 26s10m 5s43m 50s8h 45m 58s
99.95%43.2s5m 2s21m 55s4h 22m 59s
99.99%8.64s1m4m 23s52m 36s
99.999%864ms6.05s26.3s5m 16s
Working through this for an actual product decision? We can help review it. Contact Reliatools.

How it works

A service level objective (SLO) is the share of time, or of requests, that must be good over a window such as 30 days. Whatever is left over is the error budget: the downtime or failed requests you can afford before the objective is missed.

error budget=1−SLOallowed downtime=(1−SLO)×period\text{error budget} = 1 - \text{SLO} \qquad \text{allowed downtime} = (1 - \text{SLO}) \times \text{period}

For 99.9% over 30 days the budget is 0.1% of 43,200 minutes, or 43.2 minutes. The burn rate compares how fast you are spending it with the pace that would use it up exactly at the end of the window:

burn rate=observed error rate1−SLO=share of budget spentshare of window elapsed\text{burn rate} = \frac{\text{observed error rate}}{1 - \text{SLO}} = \frac{\text{share of budget spent}}{\text{share of window elapsed}}

A burn rate of 1 lands exactly on the objective. At 14.4 a 30-day budget is gone in about two days, and 2% of it goes every hour. That is why the alert table pages on fast burns over short windows and opens a ticket on slow burns over days.

For a chain of hard dependencies, availabilities multiply. Redundant copies fail together only if all of them fail:

Aseries=∏iAiAparallel=1−(1−A)nA_\text{series} = \prod_i A_i \qquad A_\text{parallel} = 1 - (1 - A)^n

Two dependencies at 99.9% each give 99.8% at best. Two independent copies of a 99% service give 99.99%. Real copies share networks, deploys and configuration, so treat the parallel figure as an upper bound.

The same series and parallel logic, for hardware, is in the reliability block diagram calculator. To estimate how reliable a software release is from its test failures, use the Bayesian software reliability predictor.

When to use this calculator, and when not to

Use it to pick an SLO you can defend, write it into an SLA, size an on-call alert, or decide whether a risky release fits in what is left of this month's budget.

Be careful when:

Frequently asked questions

How much downtime is 99.9% uptime per month?

About 43 minutes. Over a 30-day window it is exactly 43 minutes 12 seconds; over an average calendar month of 30.44 days it is 43 minutes 50 seconds. Per year 99.9% allows 8 hours 46 minutes, and per day 1 minute 26 seconds.

How much downtime is 99.99% or 99.999% uptime?

99.99% ("four nines") allows about 4 minutes 23 seconds a month and 52 minutes 36 seconds a year. 99.999% ("five nines") allows about 26 seconds a month and 5 minutes 16 seconds a year.

What is the difference between an SLA, SLO and SLI?

The SLI (indicator) is what you measure, such as the share of requests answered successfully within 300 ms. The SLO (objective) is the target for it, such as 99.9% over 30 days. The SLA (agreement) is the contractual promise to customers, usually looser than the SLO, with credits if it is missed.

What is a good burn rate alert threshold?

The Google SRE Workbook suggests, for a 30-day SLO, paging at a burn rate of 14.4 over 1 hour (2% of the budget) and 6 over 6 hours (5%), and opening a ticket at 1 over 3 days (10%). Each alert also checks a short window, one twelfth as long, so it clears soon after recovery. The table above recalculates these for your SLO and window.

Should I use a time-based or request-based SLO?

Request-based where you can count requests: it weighs every user equally and captures partial outages. Time-based suits uptime checks, batch jobs and contracts written in minutes of downtime.

Do I need an account?

No. Free to use, with no sign-up. Everything runs in your browser and nothing you enter is stored.