# Uptime

Also called: availability, uptime monitoring, downtime

Uptime is the share of time a website or service is reachable and answering correctly. It is measured by checking the site from outside at regular intervals and is usually written as a percentage, such as 99.9%.

## How it is calculated

A monitor requests a URL on a schedule and records whether it answered in time with an acceptable status. Uptime is successful checks divided by all checks, or equivalently the time up divided by total time.

The percentages are less forgiving than they look: 99.9% over a 30-day month still allows about 43 minutes of downtime, and 99% allows more than seven hours.

```
uptime = successful checks ÷ all checks
```

## Example

A monitor checks a site every minute, which is 43,200 checks in 30 days. 65 of them fail during one incident. Uptime for the month is 43,135 ÷ 43,200 = 99.85%, with about 65 minutes of downtime.

## Common mistakes

- Monitoring from the same infrastructure the site runs on. When it goes down, so does the monitor.
- Checking only the home page. The checkout or the API can fail while the home page is cached and fine.
- Relying on analytics to notice outages. A drop in visitors is a late and ambiguous signal.

## How CrispStats shows it

CrispStats checks each monitor from Cloudflare's network, outside your stack, as often as once a minute, with a GET or HEAD request and a timeout you set. A monitor is marked down after a run of failed checks in a row (2 by default), which keeps one dropped packet from paging anyone. Each monitor shows its uptime for the selected range, 90 days of daily bars and its p95 response time, and a public status page can show the same to your users. Starter includes 5 monitors and Scale 50.

## Related terms

- [Time to First Byte (TTFB)](/glossary/ttfb)
- [Core Web Vitals](/glossary/core-web-vitals)
- [Bot traffic](/glossary/bot-traffic)
