VMHeaven

Free tool · runs in your browser

Uptime and SLA calculator

Turn an uptime percentage into allowed downtime per day, week, month and year, a downtime back into a percentage, and work out the availability of a setup.

Availability → allowed downtime

Common SLAs:

99.9% availability — 3 nines — allows this much downtime:

PeriodAllowed downtime
Day24 hours1 min 26.4 s
Week7 days10 min 4.8 s
Month30.44 days, the average month (365.25 ÷ 12)43 min 49.8 s
30-day month30 days, as many SLAs count a month43 min 12 s
Quarter91.31 days (365.25 ÷ 4)2 h 11 min 29.4 s
Year365.25 days, leap years averaged in8 h 45 min 57.6 s

Most SLAs measure per calendar month and leave out maintenance announced in advance, so the downtime a provider can have in a month is the allowance above plus its maintenance windows. Read how the contract defines “down” and what it pays back, not only the percentage.

Downtime → availability

In one

2 h of downtime in a 30-day month is ≈ 99.722222% availability — 2.6 nines.

Availability of a whole setup

The parts a request passes through one after the other are in series: the setup is up only when all of them are, so their availabilities multiply and the result is lower than the weakest part. Copies of a part in parallel — two web servers behind the load balancer — are down only when all copies are down at once.

  • In parallel

    ×1
  • In parallel

    ×2

    2 copies together: 99.9999%

  • In parallel

    ×1

The whole setup: 99.939905% — 3.2 nines

About 26 min 20.4 s of downtime a month and 5 h 16 min 4.5 s a year, if the parts fail independently.

A = 99.99% × (1 − (1 − 99.9%)^2) × 99.95%

SLA uptime table

The downtime each common availability level allows. The month is the average month of 30.44 days and the year has 365.25 days, so the columns add up; the calculator above also shows a 30-day month and a quarter.

AvailabilityNinesPer dayPer weekPer monthPer year
90%12 h 24 min16 h 48 min3 d 1 h 3 min36 d 12 h 36 min
95%1.31 h 12 min8 h 24 min1 d 12 h 31 min 30 s18 d 6 h 18 min
99%214 min 24 s1 h 40 min 48 s7 h 18 min 18 s3 d 15 h 39 min 36 s
99.5%2.37 min 12 s50 min 24 s3 h 39 min 9 s1 d 19 h 49 min 48 s
99.9%31 min 26.4 s10 min 4.8 s43 min 49.8 s8 h 45 min 57.6 s
99.95%3.343.2 s5 min 2.4 s21 min 54.9 s4 h 22 min 58.8 s
99.99%48.64 s1 min 0.5 s4 min 23 s52 min 35.8 s
99.999%5864 ms6.048 s26.298 s5 min 15.6 s

The formulas

Availability arithmetic
allowed downtime  = period × (1 − availability)
availability      = (period − downtime) ÷ period

in series         A = A1 × A2 × … × An
in parallel       A = 1 − (1 − A1) × (1 − A2) × … × (1 − An)

99.9 % of a 30-day month:  2,592,000 s × 0.001 = 2,592 s = 43 min 12 s

The calculator does this arithmetic exactly, in whole fractions of a second, and rounds only what it shows — a percentage to six decimals, a duration to a tenth of a second or a millisecond — so no rounding error from one step leaks into the next.

Series and parallel

A website that needs a load balancer, a web server and a database is in series: it is up only when all three are. Multiplying 99.99%, 99.9% and 99.95% gives 99.84% — lower than any part on its own, about 14 hours a year instead of the 8.8 hours of the weakest part. Redundancy works the other way: two web servers that can each carry the load are down only when both are, so 99.9% each becomes 1 − 0.001² = 99.9999% together, and the same setup with them reaches 99.94%.

Both rules assume that the parts fail independently. Two servers on the same host, the same power feed or the same network fail together, and count as one part in series, not two in parallel.

Reading an SLA

  • The period. Most SLAs measure per calendar month. 99.9% of February allows 40 min 19.2 s, of a 31-day month 44 min 38.4 s — the calculator’s average month sits in between.
  • Maintenance. Planned maintenance announced in advance is usually excluded, so the downtime you can see is the allowance plus the maintenance windows.
  • What counts as down. A full outage only, or slow and partial service too; measured by whom, and at what interval — a check every five minutes does not see a three-minute outage.
  • What you get back. Usually a credit on the next invoice, as a share of the monthly fee, and only on request within a deadline — not compensation for what the outage cost you.

On your own server, uptime shows how long it has run since the last reboot and journalctl --list-boots when it restarted — the numbers to set against an availability target.

Frequently asked

How much downtime does 99.9% uptime allow?

1 min 26.4 s a day, 10 min 4.8 s a week, 43 min 49.8 s in an average month of 30.44 days (43 min 12 s in a 30-day month), and 8 h 45 min 57.6 s in a year of 365.25 days — 8 h 45 min 36 s in a 365-day year. Which month the figure means is up to the contract, which is why the calculator shows both.

What does “five nines” mean?

99.999% availability: about 26.3 seconds of downtime a month and 5 min 15.6 s a year. Each extra nine cuts the allowance tenfold — three nines (99.9%) allow about 8.8 hours a year, four nines (99.99%) about 53 minutes, five nines about 5 minutes. A single server rarely gets past three nines on its own; the higher figures come from redundancy.

How do I work out availability from downtime?

Divide the time the service was up by the length of the period: availability = (period − downtime) ÷ period × 100. Two hours of downtime in a 30-day month (720 hours) is 718 ÷ 720 = 99.72%. Enter the downtime in the second part of the calculator and pick the period.

How do I calculate the availability of several servers?

Parts that a request passes through one after another are in series, and their availabilities multiply: a 99.99% load balancer, a 99.9% web server and a 99.95% database give 99.84%. Copies of a part in parallel are down only when all of them are, so their availability is 1 − (1 − A)ⁿ: two 99.9% web servers give 99.9999%, and the same setup with them reaches 99.94%. Both assume the parts fail independently — a shared power feed or network breaks that.

Does an SLA percentage include maintenance?

Usually not. Most SLAs leave out maintenance announced in advance and measure per calendar month, so the real downtime can be the allowance plus the maintenance windows. They also define what counts as down — a full outage or any degradation — how it is measured, and what you get back, usually a service credit rather than compensation. Compare those terms, not only the percentage.

Related guides

More free tools

All tools