Free calculator

MTBF and MTTR calculator: free formula and worked example

MTBF and MTTR are the two basic reliability numbers for a repairable machine. MTBF (mean time between failures) is total operating time divided by the number of failures, and MTTR (mean time to repair) is total repair time divided by the same number of failures.

MTBF and MTTR calculator

Default values are example values. Replace them with yours.

Time the asset was running, not counting repair time.
From breakdown to back in service, added up over all failures.

Your result

Enter your numbers and press Calculate. The formula and a worked example are below.

MTBF = total operating time / number of failuresMTTR = total repair time / number of failures

Nothing you type leaves your browser until you unlock your result. When you do, your numbers and result go to our team with your email, so we can follow up.

MTBF

The formula

MTBF is the average running time between failures. Higher is better.

MTBF = Total operating time / Number of failures
Total operating time
Hours the machine actually ran in the period. Leave out the hours it was down for repair.
Number of failures
Breakdowns in the same period that stopped the machine or needed a repair.

MTTR

MTTR is the average time to get a failed machine back into service. Lower is better.

MTTR = Total repair time / Number of failures
Total repair time
Hours from each breakdown to the machine running again, added up over all failures. Include diagnosis, waiting for parts, repair and the test run, unless you choose a narrower rule and say so.
Number of failures
The same count used for MTBF.

Inherent availability

Put the two together and you get the availability the machine would have if repairs were the only downtime.

Inherent availability = MTBF / (MTBF + MTTR)
MTBF
From the first formula, in hours.
MTTR
From the second formula, in hours.

With zero failures, MTBF cannot be calculated yet. That is good news for the machine, not a number. Keep counting operating hours until the first failure.

Worked example

Worked example (illustrative)

Take the sand mixer that feeds a moulding line in a foundry near Kolhapur. Over one month it is scheduled for three shifts on 26 working days: 624 hours. It breaks down 5 times, and the five repairs take 14 hours in total. So it actually operated for 624 minus 14, which is 610 hours.

All numbers are illustrative and the arithmetic is the same as the calculator above.

ItemCalculationResult
Total operating time (input)624 - 14610 h
Number of failures (input)5
Total repair time (input)14 h
MTBF610 / 5122 h
MTTR14 / 52.8 h
Inherent availability122 / (122 + 2.8) = 122 / 124.897.8%

On average the mixer runs about 122 hours, roughly five days, between breakdowns, and each repair takes 2.8 hours. Five failures in a month is the bigger problem, so your next step is to look at the causes, not only at repair speed.

How to read your result

MTBF tells you how often a machine lets you down. MTTR tells you how long it hurts each time. Read them together. A machine with high MTBF and high MTTR fails rarely but stops the line for a long time, so spares and repair instructions matter most. A machine with low MTBF and low MTTR fails often but is quick to fix, so root cause and preventive maintenance matter most.

Inherent availability is a ceiling, not your real availability. It ignores planned maintenance, setups and waiting for an operator, so the real figure on the shop floor is usually lower.

Track the trend for each machine, month on month, with the same rules. One month with two failures is a weak guide on its own.

Common mistakes in MTBF calculation

The arithmetic is simple. The errors come from what you count.

  • Using calendar time instead of operating time. If the machine runs one shift a day, a month of calendar hours inflates MTBF three times over.
  • Leaving repair hours inside operating time. Take them out. A machine is not operating while it is being repaired.
  • Counting planned stops as failures. PMs, setups and changeovers are not failures. Count them separately.
  • Changing when the repair clock starts. Decide whether MTTR starts when the machine stops or when the technician arrives, and keep that rule every month.
  • Using MTBF for parts you throw away. For parts you replace rather than repair, mean time to failure (MTTF) is the right measure.

How MaintenanceIQ helps

You get MTBF and MTTR for every machine without a monthly spreadsheet. When your team logs a breakdown in MaintenanceIQ with a start time and a resolution, MTBF, MTTR and downtime follow for that asset, along with a bad-actor ranking of the machines costing you most. See reliability analytics.

Sources

Frequently asked questions

What is the difference between MTBF and MTTR?

MTBF is how long a machine runs, on average, between failures. MTTR is how long it takes, on average, to fix it when it fails. MTBF measures reliability and MTTR measures how quickly you recover.

What is the difference between MTBF and MTTF?

MTBF is for machines you repair and put back in service. MTTF is for parts you replace when they fail, such as bearings or bulbs.

What if there were no failures in the period?

Then MTBF cannot be calculated yet. Keep adding operating hours until the first failure, or look at a longer period.

Should waiting for parts count in MTTR?

In the common definition, yes, because the machine is down the whole time. Some teams also track hands-on repair time separately to see how much is waiting. Say which rule you use.

How many failures do I need for a useful MTBF?

There is no fixed number, but a figure from one or two failures is a weak guide. Use a longer period or compare the trend over several months.

Fix it before it fails.

Start a free trial today, or book a demo tailored to your plant, assets and standards.

Start with one line. Extend when it works.