Allowed Downtime
{{ downtime_allowed_readable }}
per {{ period_label_readable }}
{{ effective_downtime_readable }} used {{ error_budget_remaining >= 0 ? remaining_budget_readable + ' left' : over_budget_readable + ' over' }} {{ error_budget_burn_percent.toFixed(2) }} % burn
%
Metric Value Copy
{{ row.label }} {{ row.value }}
  • Allowed downtime:{{ downtime_allowed_readable }}
  • Planned maintenance:{{ maintenance_readable }}
  • Effective downtime:{{ effective_downtime_readable }}
  • Error-budget burn:{{ error_budget_burn_percent.toFixed(2) }} %
PeriodAllowed downtime
{{ p.label }} {{ p.readable }}

            

Introduction:

Service availability is the share of time a service stays reachable within a chosen window. Many people call it uptime, and they translate a target such as 99.9 percent into how much outage can occur before expectations are missed. This page centers on that translation so teams can weigh budgets and tradeoffs, an uptime to downtime calculator that helps across typical reporting periods.

You enter a target availability and a period length, then optionally describe interruptions and planned work, and the calculator returns allowed downtime, budget used, and budget left with a simple burn share. It also shows ready lookup values for common windows so you can benchmark your target quickly and explain the implications to stakeholders in clear terms.

For example, imagine a month where you aim for 99.9 percent and expect about fifteen minutes of incidents plus ten minutes of maintenance. The summary shows more than half of the budget spent with a modest cushion remaining. Short windows can swing sharply, so do not read brief streaks as a trend without context.

Choose the same period your reports use to make comparisons fair. Count planned work only if your policy includes it and record it separately either way. Track burn as the window progresses to catch drift early, and use the lookup values to set expectations before a maintenance window.

Technical Details:

Service Level Agreement (SLA) availability states the proportion of time a service meets its objective within a fixed window. This calculator models a time‑based service level indicator (SLI) and converts a target percentage into the maximum downtime permitted in the same window. It also aggregates reported outages and maintenance to compute use of the error budget.

Inputs are a target percentage, a period length, and optional downtime components labeled unplanned and planned. Planned time remains part of the budget in this model; the label is for tracking. The reactive engine applies proportional arithmetic and presents allowed downtime, remaining budget, and a burn percentage for quick interpretation.

Interpret outputs as planning guards rather than guarantees. Allowed downtime is the outage limit before the target fails for that window. Remaining budget turns negative once usage exceeds the allowance, while the burn percentage hits or passes 100 percent at that point. Treat planned work consistently with your policy to avoid confusion.

D_allow = P·100A100 E = U+M B_rem = D_allowE b = if D_allow>0, ED_allow ·100% ; else 0
Symbols and units used in formulas
Symbol Meaning Unit/Datatype Source
ATarget availabilitypercentInput
PPeriod lengthsecondsInput
UUnplanned downtimesecondsInput
MPlanned maintenancesecondsInput
EEffective downtimesecondsDerived
DallowAllowed downtimesecondsDerived
BremError‑budget remainingsecondsDerived
bError‑budget burnpercentDerived
Validation and bounds enforced by the UI
Field Type Min Max Step/Pattern Error Text
SLA targetnumber901000.001
Period lengthnumber + unit1unit: seconds, minutes, hours, days, weeks, years
Downtime experiencednumber + unit0unit: seconds, minutes, hours
Planned maintenancenumber + unit0unit: seconds, minutes, hours

Units, Precision & Rounding:

  • Percentages display to three decimals for targets and two decimals for burn.
  • Durations round to the nearest second, then decompose into whole minutes, hours, and days with remainders.
  • Year equals 365 days; weeks are 7 days; no leap‑day or leap‑second adjustment.
  • Decimal separator is a dot; arithmetic uses standard floating‑point.

I/O Formats & Encoding:

Inputs and outputs at a glance
Input Accepted Families Output Encoding/Precision Rounding
Targets, durations, period Numbers with unit selectors Readable durations, percentages, lookup table Text with units; structured JSON export Nearest second; fixed decimals for percents
Metrics table Copyable snapshots Comma‑separated values As displayed

Time & Calendrics:

  • Seconds per unit: minute 60, hour 3,600, day 86,400, week 604,800, year 31,536,000.
  • Period labels use singular or plural based on the numeric value.

Networking & Storage Behavior:

  • Calculations and charts run client‑side; there are no fetch calls for data and no writes to local or session storage.

Performance & Complexity:

  • All computations are constant‑time; input changes are debounced by ~40 ms to keep the UI responsive.
  • Charts render on demand when the chart view is opened and are disposed when leaving that view.

Diagnostics & Determinism:

  • Given identical inputs, outputs are identical. There is no randomness.
  • Copy actions provide immediate visual feedback.

Security Considerations:

  • Inputs are numeric with unit selectors; avoid pasting secrets into text fields.
  • No credential or key material is handled.

Worked example: Target 99.9% for a 30‑day window; unplanned 15 minutes; planned 10 minutes.

P=30·86,400=2,592,000 s D_allow=2,592,000·10099.9100=2,592 s E=900+600=1,500 s B_rem=2,5921,500=1,092 s b1,5002,592·100=57.87%

Readable results: allowed 43 m 12 s, effective 25 m, remaining 18 m 12 s, burn 57.87%.

Assumptions & Limitations:

  • Heads‑up Planned maintenance consumes budget; it is not exempted.
  • Time‑based SLI only; request‑based or partial‑degradation models are out of scope.
  • Year is fixed at 365 days; leap years are not modeled.
  • Displayed durations compress to days, hours, minutes, and seconds without sub‑second detail.
  • Very high targets magnify rounding illusions; interpret near boundaries with care.
  • Burn is forced to 0 when allowed downtime is 0 by design.

Edge Cases & Error Sources:

  • Non‑numeric entries are coerced to numbers; invalid values effectively act as zero.
  • NaN or Infinity inputs are not meaningful and will distort results.
  • Signed zero has no practical effect on totals.
  • Floating‑point drift may appear with extreme magnitudes.
  • Rounding ties occur at the nearest second before unit decomposition.
  • Targets outside 90–100 are disallowed by the UI but may still need governance in policy.
  • Localization uses a dot for decimals; alternative separators are not recognized.
  • When allowed downtime is zero, burn shows 0 until any nonzero usage is present.

Scientific & Standards Backing:

Service level management practice defines availability as an uptime ratio across a window, while site reliability engineering popularizes the error‑budget framing. Both support proportional conversion from a target to allowed downtime.

Privacy & Compliance:

Processing is client‑only; no data is transmitted or stored on servers. Outputs are informational and do not constitute contractual terms or service guarantees.

Step‑by‑Step Guide:

Convert a target availability into allowed downtime and read budget health.

  1. Enter your target availability in SLA target.
  2. Choose the window length in Period.
  3. Optionally add unplanned outages in Downtime experienced.
  4. Optionally add planned work in Planned maintenance counts toward budget.
  5. Review allowed downtime, remaining budget, and burn percentage.

Example: Target 99.95% for 90 days with 25 minutes of incidents and 15 minutes of maintenance gives a small cushion; a second long incident may exhaust the budget.

  • Use the lookup values to communicate limits across common windows.
  • Align the window with reporting cadence for apples‑to‑apples comparisons.

FAQ:

Is my data stored?

No. Calculations run locally and nothing is saved to servers or local storage.

Keep copies externally if you need an audit trail.
How accurate are the results?

Totals use proportional arithmetic. Durations round to the nearest second and then split into whole units, which may hide very small fractions at high targets.

Near boundaries, verify with context.
What units can I use?

Periods support seconds, minutes, hours, days, weeks, and years. Downtime entries support seconds, minutes, and hours.

Year equals 365 days by design.
Can I exclude planned maintenance?

Not in this model. Planned work is counted toward the budget; the separate entry helps track it distinctly for reports.

Apply your own policy consistently.
Does it work offline?

Yes after the page loads. All computations happen locally.

Charts render without a data connection once assets are cached.
What does SLA stand for?

Service Level Agreement. It states the expected availability or performance over a defined window.

SLO is the objective; SLI is the indicator.
How do I convert 99.9% per month?

Select a month‑length window, set 99.9%, and read the allowed downtime line. For 30 days this is 43 minutes 12 seconds.

Interpret as guidance, not a guarantee.
Is there a cost or license?

The calculator runs locally without using paid APIs. Check your organization’s policy before relying on any tool for contractual decisions.

Always consult formal agreements for binding terms.

Troubleshooting:

  • Cannot edit the target: ensure the value is between 90 and 100.
  • Unexpected burn value: confirm the period matches your reporting window.
  • Durations look odd: remember rounding to seconds, then whole units.
  • Chart missing: open the chart view to trigger rendering.
  • Copy shows the wrong row: try again after the value updates.

Advanced Tips:

  • Tip Align the period with contract language to avoid mismatched math.
  • Tip Track planned and unplanned items separately to explain burn credibly.
  • Tip Use higher‑precision targets only when measurement supports it.
  • Tip Watch cumulative burn weekly to catch slow drifts early.
  • Tip Communicate lookup values in planning docs to set clear expectations.

Glossary:

Availability
Share of time a service meets expectations in a window.
SLA
Service Level Agreement; the stated target.
SLI
Service Level Indicator; the measured quantity.
Error budget
Allowed outage before the target fails.
Burn
Proportion of the error budget already used.
Window
The selected period over which availability is assessed.