Weibull Analysis Calculator
Load example dataFit a two-parameter Weibull distribution to lifetime data online, including units that have not yet failed. The calculator estimates shape, scale, mean time to failure (MTTF), median lifetime, B10 life, and survival probabilities with approximate 95% confidence intervals. Enter your data above; Weibull is preselected under Fit distribution.
- Select the lifetime column under Time and the status column under Status.
- Keep Weibull as the distribution and optionally enter times for the reliability.
- Read the shape and scale, and check the fit in the probability plot. The lifetime summary, percentiles and survival chart are shown with them.
How to calculate a Weibull analysis
- Enter one row per unit, with its observed time and event status.
- Select the lifetime column under Time.
- Select the status column under Status: 1 = failure and 0 = censored.
- Keep Weibull under Fit distribution; it is preselected on this page.
- Optionally enter times under Reliability at times, for example 1000; 1500, then press Enter or leave the field.
The Weibull tables appear first. Below them, the survival chart shows the fitted curve alongside the Kaplan-Meier curve, followed by the probability plot, the failure rate plot and the Kaplan-Meier estimate. To fit groups separately, select one categorical grouping variable under Factors and Covariates.
Example: product lifetimes with censoring
The example button loads an illustrative dataset of 20 products tested for up to 1500 hours. Fifteen products fail during the test; five are still working at 1500 hours. After loading, select Time (hours) and select Status. These are fictional demonstration data, not measurements from a real product.
| Time (hours) | Status | Meaning |
|---|---|---|
| 120 | 1 | The product failed after 120 hours. |
| 180 | 1 | The product failed after 180 hours. |
| 1320 | 1 | The product failed after 1320 hours. |
| 1500 | 0 | The product was still working when observation ended. |
Keep the five censored products in the data. Their times mean that they survived at least 1500 hours, not that they failed then. Use the same time unit for every row and for the requested reliability times. Separate requested times with semicolons, use the selected decimal separator, and omit thousands separators.
Weibull results
- Shape: below 1 indicates a decreasing fitted failure rate; above 1 an increasing rate; 1 a constant rate.
- Scale: the characteristic life, at which the model predicts about 63.2% of units have failed. It is not generally the mean lifetime.
- Lifetime summary: MTTF, median, and standard deviation.
- Lifetime percentiles: B1, B5, B10, B50, and B90. B10 is the time by which 10% are predicted to fail and 90% remain working.
- Reliability at selected times: the percentages predicted to survive or fail by each requested time.
The tables include approximate two-sided 95% confidence intervals. MTTF averages over the full fitted lifetime distribution, including its tail beyond the observed data. See the MTTF calculator guide for the distinction between this estimate and the restricted Kaplan-Meier mean.
Check the probability plot
Points close to the fitted line support the Weibull model; systematic curvature suggests that the distribution may not describe the data well. The plotted points use midpoints of Kaplan-Meier failure jumps and account for right censoring. The dashed curve on the survival chart is the fitted Weibull curve; the shaded confidence bands, when displayed, belong to Kaplan-Meier.
Read the failure rate plot
The failure rate plot shows the fitted failure rate (hazard function) over time, up to the last observed time. A falling curve corresponds to a shape below 1 (early failures), a flat curve to a shape of 1 (random failures), and a rising curve to a shape above 1 (wear-out). A single Weibull fit describes one of these patterns, not the whole bathtub curve.
The shaded area is an approximate 95% confidence band; a wide band means that the data say little about the failure rate at that time. If the curve starts very high and flattens the rest of the plot, which is typical for a shape below 1, select Logarithmic axis. With a grouping variable, the groups are shown in the same plot.
Assumptions and limits
This analysis fits a two-parameter Weibull model by maximum likelihood. It supports exact failure times and right censoring, assumes independent units and non-informative censoring, and requires positive failure times. At least two observed failures are required by this calculator; few failures can still produce uncertain estimates. Predictions beyond the last observed time depend on the distribution assumption. The shape parameter describes a failure-rate pattern, not its physical cause.
You can also select lognormal or exponential fits in the same dropdown. This feature does not perform accelerated life testing, repairable-system analysis, or three-parameter Weibull fitting. For an overview of the other available methods, see the survival analysis calculator.