Computing, IT, Networking & Security Reliability, Uptime & SLA IEC 60050-192 dependability terms

MTBF, MTTR & Availability Calculator

Enter how many hours your equipment actually ran, how many times it failed, and how long the repairs took. You get mean time between failures (MTBF), mean time to restore (MTTR), inherent availability with its number of nines, the failure rate in FIT, the annualised failure rate, and the minutes of downtime that availability implies over a year. The definitions follow IEC 60050-192, the international dependability vocabulary. If your vendor quotes an MTBF, enter it and the calculator uses that figure instead of the one derived from your records.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Number of units observedHow many identical items were in service during the observation window — servers, drives, pumps, radios.50
Operating hours per unitPowered-on hours per unit over the window, not calendar hours — 8,760 h is one full year of continuous running.8760 h
Number of failures recordedCount every event that stopped the unit doing its job, taken from your incident or RMA log.6
Total time to restore, all failuresAdd up the clock time from failure to service restored across every event; this is divided by the failure count to give MTTR.18 h
Fleet size for the forecastHow many units you expect to run continuously next year, used to forecast the annual failure count.500
Datasheet MTBF (overrides your records)Enter a vendor-quoted MTBF to use it in place of the figure derived from your log; leave at 0 to use your own data.0 h

It returns

  • MTBF — Mean operating time between failures. For a non-repairable part the same arithmetic gives MTTF.
  • MTTR (mean time to restore)
  • Inherent availability
  • Downtime implied per year
  • Number of nines — −log10 of unavailability. 3.0 means 99.9%, 4.0 means 99.99%.
  • Annualised failure rate
  • Failure rate — Failures per billion device-hours — the unit component datasheets use.
  • Expected failures per year, whole fleet

The formula

A=MTBFMTBF+MTTR
MTBF=TnMTTR=Rn
AFR=8760MTBF×100%FIT=109MTBF

In plain text: A = MTBF / (MTBF + MTTR)

  • AInherent availability — the long-run fraction of time the item is able to perform (decimal)
  • MTBFMean operating time between failures: total operating hours divided by the failure count (h)
  • MTTRMean time to restore: total restoration hours divided by the failure count (h)
  • TTotal operating hours = units x hours per unit (h)
  • nNumber of failures in the observation window (count)
  • λFailure rate, the reciprocal of MTBF (1/h)

This is inherent availability, which counts only corrective maintenance. It excludes preventive maintenance, logistic delay and administrative delay; add those to the restore time to get operational availability instead.

Updated Category Reliability, Uptime & SLA Verified against published test cases Reading time 13 min

What MTBF, MTTR and availability actually measure

MTBF is a rate, not a lifetime. It is the total operating time of a population divided by the number of failures that population produced, and its natural reading is the reciprocal: a drive with an MTBF of one million hours has a failure rate of one per million device-hours. Nobody expects that drive to run for 114 years. Put a thousand of them in a rack and you expect roughly one failure every 1,000 hours of running — about one every six weeks.

The distinction that trips people up is MTBF versus MTTF. IEC 60050-192, the international dependability vocabulary, reserves mean time between failures for repairable items, where the clock restarts after each repair, and mean time to failure for items you throw away, where each unit contributes one failure and then leaves the population. The arithmetic on this page is identical for both: divide operating time by failure count. Only the interpretation changes.

MTTR is the other half of the pair, and its expansion is worth arguing about. Some teams read it as mean time to repair — the wrench time only. Others read it as mean time to restore, which is what a user experiences: from the moment service stopped to the moment it came back, including diagnosis, waiting for the part, and validation. This calculator assumes you enter restore time, because that is the figure availability depends on. If you feed it wrench time you will get an availability number your users will not recognise.

Availability is what the two produce together. Over a long run, an item is up for MTBF hours and down for MTTR hours in each cycle, so the fraction of time it is up is MTBF divided by the length of the whole cycle. That single ratio is the bridge between a reliability number nobody can feel and a service level everybody can: use it with the uptime SLA downtime calculator to see the same figure expressed as an allowance in minutes.

The formula explained, term by term

Start with the estimator for MTBF. You accumulate T operating hours across the whole population — fifty servers running a year each is 438,000 hours, exactly the same evidence as one server running 438,000 hours — and you count n failures. The estimate is T ÷ n. This is the maximum-likelihood estimator when failures arrive at a constant rate, which is the assumption baked into every MTBF figure ever published.

That assumption deserves a moment. A constant failure rate means the item is in the flat middle of the bathtub curve: past infant mortality, before wear-out. It also means the exponential distribution applies, so the probability an item survives t hours is e−t/MTBF. Put t = MTBF into that and you get e−1 = 0.368. Only 37% of items survive to their own MTBF, which is the sharpest way to see that MTBF is not a service life.

MTTR uses the same shape: total restore hours R divided by the same failure count n. Using the same denominator matters. If your incident log has 6 outages but 9 separate repair visits, decide which number is the failure count and use it consistently, or availability comes out wrong in a way no reviewer will spot.

Availability follows directly. In steady state each failure costs you MTTR hours out of a cycle that lasts MTBF + MTTR hours, so uptime fraction A = MTBF ÷ (MTBF + MTTR). Two consequences fall out of the algebra and are worth holding on to. First, availability depends only on the ratio MTTR ÷ MTBF: halving repair time and doubling MTBF move availability by the same amount. Second, when MTTR is small compared with MTBF, unavailability is very nearly MTTR ÷ MTBF, which is the approximation to use in your head.

The derived rates are conversions of MTBF and nothing more. Failure rate λ = 1 ÷ MTBF. Expressed in failures per billion device-hours it becomes FIT, the unit semiconductor datasheets use, so FIT = 109 ÷ MTBF. Annualised failure rate multiplies λ by the 8,760 hours in a year: AFR = 8,760 ÷ MTBF, quoted as a percentage. AFR above 100% is not an error — it means each unit averages more than one failure per year of service.

Worked example: 50 servers over one year

You run 50 identical servers continuously for a year. Six of them failed, and your incident log shows 18 hours of restore time in total across those six events. You want next year's spares budget for a fleet you plan to grow to 500 units.

  1. Accumulate operating time. T = 50 units × 8,760 h = 438,000 device-hours. Note that this is device-hours, not calendar hours.
  2. Divide by failures. MTBF = 438,000 ÷ 6 = 73,000 hours. In years of continuous running that is 73,000 ÷ 8,760 = 8.33 years — a number to quote carefully, because it is not how long a server lasts.
  3. Average the restores. MTTR = 18 h ÷ 6 = 3.0 hours.
  4. Form availability. A = 73,000 ÷ (73,000 + 3) = 73,000 ÷ 73,003 = 0.99995891, or 99.99589%.
  5. Convert to downtime. Unavailability is 3 ÷ 73,003 = 4.1094 × 10−5. A year holds 525,600 minutes, so expected downtime is 4.1094 × 10−5 × 525,600 = 21.6 minutes per year.
  6. Count the nines. −log10(4.1094 × 10−5) = 4.39 nines — comfortably past four nines, short of five.
  7. Convert MTBF to rates. AFR = 8,760 ÷ 73,000 × 100 = 12.0%. FIT = 109 ÷ 73,000 = 13,699.
  8. Forecast the fleet. 500 units × 12.0% = 60 failures next year, which is your spares and labour planning number.

Every figure here is reproducible on paper, and the last one is the one that pays for itself: 60 failures at three hours each is 180 engineer-hours of unplanned work, which you can price with the IT downtime cost calculator.

How to read the result

Read availability in nines, not in percent, because percent hides the thing that matters. The step from 99.9% to 99.99% is only nine hundredths of a percentage point, but it removes 90% of your downtime: 8.8 hours a year becomes 53 minutes. Each additional nine is a factor of ten, and the cost of buying it usually rises by a similar factor.

Then decide which lever you are actually pulling. Because unavailability is approximately MTTR ÷ MTBF, cutting restore time from four hours to twenty-four minutes does as much for availability as making the hardware ten times more reliable — and it is almost always cheaper and faster to achieve. Automated failover, hot spares, tested runbooks and parts on site are MTTR investments. This is why the table above holds MTBF fixed and varies only MTTR: it prices the lever you can actually move this quarter.

Treat the single-item figure as a floor, not a promise. Real services are built from many components, and putting two identical items in parallel with automatic failover squares the unavailability — two units at 99.9% each give 99.9999% for the pair, if the failover really works and the failures really are independent. Work that out properly with the series and parallel availability calculator, and remember that a shared power feed, a shared rack, or a shared firmware bug destroys the independence the arithmetic assumes.

Finally, compare AFR against the vendor's. Datasheet MTBF figures come from accelerated life testing or a parts-count prediction under standards such as MIL-HDBK-217F or Telcordia SR-332, under stated temperature and duty assumptions. Field studies of large disk populations, notably Schroeder and Gibson's FAST 2007 analysis, found replacement rates in production well above the rates implied by datasheet MTBF, in some populations by close to an order of magnitude. Your own AFR describes your environment; the datasheet describes a laboratory.

Availability, downtime and the repair time it takes

Downtime per year uses 8,760 hours; downtime per month uses a 30-day month. The last column is the mean restore time that would produce that availability at the worked example's MTBF of 73,000 hours, from MTTR = MTBF × (1 − A) ÷ A.
AvailabilityNinesDowntime per yearDowntime per 30-day monthMTTR needed at MTBF 73,000 h
90%1876 h (36.5 days)72 h8,111 h
99%287.6 h (3.65 days)7.20 h737 h
99.9%38.76 h43.2 min73.1 h
99.95%3.34.38 h21.6 min36.5 h
99.99%452.6 min4.32 min7.30 h
99.999%55.26 min25.9 s43.8 min
99.9999%631.5 s2.59 s4.38 min

The right-hand column is the practical message: at a fixed MTBF of 73,000 hours, five nines requires restoring service inside 44 minutes, every time.

MTBF is not a service life and not a warranty

A one-million-hour MTBF does not mean the item lasts 114 years, and it does not mean it will not fail tomorrow. Under the constant-rate assumption behind every MTBF figure, the chance an item is still working after one MTBF is e−1 = 36.8%. The figure also says nothing about wear-out: SSD endurance, fan bearings, battery capacity and capacitor ageing all have a finite service life that the manufacturer states separately, and MTBF is only valid inside that life. Quoting MTBF as a lifespan in a customer document is the fastest way to lose an argument with a reliability engineer.

Mistakes that make these numbers wrong

  • Using calendar hours instead of operating hours. A device powered off for three months of the year contributed no exposure. Count powered-on hours, or your MTBF is inflated by the idle time.
  • Mixing failure counts and repair counts. MTBF and MTTR must share the same denominator. Repeat visits to one incident are one failure, not three.
  • Quoting inherent availability as if it were operational availability. This formula counts corrective maintenance only. Add preventive maintenance windows, parts logistics and approval delays and the achieved figure drops, sometimes by a whole nine.
  • Estimating from a handful of failures. The standard chi-square bounds on MTBF stay wide until the failure count grows: at two failures the 90% interval spans more than a factor of ten, and at ten failures it is still around a factor of three. Report the interval, or report an order of magnitude.
  • Reporting an infinite MTBF because nothing failed. Zero failures does not mean infinite reliability. Reliability practice is to quote a one-sided lower confidence bound from the accumulated hours instead.
  • Assuming component MTBFs are independent. A shared power supply, a shared cooling loop or a common firmware defect makes two "redundant" units fail together, and the parallel arithmetic collapses.
  • Ignoring the wear-out region. Once an item is past its rated service life the constant-rate model no longer holds and MTBF understates the failures you will see.

Where this sits among the other reliability tools

MTBF and MTTR are the two inputs almost every other reliability calculation consumes. Once you have them, availability for a single item comes from this page; availability for an architecture — two power feeds, three replicas, a load balancer in front — comes from combining items in series and parallel. Series combination multiplies availabilities and always lands below the weakest member, which is why a chain of six 99.9% components delivers 99.4%.

If you run services rather than hardware, the modern framing is the error budget: an SLO of 99.9% over 30 days grants 43.2 minutes of permitted unavailability, and each incident spends part of it. The SLO error budget calculator converts a target into a budget and tracks the burn, which is a more actionable form of the same arithmetic than a nines figure on a slide.

For data rather than service, availability is the wrong metric entirely — what matters is how much work you lose and how long recovery takes, which is the recovery point and recovery time objective pair handled by the RPO and RTO data loss calculator. And when you are sizing an array, the AFR you derive here is exactly the input a rebuild-window risk model needs, alongside the capacity arithmetic in the RAID capacity calculator.

For prediction rather than measurement — a figure for hardware that does not exist yet — the parts-count and parts-stress methods in MIL-HDBK-217F and Telcordia SR-332 sum component failure rates into a system λ. Those predictions are useful for comparing two designs. They are not a substitute for the field data you collect once the thing is running, and where the two disagree, the field data is the one that describes your world.

Key terms

Inherent availability (Ai)
Availability counting corrective maintenance only, MTBF ÷ (MTBF + MTTR). It is the design-level figure and the optimistic one.
Operational availability (Ao)
Uptime ÷ total calendar time, counting everything: corrective work, preventive work, logistic delay, administrative delay, standby. Always at or below inherent availability.
FIT
Failures in time — failures per 109 device-hours. 1,000 FIT equals an MTBF of one million hours.
AFR
Annualised failure rate — the expected fraction of a population that fails per year of continuous service, 8,760 ÷ MTBF.
Bathtub curve
The three-phase hazard-rate picture: falling infant mortality, a flat useful-life region where the constant-rate model applies, then rising wear-out.
Logistic delay
Time spent waiting for a part, a courier or an engineer. Excluded from inherent availability, included in operational availability, and usually the largest share of a long restore.

Frequently asked questions

Is MTBF the same as how long the equipment will last?

No. MTBF is a failure rate expressed as its reciprocal, measured across a population, not a service life for one item. A million-hour MTBF means one failure per million device-hours — one failure roughly every six weeks in a fleet of a thousand units. Manufacturers state useful life separately, and once an item is past that life the constant-rate model behind MTBF no longer applies at all.

What is the difference between MTBF and MTTF?

MTBF applies to repairable items and MTTF to items that are discarded on failure; the arithmetic is the same. IEC 60050-192 draws the line at whether the item re-enters service after the failure. Use MTTF for a fuse, a lamp or a sealed sensor, and MTBF for a server, a pump or a network switch that gets fixed and returned to duty.

Should MTTR mean time to repair or time to restore?

Use time to restore for anything you will turn into an availability figure. Restore time is the full outage as a user experiences it: detection, diagnosis, waiting for parts, the repair itself, and validation. Repair time is the wrench time alone and is typically a small fraction of the outage, so an availability figure built from it will be far more optimistic than the service your users actually receive.

What availability is normal for a production system?

Single enterprise servers with a competent on-site team typically land between three and four nines, which is 8.8 hours to 53 minutes of downtime per year. Managed cloud infrastructure services commonly commit to 99.9% or 99.99% in contract. Five nines — 5.3 minutes a year — is a distributed-system property, not a hardware property: it requires redundancy with automatic failover, because no single repair process reliably restores service inside five minutes.

How do I calculate MTBF when nothing has failed yet?

You cannot compute a point estimate, because dividing by zero failures gives infinity. Reliability practice is to report a one-sided lower confidence bound instead, derived from the accumulated device-hours and a chi-square quantile at your chosen confidence level. Report it as "MTBF is at least X hours with 90% confidence" and state the hours accumulated, so a reader can judge how much evidence sits behind it.

Why is my measured AFR so much higher than the datasheet?

Datasheet MTBF comes from accelerated testing or a parts-count prediction under stated temperature, vibration and duty-cycle assumptions, and it excludes handling damage, firmware defects, power events and installation error. Large-population field studies of disk drives, including Schroeder and Gibson's FAST 2007 work, found production replacement rates well above the rates datasheet MTBF implies. Your measured figure describes your environment, so plan spares from it.

Does redundancy multiply my availability?

It multiplies the unavailability, which is a much stronger effect. Two independent units at 99.9% each are both down at once only 0.1% × 0.1% = 0.0001% of the time, giving 99.9999% for the pair. The word doing the work is independent: a shared power feed, a shared rack, a shared switch or the same firmware bug on both units breaks the assumption and pulls the real figure back toward a single unit's.

How many failures do I need before the MTBF is trustworthy?

Roughly ten to twenty before the interval is tight enough to make decisions on. Using the standard chi-square bounds on accumulated device-hours, two failures give a 90% confidence interval on MTBF spanning more than a factor of ten; ten failures narrow it to about a factor of three. Accumulate more device-hours rather than more calendar time — fifty units observed for a year gives the same statistical evidence as one unit observed for fifty years, and arrives forty-nine years sooner.

Can I convert an SLA percentage straight into an MTTR target?

Yes, once you fix MTBF. Rearranging the availability formula gives MTTR = MTBF × (1 − A) ÷ A. At an MTBF of 73,000 hours, 99.99% availability allows a mean restore of 7.3 hours while 99.999% allows only 44 minutes. That rearrangement is what the table on this page shows, and it is usually the fastest way to work out whether a proposed SLA is achievable with the support model you actually have.

References

  • IEC 60050-192: International Electrotechnical Vocabulary — Part 192: Dependability — International Electrotechnical Commission
  • MIL-HDBK-338B, Electronic Reliability Design Handbook — United States Department of Defense
  • MIL-HDBK-217F Notice 2, Reliability Prediction of Electronic Equipment — United States Department of Defense
  • SR-332, Reliability Prediction Procedure for Electronic Equipment — Telcordia Technologies
  • Schroeder, B. and Gibson, G. — Disk Failures in the Real World: What Does an MTTF of 1,000,000 Hours Mean to You? — USENIX Conference on File and Storage Technologies (FAST '07)