MTBF Calculator

Estimate MTBF, repair time, availability and reliability from recorded operating hours and failures.

Technology and NetUpdated 2026-11-183 min read
MTBF Calculator
Hours the system was actually running, with idle time excluded.
Whole number of unscheduled failures in that window.
Sum of the time spent restoring the system after each failure.
The number of hours you want the survival estimate to cover.
Mean time between failures
...
Mean time to repair...
Failure rate...
Inherent availability...
Downtime fraction...
Expected failures per year...
Survival to mission time...

What it does

Mean time between failures, or MTBF, is the average operating time a repairable system delivers between one unscheduled failure and the next. The NIST and SEMATECH engineering handbook gives the estimate directly: total system operating time divided by total number of failures. It is a measure of reliability, not a warranty, and it only makes sense when failures are recorded consistently.

The companion measure is mean time to repair, MTTR, which is total repair time divided by the same failure count. Sandia National Laboratories works through both in a short training note, including the example of equipment running around the clock for two weeks with three failures, which gives 336 / 3 = 112 hours MTBF. Repair time and failure time together determine how often the system is actually available.

Inherent availability uses those two averages: MTBF divided by MTBF plus MTTR. NASA Kennedy Space Center describes several forms of availability and notes which kinds of downtime each one includes. Inherent availability counts only corrective repair, so it is a design figure rather than a full measure of what an operator experiences with spares delays and planned maintenance included.

This page also applies the constant failure rate model. In that model the reciprocal of MTBF is the rate, the probability of surviving to a chosen mission time is exp(-t / MTBF), and expected failures in a year are 8,760 divided by MTBF. NIST explains that this model suits the flat middle of the bathtub curve, where a component does not become more likely to fail just because it has been running longer.

Every figure here is a point estimate from the numbers you enter. A short record with only a few failures gives a wide uncertainty band, so use the result to describe what has happened and as a rough planning input, not as a promise about the next year.

How to use

  1. Enter the total hours the system was operating, excluding idle and scheduled downtime.
  2. Enter the whole number of unscheduled failures observed in that same window.
  3. Enter the sum of repair hours for those failures.
  4. Enter a mission time in hours for the survival estimate.
  5. Read MTBF and MTTR first, then failure rate and inherent availability.
  6. Use expected failures per year and survival to mission time for planning, and remember they assume a constant rate.

Formula

MTBF = T_on / N_f; MTTR = T_repair / N_f; lambda = 1 / MTBF; A = MTBF / (MTBF + MTTR); R(t) = exp(-t / MTBF).
T_on
Total operating hours in the observation window, in hours.
N_f
Whole number of unscheduled failures in the same window.
T_repair
Sum of repair hours for those failures, in hours.
lambda
Failure rate, in failures per hour.
A
Inherent availability as a fraction between 0 and 1.
R(t)
Probability of surviving without failure to mission time t.

A year is taken as 8,760 hours, from 365 days x 24 hours. The exponential survival formula assumes the failure rate stays constant, which is the flat portion of the bathtub curve described by NIST. If repair hours are zero, MTTR is zero and inherent availability is 100 percent for this record. These are maximum likelihood point estimates; NIST gives confidence interval factors when a bound is needed.

Worked example

Example: 1,000 operating hours with 5 failures

Defaults: 1,000 operating hours, 5 failures, 15 total repair hours and a mission time of 100 hours.

  1. MTBF is 1,000 / 5 = 200 h.
  2. MTTR is 15 / 5 = 3 h.
  3. Failure rate is 5 / 1,000 = 0.00500 failures per hour, the reciprocal of 200 h.
  4. Inherent availability is 200 / (200 + 3) = 200 / 203 = 0.985222, or 98.52 percent. Downtime is the remaining 1.48 percent.
  5. Expected failures per year are 8,760 / 200 = 43.80.
  6. Survival to 100 hours is exp(-100 / 200) = exp(-0.5) = 0.606531, or 60.65 percent.
  7. The tool shows 200.00 h MTBF, 3.00 h MTTR, 0.00500 per h, 98.52 percent availability, 1.48 percent downtime, 43.80 per year and 60.65 percent survival.

Reference table

Hand-checked MTBF and MTTR examples from operating records
Operating hoursFailuresRepair hoursMTBFMTTR
33639112 h3 h
1,000515200 h3 h
2,000420500 h5 h

Limits

  • Assumes a constant failure rate, so it does not describe early life failures or wear out at the end of life.
  • A point estimate from a short record is uncertain; NIST recommends confidence bounds for serious reliability work.
  • Uses operating hours only, leaving out idle time and planned shutdowns by design.
  • Inherent availability ignores supply delays, preventive maintenance and administrative downtime.

Common mistakes

  • Dividing by calendar hours instead of operating hours when the system spends long periods idle.
  • Mixing failures from several different machine types into one average.
  • Counting planned maintenance as a failure, which lowers MTBF without describing an actual fault.
  • Forgetting to include all repair hours when calculating MTTR, which overstates availability.
  • Reading the survival figure as a guarantee that a particular unit will last that long.

Try it yourself

Quick checks. Answers sit tucked under each question.

Equipment runs 336 hours with 3 failures and 9 hours of repairs. What are MTBF, MTTR and availability?

MTBF is 336 / 3 = 112.00 h and MTTR is 9 / 3 = 3.00 h. Availability is 112 / 115 = 97.39 percent, with 2.61 percent downtime. Failure rate is 3 / 336 = 0.00893 per hour.

A system logs 2,000 hours, 4 failures, 20 repair hours and a 100 hour mission. Report the results.

MTBF is 500.00 h, MTTR is 5.00 h and failure rate is 0.00200 per hour. Availability is 500 / 505 = 99.01 percent, expected failures are 8,760 / 500 = 17.52 per year, and survival to 100 hours is exp(-0.2) = 81.87 percent.

One failure in 500 hours with no repair time and a 500 hour mission: what is survival?

MTBF is 500.00 h and MTTR is 0.00 h, giving 100.00 percent inherent availability for this record. Survival to 500 hours is exp(-1) = 36.79 percent, and expected failures are 17.52 per year.

Questions

What is MTBF?

Mean time between failures, estimated as total operating hours divided by the number of failures. It describes a repairable system during the period when its failure rate is roughly steady.

How does MTBF differ from MTTF?

MTBF applies to systems that are repaired and returned to service. MTTF, mean time to failure, is used for items that are discarded when they fail.

What is MTTR?

Mean time to repair, the total time spent fixing failures divided by the number of failures. It is paired with MTBF to calculate inherent availability.

Is a higher MTBF always better?

Usually, but it can hide other problems. A machine with a long MTBF and a very long repair time may be unavailable more often than one that fails more often and recovers quickly.

What does the survival percentage mean?

Under the constant failure rate model, it is the probability that a unit reaches the mission time without a failure. It is a property of the model and the estimated rate, not a prediction for a named unit.

How many failures should I record before trusting the estimate?

More is better. NIST provides confidence factors because an estimate from only one or two failures has a very wide interval, even if the arithmetic is exact.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.