TAKMOSPRODUCTION ERP
Excel templates FREE Try the demo
Home › Guides › How to calculate MTBF and MTTR: from breakdown log to maintenance KPIs
Maintenance

How to calculate MTBF and MTTR: from breakdown log to maintenance KPIs

Hüseyin Şamlı · 2026-11-09 · 8 min read

MTBF and MTTR are the two basic maintenance metrics: one shows how often a machine fails, the other how quickly it is back in production after a failure. The formulas are simple; the hard part is deciding which stops count as failures, which time base to use and how to record the data. In this article I explain how to calculate both metrics starting from the breakdown log, walk through a numerical example, show how to break MTTR down and list the most common mistakes; a free Excel template is at the end.

What are MTBF and MTTR?

MTBF (mean time between failures) shows how long a repairable asset runs on average between two failures. Higher is better. MTTR (mean time to repair) shows how many minutes it takes on average to clear a failure. Lower is better. Roughly speaking, MTBF measures reliability, while MTTR measures how fast the maintenance team and the organisation respond.

For parts that are replaced rather than repaired (sensors, fuses, bearings), MTTF (mean time to failure) is used instead. This article covers MTBF and MTTR at machine and line level, that is, for repairable equipment.

Formulas

MetricFormulaUnit
MTBFOperating time / number of failureshours
MTTRTotal breakdown downtime / number of failures (repairs)minutes or hours
AvailabilityMTBF / (MTBF + MTTR)%

In the availability formula, MTBF and MTTR must be in the same unit. This ratio shows only the loss caused by breakdowns; changeovers, material waits or planned maintenance are not included. That is why it is always higher than the availability factor of OEE. I explain how the two relate in how to calculate OEE: breakdown downtime is only one item of OEE availability loss.

What counts as a failure, and what does not?

Put the definition in writing before you calculate anything; otherwise you will be measuring something different every month. A definition that works in practice: a failure is an unplanned event that stops the asset or degrades its function to an unacceptable level and requires maintenance intervention.

Record non-breakdown stops too; just keep them out of the MTBF and MTTR calculation. They are time when the asset was not running and are deducted from operating time.

Which time base: calendar time or operating time?

The numerator of MTBF is the time the asset actually ran, not calendar time. If you calculate a single-shift machine with the 744 hours of a month, its MTBF comes out three to four times too high. The correct base is planned operating time (the time the machine should run according to the shift plan) minus breakdown downtime minus other recorded stops. For utilities running 24/7, such as compressors and chillers, calendar time and operating time are close; for production machines they are not.

If you have a meter (operating hours, cycle count), use it. If not, calculating planned time from daily operating hours and operating days per week is a sound approximation.

Worked example

An injection moulding machine is planned to run 22 hours a day on 26 days in October. During the month there are 4 failures and one planned maintenance job of 4 hours.

ItemValue
Planned operating time22 × 26 = 572 hours
Breakdown downtime45 + 120 + 30 + 85 = 280 min = 4.67 hours
Planned maintenance (not a failure)4 hours
Operating time572 − 4.67 − 4 = 563.3 hours
MTBF563.3 / 4 = 140.8 hours
MTTR280 / 4 = 70 minutes
Availability140.8 / (140.8 + 1.17) = 99.2%

Had you used calendar time (31 × 24 = 744 hours), MTBF would have been 186 hours: a figure that looks about 30% better but does not reflect reality.

Break MTTR down

A single MTTR figure tells you that repairs take long, but not why. If you split the total time in the breakdown log into components, the improvement area becomes obvious:

  1. Waiting: from the breakdown call until the technician reaches the machine.
  2. Diagnosis: finding the cause.
  3. Spare part wait: the part arriving from stores or the supplier.
  4. Repair: actual dismantling, replacement, adjustment and assembly.
  5. Test and restart: trial run, first-part approval, hand-back to production.

Say the 70-minute MTTR in the example consists of 12 minutes waiting, 18 diagnosis, 15 spare part wait, 20 repair and 5 test. The actual repair work is less than a third of the time. The fix is then not a faster technician but a call system, fault trees and diagnostic guides, and critical spare parts kept close to the machine.

The definition of MTTR also varies between companies: some take only the repair time, others the whole time from the call to hand-back (time to restore). I recommend the latter because it is consistent with the availability calculation; whichever you choose, write the definition down.

Use it by equipment and criticality

You can calculate a site-level MTBF, but on its own it says little: as the number of assets grows, site MTBF falls. The tables that drive decisions are per asset:

MTBF is also feedback on the preventive maintenance plan. If an asset's MTBF is falling, the interval or content of its maintenance may be inadequate; if failures keep coming from the same code, a periodic check should be added at that point. I describe how to build the plan in how to create a preventive maintenance plan.

IATF 16949 clause 8.5.1.5 and maintenance objectives

IATF 16949 clause 8.5.1.5 (total productive maintenance) requires documented maintenance objectives to be set, monitored and improved; OEE, MTBF, MTTR and preventive maintenance compliance are given as examples. Performance against the maintenance objectives is an input to management review. Typical auditor questions:

  1. Is your failure definition written down? How are short stops and planned maintenance separated?
  2. Which time base is MTBF calculated on?
  3. Are there targets for key equipment, and which actions were raised for those below target?
  4. Was root cause analysis done for repeat failures, and is it reflected in the preventive maintenance plan?

The most common mistakes

  1. Deciding on a small sample. The MTBF of a machine that fails once a month halves the next month with two failures; that is noise, not a trend. Use a rolling 3- or 12-month window per asset and always read MTBF together with the number of failures.
  2. Mixing planned stops with failures. If planned maintenance, mould changes or material waits are logged as breakdowns, MTBF drops artificially and MTTR becomes meaningless.
  3. Averaging averages. If machine A has an MTBF of 280 hours with 2 failures and machine B 56 hours with 10 failures, their combined MTBF is not 168 hours. The correct calculation divides total operating time by the total number of failures: 1120 / 12 = 93 hours.
  4. Using calendar time. Machines with different numbers of shifts can no longer be compared.
  5. Estimating the end time afterwards. MTTR is only as accurate as the start and end times recorded on the spot.

Free Excel template: Breakdown Log and MTBF/MTTR

In the Breakdown Log and MTBF/MTTR template you enter daily operating hours and operating days per week in the equipment list, and start and end time, waiting, diagnosis, spare part, repair and test minutes and the failure code in the breakdown log. Planned maintenance and non-breakdown stops are entered as separate types and do not distort MTBF. The dashboard, filtered by line and criticality, shows breakdowns, downtime, MTBF, MTTR, availability and repeat failures for the report month against the previous month; a 12-month MTBF/MTTR chart, failure code Pareto, MTTR breakdown, and lists of the assets with the most downtime and the lowest MTBF are ready to use. Sample data is fictitious.

Ask yourself

When Excel is no longer enough

As the number of failures and assets grows, it becomes harder to record everything on time and in full. In the Work Orders section of the TAKMOS Maintenance Module, a breakdown call becomes a work order directly; because call, response and close-out times come from the work order, MTBF and MTTR are calculated without manual totting up.

Breakdown Log and MTBF/MTTR

MTBF, MTTR and availability are calculated automatically from the equipment list and breakdown log. MTTR is split into waiting, diagnosis, spare part, repair and test; the dashboard filters by line and criticality.

Download (Excel · 164 KB)
Maintenance Module · Work Orders

See how we do this in the program on the module page, and try it in the demo.

Explore →
More from this area

All guides →