MTBF and MTTR calculator

Enter how long the system ran, how many times it failed and how long the repairs took in total. The calculator gives MTBF and MTTR, the availability they imply, the downtime per year, the failure rate and the probability of getting through a mission of a chosen length without a failure.

h
h
h
MTBF2,190 h
MTTR3 h
Availability
99.8632 %
Downtime per year at this availability
11.98 h
Failure rate λ
0.00045662 /h
Failures per million hours
456.62
Chance of no failure during the mission
71.98 %

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Enter the total operating time in hours: the time the system was running during the period you observe.
  2. Enter the number of failures in that period and the total repair time in hours.
  3. Optionally change the mission time to see the chance of running that long without a failure.

Formulas

  • MTBF = operating time ÷ failures
  • MTTR = repair time ÷ failures
  • Availability A = MTBF ÷ (MTBF + MTTR)
  • Failure rate λ = 1 ÷ MTBF, also shown per 10⁶ hours
  • Reliability R(t) = e^(−t ÷ MTBF), assuming a constant failure rate
  • Downtime per year = (1 − A) × 8,760 h

Worked example

A server ran 8,760 h in a year, failed 4 times and was down for 12 h in total.

  • MTBF = 8,760 ÷ 4 = 2,190 h; MTTR = 12 ÷ 4 = 3 h.
  • Availability = 2,190 ÷ 2,193 = 99.8632 %, or 11.98 h of downtime a year.
  • λ = 1 ÷ 2,190 = 0.00045662 /h, which is 456.62 failures per million hours.
  • The chance of a 30-day (720 h) month without failure: e^(−720 ÷ 2,190) = 71.98 %.

Tips

  • Use enough history. Four failures give a rough estimate; the more failures in the record, the more reliable the MTBF.
  • Keep units consistent. Enter everything in hours; for days multiply by 24 first.
  • Availability targets such as 99.9 % allow 8.76 hours of downtime a year; the uptime SLA calculator turns any percentage into allowed downtime.

Frequently asked questions

How do you calculate MTBF?

MTBF = total operating time ÷ number of failures. A system that ran for 8,760 hours (a year) and failed 4 times has an MTBF of 2,190 hours. Count only the time it was running, not the time it spent being repaired.

What is MTTR?

Mean time to repair: total repair time ÷ number of failures. 12 hours of repairs for 4 failures is an MTTR of 3 hours. Depending on what you count, it can include detection, diagnosis and the wait for parts, so state which definition you use.

How are MTBF and MTTR related to availability?

Availability = MTBF ÷ (MTBF + MTTR), the share of time the system is up. With MTBF 2,190 h and MTTR 3 h it is 99.8632 %, about 12 hours of downtime a year. Shortening repairs raises availability just as much as making failures rarer.

What is the difference between MTBF and MTTF?

MTBF is used for repairable systems that are fixed and put back into service. MTTF (mean time to failure) is used for items that are replaced, not repaired, such as a disk or a bulb. The formula is the same: total operating time divided by the number of failures.

Does an MTBF of 2,190 hours mean it will run 2,190 hours?

No. With a constant failure rate the chance of lasting a whole MTBF without failure is only e⁻¹ ≈ 36.8 %. Use the mission time field to see the chance for the period you care about.

More in Developer

All tools in this category: Developer ·Updated November 7, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.