What is uptime? Availability, the nines, and SLA vs SLO vs SLI

99.9% uptime sounds perfect, but it still allows almost nine hours of downtime a year. Here is what uptime and availability mean, how the 'nines' translate into real minutes, and how SLIs, SLOs, SLAs and error budgets fit together.

A year drawn as a grid of small green squares, one per day. One square has a thin red sliver, and a magnifying glass enlarges it, labelled 8 hours 46 minutes: what 99.9 percent uptime still allows in a year.
Fig. 1 — Even 99.9% uptime leaves room for almost nine hours of downtime a year. The nines are about how small that red sliver is.

A shop that’s open every day except for one afternoon a year would proudly say “we’re almost always open”. For an online service, though, customers notice even a few minutes of downtime, especially if it happens during a sale, payday or an exam result announcement.

Uptime is how engineers measure “almost always open”, precisely. This guide explains what uptime and availability mean, what the famous “nines” really allow, and the terms SLI, SLO, SLA and error budget that teams use to manage it.

What is uptime?

Uptime is the time a system is working and available to users. Downtime is the time it isn’t. Availability is uptime written as a percentage:

Availability = uptime ÷ (uptime + downtime)

So if a service was down for 1 hour in a 30-day month (720 hours), its availability was 719 ÷ 720 ≈ 99.86%.

In practice, “available” needs a careful definition. Is a service “up” if the home page loads but checkout fails? If it answers, but takes 30 seconds? Good teams measure availability from the user’s point of view, for example “the share of checkout requests that succeeded within 2 seconds”.

The nines: what each level really allows

Availability is often described by counting nines: 99.9% is “three nines”, 99.99% is “four nines”. Each extra nine cuts allowed downtime by ten.

Availability Nickname Downtime per year Per month (30 days) Per day
99% two nines about 3.65 days about 7.2 hours about 14.4 minutes
99.9% three nines about 8.77 hours about 43.2 minutes about 1.4 minutes
99.95% three and a half about 4.38 hours about 21.6 minutes about 43 seconds
99.99% four nines about 52.6 minutes about 4.3 minutes about 8.6 seconds
99.999% five nines about 5.3 minutes about 26 seconds under 1 second

Look at the jump. At four nines, a single slow deployment or a five-minute database failover uses up most of a month’s allowance. At five nines, there’s no time for a person to even notice an alert, let alone fix the problem: everything must recover automatically.

Why each extra nine is so expensive

Two simple rules explain a lot.

Two diagrams. In series: a request passes through three parts in a row, each 99.9 percent available. The combined availability is 99.9 times 99.9 times 99.9, about 99.7 percent, lower than any single part. In parallel: two copies of a part, each 99 percent available, side by side, where either one can serve. The combined availability is 1 minus 0.01 times 0.01, which is 99.99 percent.
Parts in a row multiply their availability down. Redundant copies side by side multiply the chance of failure down.

Things in a row lower availability. If a request needs a load balancer, an app server and a database, and each is up 99.9% of the time, the whole path is up about 99.9% × 99.9% × 99.9% ≈ 99.7%. Every dependency you add in the path drags the total down.

Copies side by side raise it. If you have two independent copies of a server, each up 99% of the time, the service is down only when both are down at once: 1% × 1% = 0.01%. So the pair is up 99.99%. This is why failover and redundancy are the main tools for high availability. (Real copies are never perfectly independent; a shared power supply or a bad deploy can take both down, so the true number is lower.)

Getting another nine usually means more copies, in more places (zones, regions), with automatic failover, careful rollouts and lots of testing. That costs real money and engineering time. So the right question isn’t “how many nines can we get?” but “how many nines does this feature actually need?”

SLI, SLO and SLA

These three terms come from how teams agree on reliability.

  • SLI (service level indicator): the measurement. For example, “the percentage of API requests that return successfully in under 500 ms”.
  • SLO (service level objective): the internal target for that measurement. “99.9% of requests over each 30-day window.” The team plans and alerts around it.
  • SLA (service level agreement): a promise to customers, usually in a contract, with consequences such as refunds or service credits if it’s broken. “99.9% monthly uptime, or you get 10% back.”
What it is Who sees it Example
SLI A measurement The team Success rate of checkout requests
SLO A target for the SLI The team and the company 99.95% over 30 days
SLA A contract with penalties Customers 99.9%, or service credits

A sensible rule: set the SLA looser than the SLO. If you aim internally for 99.95% and promise customers 99.9%, a bad month can miss the target without breaking the contract.

Error budgets: using the downtime you’re allowed

If your SLO is 99.9% per month, you’re allowed about 43 minutes of failure each month. That allowance is called the error budget.

The idea, popularised by Google’s Site Reliability Engineering practice, is to treat it like a budget you can spend:

  • Plenty of budget left? Ship features faster, try risky changes, run experiments.
  • Budget nearly used up? Slow down, focus on reliability work, freeze risky releases until it recovers.

This turns endless “speed vs stability” arguments into a shared number that product and engineering both understand.

Common misconceptions

“99% uptime is good.” It allows over three and a half days of downtime a year. For most online services, that would feel broken.

“Uptime means the server is running.” A server can be running while users get errors. Measure availability from what users experience.

“Adding more services makes us more reliable.” Each service in the request path is another thing that can fail. Without redundancy, more parts in a row means lower availability.

Key takeaways

  • Availability = uptime ÷ total time, written as a percentage.
  • Each extra nine cuts allowed downtime by ten: 99.9% ≈ 8.8 hours a year, 99.99% ≈ 53 minutes.
  • Parts in a row multiply availability down; redundant copies push it up.
  • SLI is the measurement, SLO the internal target, SLA the customer promise with penalties.
  • The error budget is the downtime your SLO allows. Spend it on shipping, and slow down when it runs out.

Frequently asked questions

What does 99.9% uptime mean?

It means the service is available 99.9% of the time. That still allows about 8.8 hours of downtime per year, or about 43 minutes per 30-day month.

What is the difference between uptime and availability?

Uptime is the amount of time a system is working. Availability is usually that uptime expressed as a percentage of total time, often measured from the user’s point of view as the share of successful requests.

What is the difference between SLA, SLO and SLI?

An SLI is a measurement, like the success rate of requests. An SLO is the internal target for that measurement. An SLA is a formal promise to customers, with penalties such as refunds if it’s broken.

What is an error budget?

The error budget is the amount of failure your SLO allows, such as 43 minutes per month at 99.9%. Teams use it to decide when to ship quickly and when to focus on reliability.

How do you increase availability?

Remove single points of failure, run redundant copies across zones or regions, fail over automatically, roll out changes gradually, and keep the number of required dependencies in the request path small.

Comments

LEAVE A COMMENT
No sign-up. Comments appear after a quick review.