Calculate SLA uptime percentages and error budgets. Convert between nines of availability and allowed downtime.
Service Level Agreements (SLAs) and Service Level Objectives (SLOs) define the expected reliability and performance of services in quantitative terms. An SLA is a contractual commitment (with financial penalties for breaches), while an SLO is an internal target that teams use to balance reliability investment against feature development.
Understanding the mathematics behind availability percentages, error budgets, and downtime calculations is essential for platform engineering, DevOps, SRE (Site Reliability Engineering), and service management.
| Availability | Annual Downtime | Monthly Downtime | Called |
|---|---|---|---|
| 99% | 3.65 days | 7.3 hours | "Two nines" |
| 99.9% | 8.77 hours | 43.8 minutes | "Three nines" |
| 99.95% | 4.38 hours | 21.9 minutes | Common SaaS SLA |
| 99.99% | 52.6 minutes | 4.38 minutes | "Four nines" |
| 99.999% | 5.26 minutes | 26.3 seconds | "Five nines" |
Error budget is the inverse of SLO — the amount of unreliability your service can tolerate before violating its objective:
Error Budget = 1 - SLO
With a 99.9% SLO, your error budget is 0.1% — approximately 43 minutes of downtime per month. When the error budget is consumed, teams should freeze deployments and focus on reliability.
| Metric | Definition | Example Target |
|---|---|---|
| Availability | Percentage of time the service is operational | 99.95% |
| Latency (p50) | Median response time | < 100ms |
| Latency (p99) | 99th percentile response time | < 500ms |
| Error rate | Percentage of requests that fail | < 0.1% |
| Throughput | Requests processed per second | > 10,000 rps |
SLA (Service Level Agreement) is a contract with customers. SLO (Service Level Objective) is an internal target for service reliability. SLI (Service Level Indicator) is the actual measured metric like uptime or latency. SLIs inform whether you are meeting SLOs, which determine SLA compliance.