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
| Metric | Formula | Unit |
|---|---|---|
| MTBF | Operating time / number of failures | hours |
| MTTR | Total breakdown downtime / number of failures (repairs) | minutes or hours |
| Availability | MTBF / (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.
- Counts: hydraulic leak, broken part, burnt-out motor, faulty sensor, program crash, machine stopped because of an equipment-related quality problem.
- Does not count: planned maintenance, mould/product changeover and setup, waiting for material or operators, external causes such as a power cut, trial runs.
- Needs a decision: short stops the operator clears with a reset in a few minutes. Many plants track these below a threshold (for example 5 minutes) as minor stops in OEE rather than as breakdowns. Set the threshold yourself, but write it down and keep it stable.
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.
| Item | Value |
|---|---|
| Planned operating time | 22 × 26 = 572 hours |
| Breakdown downtime | 45 + 120 + 30 + 85 = 280 min = 4.67 hours |
| Planned maintenance (not a failure) | 4 hours |
| Operating time | 572 − 4.67 − 4 = 563.3 hours |
| MTBF | 563.3 / 4 = 140.8 hours |
| MTTR | 280 / 4 = 70 minutes |
| Availability | 140.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:
- Waiting: from the breakdown call until the technician reaches the machine.
- Diagnosis: finding the cause.
- Spare part wait: the part arriving from stores or the supplier.
- Repair: actual dismantling, replacement, adjustment and assembly.
- 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:
- Top 10 assets by breakdown downtime: shows where maintenance resources should go.
- Assets with the lowest MTBF: candidates for reviewing the content or interval of preventive maintenance.
- Pareto of failure codes: hydraulics, sensors or moulds? A recurring code calls for root cause analysis.
- Summary by criticality: targets are set first for class A (critical) equipment.
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:
- Is your failure definition written down? How are short stops and planned maintenance separated?
- Which time base is MTBF calculated on?
- Are there targets for key equipment, and which actions were raised for those below target?
- Was root cause analysis done for repeat failures, and is it reflected in the preventive maintenance plan?
The most common mistakes
- 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.
- Mixing planned stops with failures. If planned maintenance, mould changes or material waits are logged as breakdowns, MTBF drops artificially and MTTR becomes meaningless.
- 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.
- Using calendar time. Machines with different numbers of shifts can no longer be compared.
- 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
- Is our failure definition written down, and is the short-stop threshold defined?
- Do we calculate MTBF on operating time rather than calendar time?
- Are the start and end times of every breakdown recorded on the spot?
- Can we split MTTR into waiting, diagnosis, spare part, repair and test?
- Do we have MTBF and MTTR targets for critical equipment?
- Are our totals calculated as an average of averages?
- Are failures of the assets with the most downtime fed back into the preventive maintenance plan?
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.