DIGITAL QUANTITY WORKSHEETS

Checking a percentage allowance against its time window

An availability target such as 99.9 percent means little until it is tied to an observation window. This guide converts percentages into allowed downtime for one day, a month or a year, and checks the result in both directions.

From a percentage to a length of time

An availability target states what share of a period a service should be up. By itself, 99.9 percent sounds precise but gives no sense of how long an outage can last. To answer that you need a window: the day, week, month or year over which the percentage is measured. The allowed downtime is the share that is not covered by the target, multiplied by the window. For a 90 percent target the uncovered share is 10 percent, and over a fixed 24-hour day that is 8,640 seconds, or 2.4 hours. The SLA Calculator performs the conversion using days of exactly 86,400 seconds. This guide checks the result by running it forward and backward with the Uptime Calculator, then extends the idea to windows of several days and to the stricter targets common in service agreements.

The default case, step by step

Start with a window of one day and a target of 90 percent. One day contains 24 times 60 times 60, which is 86,400 seconds. The tolerated downtime fraction is 1 minus 0.90, or 0.10. Multiplying gives 8,640 seconds. Dividing by 60 gives 144 minutes, and dividing by 3,600 gives 2.4 hours. The calculator reports seconds, minutes and hours, so you can read whichever is natural. For this tolerance, an outage of two hours and 24 minutes in a day is exactly at the limit. Any more and the day falls below 90 percent. A 90 percent target is far looser than what most business services promise, but it makes a clean teaching case, because every intermediate value is a round number and mistakes are easy to spot.

Checking the answer in reverse

The Uptime Calculator moves the other way, from a window and a downtime to an availability figure. Enter a window of 86,400 seconds and a downtime of 8,640 seconds. Uptime is the window minus the downtime, which is 77,760 seconds, and availability is 100 times uptime over window, or 90 percent. That closes the loop: the allowance computed from the target reproduces the target when it is consumed completely. This is a useful audit habit. Whenever you derive an allowance, plug it back in as the downtime and confirm the percentage returns. If the numbers do not match, either the window was entered in different units, such as hours in one tool and seconds in the other, or a rounding step was applied in the middle. Both are easy to find once you compare the two views.

Scaling the window

The allowance grows in proportion to the window because the fraction stays the same. Two days at 90 percent give 2 times 8,640, which is 17,280 seconds, or 4.8 hours. Ten days would give 86,400 seconds, a full day. This linearity means you can compute the allowance once per day and multiply. It also means that a long window does not make a target easier in relative terms, only in absolute terms: a single long outage that would break a one-day window may fit comfortably inside a monthly one. That is why agreements specify the window explicitly. A 99.9 percent monthly target and a 99.9 percent daily target permit very different worst-case outages, even though the percentage is identical and both feel equally strict when stated in a sentence. One practical consequence is that you can convert an allowance between windows without going back to the percentage. A daily allowance of 86.4 seconds at 99.9 percent becomes 604.8 seconds for a week and 2,592 seconds for a 30-day month. If a result looks wrong, test it against the daily figure multiplied by the number of days. That quick comparison catches unit slips such as entering hours where days were expected, and it needs only a calculator and the 86,400 seconds in a day.

Common targets and what they allow

For a 30-day month of 2,592,000 seconds, a 99 percent target allows 25,920 seconds, which is 7.2 hours. A 99.9 percent target allows 2,592 seconds, or 43.2 minutes. A 99.99 percent target allows 259.2 seconds, which is about 4.3 minutes. Over a 365-day year of 31,536,000 seconds, 99.9 percent allows 31,536 seconds or 8.76 hours, and 99.99 percent allows about 52.56 minutes. These figures are exact arithmetic on fixed 86,400-second days, and they show how each added nine cuts the allowance by a factor of ten. Each added nine also tends to cost much more to engineer and to operate. A team choosing between targets should ask what an outage actually costs the users, not merely which number sounds better. Rounding in published tables is common, so recompute from the seconds if a contract quotes a figure like 43 minutes. In an agreement, the exact number of seconds or minutes is what counts, and a table that rounds to whole minutes can differ from the contract text by up to half a minute either way. When two vendors quote the same percentage, ask each for the window they use, since a 99.9 percent annual allowance of 8.76 hours is a much looser constraint on a single outage than a 99.9 percent monthly allowance of 43.2 minutes.

A weekly window example

Consider an illustrative internal service with a weekly window and a 99 percent target. A week holds 7 times 86,400, which is 604,800 seconds. One percent of that is 6,048 seconds, which is 100.8 minutes, or 1.68 hours. If the service had two incidents of 40 minutes each, the total downtime would be 80 minutes, below the 100.8-minute allowance. A third 40-minute incident would put the week over. This approach turns an abstract percentage into a budget that engineers can track as incidents occur, an idea described in the Google Site Reliability Engineering book under the name error budget. The budget framing is useful because it makes the cost of each incident visible. The calculator supplies the starting budget; the remaining budget is simple subtraction as events are recorded. The same arithmetic applies to any window that is a whole number of days. A 14-day window is 1,209,600 seconds, and at 99 percent the allowance is 12,096 seconds, or 3.36 hours, exactly twice the weekly figure. Tracking the budget per week and per month side by side is useful because a team can stay inside the monthly figure while still burning through the weekly one early, which is a warning that the rest of the month needs more care.

Why the fixed 86,400-second day matters

The tool defines every day as exactly 86,400 seconds. Real calendars are less tidy: months vary from 28 to 31 days, daylight saving time creates 23-hour and 25-hour days in some regions, and occasional leap seconds have been added to UTC. A service agreement may define the window as a calendar month, a rolling 30 days or a quarter, and each definition gives a different number of seconds. For the 90 percent teaching case this does not matter, but at 99.99 percent the difference between a 28-day February and a 31-day month is about 26 seconds of allowance (242 seconds against 268). When using the result for a contract or a report, check how the window is defined in that document, and enter the matching number of days. Fractions of days can also be entered if the window is shorter than a day.

What counts as downtime

Percentages are only comparable if downtime means the same thing each time. Some agreements count a service as down only when it is completely unreachable. Others count partial degradation, elevated error rates or latency beyond a threshold. Scheduled maintenance may be excluded, and so may outages caused by the customer or by events outside the provider's control. Measurement points matter too: probes from one region may show an outage that users elsewhere did not see. The calculator treats downtime as a single number of seconds provided by you. It does not know how it was measured. When you compare two providers or two periods, make sure the definitions line up before comparing the percentages. A 99.95 percent figure computed with exclusions is not directly comparable with one computed without them.

Contracts, credits and compliance

The tool computes arithmetic and nothing else. It does not decide whether an outage is excluded under a contract, what service credit applies when a target is missed, or whether a regulatory obligation is met. Those depend on the exact text of the agreement and on applicable law. A report that shows 8,640 seconds as the allowance should say alongside it which window, which target and which measurement rules were used, so a reader can reproduce it. When a figure is used in a dispute or an audit, it is wise to have the agreement's definitions in front of you and to confirm them with the party responsible for the contract. The calculator is best seen as a way to check that the numbers in a report are internally consistent, not to interpret the commitments behind them.

Turning an allowance into incident limits

An allowance is more useful when it is broken into parts a team can act on. Take the 99.9 percent monthly target with 2,592 seconds of allowance in a 30-day month. If an alert-to-recovery cycle for a typical incident takes about 20 minutes, which is 1,200 seconds, the month can absorb two such incidents (2,400 seconds) with 192 seconds left, and a third would exceed it. That kind of division shows whether a target is realistic for the way the system is actually operated. It also helps decide how much risk to take with planned changes: a deployment that carries a small chance of a short outage uses part of the same budget as an unplanned failure. The incident length and count here are illustrative assumptions chosen for the arithmetic. The calculator supplies the total, and the remaining budget is subtraction as events are logged.

Reading availability from measured downtime

The reverse calculation is common in reports. If a service logged 2,592 seconds of downtime in a 30-day window of 2,592,000 seconds, uptime was 2,589,408 seconds and availability is 100 times that over the window, which is 99.9 percent. The Uptime Calculator takes the window and the downtime in the same unit, seconds here, and returns the percentage. Mixing units is the usual error: entering a window in days and downtime in minutes produces a figure that looks plausible but is far off. Convert both to seconds first, using 86,400 seconds per day and 60 per minute. Also decide how many decimal places to report. At 99.9 percent a rounding to one decimal hides the difference between 99.85 and 99.94, which is nearly 39 minutes in a 30-day month, so quote at least two decimals when the target is strict.

Reproduce the checks

One-day allowance

Open the SLA Downtime Calculator and enter:

Observation window
1
Availability target
90

Expected output:

Allowed downtime

8640

Allowed downtime

2.4

The day is a fixed duration in this model.

Uptime reverse check

Open the Uptime Calculator and enter:

Observation window
86400
Downtime
8640

Expected output:

Uptime

90

The allowed down duration reproduces the percentage.

Two-day allowance

Open the SLA Downtime Calculator and enter:

Observation window
2
Availability target
90

Expected output:

Allowed downtime

17280

The same fraction acts on twice the observation time.

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.

Sources

Related tasks