Toolvito

Works on this device

Mttr Calculator

Find the mean time to repair (MTTR) from the start and end times of your incidents or from totals, see where the time goes from detection to a checked fix, and turn MTBF and MTTR into an availability. You type every time; nothing is measured.

Enter your values

Type the start and end of each incident. You get the mean and the median time to repair, and with the length of the period also the MTBF and the availability.

Your values

The whole time the log covers, such as 31 days for March. Type it to get the MTBF and the availability as well.

Incidents

One row for each incident: when the service went down and when it was back. Use the 24-hour clock. An incident may end on a later day.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose what you want to work out. MTTR from a log of incidents is the first choice.
  2. Fill one row for each incident: the date and 24-hour clock time it started and ended. Type all times in one time zone.
  3. Type the length of the period the log covers if you also want the MTBF and the availability.
  4. Choose Calculate. The result shows the mean, the median, a table and a chart of the incidents. You can download it as a CSV file for a spreadsheet.

What the letters mean

  • MTTR, mean time to repair: the mean time from a failure until the system works again. Many operations teams use MTTR for mean time to restore or recover: from the failure until users have the service back.
  • MTTD, mean time to detect: from the start of a failure until someone knows about it.
  • MTTA, mean time to acknowledge or respond: from the alert until work begins.
  • Mean time to resolve: often also counts work after the service is back, such as a fix of the root cause.
  • MTBF, mean time between failures: here the mean up time between two failures, operating time ÷ failures.
  • MTTF, mean time to failure: the same arithmetic for parts that are replaced, not repaired.

The formulas

  • MTTR = total downtime ÷ number of incidents (or repairs).
  • MTBF = (period watched − total downtime) ÷ number of incidents.
  • Availability = MTBF ÷ (MTBF + MTTR). This links the repair side with the failure side.
  • Longest MTTR for a target = MTBF × (1 − A) ÷ A. MTBF needed = MTTR × A ÷ (1 − A).
  • Median: the middle incident when they are put in order of length. One very long incident moves the mean much more than the median.

Worked examples

A log: four incidents in March of 50, 90, 25 and 75 minutes add up to 240 minutes. MTTR = 240 ÷ 4 = 60 minutes; the median is 62.5 minutes. March has 31 days, which is 44,640 minutes. MTBF = (44,640 − 240) ÷ 4 = 11,100 minutes, or 185 hours. Availability = 185 ÷ 186 = 99.462%.

Steps: three incidents with detect times of 5, 15 and 3 minutes have an MTTD of 7.67 minutes. Their whole times of 50, 90 and 25 minutes give a mean time to restore of 55 minutes.

Totals: 12 hours of downtime over 8 repairs is an MTTR of 1.5 hours. With 2,000 hours of operation the MTBF is 250 hours and the availability 250 ÷ 251.5 = 99.404%.

Availability: an MTBF of 500 hours and an MTTR of 4 hours give 500 ÷ 504 = 99.206%, about 69.5 hours of downtime in a year. For 99.9% with the same MTBF, the MTTR must be at most 30.03 minutes.

Other tools for the same subject

Limits you should know

  • Times are read as you type them, in one time zone. A change of the clock for summer time inside an incident is not taken into account.
  • Teams define MTTR and its neighbours in different ways. Say which measure you report and from which point to which point you count.
  • Availability from MTBF and MTTR is a long-run average. A short period can be better or worse by chance.
  • This tool takes no data from any monitoring system and gives no target as advice.

Related tools