Calculator

Availability and Downtime Calculator

Convert an availability percentage into allowed downtime per year, month, week and day, including redundancy and serial dependencies.

Inputs

Any one replica can serve a request.

Components a request must pass through, all of which must be up.

Results

System availability

99.9%

Downtime per year
8 h 45 min 36 s
Downtime per month
43 min 12 s
Downtime per week
10 min 4.8 s
Downtime per day
1 min 26.4 s
Number of nines
3

How it works

An availability target is easier to reason about as time. 99.9% sounds close to perfect, yet it allows almost nine hours of downtime a year; 99.99% allows under an hour. That remaining time is the error budget: what deployments, incidents and maintenance may spend.

Systems are chains of components. When a request needs every component in a chain (load balancer, application, database), their availabilities multiply, so the system is always less available than its weakest part: three components at 99.9% give about 99.7%. Redundancy works the other way. If any one of several independent replicas can serve a request, the system is down only when all of them are down at once, so unavailabilities multiply and shrink quickly.

Use the three inputs to model a simple tier: the availability of one instance, how many redundant instances each tier has, and how many tiers a request passes through. The result shows why redundancy at every tier matters more than making one component very reliable.

Formula

  1. A = component availability ÷ 100
  2. tier availability = 1 − (1 − A)^replicas
  3. system availability = tier availability^tiers
  4. downtime per period = (1 − system availability) × period length
  5. nines = −log10(1 − system availability)

Inputs

Every input with its unit, allowed range and default.
InputUnitRangeDefault
Availability of one component%0 – 10099.9
Redundant replicas per tierAny one replica can serve a request.replicas1 – 101
Tiers in seriesComponents a request must pass through, all of which must be up.tiers1 – 201

Assumptions

  • A year is 365 days, a month 30 days, a week 7 days.
  • Replicas fail independently and failover is instant. Shared causes (one region, one bad deployment, one configuration error) break that assumption and dominate real outages.
  • Every tier has the same component availability and replica count.
  • Availability is measured as time up versus time down. Request-based SLIs (successful requests ÷ all requests) behave similarly but weight busy hours more.

Worked example

A request passes through three tiers (load balancer, application, database). Each instance is 99.9% available, and every tier runs two redundant instances.

Inputs
Availability of one component99.9 %
Redundant replicas per tier2 replicas
Tiers in series3 tiers
Results
System availability99.9997%
Downtime per year1 min 34.6 s
Downtime per month7.8 s
Downtime per week1.8 s
Downtime per day259.2 ms
Number of nines5.52

One instance per tier would give about 99.7% and 26 hours of downtime a year. With two independent instances per tier, the system reaches 99.9997%, about a minute and a half a year. Real systems land between the two, because failures are rarely fully independent.

Load this example into the calculator