OpenGXT homePlan a pilot line
Menu

MTBF and MTTR calculator for a machine

How long a machine runs between failures, how long it takes to get it running again, and what those two numbers mean for availability.

For: Maintenance managers, reliability engineers and maintenance planners

Two tiny figures stretch measuring tapes on the floor beside a machine, one long tape between two red flags far apart and one very short tape between two flags close together near an open machine panel.

Calculator

Fictional example values are filled in. Replace them with your own; results update as you type. Nothing you enter leaves your browser.

From the stop to the machine running again.

Results

Mean time between failures (MTBF)
120.0 h
Mean time to repair (MTTR)
1.50 h
Failures per 1,000 operating hours
8.33
Inherent availability, MTBF ÷ (MTBF + MTTR)
98.77%

Operating hours should exclude the repair time itself. Count a failure the same way every time (for example, any unplanned stop that needs maintenance), and write that definition down. If repair time includes waiting for parts or a technician, the availability figure is closer to operational than inherent availability.

Two numbers describe how a machine behaves from a maintenance point of view: how long it usually runs before it fails, and how long it usually takes to get it running again. Mean time between failures (MTBF) and mean time to repair (MTTR) are simple averages, but they only mean something when the inputs are counted the same way every month. This calculator does the arithmetic and the page explains the counting.

The formulas

These are standard definitions, shown with the arithmetic the calculator uses:

Result Calculation
MTBF Operating hours ÷ number of failures
MTTR Total repair hours ÷ number of failures
Failures per 1,000 operating hours Failures ÷ operating hours × 1,000
Availability from failures MTBF ÷ (MTBF + MTTR)

The last line is labeled inherent availability in the calculator. Strictly, inherent availability uses active repair time only. If your repair hours run from the stop until the machine runs again, as the calculator’s hint suggests, they include waiting for a technician or parts, and the result is the availability you actually got from failures. That is usually the more useful number for a plant, as long as you say which one you report.

Example (fictional). An injection molding press at a fictional plastics plant logs 720 operating hours in a period, not counting the time it was under repair. It fails 6 times, and the six repairs take 9 hours in total from stop to restart.

  • MTBF: 720 ÷ 6 = 120.0 h
  • MTTR: 9 ÷ 6 = 1.50 h
  • Failures per 1,000 operating hours: 6 ÷ 720 × 1,000 = 8.33
  • Availability from failures: 120 ÷ (120 + 1.5) = 98.77%

With only six failures, one more or one fewer moves the answer a lot: five failures would give an MTBF of 144.0 h, seven would give 102.9 h.

Collecting good inputs

  • Define a failure once. For example: any unplanned stop that needs maintenance and lasts longer than a threshold you choose. Operator adjustments, material shortages and planned maintenance are not failures under this definition. Write the definition down and keep it fixed.
  • Operating hours, not calendar hours. Count the hours the machine was actually running or available to run, and leave out the repair time itself. A machine that runs one shift a day has far fewer operating hours than calendar hours, and using calendar hours inflates MTBF.
  • Repair time from stop to restart. Work order times are often entered after the fact and rounded. The machine’s state signal gives the exact minute it stopped and the minute it ran again, which is a better source for the clock and lets the work order supply the cause.
  • One machine or one failure mode at a time. An MTBF for a whole line mixes machines that fail for unrelated reasons.

Reading the result

MTBF and MTTR point to different kinds of work.

  • A short MTBF says the machine fails often. Rank the failures by cause, then look at the preventive maintenance tasks, the operating conditions and the components behind the top two or three. The PM compliance calculator checks whether the planned work is actually being done.
  • A long MTTR says repairs take too long. Split each repair into its parts: time to respond, to find the cause, to get parts, to fix and to test. The longest part is usually not the wrench time. Fault codes on the screen, spares on the shelf and a written procedure often shorten it more than skill does.

Trend both monthly, using the same definition, and look at the failure count alongside them. A rise in MTBF from fewer stops is real. A rise that comes from a change in what counts as a failure is not.

Common mistakes

  • Counting planned maintenance as failures. It lowers MTBF and hides the real failures.
  • Averaging MTBF across machines. Add the operating hours and the failures for the group, then divide once.
  • Too short a period. A month with one failure gives an MTBF equal to the whole month. Use a period with enough failures to mean something, or report the failure count with the result.
  • Mixing failure definitions between shifts or sites. The numbers then compare the definitions, not the machines.

From a spreadsheet to every stop

Maintenance software built by OpenGXT counts run hours and stops from the machine’s own state signal, links them to work requests or to the CMMS you already use, and reports MTBF and MTTR per machine on the definition you agree with us. To see what those repair hours cost, carry them into the downtime cost calculator, and to see how failures compare with other losses on the line, use the OEE calculator.

Start with one line.

Tell us which line you want to understand and the question you ask after every shift. We reply with questions or a time to walk it with you.