SLO and error budget calculator

Pick an SLO and a compliance window and I show you the error budget it gives you, in minutes and in failed requests, and how long it lasts at a 1×, 2×, 5× and 10× burn rate. It is the number that tells you whether you can still afford a risky deploy this week.

Error budget (time)
43m 12s
Error budget (requests)
10,000
Time to exhaust the budget by burn rate
1×43m 12s
2×21m 36s
5×8m 38s
10×4m 19s

Burn rate = how many times faster than "budget lasts the full window" you're spending it.

Methodology

Error budget = window × (1 − SLO ÷ 100). The request budget multiplies the same fraction by your request volume. Burn rate N means you consume the budget N× faster than the rate that would exactly exhaust it over the window, so time-to-exhaustion = window ÷ N. Windows are exact day counts.

How to read the result

The time budget is how long the service can be bad inside the window without breaking the SLO. The request budget is the same idea for request-based SLOs: with 10 million requests in 30 days and a 99.9% target, 10,000 of them can fail.

The burn-rate table answers the operational question. At 1× you spend the budget exactly over the window. At 2× it is gone in half the window, at 10× in a tenth: with a 30-day window, 3 days.

A worked example

A 99.9% SLO over 30 days gives 43m 12s of error budget. Over 28 days, the four-week rolling window Google's SRE Workbook recommends, it is 40m 19s.

If an incident burns budget at 14.4×, 2% of a 30-day budget is gone in a single hour, and the whole budget in just over two days. That is the threshold the SRE Workbook suggests for paging someone. The table stops at 10×; the formula is the same: time to exhaustion = window ÷ burn rate.

SLI, SLO, SLA: which one is this?

The SLI is what you measure: the share of successful checks or requests. The SLO is the target you set for it internally. The SLA is the contractual promise to customers, and it sits looser than the SLO so that you notice trouble before it costs you credits. This calculator works on the SLO: the error budget is the room between perfect and that target, and why that room should never be zero is a story of its own.

To turn an availability percentage into plain downtime per day, month and year, use the uptime and SLA calculator.

Frequently asked

What is an error budget?

An error budget is the amount of unreliability an SLO permits over a window: (100% − SLO) × the window. A 99.9% SLO over 30 days gives about 43 minutes of "bad time" to spend on deploys, incidents and experiments. When the budget is spent, the convention is to freeze risky changes until it recovers.

What is a burn rate?

The burn rate is how fast you spend the error budget compared with the pace that would use it up exactly at the end of the window. 1× lasts the whole window; 10× empties it in a tenth of the window. Time to exhaustion = window ÷ burn rate.

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

Time-based fits uptime checks, where each check sees the service as up or down. Request-based fits APIs with steady traffic, where 0.1% of failed requests matters even if the service never goes fully down. The calculator shows both side by side.

Is the math exact?

Yes. Error budget = window × (1 − SLO ÷ 100), with exact day counts for each window. No estimates.

Do I need a SonarOps account to use it?

No. The calculator is free, runs entirely in your browser and needs no sign-up. The "Copy link to results" button gives you a pre-filled link to share with your team.

5 monitors free, no time limit

Checks every 5 minutes, email alerts and a public status page, at €0 and with no card. From Starter: checks every minute, early SSL alerts and broken link scanning.

Not ready yet? Join the newsletter: I’ll write to you with SonarOps news, and I’ll also send you a personal code for 20% off your first year, valid until November 28.