MTTF Calculator
Estimate mean time to failure (MTTF) online from observed lifetimes, including products that are still working when observation ends. Enter your time and status columns above to calculate a Kaplan-Meier mean, or select a Weibull, lognormal, or exponential distribution for a model-based estimate of the full mean lifetime.
- Select the lifetime column under Time and the status column under Status.
- Choose a distribution for a model-based MTTF.
- Read the MTTF with its confidence interval in the lifetime summary. The chart compares the fitted curve with the Kaplan-Meier curve; the Kaplan-Meier MTTF follows below it.
How to calculate mean time to failure
- Enter one row per unit with its failure time or last observed working time.
- Select the time column under Time.
- Select a Status column coded 1 for failure and 0 for censored.
- Read the MTTF in the Kaplan-Meier MTTF and median survival time table. Check whether it is marked as restricted.
- For a model-based MTTF, choose a distribution under Fit distribution and read its lifetime summary table at the top of the results. The Kaplan-Meier table then moves below the chart.
If every unit has failed, you may omit the status column; the calculator then treats every observation as an event. To calculate estimates separately for groups, select one categorical grouping variable. All lifetime results use the same unit as your time column, such as hours, days, or operating cycles.
Kaplan-Meier mean versus fitted-distribution MTTF
Mean lifetime is the area under the survival curve. The Kaplan-Meier estimate does not assume a particular lifetime distribution, but it cannot determine the unobserved tail when the curve remains above zero at the end of follow-up.
| Estimate | What it includes | How to read it |
|---|---|---|
| Kaplan-Meier MTTF | Area under the estimated curve up to the last observed time. | If the curve reaches zero, this is the full mean of the estimated distribution. Otherwise the result is marked as restricted. |
| Restricted mean survival time (RMST) | Area under the curve up to a stated cutoff. | Expected time survived within that interval. The grouped output also uses a common cutoff so groups can be compared over the same interval. |
| Fitted-distribution MTTF | Area under the full Weibull, lognormal, or exponential survival curve. | Includes an extrapolated tail and depends on whether the chosen distribution describes the lifetime process adequately. |
For example, if some products are still working at the end of a 1500-hour test, their eventual failure times are unknown. A mean restricted to 1500 hours describes survival within the test period; it does not estimate all remaining lifetime after the test ends. Do not treat those products as failures at 1500 hours or discard them.
Selecting a lifetime distribution
- Weibull: allows the failure rate to increase, decrease, or remain constant over time.
- Lognormal: assumes the natural logarithms of lifetimes follow a normal distribution.
- Exponential: assumes a constant failure rate.
Check the fitted curve against Kaplan-Meier and inspect the probability plot. Choose a model using the data and knowledge of the product, not simply because it gives a larger MTTF. For a worked input example and the calculation steps, open the Weibull analysis calculator guide.
MTTF, median, and B10 answer different questions
- MTTF: the average lifetime, which can be strongly affected by a long distribution tail.
- Median (B50): the time by which half the units are predicted to fail.
- B10: the time by which 10% are predicted to fail, with 90% surviving beyond it.
To answer a warranty question such as "What percentage will still work at 1000 hours?", enter 1000 under Reliability at times after selecting a distribution. The resulting table reports survival and failure percentages with confidence intervals. MTTF alone is not a guaranteed service life or a warranty duration.
Uncertainty and scope
The fitted-distribution tables provide approximate two-sided 95% confidence intervals for MTTF and other estimates. These describe sampling uncertainty under the model; they do not account for choosing an unsuitable distribution. Sparse failures and substantial extrapolation can make the estimates unreliable. In the Kaplan-Meier summary, the displayed median confidence limits belong to the median, not to MTTF.
This calculator analyzes time to first failure or another defined event, with exact event times and right censoring. It does not analyze repeated repairs to estimate mean time between failures (MTBF). See the survival analysis calculator for Kaplan-Meier, group comparisons, regression, and competing risks.