SRE SLA Uptime, Error Budget & Composite Availability Calculator
Interactive SLA Uptime, Downtime & SRE Error Budget Calculator
?
Availability target of one component, as a percent (99.0 to 99.999). Enter the internal SLO you set or the SLA figure in the contract; the arithmetic is the same for both.?
Components that must all be up for one request (1 to 15). Count synchronous calls in the request path, not background jobs.?
Independent replicas in active-active redundancy (1 to 6). Replicas that share a failure domain do not count as independent.?
Mean time to recovery in minutes (2 to 240, step 2): detection, acknowledgement and rollback, averaged over recent incidents.Use the SLA Uptime, Downtime & SRE Error Budget Calculator to evaluate A_chain = (1 − (1 − A)^N_p)^N_s | A_serial = A^N_s | T_down = T_period · (1 − A) for enterprise SaaS SLA contracts, multi-region active-active cloud architectures. With the defaults (Target Component Availability = 99.95%, Critical Serial Dependencies = 3, Redundant Parallel Nodes = 2) it returns Component budget (30-DAY MONTH): 21.6 minutes / month component budget. Change any input and the results update from the same equation.
Governing equationA_chain = (1 − (1 − A)^N_p)^N_s | A_serial = A^N_s | T_down = T_period · (1 − A) (Error budget = 1 − SLO (Google SRE Book, Service Level Objectives))
Why Serial Dependencies Pull a Composite SLA Below Each Component
A service level objective is a target for a service level indicator (sre.google/sre-book/service-level-objectives/). The error budget is the unreliability the target allows: 1 minus the target, applied to a period (sre.google/sre-book/embracing-risk/). Over a 30-day month of 43,200 minutes and a 365.25-day year of 525,960 minutes, 99.9% allows 43.2 minutes a month and 8.77 hours a year, 99.95% allows 21.6 minutes and 4.38 hours, 99.99% allows 4.32 minutes a month and 52.6 minutes a year, and 99.999% allows 0.432 minutes (25.9 seconds) a month.
When a request needs N components in series, availability multiplies: A_serial = A^N. Five components at 99.9% give 0.999^5 = 99.501%. The 0.499% failure share is about 215.6 minutes a month, or 3.59 hours (43.7 hours a year), roughly five times the 43.2-minute budget of a single 99.9% component. The calculator reports this chain of single instances as the serial figure, without replicas.
| SLA Tier (%) | Common Name | Monthly Downtime | Annual Downtime (Min) | Annual Downtime (Hours) | 3x Serial Chain SLA (no replicas) |
|---|---|---|---|---|---|
| 99.0% | Two Nines | 432.00 min | 5259.6 min | 87.66 h | 97.0299% |
| 99.5% | Two-and-a-Half Nines | 216.00 min | 2629.8 min | 43.83 h | 98.5075% |
| 99.9% | Three Nines | 43.20 min | 526.0 min | 8.77 h | 99.7003% |
| 99.95% | Three-and-a-Half Nines | 21.60 min | 263.0 min | 4.38 h | 99.8501% |
| 99.99% | Four Nines | 4.32 min | 52.6 min | 0.88 h | 99.9700% |
| 99.999% | Five Nines | 0.43 min | 5.3 min | 0.09 h | 99.9970% |
How to Evaluate Parallel Replicas, MTTR and the Incident Budget?
Parallel replicas work the other way. If each of N_p independent replicas has availability A, the group fails only when all of them fail: A_parallel = 1 - (1 - A)^N_p. Two replicas at 99.95% give 1 - 0.0005^2 = 99.999975%. The result assumes independent failures, so shared networks, shared deploys and shared dependencies make the real figure lower. Treat the parallel number as a ceiling, not a promise. When every hop of the chain has N_p replicas, the composite chain is A_chain = (1 - (1 - A)^N_p)^N_s. The default 99.95% with 3 hops and 2 replicas per hop gives (1 - 0.0005^2)^3 = 99.999925%, about 0.39 minutes of downtime a year. A payment chain of 4 hops at 99.9% with 2 replicas gives 99.9996%, about 2.1 minutes a year, against 99.6006% for the same four hops without replicas.
The mean time to recovery sets how many incidents the budget absorbs: maximum incidents per year = annual downtime / MTTR. The default checkout target of 99.95% allows 262.98 minutes a year, so an 18-minute MTTR absorbs 262.98 / 18 = 14.6 incidents, which is the figure the calculator reports. A single 35-minute incident would use 13.3% of that year's budget. That count is the budget of ONE component, labelled as such on the card: replicas absorb single-node outages, so the chain as a whole is allowed far fewer chain-wide outages. At the default the chain loses about 0.39 minutes a year, so an 18-minute outage that takes down every replica at once would fit about 0.02 times a year. When the composite chain falls below the component target, the budget is already spent and the card shows 0 incidents with the note Composite below SLA. With 3 hops and a single replica the composite is 99.8501%, below 99.95%, and the chain loses about 788.5 minutes a year.
| Component Count (N) | Serial Chain SLA (%, no replicas) | Serial Annual Downtime | One Component, N Parallel Replicas |
|---|---|---|---|
| 1 Component | 99.9500% | 263.0 min/yr | 99.95% |
| 2 Components | 99.9000% | 525.8 min/yr | 99.999975% |
| 3 Components | 99.8501% | 788.5 min/yr | ≈ 100% (rounded; assumes independent failures) |
| 4 Components | 99.8001% | 1051.1 min/yr | ≈ 100% (rounded; assumes independent failures) |
| 5 Components | 99.7502% | 1313.6 min/yr | ≈ 100% (rounded; assumes independent failures) |
| 8 Components | 99.6007% | 2100.2 min/yr | ≈ 100% (rounded; assumes independent failures) |
Worked Examples: Two Presets Calculated with A_chain = (1 − (1 − A)^N_p)^N_s | A_serial = A^N_s | T_down = T_period · (1 − A)
Worked Example 1 (Premium SLA, 99.99%, 5 serial hops, 2 replicas, 12 min MTTR): This preset sets Target Component Availability = 99.99%, Critical Serial Dependencies = 5, Redundant Parallel Nodes = 2, Mean Time To Recovery MTTR = 12 Minutes. Evaluating A_chain = (1 − (1 − A)^N_p)^N_s | A_serial = A^N_s | T_down = T_period · (1 − A) gives: monthly component budget = 4.32 min, annual component budget = 52.6 min, annual component budget in hours = 0.88 h, serial chain availability = 99.95 %, parallel tier availability = 99.999999 %, chain availability with replicas = 99.999995 %, annual chain downtime = 0.026 min, outages per year within budget = 4.4, chain verdict = composite meets the component SLA. Related in the Cloud, API, LLM & Automation Hub: Kubernetes Node Allocatable & Pod Packing Calculator (N+1 nodes raise availability) and Redis & Valkey Memory Sizing & Overhead Calculator (replicas raise availability).
Worked Example 2 (Payment chain, 99.9%, 4 serial hops, 2 replicas, 30 min MTTR): This preset sets Target Component Availability = 99.9%, Critical Serial Dependencies = 4, Redundant Parallel Nodes = 2, Mean Time To Recovery MTTR = 30 Minutes. The calculator returns: monthly component budget = 43.2 min, annual component budget = 526.0 min, annual component budget in hours = 8.77 h, serial chain availability = 99.6006 %, parallel tier availability = 99.9999 %, chain availability with replicas = 99.9996 %, annual chain downtime = 2.104 min, outages per year within budget = 17.5, chain verdict = composite meets the component SLA. You can compare these limits with other calculators in the Engineering Studio.
How to Evaluate Error Budget Policy, Not Just a Number?
The Google SRE workbook describes error budget policies, such as stopping feature launches until the service is back within SLO (sre.google/workbook/implementing-slos/). The calculator reports the budget and the composite figures. It does not set a policy, and it does not model detection time beyond the MTTR input.
Sources
- Google SRE Book · Embracing RiskAvailability is defined as uptime or request success rate, and the error budget is the gap between the SLO and measured performance; a 99.999% SLO allows a 0.001% failure rate. Basis of the error budget definition (1 minus the target) only. The serial, parallel and composite-chain formulas are a probability model that assumes independent failures. They are not taken from this page.
- Google SRE Book · Service Level ObjectivesAn SLO is a target value or range of values for a service level, measured by an SLI. Basis of the definition of the target used by the calculator.
- Google SRE Workbook · Implementing SLOsDescribes error budget policies, such as stopping feature launches until the service is back within SLO. Basis of the policy note. The calculator reports the budget and does not set a policy.
Method and test suite: Calculation Methodology.
Frequently Asked Questions: SLA Uptime, Downtime & SRE Error Budget Calculator
Why does the card allow 14.6 incidents a year when the chain loses only 0.39 minutes?
The two figures answer different questions. 14.6 is how many 18-minute outages fit in the budget of one component at 99.95% (262.98 / 18). With 2 replicas per hop a single-node outage does not take the chain down, so the chain loses only 0.39 minutes a year, and an 18-minute outage of every replica at once would fit about 0.02 times a year (0.39 / 18). The component-level incident budget is not a count of chain-wide outages.
Why can a human on-call team not hold 99.99%?
At 99.99% the monthly budget is 4.32 minutes, and the whole sequence of detection, acknowledgement and rollback has to fit inside it. That is why automated detection and failover are the usual answer. The calculator shows the budget but does not model response times beyond the MTTR input.
How do I stop a serial chain from lowering the SLA?
Take synchronous hard dependencies out of the request path. Queue work the user does not wait for, and serve cached data when a non-critical dependency is down. Each serial component removed moves A^N in the favourable direction.
Is the parallel figure reliable?
Only when the replicas share no failure domain. Separate zones or regions remove some shared causes, but a bad deploy that reaches every replica does not, and it breaks the independence the formula assumes.
Should the internal target be stricter than the contract?
The error budget is the tool for that gap. Set the internal target so that the budget starts to burn before the contract is at risk, and use the calculator to see how many minutes that buffer holds.