Skip to content

Availability numbers

“Four nines” sounds like a quality badge, but it is a time budget: about 53 minutes a year, or 4 minutes 23 seconds a month, for every outage, failed deploy and slow failover combined. This page turns availability targets into downtime and shows how the availability of a whole system follows from its parts. The patterns that achieve it are covered in availability patterns.

Availability is the share of time, or of requests, in which a service works. The tables below use a 365.25-day year; a quarter and a month are a quarter and a twelfth of it.

AvailabilityPer yearPer quarterPer monthPer weekPer day
99% (two nines)3 d 15 h 40 min21 h 55 min7 h 18 min1 h 41 min14 min 24 s
99.5%1 d 19 h 50 min10 h 57 min3 h 39 min50 min 24 s7 min 12 s
99.9% (three nines)8 h 46 min2 h 11 min43 min 50 s10 min 5 s1 min 26 s
99.95%4 h 23 min1 h 6 min21 min 55 s5 min 2 s43 s
99.99% (four nines)52 min 36 s13 min 9 s4 min 23 s1 min8.6 s
99.999% (five nines)5 min 16 s1 min 19 s26 s6 s0.9 s
99.9999% (six nines)32 s8 s2.6 s0.6 s0.09 s

What each level means in practice:

  • 99.9% allows one 40-minute incident a month. A human can be paged, investigate and roll back within that budget. This is a common target for internal services and many SaaS products.
  • 99.99% allows about 4 minutes a month. By the time an on-call engineer has opened a laptop, the budget is gone. Detection, failover and rollback must be automatic, and deploys must be gradual.
  • 99.999% allows 26 seconds a month. It needs redundancy across failure domains, no single global dependency, and changes that can never take the whole service down at once. Few products need it; telecom and payment cores are the classic examples.

Two ways to count are in use. Time-based: the share of minutes in which the service was healthy. Request-based: successful requests divided by valid requests over a window. Request-based availability reflects what users actually saw and is the usual basis for an SLO. At 1 million requests a day, a 99.9% target allows about 30,000 failed requests a month.

The first panel converts any availability into a downtime budget. The second composes a system: give each component its availability and the number of redundant copies, and the calculator multiplies through, shows the formula with your numbers and points at the weakest link. Defaults: a load balancer, three app servers at 99.5% each and a database with a replica.

Downtime budget

PeriodAllowed downtime
Year8 h 45 min 58 s
Quarter2 h 11 min 29 s
Month43 min 50 s
Week10 min 5 s
Day1 min 26 s

Composite availability

Each request passes through every component in order (series). A component with N copies fails only if all copies fail at once (parallel). Failures are assumed independent.

    Total availability—
    Formula

    When a request has to pass through every component, all of them must be up at the same time. With independent failures, the probabilities multiply:

    A_total = A1 × A2 × … × An

    Three components at 99.9% give 0.999³ ≈ 99.7%, about 26 hours of downtime a year, which is three times worse than any one of them. Long chains of synchronous dependencies are the usual reason a system misses its target: thirty internal services at 99.9% each, all on the request path, give only about 97%.

    When any one of N copies can serve the request, the service fails only if all copies are down at once. Now the failure probabilities multiply:

    A_total = 1 − (1 − A)^N

    Two copies at 99.9% give 1 − 0.001² = 99.9999%. Each extra copy multiplies the unavailability by (1 − A), so redundancy is the cheapest way to add nines, as long as a copy can take over quickly and automatically.

    A load balancer at 99.99%, app servers at 99.5% each and a database at 99.9%:

    DesignCalculationAvailabilityDowntime per year
    One of each0.9999 × 0.995 × 0.99999.39%≈ 53 h
    Three app servers0.9999 × (1 − 0.005³) × 0.99999.89%≈ 9.6 h
    … plus a database replica0.9999 × (1 − 0.005³) × (1 − 0.001²)99.99%≈ 53 min
    … plus a second load balancer(1 − 0.0001²) × (1 − 0.005³) × (1 − 0.001²)99.9999%≈ 36 s

    The lesson is to find the weakest series link and make it redundant. Making a component that is already redundant even more redundant barely changes the total.

    • Independence is an assumption. Two replicas in one rack, behind one switch, running the same bad deploy or reading the same bad config fail together. Correlated failures are why real systems rarely reach the computed figure. Spread copies across zones, and roll changes out gradually.
    • Failover is not free. The parallel formula assumes the switch is instant. If promoting a replica takes 2 minutes and happens twice a month, that alone uses almost all of a four-nines monthly budget.
    • Quorums need more than one survivor. A cluster that needs 2 of 3 nodes is down when any two fail: with 99.9% nodes it reaches about 99.9997%, not the 99.9999999% that “any one of three” would suggest.
    • A dependency’s SLA is not your availability. If a managed database promises 99.95% and your code and deploys add their own failures, your service is below 99.95%. A common rule from Google SRE is that each critical dependency should be about ten times more reliable than the service built on it.

    Availability can also be estimated from how often things break and how long they take to fix:

    A = MTBF / (MTBF + MTTR)

    MTBF is the mean time between failures and MTTR the mean time to recovery. A component that fails once a month and takes 30 minutes to recover is about 99.93% available. Cutting recovery to 5 minutes, by automating detection and failover, raises it to 99.99% without making failures any rarer. That is why high-availability work focuses on fast detection and recovery: health checks, automatic failover, quick rollbacks and small blast radii.

    Extra nineWhat it costs
    99% → 99.9%Redundant instances, health checks, basic on-call
    99.9% → 99.99%Multi-zone deployment, automated failover, gradual rollouts, error budgets
    99.99% → 99.999%Multi-region or cell-based design, no global single points of failure, much more testing; often 10× the operational effort

    Every extra nine costs roughly an order of magnitude more effort. Choose the target from what users need and what downtime costs the business, not from the highest number that sounds good.

    • Availability patterns — failover, replication, SLOs and multi-zone design that achieve these numbers.
    • Resilience patterns — timeouts, retries and circuit breakers that stop one failure from spreading.
    • Observability — measuring availability and alerting on error budgets.
    • Latency numbers — the other set of numbers every design needs.

    Based on The System Design Primer by Donne Martin (CC BY 4.0). Restructured, rewritten and updated; site content is licensed under CC BY 4.0.