Uptime and SLA calculator

Type an uptime or SLA percentage and I show you the downtime it allows per day, week, month and year. Or go the other way: enter the downtime you measured and get the uptime you actually delivered, in nines. Everything runs in your browser, and every result has a shareable link.

Allowed per day
1m 26s
Per week
10m 5s
Per month
43m 12s
Per year
8h 45m 36s
Standard SLA tiers (downtime per year)
99%3d 15h 36m
99.5%1d 19h 48m
99.9% · closest to yours8h 45m 36s
99.95%4h 22m 48s
99.99%52m 34s
99.999%5m 15s
Methodology

Allowed downtime = period × (1 − uptime ÷ 100). Periods use the conventional SLA reference of a 30-day month and a 365-day year, so the monthly and yearly figures are independent (they don't sum). "Nines" counts the leading nines of the uptime percentage.

How to read the result

The monthly and yearly figures are the two that matter for an SLA. Most contracts measure availability over a calendar month, so the monthly number is the budget that can be spent before service credits kick in. The yearly number is the one people quote, and it sounds bigger than it is.

The two figures are independent. I use the standard SLA convention of a 30-day month and a 365-day year, so twelve monthly budgets add up to slightly less than the yearly one. That is not a rounding error: it is how SLA tables are written.

In reverse mode the nines count is a floor, not a rounding. 99.89% is two nines, not three: three nines starts at 99.9%.

Three numbers worth knowing

  • 99.9% (three nines) allows 43m 12s of downtime a month and 8h 45m 36s a year. One bad deploy that takes an hour to roll back blows through the monthly budget on its own.
  • 99.99% (four nines) allows 4m 19s a month. A monitor that checks every 5 minutes cannot even see an outage that small: the whole monthly budget fits between two checks.
  • 45 minutes of downtime in a 30-day month is 99.896% uptime: two nines, not three. It is the default in reverse mode, and it surprises most people who try it.

Uptime vs SLA: the number in the contract is not the number you measure

An SLA is a promise with a penalty attached: if the provider misses it, you get service credits. The uptime you measure is what actually happened. The two drift apart for three reasons: the SLA excludes the scheduled maintenance the contract carves out, it is measured from the provider's own vantage point rather than from where your users are, and it covers one component, not the whole chain.

That last one is the expensive one. If your site depends on a host at 99.9% and a database at 99.9%, and either going down takes you down, the best you can promise is 99.8%: about 1h 26m a month, double what either SLA allows. Multiply the availabilities of everything in series before you sign an SLA of your own, and do not reach for 100%: why 99.99% beats 100% uptime is the long version.

To see what those minutes cost in revenue, run them through the downtime cost calculator; to turn an SLO into an error budget and a burn rate, use the SLO and error budget calculator.

Frequently asked

What does "three nines" of uptime mean?

Each nine is a level of the uptime percentage: 99% is "two nines", 99.9% is "three nines", 99.99% is "four nines". Every extra nine cuts the allowed downtime by 10×. Three nines (99.9%) allows about 8 hours 45 minutes of downtime per year; four nines allows about 52 minutes.

How much downtime does a 99.9% SLA allow?

43 minutes 12 seconds per 30-day month, or 8 hours 45 minutes 36 seconds per 365-day year. At 99.95% the figures halve: 21 minutes 36 seconds a month, 4 hours 22 minutes 48 seconds a year.

How do I calculate an uptime percentage?

Uptime % = (1 − downtime ÷ period) × 100, with downtime and period in the same unit. 45 minutes in a 30-day month (43,200 minutes) gives (1 − 45 ÷ 43,200) × 100 = 99.896%. Switch the calculator to "Downtime → uptime %" and it does this for you.

Is the math exact?

Yes. It is plain arithmetic on the length of the period, with no estimates. The only convention is the length of a month: I use 30 days, like most SLA tables. A 31-day month allows 3.3% more downtime at the same percentage.

Do I need a SonarOps account to use it?

No. The calculator is free, runs entirely in your browser and needs no sign-up. The "Copy link to results" button gives you a pre-filled link to share with your team.

5 monitors free, no time limit

Checks every 5 minutes, email alerts and a public status page, at €0 and with no card. From Starter: checks every minute, early SSL alerts and broken link scanning.

Not ready yet? Join the newsletter: I’ll write to you with SonarOps news, and I’ll also send you a personal code for 20% off your first year, valid until November 28.