Tools / SLA / Uptime Calculator

SLA / Uptime Calculator.

Turn an SLA percentage into allowed downtime, downtime into uptime, or combine component SLAs.

Runs in your browser

Used in uptime-to-downtime mode.

Used in downtime-to-uptime mode. Accepts 1d 2h 30m 15s, 1.5h, 90s or 01:30:00.

Used in composite mode. One percentage per line; an optional label before a colon is ignored.

Ctrl/⌘ + Enter to run · Ctrl/⌘ + Shift + C to copy the result

Result
Summary
Allowed downtime per period

About SLA / Uptime Calculator

The SLA / Uptime Calculator translates availability percentages into time you can actually plan around. Enter an SLA such as 99.95% and you get the allowed downtime for a day, a week, a month, a quarter and a year: 99.95% leaves 43.2 seconds a day, about 21 minutes 55 seconds a month and 4 hours 23 minutes a year. The reverse mode takes measured downtime, for example "4h 22m" in one month, and tells you the uptime you really delivered (99.40% in that case) together with the number of nines. Composite mode combines several components. In a serial chain, such as a load balancer in front of an API in front of a database, every part must be up, so the availabilities multiply and three services at 99.95%, 99.99% and 99.9% give only 99.84% end to end. Parallel components, such as two independent regions behind failover, are down only when all of them fail at once, which pushes availability up. The calculator uses a 365.25-day year and a month of 30.44 days, the convention most cloud providers use in their SLA terms; a 30-day month gives slightly smaller budgets. A common mistake is to treat 99.9% and 99.99% as close: the second allows ten times less downtime, 4.4 minutes a month instead of 44. Another is to promise customers the same SLA as your cloud provider while running several dependent services on top of it. Everything is computed in your browser.

How to Use

  1. Pick a mode, then enter an SLA percentage, a measured downtime with its period, or one component SLA per line.
  2. Read the allowed downtime for each period in the table and the uptime and number of nines in the summary.
  3. Copy the table into your SLO document or incident report.

Frequently Asked Questions

How long is a month in this calculator?

A month is one twelfth of a 365.25-day year, which is 30.44 days or 2,629,800 seconds. A quarter is a quarter of that year and a day is 86,400 seconds.

How is a composite SLA calculated?

For serial components the availabilities are multiplied, because the system is up only when every part is up. For parallel components the probabilities of being down are multiplied and the result is subtracted from one. Both assume failures are independent.

What does "number of nines" mean?

It is -log10(1 - availability). 99.9% is three nines, 99.99% is four, and 99.95% is about 3.3.

Is anything sent to a server?

No. The calculation runs in your browser and the page makes no network requests while you use it.

Related Tools