How to use this calculator
Translate a request-based service-level objective into an allowed failed-request budget.
- Enter SLO target (%), Requests in compliance period. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How this calculation works
An error budget expresses the portion of measured service events that may fail while still meeting a service-level objective. For a request-count SLO, the allowed failure fraction is one minus the target success fraction, multiplied by the total requests in the measurement period.
Inputs and units
sloPercent— SLO target (%)- Required successful-request percentage from 0% through 100%.
requestCount— Requests in compliance period- Total eligible requests counted in the period.
Formula
Error budget fraction = 1 − SLO target; allowed failed requests = error budget fraction × total requests.
Method
Enter the target success percentage and the number of requests counted in the same compliance period. This gives the theoretical number of failed requests consistent with the target for that request volume.
Worked example
At a 99.9% request success target over 1,000,000 eligible requests, the error budget is 0.1%, or 1,000 failed requests.
Assumptions and limits
This assumes a request-based SLO with one consistent good/bad event definition and a fixed request count. It does not estimate downtime, account for multiple SLI windows, or decide how an organization should use its error budget. A time-based availability SLO needs a time denominator instead.
Frequently asked questions
What is an error budget?
It is the allowed failure portion implied by the SLO during its compliance period.
Can the request budget be a fraction?
Yes. The formula is an expected allowance; integer enforcement and event accounting are policy choices.
Is this a downtime calculator?
No. It counts eligible failed requests; time-based availability uses a time budget instead.
How do I use the SLO Error Budget Calculator?
Enter SLO target (%), Requests in compliance period. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of SLO Error Budget?
At a 99.9% request success target over 1,000,000 eligible requests, the error budget is 0.1%, or 1,000 failed requests.
Reference: Google SRE Workbook explanation of request-based SLOs and error budgets. See our calculation methodology.