What Is Availability? The Nines Explained
Overview
Availability is how often your system is up and working when users need it. Companies describe it with a percentage such as "99.9%", often called "three nines".
This lesson shows how to turn those percentages into real minutes of downtime, so the numbers stop being abstract.
Detailed Notes
What is availability
Availability is the share of time a system works properly:
Availability = Uptime / (Uptime + Downtime)
"Working" means users can finish what they came to do, correctly and in reasonable time. A page that loads but only shows errors, or answers after a minute, counts as down.
Do not confuse it with nearby ideas:
- Reliability: does it keep working correctly over time with few failures?
- Durability: is stored data kept safe and never lost?
A system can be up but have lost yesterday's data (available, not durable), or hold safe data while the site is down (durable, not available).
The problem it solves
"The site is almost always up" means different things to different people. A percentage target gives everyone, from engineers to customers, one precise number. A promise to customers is called an SLA (service level agreement). An internal goal is called an SLO (service level objective).
How it works: the nines
The "nines" are just the count of nines in the percentage. To find the allowed downtime:
allowed downtime = (1 - availability) x time period
For 99.9% over a year: 0.001 x 525,600 minutes is about 526 minutes, roughly 8.8 hours.
| Availability | Name | Downtime per year | Per month (30 days) |
|---|---|---|---|
| 99% | two nines | 3.65 days | 7.2 hours |
| 99.9% | three nines | 8.77 hours | 43.2 minutes |
| 99.99% | four nines | 52.6 minutes | 4.3 minutes |
| 99.999% | five nines | 5.26 minutes | 26 seconds |
An easy way to remember it: each extra nine cuts the downtime to one tenth.
Each extra nine also costs much more. Going from 99% to 99.9% may only need a standby server. Four nines needs automatic recovery with no human involved, because nobody can even log in and fix things within 4 minutes a month. So pick the number your business really needs, not the biggest number.
The allowed downtime is also called an error budget. If your target is 99.9%, you have about 43 minutes a month to "spend" on failures and risky changes. When the budget is used up, teams slow down releases and focus on stability.
A simple example
Think of a shop's opening hours. "Open 99% of the time" sounds great, but over a year that is more than 3 days with the doors locked. If the shop sells emergency medicine, that is not good enough. If it sells garden gnomes, it is probably fine. The right target depends on what a closed door costs.
System design example
A payments company promises merchants 99.99%, which allows 52.6 minutes of downtime per year. One lunchtime its single database server crashes and the site is down for 50 minutes. That one incident ate almost the whole year's budget in January.
Good design starts by deciding:
- Which user journeys matter most (for example checkout).
- What counts as "up" (success rate and response time).
- Which target fits the business value.
- How many minutes of downtime that allows.
Also remember graceful degradation: when a part fails, keep the core working. If the recommendation service is down, show popular items from the cache instead of breaking the whole page.
Summary
- Availability = uptime divided by total time, usually written in "nines".
- Allowed downtime = (1 - availability) x time. Each extra nine means 10 times less downtime.
- More nines cost much more, so choose the target your users and business need.
- The allowed downtime is your error budget; keep core features working when parts fail.
Architecture Diagram
Each extra nine leaves one tenth of the downtime allowance.
- 1Pick a target that matches business value.
- 2Convert it to minutes of allowed downtime.
- 3Design and monitor so the budget is not exceeded.
Common Interview Questions
Finished this lesson?
0 of 91 lessons done · 0% of the course

