How to calculate uptime and SLA
Uptime is the percentage of time a service was available: available time divided by total time, times one hundred. An SLA is a promise of minimum uptime, for example 99.9% a month, which allows about 43 minutes of downtime in a 30-day month.
Published · ganyant
How many minutes does each percentage allow?
In a 30-day month: 99% allows 7 h 12 min of downtime; 99.5%, 3 h 36 min; 99.9%, 43 min; 99.95%, 21 min 36 s; and 99.99%, 4 min 19 s.
In a year: 99% is about 3.65 days; 99.9%, about 8 h 46 min; and 99.99%, about 53 minutes.
How is it calculated?
Uptime = (total minutes − minutes down) ÷ total minutes × 100. If you were down 30 minutes in a 43,200-minute month, your uptime was (43,200 − 30) ÷ 43,200 × 100 = 99.93%.
What counts as downtime?
Agree on it in writing: usually it’s the time the service doesn’t answer or answers with an error, and maintenance announced in advance doesn’t count. If you check every 5 minutes, a 2-minute outage can go unnoticed: check frequency sets the precision.
What SLA should I promise a customer?
One you already meet with room to spare. Look at your real uptime over the last 3 to 6 months and promise a bit less. Promising 99.99% means under 5 minutes of downtime a month, which takes redundant infrastructure.
How does ganyant do it?
ganyant measures each monitor’s uptime over 24 h, 7 and 30 days, lets you set an SLA target and shows how much downtime budget is left this month. And for a quick calculation there’s the free SLA calculator.