Uptime maths for developers: what 99.9% allows, and why your chain of services is worse
An uptime percentage is a downtime budget written in a way that sounds reassuring. "Three nines" feels close to perfect until you convert it into minutes and then remember that your app depends on several services, each
An uptime percentage is a downtime budget written in a way that sounds reassuring. "Three nines" feels close to perfect until you convert it into minutes and then remember that your app depends on several services, each with its own nines. This post does the arithmetic for single services, chains and redundant pairs, with a short Python script, then covers the SLA fine print that decides what any of it is worth.
The downtime budget table
The figures below use a 30-day month (43,200 minutes) and a 365-day year (525,600 minutes). Calendar months vary, so a 31-day month gives slightly more room; check which length an SLA uses.
| Availability | Downtime per 30-day month | Downtime per 365-day year |
|---|---|---|
| 99% | 7 h 12 min | 3 days 15 h 36 min |
| 99.5% | 3 h 36 min | 1 day 19 h 48 min |
| 99.9% | 43 min 12 s | 8 h 45 min 36 s |
| 99.95% | 21 min 36 s | 4 h 22 min 48 s |
| 99.99% | 4 min 19.2 s | 52 min 33.6 s |
| 99.999% | 25.92 s | 5 min 15.36 s |
Each extra nine divides the budget by ten. The jump that matters most in practice is from 99.9% to 99.99%. Forty-three minutes is enough for someone to get an alert, log in, read the logs and restart a process. Four minutes is not: at that level the fix has to be automatic, which means redundant instances and failover rather than a single well-run server. The Google SRE book's availability table lists the same budgets for other periods too. For a longer walk through these numbers, including per-week and per-day figures, see this explainer on what 99.9% uptime means.
Serial dependencies: multiply
A typical web app does not depend on one thing. A request might pass through DNS, a CDN, your application server, a database and a third-party payment or email API. If any one of them is down, the user sees an error. For components in series, the combined availability is the product of the individual ones:
A_total = A1 × A2 × ... × An
Take a modest stack: a CDN at 99.95%, an app server at 99.9%, a managed database at 99.9% and a payment API at 99.95%. Multiplied together, they give about 99.70%, which is roughly 129 minutes of expected downtime in a 30-day month, or a little over 26 hours a year. That is three times the budget of the weakest single component.
Two caveats keep this honest. First, the multiplication assumes failures are independent, which is rarely exactly true (a regional network problem can take out several services at once). Second, it assumes every component is on the critical path. If a failed email API only delays a confirmation message rather than breaking checkout, it does not belong in the product for checkout availability. Drawing the real request path is half the work.
Parallel redundancy: 1 − (1 − a)^n
Redundancy works the other way. If you run n independent replicas, each with availability a, and any one of them can serve the request, the chance that all of them are down at once is (1 − a)^n. So:
A_parallel = 1 − (1 − a)^n
Two independent 99.9% nodes give 1 − 0.001² = 0.999999, or 99.9999% on paper. That figure is optimistic for three reasons:
- Something has to do the failover. A load balancer, floating IP or DNS health check sits in series with the pair. Put a 99.99% load balancer in front and the total drops to about 99.99%.
- Failures correlate. Two VMs on the same host, the same rack or the same deploy pipeline can fail together. A bad release pushed to both replicas defeats the formula entirely.
- Failover is not instant. Health checks need a few failed probes before they act, and that detection time counts as downtime.
The useful lesson is not the big number but the shape: redundancy at the weakest serial link buys far more than polishing a component that is already reliable.
A small script to check your own stack
from math import prod
MONTH_MIN = 30 * 24 * 60 # 43,200 minutes
YEAR_MIN = 365 * 24 * 60 # 525,600 minutes
def serial(*avails):
"""All components must be up: multiply."""
return prod(avails)
def parallel(a, n):
"""n independent replicas, any one is enough."""
return 1 - (1 - a) ** n
def budget(a):
down = 1 - a
return down * MONTH_MIN, down * YEAR_MIN
chain = serial(0.9995, 0.999, 0.999, 0.9995)
m, y = budget(chain)
print(f"chain: {chain:.4%}, {m:.0f} min/month, {y / 60:.1f} h/year")
pair = parallel(0.999, 2)
print(f"two 99.9% nodes: {pair:.4%}")
print(f"with a 99.99% load balancer: {serial(pair, 0.9999):.4%}")
It needs Python 3.8 or later for math.prod. Running it prints:
chain: 99.7003%, 129 min/month, 26.3 h/year
two 99.9% nodes: 99.9999%
with a 99.99% load balancer: 99.9899%
Swap in your own figures. If you only have one number for a vendor, use its SLA target as an upper bound, not an estimate.
The SLA fine print that changes the maths
An SLA percentage is only as meaningful as its definitions. Before you plug a vendor's number into the script, read for these:
- Scheduled maintenance exclusions. Many SLAs exclude announced maintenance from the calculation. If a provider may exclude several hours of maintenance a month, that window can be far larger than the 43-minute budget the headline promises. Look for how much notice is given, what time of day the window falls in and whether there is a monthly cap.
- How "down" is defined. Some providers count only total unreachability, not slow responses or partial errors. Others require several consecutive failed checks from more than one location before an incident starts, so very short blips never count.
- Measurement period. Monthly measurement resets the budget every month; a bad week is diluted by three good ones.
- Credits, not compensation. The remedy is almost always a percentage of the monthly fee for the affected service, credited to a future invoice, capped at the fee and only if you claim within a deadline. It will not cover lost sales, so treat the SLA as a signal of how seriously a provider takes availability rather than as insurance.
- Infrastructure tier is not an SLA. A data centre's Tier III rating describes concurrently maintainable power and cooling, not an uptime promise. This guide to Tier III data centres explains why the old 99.982% figure is not a guarantee, and Uptime Institute's own Tier Classification System page sets out the levels.
Measure it yourself, from more than one place
Do not rely only on your provider's status page. Set up external HTTP checks against a real endpoint (one that touches the database, not just a static file) from at least two or three regions, and alert only when more than one region agrees. A single probe location will page you for its own network problems, and a check every five minutes cannot see a two-minute outage at all, so pick an interval that matches the budget you care about.
Latency is worth logging alongside up/down status. A server that answers in 3 seconds is technically up and practically broken. A quick way to see the baseline network cost from your location is a browser-based round-trip latency test to a Mumbai server, or curl -w with time_connect and time_starttransfer from a terminal.
Finally, keep your own monitoring logs. If you ever need to claim an SLA credit, timestamped evidence from independent locations is what makes the claim straightforward.
How Bigdomainhost fits
For transparency: Bigdomainhost is an Indian hosting company that started trading in September 2026, with servers in third-party Tier III facilities in Mumbai and Delhi NCR. Its uptime SLA and credit schedule publishes the definitions discussed above: a 99.9% network and power commitment measured monthly from external monitoring nodes, an outage counted after three consecutive failed checks 60 seconds apart from at least two locations, and scheduled maintenance capped at 4 hours a month in a 00:00 to 05:00 IST window with 48 hours' notice. Whichever provider you use, run the same numbers against its SLA.
Drafted with AI help.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.