Network Tools
Uptime and Availability Calculator
Turn downtime into uptime percentage and number of nines, check it against an SLA target and error budget, and get MTTR and MTBF from the incident count.
How to use Uptime and Availability Calculator
Enter the period and how much downtime occurred, each with a unit. Add an SLA target to see whether it was met and how much error budget is left, and an incident count for MTTR and MTBF. Results update as you type.
- Enter the period and downtimeFor example 30 days and 30 minutes. The period runs from minutes to weeks and downtime from seconds to days.
- Add an SLA targetEnter a target such as 99.9% to see SLA met, the downtime it allows and the error budget left. Leave it blank to skip.
- Add incidents for MTTREnter the number of outages to get the mean time to recover and the mean time between failures.
The uptime formula with an example
Uptime = (period − downtime) ÷ period × 100. With 30 minutes of downtime in 30 days, uptime is 99.9306%, or 3.16 nines. Against a 99.9% target the 30-day period allows 43m 12s of downtime, so 13m 12s, or 30.6% of the error budget, is left. If those 30 minutes came from 3 incidents, the mean time to recover (MTTR) is 10 minutes and the mean time between failures (MTBF) is 9d 23h 50m. The number of nines is −log10(1 − uptime ÷ 100), so 99.9% is exactly 3 and 99.95% is about 3.3.
Measuring downtime consistently
The result is only as good as the downtime figure. Agree in advance whether planned maintenance counts, whether a partial outage or very slow responses count as down, and which monitor is the source of truth. Probe intervals add error: with checks every 5 minutes, a 1-minute outage may be logged as 5 minutes or missed altogether. When comparing services or months, use the same period and the same definition. If the downtime you enter is longer than the period, you get an error instead of a negative uptime. For the reverse question, how much downtime an SLA allows, use the SLA Downtime Calculator.
Accuracy and data handling
Network and domain data can change; record the lookup time and verify important findings in the authoritative account or service. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
How do I calculate uptime percentage?
Subtract downtime from the total period, divide by the period and multiply by 100. For example, 2 hours down in 30 days gives (720 − 2) ÷ 720 × 100 = 99.7222% uptime.
How much downtime does 99.9% uptime allow?
It allows 0.1% of the period as downtime: 43m 12s in 30 days, about 1m 26s per day and 8h 45m 36s over a 365-day year.
What is an error budget?
It is the downtime an SLA or SLO permits in a period, such as 43m 12s for 99.9% over 30 days. The calculator subtracts actual downtime and shows what is left, or how far over budget you are.
How are MTTR and MTBF calculated?
MTTR is total downtime divided by the number of incidents, the average time to recover. MTBF is total uptime divided by the number of incidents, the average running time between failures.
More Network Tools
Related toolsAllowed downtime for any SLA per day, week, month and year, or SLA from downtime.
Check a domain's MX records, mail server IPs and email provider.
List a domain's TXT records and see which are SPF, DMARC, DKIM or verification.
Validate an SPF record, follow includes and count lookups against the limit of 10.
Check a DMARC record: policy, reports, alignment, errors and protection level.
Shorten a long URL with TinyURL and check where the short link goes.