MTBF, Repair and Availability
A repairable system cycles between running and being fixed, so the share of time it's up is just its average up time over its average full cycle: . Faster repair is often the cheapest reliability you can buy, and parts that wear out () are worth replacing on a schedule before they fail.
What the symbols mean
- Mean time between failures
Average up time between breakdowns of a repairable system; 1/λ for a constant failure rate.
- Mean time to repair
Average downtime per failure, including diagnosis, waiting for parts and testing.
- Repair rate
1/MTTR: repairs completed per hour of downtime.
What the symbols mean
- Availability
The long-run fraction of time the system is up.
What the symbols mean
- Spares stocked
How many replacements are on the shelf for the period.
- Expected failures
n units running for a time T fail about nT/MTBF times, and the count is Poisson.
What the symbols mean
- Replacement age
Replace preventively at age T, or at failure if that comes first.
- Planned replacement cost
The cost of a scheduled swap.
- Failure cost
The cost of an in-service failure: parts, labor, damage and lost production.
Explanation
Availability is simply the fraction of time a repairable machine is actually up and working. The formula is a plain ratio: MTBF (the average stretch of running between failures) over MTBF plus MTTR (the average time to get it fixed and running again). So if a pump runs 2,000 hours and then sits 20 hours waiting for repair, it's up 2,000 of every 2,020 hours. The maintenance part of the lesson asks one more question: when is it cheaper to replace a part before it breaks?
A sawtooth life. A cooling-water pump runs about 2,000 hours between failures, and each repair takes about 10 hours. Its life is a sawtooth: up, down, up, down. Over a year, what fraction of the time is it running? And would it be smarter to replace its seals every few hundred hours instead of waiting for them to fail?
Availability from one cycle. Each failure ends a cycle made of one up period (mean MTBF) and one repair (mean MTTR). Over many cycles, the law of large numbers says the fraction of time up approaches
For the pump, , about 44 hours down a year. Availability is often quoted in nines: 99.9% is 8.8 hours of downtime a year, 99.99% is 53 minutes.
The same answer from a differential equation. Let be the probability the pump is up at time , with constant failure rate and repair rate . Up pumps leave at rate and down pumps return at rate :
This is a linear first-order equation. Starting up, , which settles within a few repair times to .
MTBF is a rate in disguise. An MTBF of a million hours doesn't mean a drive lasts 114 years. It means a fleet of 1,000 drives sees about failures a year during its useful life. MTBF belongs to repairable systems and MTTF to parts that are thrown away; for a constant failure rate both equal .
Systems. With independent failures and separate repair crews, availabilities combine exactly like reliabilities in Series, Parallel and k-out-of-n Systems: multiply for series, for parallel. Repair makes redundancy enormously powerful. Two servers that are each down 1% of the time are both down only 0.01% of the time, because a failed server is fixed long before its partner is likely to fail.
Spares. MTTR includes waiting for parts, so the stockroom matters. With units at a constant failure rate, failures form a Poisson process (Exponential Lifetimes), so the number in a period is Poisson with mean . Stock the smallest with at your target. For 12 motors with MTBF 20,000 h over six months (4,380 h), : five spares cover 94.9% of half-years and six cover 98.2%.
Preventive replacement. Replace a part at age or at failure, whichever comes first. A cycle then lasts , whose mean is (the area-under- idea from Reliability and Hazard Functions), and costs with probability or with probability . Mean cost per cycle over mean cycle length gives the long-run cost rate above, the same renewal argument that gave . Then find the that minimizes it (Optimization).
It only pays for wear-out. With a constant hazard, and
which falls steadily toward as : never replace early. A memoryless part isn't worn, so a new one is no better. A finite best age appears only when the hazard rises ( in the Weibull model) and failures cost more than planned swaps.
A common mistake. It's tempting to think scheduled replacement always helps, since fresh parts feel safer. For random-failure electronics () it doesn't: a new unit is no less likely to fail than the old one, and every swap adds cost and a chance of an installation error. Other slips: treating MTBF as a guaranteed life, forgetting that MTTR includes the wait for parts, and combining parallel availabilities as if one crew could fix both units at once.
See it
Worked examples
A cooling pump has MTBF h and MTTR h. Find its availability and its expected downtime per year (8,760 h). Then find the MTTR needed for 99.9% availability.
- 1
.
A conveyor bearing's life is Weibull with and h. A planned replacement costs ; a failure in service costs (damage and lost production). Compare replacing at age h with running to failure.
- 1
Run to failure: each cycle costs and lasts MTTF h, so per hour.
Practice
Type your answer and check it. Solve them all to complete the lesson.
A database server has MTBF h and MTTR h. How many hours per year (8,760 h) is it expected to be down? Give 3 significant figures.
A packaging machine has MTBF h. What is the longest mean repair time, in minutes, that still gives availability? Give 3 significant figures.
A production line needs three machines in series, with availabilities , and (independent, each with its own repair crew). How many hours per year (8,760 h) is the line expected to be down? Give 3 significant figures.
Two redundant web servers each have availability ; they fail independently and are repaired independently, and the service is up when at least one server is. How many minutes per year is the service expected to be down? Give 3 significant figures.
A data center runs drives, each with a rated MTBF of h and a constant failure rate. How many drive failures should it expect per year (8,760 h)?
A plant runs identical valves, each with a constant failure rate and MTBF h. Spares are restocked every quarter ( h of running). What is the smallest number of spares that covers a quarter's failures with probability at least ?
A pump seal's life is Weibull with and h. A planned seal change costs ; a seal failure in service costs . Find the long-run cost of replacing seals at age h (or at failure), in cost units per operating hours. Give 3 significant figures. You may use .
A machine with failure rate per hour and repair rate per hour (MTTR 2 h) starts up at . The probability that it's up satisfies . Solve for .
The hardest one here. Get it, and you've got this lesson.
A bearing on a production line has a Weibull life with and h. Replacing it on schedule takes h of downtime; replacing it after it fails takes h. The plant replaces each bearing at age h or at failure, whichever comes first. What percent of the time is the line down because of this bearing? Give 3 significant figures. (For comparison, running to failure gives .)
Where it's used
Availability targets are written into contracts: cloud providers promise 99.9% or 99.99% uptime, and power plants, telecom networks and hospital equipment are run to availability goals. Maintenance planners use exactly these tools: Poisson spares calculations to stock warehouses, MTTR reduction (spares on site, modular swaps) to raise uptime, and age-based replacement for wear-out parts like rail wheels, pump seals and aircraft engine components, while random-failure electronics are left to run until they fail.