Error Budget Calculator
Work out the error budget an SLO gives you, in minutes or in failed requests, over the four-week rolling window Google's SRE Workbook recommends.
A rolling window follows the user: an outage on the last day of the month still counts the next day. Google's SRE Workbook recommends four weeks, and warns that a 30-day window contains four weekends in some periods and five in others.
Allowed Downtime by Window
Downtime one 99.9% SLO allows in each window.
| Window | Days | Allowed Downtime |
|---|---|---|
| Rolling 1 day | 1 | 1m 26s |
| Rolling 7 days | 7 | 10m 5s |
| Rolling 4 weeks (28 days) | 28 | 40m 19s |
| Rolling 30 days | 30 | 43m 12s |
| Rolling 90 days | 90 | 2h 9m |
| Calendar month | 30.44 | 43m 50s |
| Calendar quarter | 91.31 | 2h 11m |
| Calendar year | 365.24 | 8h 45m |
Standard Availability Tiers
Allowed downtime per tier over a Rolling 4 weeks (28 days).
| Tier | Availability | Allowed Downtime |
|---|---|---|
| 2 nines | 99% | 6h 43m |
| 2.5 nines | 99.5% | 3h 21m |
| 3 nines | 99.9% | 40m 19s |
| 3.5 nines | 99.95% | 20m 10s |
| 4 nines | 99.99% | 4m 2s |
| 5 nines | 99.999% | 24.2s |
An error budget is a planning figure, not a measurement. Only your own monitoring can tell you what your service actually did.
Related Calculators
You might also find these calculators useful
SLO Burn Rate Calculator
Turn an SLO into a multi-window burn rate alerting configuration
SLA Downtime Calculator
Turn an uptime SLA into the downtime it allows, and check compliance
MTTR & MTBF Calculator
Mean time to restoration, MTBF and availability from incident data
Incident Cost Calculator
Calculate the total cost of IT incidents and outages
Turn an SLO Into the Failure It Allows
An error budget is what is left over when you subtract your SLO from 100%. At 99.9% availability over four weeks, that is 40 minutes and 19 seconds of downtime, or one failed request in every thousand. This calculator converts any SLO into both figures, over the measurement window you actually use, and tells you where your consumption sits against the four bands teams commonly gate releases on.
What is an Error Budget?
An error budget is the amount of unreliability an SLO permits before the objective is missed: Google's SRE Workbook defines it as "100% minus the SLO". Its own worked example is a service taking 3 million requests over a four-week period against a 99.9% success-ratio SLO — a budget of 3,000 errors, of which a single outage causing 1,500 errors spends half. The point of expressing reliability this way is that it is spendable. A budget nobody touches is not caution, it is velocity given away for nothing.
Error Budget Formula
Error Budget = (100% − SLO) × WindowHow to Use This Calculator
Pick a scenario, or enter your own SLO target — the figure your service promises, such as 99.9.
Choose the measurement window. Four weeks rolling is the default because Google's SRE Workbook recommends it as a general-purpose interval; calendar month, quarter and year are there for budgets tied to a contract or a billing cycle.
Choose the budget type. Time measures availability in minutes of downtime. Requests measures success ratio, which is the better fit for an API where a partial failure is not an outage.
Enter what you have already spent: downtime minutes in time mode, or total and failed requests in request mode.
Read the status band — healthy under 50%, warning 50–75%, critical 75–100%, exhausted at 100% and above — and the suggestion that follows from it.
Use the window table to see how the same SLO behaves over different intervals, and the tier table to compare standard availability levels before committing to one.
Common Use Cases
Choosing an SLO you can actually meet
99.99% sounds like a commitment and is in fact a budget of 4 minutes 2 seconds over four weeks — less than one bad deploy. Compare the tiers before promising one; the gap between 99.9% and 99.99% is a factor of ten in permitted failure and usually a factor of several in cost.
Pricing an incident after the fact
A 30-minute outage against a 99.9% four-week SLO spends 74% of the budget. That is the number that decides whether next week's release goes ahead, and it is worth computing while the incident review is still open.
Writing an error budget policy
A policy needs thresholds, and thresholds need figures. Work out what each band means in minutes for your own SLO and window before writing down what happens at each one.
Negotiating with people who do not think in nines
"99.9% availability" is abstract. "40 minutes of downtime every four weeks, and we have already used 30 of them" is a conversation about a real constraint.
Why Error Budgets Matter
They end the argument, rather than winning it
Development wants to ship and operations wants stability, and neither position is refutable in the abstract. An error budget replaces the argument with arithmetic: there is either budget remaining or there is not, and both teams read the same number.
They price a risky change before you make it
A change that might cost 30 minutes of downtime is a reasonable bet against 40 minutes of remaining budget and a bad one against 10. The budget turns "is this safe enough?" into a question with an answer.
They make the case for reliability work concrete
A budget that is exhausted every window is evidence, not opinion. It converts "we need to invest in reliability" into a specific shortfall against a target the business already agreed to.
They can be enforced without a meeting
Release gates can read the budget directly: deploys proceed while budget remains and stop when it does not. The decision is made in advance, once, rather than argued each time under pressure.
Frequently Asked Questions
Subtract the SLO from 100% and multiply by the window. For time-based availability at 99.9% over four weeks: 0.1% × 40,320 minutes = 40.32 minutes, or 40 minutes 19 seconds. For a request-based SLO, multiply by request count instead: 0.1% of 3 million requests is 3,000 permitted failures. Both are the same calculation over a different denominator, which is why this calculator offers both.
An SLI is the measurement — the proportion of requests that succeeded, or the fraction of time the service was up. An SLO is the target you set for that measurement, such as 99.9%. The error budget is what the SLO leaves over: 100% minus the SLO, expressed as an amount of failure you are permitted to spend. An SLA is different again — it is the contractual version, usually looser than the SLO so that missing the internal target does not immediately cost money.
The SRE Workbook says both are valid and that the choice matters: a rolling window "is more closely aligned with user experience", because a large outage on the last day of a month is not forgotten on the first day of the next one, while calendar windows "are more closely aligned with business planning". It recommends an integral number of weeks, and specifically warns that a 30-day window contains four weekends in some periods and five in others — so if weekend traffic differs from weekday traffic, the SLI moves for reasons that have nothing to do with reliability. Four weeks rolling is the default here for that reason.
It is the agreement, written down in advance, about what happens as the budget is consumed — who decides, what changes, and at which thresholds. Google publishes a chapter on exactly this. A typical policy freezes non-critical releases when the budget is exhausted and returns engineering effort to reliability until the window rolls over. The value is that the decision is made calmly, before the outage, rather than argued during one.
Whatever your policy says. The common answer is a release freeze on anything not itself a reliability fix, held until the window rolls forward or the underlying problem is fixed. It is worth being explicit that this is the mechanism working rather than a punishment: the budget was spent on shipping, which is what it was for.
Time-based is easier to explain and matches how availability is usually promised. Request-based is more honest for a high-volume API, where a brief partial failure and a total outage are very different events that a minutes-of-downtime figure would score identically. Teams running both typically use availability for incident reporting and success ratio for the alerting thresholds.
Then the SLO is probably too loose to be constraining anything, and reliability effort is going somewhere it is not needed. Either tighten the target or deliberately spend the budget on faster iteration and riskier experiments. An objective that is never in tension with anything is not doing any work.
That is a policy choice and both conventions are in use. Some organisations exclude planned maintenance on the grounds that the SLO measures unplanned unavailability; others count everything, on the grounds that users cannot tell the difference. Pick one, write it down, and apply it consistently — the comparison between windows is only meaningful if the rule did not change.