Reliability
Weibull Analysis Calculator (Shape, Scale, B10 Life)
Paste failure times and suspensions to fit a two-parameter Weibull distribution and get the shape, the characteristic life, the B10 life, the mean life and a probability plot. Every value is entered by you; the tool adds no data of its own.
01Inputs
02Result
Fit details
03Method
Use this tool when you have the times (or cycles) at which units failed, together with the times at which other units were taken off test or were still running, and you want the life distribution behind them. It fits the two-parameter Weibull by two standard methods, shows both so you can see when they disagree, and turns the fit into the numbers a qualification report asks for: the shape β that tells you whether failures are early, random or wear-out, the characteristic life η, the B10 life and the mean life. It does not choose the failure mode for you, it does not fit a three-parameter or mixed Weibull, and with fewer than ten failures the estimates are uncertain however they are computed.
AHow it is calculated
The two-parameter Weibull distribution with shape β and scale η (the characteristic life) has the reliability, the cumulative fraction failed, the hazard rate and the mean:
The NIST/SEMATECH e-Handbook writes the shape as γ and the scale as α; this page uses β and η.
Rank regression, with n units of which r failed:
- Sort all units by time, ascending; at equal times failures come before suspensions.
- Give each failure Johnson's adjusted rank, where k is its position in the sorted list (1 to n) and Oprev the adjusted rank of the previous failure (0 before the first). With no suspensions the adjusted ranks are 1, 2, 3, …
- Turn each adjusted rank into a plotting position with Benard's median rank approximation.
- Transform both axes so that a Weibull distribution plots as a straight line: x = ln t and y = ln(−ln(1 − F)), so that y = β·x − β·ln η.
- Fit y on x by least squares (time as the independent variable, as in e-Handbook Section 8.2.2.1). The slope is β and η follows from the intercept; R² is the square of the correlation of the points with the line.
Maximum likelihood:
- The likelihood is the product of the density f(t) at every failure time and the reliability R(t) at every suspension time, so a suspended unit counts for having survived to its time.
- Setting the derivatives of its logarithm to zero leaves one equation for β (the profile equation), summed over all units and over the failures:
- η then follows in closed form.
- The tool divides every time by the largest one (the equation is unchanged), brackets the root of the profile equation between β = 0.01 and β = 50, narrows it by bisection and finishes with Newton's method until the step is below 10−14 of β; η is then scaled back to your units.
- The log-likelihood of the fit is reported with the result.
Derived quantities, from whichever fit is shown:
Γ is evaluated by the Lanczos approximation.
Worked example: ten units failed at 54, 187, 216, 240, 244, 335, 361, 373, 375 and 386 hours and ten more were still running at 500 hours. Maximum likelihood gives β = 1.721 and η = 606.5 hours (log-likelihood −75.135), a B10 life of 164 hours and a mean life of 540.7 hours; rank regression on the ten median-rank points gives β = 1.458 and η = 667.3 hours (R² = 0.8964). The NIST/SEMATECH e-Handbook works the same data by maximum likelihood and prints 606.528 and 1.7208.
BScope and limitations
- Two parameters only. The fit assumes failures start at time zero. A three-parameter Weibull (with a failure-free time) or a mixture of two failure modes can show as curvature or a dog-leg on the probability plot, although with few failures the same pattern can be sampling scatter; this tool reports the straight-line fit regardless, and the plot, read together with the failure mechanism and the sample size, is where you judge whether the model fits.
- One failure mode at a time. Units that failed for a different reason than the one being analysed should be entered as suspensions at their failure time, not as failures.
- Two methods, two answers. Rank regression weights every plotted point equally and ignores how suspensions shift the likelihood; maximum likelihood uses every unit and is the usual default in statistical software, but is biased for small numbers of failures. With many failures and few suspensions the two agree closely; when they do not, the data, not the arithmetic, are telling you the sample is small or the model does not fit.
- Small samples. With fewer than about ten failures the shape estimate is wide, and the maximum-likelihood β is biased upward; the e-Handbook advises caution below ten and strongly below five. The tool requires three failures only so that a line can be drawn; it does not make three failures enough.
- No confidence bounds. The tool gives point estimates. Bounds on β, η and the B-lives need the Fisher information matrix or likelihood-ratio methods, which are not implemented here; report the sample size with every estimate.
- Right censoring only. Suspensions are treated as having survived to their recorded time. Interval-censored inspections (a failure found somewhere between two readouts) and left-censored data are not supported; enter the readout time at which the failure was found and note the approximation.
- Time units are yours. Hours, cycles, kilometres: η, B-lives and MTTF come out in whatever unit you entered, and the tool does not convert.
- The Success-Run Sample Size tool answers how many units must pass; the Acceleration Factor Calculator turns test hours into use-condition hours; the Weibull analysis for engineers guide shows how the three are used together.
CCommon mistakes
- Entering suspensions as failures, or leaving them out. A unit removed unfailed at 500 hours carries information: it survived 500 hours. Leaving it out or recording it as a failure distorts the estimates, and the direction and size of the distortion depend on the data and on which quantity you read: in the worked example, dropping the ten suspensions moves η from 606.5 to 308.5 hours and calling them failures moves it to 430.6 hours.
- Reading β from the wrong method without saying which. A report that gives β = 1.72 from one fit and B10 from another is inconsistent; take every number from one method and name it.
- Treating η as the mean life. η is the time by which 63.2 % of units have failed; the mean is η·Γ(1 + 1/β) and is smaller than η for β > 1, larger for β < 1.
- Extrapolating B1 or B0.1 from a handful of failures. The low percentiles sit far to the left of the data on the plot; with few failures the straight line is poorly determined there, and the B-life moves by factors of two with the method.
- Fitting a straight line through a clear curve. If the plotted points bend consistently, the two-parameter model may not fit these data (a failure-free time, mixed modes or the wrong transform); a high R² on a curved pattern does not make the model right, and a bend in a handful of points may be scatter.
- Mixing time scales. Hours of test at a stress condition and hours of use are different scales; convert with the acceleration factor before pooling, never after.
Related tools
- Loading…
Further reading
- NIST/SEMATECH e-Handbook of Statistical Methods, Sections 8.1.6.2 (Weibull), 8.2.2.1 (probability plotting), 8.4.1.2 and 8.4.1.3 (maximum likelihood and a worked Weibull example).
- Nelson, W. B., Applied Life Data Analysis, Wiley, 1982. Maximum likelihood for censored life data.
- O'Connor, P. D. T. & Kleyner, A., Practical Reliability Engineering, 5th ed., Wiley, 2012. Weibull analysis, median ranks and suspended items.
- Benard, A. and Bos-Levenbach, E. C., "Het uitzetten van waarnemingen op waarschijnlijkheidspapier", Statistica Neerlandica, 7 (1953), 163–173. The (i − 0.3)/(n + 0.4) median rank approximation.
- IEC 61649 (Weibull analysis) — referenced by name; not reproduced here.
- Kitstead Labs guides: Weibull analysis for engineers, Accelerated life testing, Success-run sample size.