Service level agreements (SLAs) promise availability as a percentage: “three nines” (99.9%), “four nines” (99.99%) and so on. The percentages look almost identical, but the downtime they allow is very different: each extra nine cuts the permitted outage by a factor of ten. 99.9% allows about 8 hours 46 minutes a year; 99.99% only 52.6 minutes; 99.999% just over 5 minutes.
Enter the availability and the calculator shows the allowed downtime for each period, using a 365.25-day year and a month of one twelfth of a year (30.44 days). It also gives the uptime for a year and the equivalent number of nines. The second mode works backwards: enter how long a service was down during a period and get the availability you actually delivered, to check against your SLA.
Systems are built from parts. When a request must pass through several components in series (a load balancer, an application server and a database, say) the overall availability is the product of the parts, so three 99.9% services in a chain deliver only about 99.7%. Enter the number of components to see the effect.
How to use the Uptime and Downtime Calculator
- Calculate
- Availability (uptime)
- Measured downtime
- During
- Components in series: Requests that pass through several services in a chain.
Results update as you type, every field has its own unit menu, and everything is calculated in your browser.
How it works
Downtime per period is the unavailable fraction multiplied by the number of seconds in the period: 86,400 per day, 604,800 per week, 2,629,800 per average month, 7,889,400 per quarter and 31,557,600 per year. In reverse mode availability = 1 − downtime ÷ period.
Worked example
At 99.9% availability the unavailable fraction is 0.001. Per year that is 0.001 × 31,557,600 s = 31,558 s ≈ 8 h 46 min; per month 2,630 s ≈ 43 min 50 s; per day 86.4 s. Three such services in series give 0.999³ = 99.70% availability, about 26 h 16 min of downtime per year.
Availability table
| Availability | Per year | Per month | Per day |
|---|---|---|---|
| 99% | 3.65 days | 7 h 18 min | 14 min 24 s |
| 99.5% | 1.83 days | 3 h 39 min | 7 min 12 s |
| 99.9% | 8 h 46 min | 43 min 50 s | 1 min 26 s |
| 99.95% | 4 h 23 min | 21 min 55 s | 43 s |
| 99.99% | 52 min 36 s | 4 min 23 s | 8.6 s |
| 99.999% | 5 min 16 s | 26 s | 0.86 s |
Inputs explained
| Field | What to enter |
|---|---|
| Calculate | Choose one: Allowed downtime from availability, Availability from measured downtime |
| Availability (uptime) | In % |
| Measured downtime | Units: min, s, h, days |
| During | Choose one: One day, One week, One month (30.44 days), One quarter … |
| Components in series | A number. Requests that pass through several services in a chain. |
What each result means
- Availability achieved = [A]
- Downtime per year = (1 – [A]÷100)×31557600
- Downtime per quarter = (1 – [A]÷100)×7889400
- Downtime per month = (1 – [A]÷100)×2629800
- Downtime per week = (1 – [A]÷100)×604800
- Downtime per day = (1 – [A]÷100)×86400
- Uptime per year = [A]÷100×31557600÷86400
- System availability (components in series) = ([A]÷100)^[Components in series]×100
- System downtime per year = (1 – ([A]÷100)^[Components in series])×31557600
Formula
Downtime = (1 − availability) × period · Availability = 1 − downtime ÷ period · Nines = −log₁₀(1 − availability) · Series availability = Aⁿ
Worked example
Inputs: Calculate: Allowed downtime from availability; Availability (uptime): 99.9 %; Components in series: 1.
Results: Downtime per year = 8:45:58; Downtime per quarter = 2:11:29; Downtime per month = 43:50; Downtime per week = 10:05; Downtime per day = 1:26; Uptime per year = 364.885 days; Number of nines = 3; System availability (components in series) = 99.9 %; System downtime per year = 8:45:58.
Key terms
- Availability
- Share of time a service is working, usually in percent.
- SLA
- Service level agreement, the availability a provider promises.
- Nines
- Shorthand for availability: three nines = 99.9%.
- Series system
- Components that must all work for the service to work.
Frequently asked questions
What is "five nines"?
99.999% availability, about 5 minutes 16 seconds of downtime per year, or 26 seconds per month.
How much downtime does 99.9% allow?
8 h 45 min 58 s per year, 43 min 50 s per month and 1 min 26 s per day.
How much downtime does 99.99% allow?
52 min 36 s per year, 4 min 23 s per month.
Does planned maintenance count?
It depends on the SLA wording. Many agreements exclude announced maintenance windows.
How do I calculate availability from an outage?
Divide the downtime by the period and subtract from 1: 45 minutes in a 30.44-day month is 1 − 45 ÷ 43,830 = 99.897%.
What happens to availability with redundant components?
Parallel (redundant) parts improve it: 1 − (1 − A)². Two 99% servers in parallel give 99.99%.
Why do different calculators give slightly different months?
Some use 30 days; this one uses one twelfth of a 365.25-day year (30.44 days).