Skip to content
AlertPing

Guides

How to calculate uptime percentage

| Guides | 7 min read

To calculate uptime percentage, divide the time a service was up by the total time in the window, then multiply by 100. The formula is uptime % = (total time minus downtime) / total time times 100. For a 30-day month of 43,200 minutes with 22 minutes of downtime, that is (43,200 minus 22) / 43,200 times 100 = 99.95%. The three things that trip people up are choosing the window, deciding what counts as down, and remembering that your check interval limits how precise the number can be.

The arithmetic is easy. The judgment around it is where uptime numbers become either trustworthy or meaningless. Below is the formula, worked examples across the common targets, and the traps that make two people measuring the same service report different numbers.

The formula

Uptime percentage is availability expressed as a share of a time window:

uptime % = (total time − downtime) ÷ total time × 100

Both values have to be in the same unit, usually minutes or seconds. "Total time" is every minute in the window, including nights and weekends, unless your agreement says otherwise. "Downtime" is the sum of every confirmed outage in that window. Everything hard about the calculation is hidden in those two definitions, not in the division.

Worked examples

Using a 30-day month of 43,200 minutes, here is how a given amount of downtime maps to the availability percentage, and to the named SLA tiers.

Downtime in the month Calculation Uptime %
7h 18m (438 min)(43,200 − 438) / 43,20099.0%
43m 50s(43,200 − 43.8) / 43,20099.9%
21m 54s(43,200 − 21.9) / 43,20099.95%
4m 23s(43,200 − 4.38) / 43,20099.99%
26s(43,200 − 0.43) / 43,20099.999%

To run the reverse calculation, from a target percentage to the downtime it allows, enter any value here:

alertping ▸ downtime calculator

allowed downtime per year
52m 36s
per quarter
13m 9s
per month
4m 23s
per week
1m 1s
per day
8.6s

A 5-minute check interval can miss a whole month of budget at four nines. AlertPing checks every 30 seconds, so the number above is one you can actually measure.

Notice how little downtime separates the top tiers. The gap between 99.9% and 99.99% is 39 minutes a month, but the gap between 99.99% and 99.999% is under 4 minutes. This is why each additional nine is so much harder to hold, a point we go deeper on in what is five nines uptime. For the tier most SLAs actually quote, see what 99.9% uptime means in hours and minutes.

Trap one is which window you measure

The same outage produces a different percentage depending on the window. Ten minutes of downtime is 99.98% of a month but only 99.31% of a single day. Report uptime over too short a window and one bad afternoon wrecks the number; report over a year and a serious outage disappears into the average. Most SLAs measure per calendar month and reset on the first, which is a reasonable default. Whatever you choose, state it, because a percentage without a window is not a fact.

Trap two is what counts as down

Downtime is not only "the server returned an error." A page that responds with a 200 status but renders an error, an API that answers but returns the wrong payload, or a response so slow the user gives up: all of those are down from the customer's point of view, even though a naive check calls them up. If your monitoring only reads the status code, your uptime number will be flatteringly high and quietly wrong. Assert on the response body and the response time, the same way you would in API monitoring, so the number reflects what users actually got.

Maintenance is the other half of this. Most agreements exclude scheduled, pre-announced maintenance from the downtime total, which is fair. Hiding an unplanned outage under a maintenance label to protect the percentage is not. If you are reporting uptime against a commitment you signed into a contract, the honesty of that exclusion is the whole ballgame.

alertping

Let the monitor do the arithmetic

AlertPing totals your confirmed downtime and publishes the rolling uptime percentage for you, measured from 30-second checks across two regions, so the number is calculated, not estimated.

Trap three is that your check interval caps the precision

You can only measure downtime in units of your check interval. If you check every five minutes, every outage you record is a multiple of five minutes, and any outage shorter than that can slip between two checks unseen. So a five-minute monitor cannot credibly report 99.99%, because the entire monthly budget for that tier is 4 minutes and 23 seconds, less than one check gap.

The rule is simple: your check interval must be shorter than the downtime your target allows, ideally much shorter. For any target at or above 99.9%, a 30-second interval gives you both early detection and the resolution to state outage length to the second rather than the nearest five minutes. The full breakdown of interval versus target lives on the SLA monitoring page.

Putting it together

Calculating uptime percentage is one division. Reporting a number you can defend is three decisions: pick a window and name it, define what counts as down and measure exactly that, and use a check interval short enough that the precision is real. Get those right and the formula gives you a figure a customer's procurement team can trust. Get them wrong and you have a number that looks good until the first dispute, which is the worst time to discover your measurement was optimistic.

keep reading

More from the blog

· Comparisons

OpManager vs WhatsUp Gold pricing for 50 to 1,000 devices, per edition and per add-on

8 min read ▸

· Comparisons

Site24x7 vs PRTG pricing for 50 to 1,000 network devices, with and without add-ons

8 min read ▸

· Comparisons

OpManager pricing 2026 and what ManageEngine OpManager costs per device, per edition and per add-on

9 min read ▸

· Comparisons

Splunk On-Call pricing and cost per user from the published $5 rate to a yearly bill

7 min read ▸

· Comparisons

Rootly pricing and Rootly cost per user for Incident Response and On-Call

7 min read ▸

· Comparisons

FireHydrant pricing and what FireHydrant costs per responder after Freshworks

8 min read ▸

· Comparisons

Zabbix pricing and Zabbix Cloud pricing by tier with the real Zabbix cost per year

8 min read ▸

· Comparisons

Checkmk pricing 2026 and Checkmk cost per host for Pro, Ultimate and Cloud

8 min read ▸

· Comparisons

Nagios XI pricing and Nagios license cost per node, renewal included

8 min read ▸

· Comparisons

incident.io pricing and incident.io cost per user for response and on-call seats

8 min read ▸

· Comparisons

Datadog On-Call pricing vs PagerDuty cost per seat for 4 to 30 person rotations

8 min read ▸

· Comparisons

Datadog On-Call pricing and what a paging seat costs next to PagerDuty and Splunk On-Call

7 min read ▸

· Comparisons

LogicMonitor vs PRTG pricing for a 100 device network, per device against per sensor

7 min read ▸

· Comparisons

SolarWinds alternatives and competitors priced on one estate, from PRTG and LogicMonitor to Datadog

8 min read ▸

· Comparisons

LogicMonitor competitors and alternatives with Datadog, Dynatrace, New Relic, SolarWinds and PRTG priced on one estate

8 min read ▸

· Comparisons

SolarWinds pricing 2026 and how much SolarWinds costs per node, per module and per year

8 min read ▸

· Comparisons

LogicMonitor pricing 2026 and how much LogicMonitor costs per Hybrid Unit, per package and per year

8 min read ▸

· Comparisons

WhatsUp Gold pricing 2026 and how much WhatsUp Gold costs per device, per edition and per year

8 min read ▸

· Comparisons

Cronitor pricing 2026 and how much Cronitor costs per monitor, per user and per year

8 min read ▸

· Comparisons

Hyperping pricing 2026 and how much Hyperping costs per plan, per seat and per monitor

8 min read ▸

· Comparisons

Uptime.com pricing 2026 and how much Uptime.com costs per tier, per check and per year

8 min read ▸

· Comparisons

StatusCake pricing 2026 and how much StatusCake costs per plan, per monitor and per year

8 min read ▸

· Comparisons

PRTG pricing 2026 and what PRTG Network Monitor costs per sensor, per device and hosted

9 min read ▸

· Comparisons

New Relic Synthetics pricing 2026 and what synthetic checks cost per check, per edition and per month

9 min read ▸

· Comparisons

Sentry pricing 2026 and what Sentry costs per plan, per event and per monitor

9 min read ▸

· Comparisons

Checkly pricing 2026 and how much Checkly costs per check run, module by module

9 min read ▸

· Comparisons

Grafana Cloud pricing 2026 and how much Grafana Cloud costs, meter by meter

10 min read ▸

· Comparisons

Statuspage pricing and Atlassian Statuspage costs per subscriber for public and private pages

9 min read ▸

· Comparisons

Opsgenie pricing 2026 and how much Opsgenie costs, plus what you pay to replace it

8 min read ▸

· Comparisons

PagerDuty pricing 2026 and how much PagerDuty costs per user, per plan and per year

8 min read ▸

· Comparisons

Pingdom pricing 2026 and how much Pingdom costs per check, per plan and per year

8 min read ▸

· Comparisons

Uptime monitoring software to pair with Datadog, New Relic or Dynatrace

8 min read ▸

· Comparisons

How much does Splunk Observability Cloud cost? Hosts, editions and synthetic monitoring

8 min read ▸

· Comparisons

AppDynamics pricing 2026 and how much AppDynamics costs, from license cost per vCPU to synthetics

8 min read ▸

· Comparisons

Dynatrace pricing 2026 and how much Dynatrace costs for hosts, synthetic monitoring and log ingest

8 min read ▸

· Comparisons

How much does New Relic cost? Users, data ingest and synthetic checks

9 min read ▸

· Comparisons

Datadog synthetic monitoring pricing and what synthetics really cost per test run

9 min read ▸

· Guides

Uptime guarantee vs uptime monitoring and why your host reports 99.9% when your site was down

9 min read ▸

· Guides

Cloudflare uptime monitoring with health checks, origin monitoring and the blind spots behind the proxy

11 min read ▸

· Comparisons

Status page pricing and what a hosted status page actually costs in 2026

8 min read ▸

· Guides

API monitoring best practices on what to check, how often and how to keep alerts worth answering

10 min read ▸

· Guides

SSL certificate 200 days as the new validity limit and the 47-day lifetime coming next

9 min read ▸

· Guides

SSL certificate expired? What happens and how to fix it

8 min read ▸

· Guides

How often should you check website uptime?

7 min read ▸

· SLAs

Error budget formula, burn rate alerts and the policy that makes it work

11 min read ▸

· Playbooks

Runbook template for incident response that gets used

8 min read ▸

· Guides

What causes website downtime, and how to catch each cause

8 min read ▸

· Playbooks

Incident postmortem template that teams actually use

8 min read ▸

· Playbooks

On-call rotation best practices that keep engineers sane

8 min read ▸

· SLAs

MTTR (mean time to recovery) explained and how to cut it

7 min read ▸

· Guides

Heartbeat monitoring explained and how it works

7 min read ▸

· Guides

Status page examples and what the good ones get right

7 min read ▸

· Guides

API uptime SLA service credit tiers, downtime limits and what a good one costs

8 min read ▸

· Guides

How to create a status page in 6 steps

7 min read ▸

· Guides

Uptime SLA report and what to include, with a worked example

9 min read ▸

· Guides

SLA service credits and how to claim what you get back

8 min read ▸

· Guides

Synthetic monitoring vs uptime monitoring with what each one costs and when you need it

8 min read ▸

· Guides

What is a status page?

6 min read ▸

· Guides

Status page vs uptime monitoring and what the difference is

6 min read ▸

· Guides

What does 99.9% uptime mean?

6 min read ▸

· Guides

What is five nines (99.999%) uptime?

8 min read ▸

· Guides

SLA vs SLO vs SLI and what the difference is

7 min read ▸

· Guides

Downtime alerts and how to get notified by email, SMS or phone when your website goes down

7 min read ▸

· Guides

How to monitor an online store for downtime

9 min read ▸

· Guides

Why is my Shopify store unavailable?

8 min read ▸

· Comparisons

Better Stack pricing and how much Better Stack costs

8 min read ▸

· Comparisons

UptimeRobot pricing and how much UptimeRobot costs

7 min read ▸

· Comparisons

Site24x7 pricing and how much Site24x7 costs

8 min read ▸

· Guides

What is a dead man's switch in monitoring?

9 min read ▸

· Guides

Why is my WordPress site down?

9 min read ▸

· Guides

How to monitor WooCommerce uptime and checkout

8 min read ▸

· Guides

How to monitor an API for errors, not just uptime

8 min read ▸

· Economics

How much does website downtime cost?

8 min read ▸

· Guides

How to monitor a cron job

9 min read ▸

· Comparisons

Synthetic monitoring vs real user monitoring

8 min read ▸

· Benchmarks

What is a good uptime percentage?

7 min read ▸

· SLAs

99.99 uptime meaning for SLAs and the real cost of each nine

8 min read ▸

· Guides

How to monitor website uptime

8 min read ▸

· Playbooks

Incident communication examples, templates and outage communication best practices

9 min read ▸

Know the second your site goes down

Checks every 30 seconds, confirmed from a second region, alerts on every channel.

See pricing