Comparing time-based availability with request-based success
Time-based availability and request-based success use different denominators, so two reliability percentages for the same service can disagree without any arithmetic mistake.
Two percentages that answer different questions
A status report might say a service was 99% available while a log summary says 98% of requests succeeded. Both can be correct. Availability asks what share of the observation window the service was up, so its denominator is seconds. Request success asks what share of the attempts worked, so its denominator is requests. A clock treats every second the same, but a request counter does not, because traffic arrives in bursts, in daily cycles and in retries. When failures fall in the busy part of the window, the request-based figure drops further than the time-based one. This guide builds that gap from the three worked cases below and shows how to keep each number attached to its own basis.
The time-based side of the example
The Uptime Calculator takes a window and the downtime inside it, then reports availability as 100 times (window minus downtime) divided by window. With a 1,000-second window and 10 seconds down, the service was up for 990 seconds and availability is 99. The unit only needs to be consistent: 1,000 minutes with 10 minutes down gives the same percentage. Notice what the formula never asks for: how many requests arrived, how many succeeded, or when the outage happened. A 10-second outage at 3 a.m. and a 10-second outage during a sale produce the same time-based figure, which is both the strength and the blind spot of the measure.
The request-based side of the same window
The second case uses the What percent calculator with a part of 980 and a whole of 1,000. The report in this example is hypothetical: 1,000 requests, 20 of them failed, so 980 succeeded and the success share is 98. The division is the same kind of arithmetic as the first case, but the whole is a count of events rather than a count of seconds. Nothing in 980 out of 1,000 says when the failures happened. They could be spread thinly across the window or packed into a few seconds. A success share therefore needs its own label, such as share of requests that returned a successful response, so nobody reads it as uptime.
How one window produces both numbers
Suppose the 1,000 requests averaged one per second, but during the 10 seconds of downtime they arrived at two per second. Those 10 seconds would carry 20 requests, all failing, and the other 990 seconds would carry the remaining 980, all succeeding. That story is illustrative, not data, yet it reproduces the example exactly: 99 percent of the time, 98 percent of the requests. The outage covered 1 percent of the clock but 2 percent of the traffic because it hit a busier period. If the same outage had struck a quiet period with half the average traffic, only 5 requests would have failed and the request figure would have been 99.5 percent, better than the time figure.
Turning the request figure into a budget
The Request Error Budget Calculator restates the request success target as a number of failures you can afford. With 1,000 requests and a 98 percent target, allowed failures are 1,000 times (1 minus 0.98), which is 20. Twenty failures were observed, so remaining budget is 0: the target is met with nothing to spare. One more failed request would push the share to 97.9 percent and the remaining budget to minus 1. The calculator works in floating point, and 1 minus 0.98 is not stored perfectly, so the check on this page allows a tiny tolerance. That is a property of binary arithmetic, not a sign that the budget is uncertain.
A month-long window with larger numbers
Targets are usually stated over longer windows. A 30-day month has 2,592,000 seconds, and a 99.9 percent availability target allows 0.1 percent of that, or 2,592 seconds, which is 43.2 minutes. Entering a window of 2,592,000 with 2,592 down returns 99.9. Now take 1,000,000 requests in the same month and a 99.9 percent success target. Allowed failures are 1,000. If 1,250 requests failed, the success share is 998,750 divided by 1,000,000, or 99.875 percent, and the budget is overspent by 250. The service could meet the time target and miss the request target in the same month, or the other way around, depending on when the failures landed.
Deciding what counts before dividing
Both percentages depend on rules that the formulas do not contain. For time, someone must decide when a second counts as down: a failed health check, a slow response, a regional outage, or a partial degradation. For requests, someone must decide which responses count as failures: server errors only, timeouts, requests rejected by rate limits, or also client errors. Planned maintenance, synthetic probe traffic and retried requests can be included or excluded. Two reports with different rules can disagree even if they measure the same traffic. Write the counting rules next to the percentage, and recompute with the same rules whenever you compare periods or compare services.
Reading a gap between the two figures
When a 99 percent time figure sits beside a 98 percent request figure, the gap carries information. Request success below time availability points to failures concentrated when traffic was heavier than average. Request success above time availability points to downtime during quiet periods, or to retries and fallbacks that rescued requests while the service was marked down. A gap of zero would require traffic to be perfectly even over the window, which real systems rarely deliver. If the gap is large, look at the failure timeline against the traffic curve before debating which number is right. If the gap is small, the choice of metric matters less for that window, though it can still matter for the next one.
What the arithmetic leaves undecided
These examples show how the percentages are calculated and why they can differ. They do not interpret a service agreement, define a credit or promise a level of reliability for any real system, and the 1,000-request report here is invented for illustration. A contract may name one metric, a window length, a measurement point and a list of exclusions, and that text decides which number applies. When you need a single figure for a decision, use the metric named by the document that governs the decision. When you only need to understand a gap between two figures, check the denominators first, then the traffic shape, then the counting rules.
Reproduce the checks
Time-based result
Open the Uptime Calculator and enter:
- Observation window
1000- Downtime
10
Expected output:
Uptime
99The denominator counts observation seconds.
Request success share
Open the What percent calculator and enter:
- Part
980- Whole
1000
Expected output:
Percentage of the whole
98The denominator counts requests.
Request-budget control
Open the Request Error Budget Calculator and enter:
- Eligible requests
1000- Observed failed requests
20- Successful request target
98
Expected output:
Allowed failures
20Remaining failure budget
0Floating-point output is checked within the stated small tolerance.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.