Skip to content

Calculator

MTBF and MTTR, calculated.

Enter the hours in a period, the hours a machine was unavailable, its failures and their repair hours, and get uptime, availability, MTBF and MTTR, with the edge cases handled honestly.

2 min read · Updated 24 November 2026

MTBF and MTTR calculator

Type your own figures. It works in your browser: nothing is sent or saved.

Uptime
–
Availability
–
MTBF
–
MTTR
–

What to type in

  • Hours in the period: the time the machine was registered and expected to be available, for example 720 for a 30-day month.
  • Hours unavailable: every lockout, planned maintenance and failures alike. This sets uptime and availability.
  • Failures: unplanned stops only. Planned servicing is not a failure, so it lowers availability without lowering MTBF.
  • Hours to repair those failures: from the moment each failure was locked out to the moment it was released, added up.

The formulas behind it

  • Uptime = hours in the period − hours unavailable
  • Availability = uptime / hours in the period
  • MTBF = uptime / number of failures
  • MTTR = repair hours of those failures / number of failures

Cases the calculator will not paper over

For several machines together, add up their uptime and their failures first, then divide. Averaging each machine's MTBF gives a different and wrong figure.

How the calculator treats awkward inputs
InputWhat it showsWhy
No failuresMTBF and MTTR left emptyDividing by zero is not a result; say there were no failures
Repair hours above hours unavailableAn errorRepairs are part of the time the machine was unavailable
Unavailable longer than the periodAn errorA machine cannot be down for longer than the period
One failure in a short periodA figure, with careOne event says little; look at several months together

From the lockout record, every month

Atlas Edge takes these figures from its lockout/tagout trail instead of a spreadsheet: a failure is an unplanned lockout, one tripped by a rule or applied in an emergency. Releasing a lockout asks for the cause, so MTTR can be read by cause, and the monthly workbook shows availability, MTBF and MTTR per machine, area and plant.

Sources

Guide

Quick answers.

What is the difference between MTBF and MTTR?

MTBF (mean time between failures) says how long a machine runs between breakdowns; higher is better. MTTR (mean time to repair) says how long it stays down when it breaks; lower is better.

Does planned maintenance count in MTBF?

No. It counts in availability, because the machine was unavailable, but it is not a failure.

How do I get availability from MTBF and MTTR?

For failures alone, inherent availability = MTBF / (MTBF + MTTR). Operational availability also counts planned downtime, which is what this calculator's availability shows.

More guides

Bring your plant alive.

A gateway per shop area, the controllers you already have, and your first monthly report in the inbox on the 1st. Tell us about your floor.