Reliability

Weibull Analysis for Engineers: Shape, Scale, B10 Life and the Probability Plot

Kitstead Labs · Engineering reference · Public worked example

A qualification example for reliability and validation engineers who have a list of failure times, some units still running, and a report to write.

Quick answer

A Weibull analysis fits the two-parameter Weibull distribution to the times at which units failed, taking into account the units that had not failed when the test stopped. The fit returns two numbers: the shape β, which says whether the failure rate is falling (β < 1, early failures), roughly constant (β ≈ 1, random failures) or rising (β > 1, wear-out), and the scale η, the characteristic life, by which 63.2 % of units have failed. Everything a report asks for follows from them: the B10 life at which 10 % have failed, the reliability R(t) at any time, and the mean life η·Γ(1 + 1/β).

There are two standard ways to do the fit. Rank regression plots each failure at its median-rank position on Weibull paper and fits a straight line; maximum likelihood finds the β and η that make the observed failures and survivals most probable. On the public data worked below, ten failures and ten units still running at 500 hours, maximum likelihood gives β = 1.721 and η = 606.5 hours while rank regression gives β = 1.458 and η = 667.3 hours. Both are correct arithmetic; the gap is what ten failures look like. The Weibull Analysis Calculator computes both and draws the plot.

This guide explains what the two parameters mean, how suspensions enter the plotting positions, how the two fitting methods work and why they differ, and what the result does and does not demonstrate.

About the example. The failure times are the public worked example in the NIST/SEMATECH e-Handbook of Statistical Methods (Section 8.4.1.3). The engineering context around them is a teaching sketch, not a qualification procedure.

What the two parameters describe

The two-parameter Weibull distribution gives the probability that a unit survives to time t as

R(t) = exp[ −(t / η)^β ]

and the fraction failed by t as F(t) = 1 − R(t). The hazard rate, the instantaneous failure rate of the units still alive, is h(t) = (β/η)·(t/η)^(β−1).

The shape β is the diagnostic number. With β < 1 the hazard falls with time: units that survive the first hours are less likely to fail in the next, the signature of manufacturing defects and infant mortality. With β = 1 the hazard is constant and the Weibull is the exponential distribution: failures arrive at random, independent of age, which is what externally caused events look like. With β > 1 the hazard rises: wear-out, fatigue, corrosion, anything that accumulates. Values of β between 2 and 4 are typical of mechanical wear-out; much larger values mean a tightly clustered end of life.

The scale η is the characteristic life. Whatever β is, F(η) = 1 − e⁻¹ = 0.632, so 63.2 % of units have failed by η. It is not the mean life: the mean is η·Γ(1 + 1/β), which is below η when β > 1 and above it when β < 1. For β = 1.721, Γ(1 + 1/β) = 0.8915 and the mean is 89 % of η.

The percentile lives come from inverting F: the time by which a fraction p have failed is B_p = η·[−ln(1 − p)]^(1/β). B10 (p = 0.10) is the most quoted; B1 and B0.1 appear in safety-related specifications. Because they sit far below η, the low percentiles are the most sensitive to β and the least certain from a small sample.

0/η 1/η 2/η 3/η 0 0.5η 1η 1.5η 2η time, in multiples of the characteristic life η hazard rate h(t), in multiples of 1/η β = 0.5: falling β = 1: constant β = 3: rising
Three failure mechanisms with the same characteristic life and very different behaviour. A falling hazard means the survivors are the good ones; a rising hazard means every survivor is closer to its end. The shape, not the scale, tells you which test to run next.

From a list of times to a plot

Median ranks

Suppose n units are tested and the failure times are sorted. The i-th failure out of n is a natural estimate of the time by which a fraction i/n of the population has failed, but i/n puts the last failure at 100 %, which no finite sample can show. The usual correction is Benard's median rank approximation,

F_i ≈ (i − 0.3) / (n + 0.4),

which places the i-th of n failures at the median of the distribution of the i-th order statistic to within a fraction of a percent. For ten failures out of ten, the first is plotted at 6.7 % and the last at 93.3 %.

Suspensions and adjusted ranks

A unit removed from test unfailed, or still running when the test ends, is a suspension. It cannot be plotted, because it has no failure time, but it cannot be dropped either: it survived up to its suspension time, and that is information about the population. Dropping suspensions or recording them as failures both distort the fit, in directions that depend on the data: in the worked example below, dropping the ten suspensions moves η from 606.5 to 308.5 hours and calling them failures moves it to 430.6 hours.

Johnson's method keeps the information by letting each suspension shift the rank of the failures that come after it. Sort all n units by time. Walk down the list keeping a running adjusted rank O, starting from 0. When the k-th item in the list is a failure, its rank becomes

O_k = O_prev + (n + 1 − O_prev) / (n − k + 2),

and its median rank is (O_k − 0.3)/(n + 0.4). When the item is a suspension, O is unchanged and the next failure's increment is a little larger than 1, because the suspended unit might have failed anywhere after its suspension time. With no suspensions the formula reduces to O_k = k. With suspensions after every failure, as in the worked example, the failures keep integer ranks and only the denominator n + 0.4 remembers that twenty units were on test, not ten.

The straight-line transform

Taking the logarithm of −ln R(t) gives a straight line in ln t:

ln[ −ln(1 − F) ] = β·ln t − β·ln η.

On a plot of y = ln[−ln(1 − F)] against x = ln t, Weibull data fall on a line of slope β that crosses y = 0 at x = ln η, that is at F = 63.2 %. That is all Weibull probability paper is. Consistent curvature on the plot suggests the two-parameter model does not fit the data: a failure-free time before which nothing fails, or two failure modes mixed together; with few points, a bend can also be sampling scatter.

Two ways to fit the line

Rank regression

Plot each failure at (ln t, ln[−ln(1 − F)]) with its median rank, then fit a least-squares line of y on x. The slope is β and η = exp(−intercept/β). The coefficient of determination R² says how straight the points are. This is the method of the hand-drawn Weibull plot and of most spreadsheet templates; it treats every plotted point alike and uses the suspensions only through the adjusted ranks.

Maximum likelihood

Write down the probability of what was observed: each failure at time t_i contributes the density f(t_i), each suspension at time t_j contributes the survival R(t_j). Maximum likelihood chooses β and η to make that product as large as possible. For the Weibull the problem reduces to one equation in β,

Σ_all t_i^β ln t_i / Σ_all t_i^β − 1/β − (1/r)·Σ_fail ln t_i = 0,

where the first two sums run over all n units and the last over the r failures, and then η = (Σ_all t_i^β / r)^(1/β). The equation has one root, found numerically. This is the default in most statistical software. It uses every unit's exact time, suspensions included, and with many failures it is the more efficient estimator; with few failures it is biased toward a larger β.

When they disagree

With many failures and few suspensions the two methods agree to the second digit. They separate when the sample is small, when suspensions dominate, or when the data are not Weibull. The disagreement is not a defect in either method; it shows how sensitive the estimate is to the fitting method, which is not a confidence interval but is a warning that the sample is small. A report that quotes one β should say which method produced it, and a B10 from rank regression should not be compared with an η from maximum likelihood.

Worked example: twenty units, ten failures

Twenty units of a packaged part were put on a life test. Ten failed, at 54, 187, 216, 240, 244, 335, 361, 373, 375 and 386 hours; the other ten were still running when the test was stopped at 500 hours and were recorded as suspensions at 500. The engineer wants β, η, the B10 and B1 lives, the reliability at 300 hours and the mean life.

Twenty units on test: failures with Johnson adjusted ranks and median-rank plotting positions
Time (h)StatusAdjusted rankMedian rank Fln tln[−ln(1 − F)]
54F13.43 %3.9890−3.3548
187F28.33 %5.2311−2.4417
216F313.24 %5.3753−1.9521
240F418.14 %5.4806−1.6088
244F523.04 %5.4972−1.3399
335F627.94 %5.8141−1.1157
361F732.84 %5.8889−0.9210
373F837.75 %5.9216−0.7467
375F942.65 %5.9269−0.5871
386F1047.55 %5.9558−0.4381
500 × 10S————

All ten suspensions come after the last failure, so the adjusted ranks are the plain ranks 1 to 10 and the median ranks are (i − 0.3)/20.4. The highest plotted point sits at 47.5 %, not 93 %: half the population has not failed, and the plot says so.

Rank regression

Least squares of y on x through the ten points gives slope β = 1.458 and intercept −9.479, so η = exp(−intercept/β) = 667.3 hours from the unrounded values (the rounded figures give 667), with R² = 0.8964. The first point, at 54 hours, sits well above the line; it is the point that pulls β down.

Maximum likelihood

Solving the likelihood equation over all twenty units gives β = 1.721 and η = 606.5 hours, with a log-likelihood of −75.135. The e-Handbook works the same data and prints η = 606.528 and β = 1.7208; the calculator reproduces them.

What the fit gives

Fitted parameters and derived lives by the two methods
Maximum likelihoodRank regression
Shape β1.7211.458
Scale η (h)606.5667.3
B10 life (h)164.0142.5
B1 life (h)41.8728.42
R(300 h)74.25 %73.21 %
Mean life η·Γ(1 + 1/β) (h)540.7604.7

Both methods agree that the mechanism is wear-out (β well above 1) and that about a quarter of the units fail by 300 hours. They disagree by 15 % on B10 and by 47 % on B1, and that spread is the sensitivity of a ten-failure answer to the fitting method at the low percentiles, not a confidence interval. The mean lives differ by 12 % in the opposite direction, because the larger β of the maximum-likelihood fit pulls the mean below η more strongly.

1 % 2 % 5 % 10 % 20 % 30 % 50 % 63.2 % 80 % 90 % 95 % 99 % 50 100 200 500 1,000 time to failure (hours, logarithmic) cumulative percent failed (Weibull scale) MLE: β = 1.721, η = 606.5 h rank regression (dashed): β = 1.458, η = 667.3 h η
The ten failures and the two fitted lines. The lines agree where the data are, between 200 and 400 hours, and diverge where they are not: at the low percentiles that B1 and B10 report, and above 63.2 % where no failure was observed at all.

A second example: suspensions between the failures

When suspensions fall between failures, the adjusted ranks stop being integers. The e-Handbook's multiply censored set (Section 8.2.2.2) has ten units: failures at 37, 73, 132, 195, 222 and 248 hours and suspensions at 50, 100, 200 and 250.

The multiply censored set: adjusted ranks when suspensions fall between failures
Time (h)StatusAdjusted rankMedian rank F
37F16.73 %
50S——
73F2.111117.41 %
100S——
132F3.381029.62 %
195F4.650841.83 %
200S——
222F6.238157.10 %
248F7.825472.36 %
250S——

The failure at 73 hours is the third item in the sorted list, so its rank is 1 + (10 + 1 − 1)/(10 − 3 + 2) = 2.1111: the suspension at 50 hours might have failed before 73, and the rank moves up by a little more than one to allow for it. Maximum likelihood gives β = 2.028 and η = 218.9 hours; rank regression gives β = 1.401 and η = 252.1 hours. Six failures is a small sample, and the two methods show it.

Putting the fit to work

A Weibull fit is the bridge between a life test and the two questions the other reliability tools answer. The Acceleration Factor Calculator converts hours at a stress condition into hours at the use condition; apply the factor to η (and so to every B-life) only if every unit saw the same stress, and convert before fitting rather than after when stresses differ. The Success-Run Sample Size tool asks how many units must pass a test of the mission length with no failures to demonstrate a reliability; a Weibull fit from an earlier test tells you whether that demonstration is likely to succeed, because if the mission time lies above the fitted B10 life, more than 10 % of units are expected to fail during it and a zero-failure test for R ≥ 0.90 will usually fail.

What the analysis assumes

One failure mode. The two-parameter Weibull describes a single mechanism. Units that failed for a different reason are suspensions for the mechanism being analysed, not failures, and a plot with a dog-leg is often two mechanisms overlaid.

Failures start at time zero. A mechanism that cannot fail before some minimum time (a crack that must initiate before it can grow) needs the three-parameter form with a location parameter, and shows on the two-parameter plot as curvature at the low end.

Exact times. Right-censored suspensions are handled exactly. Inspection data, where a failure is known only to have happened between two readouts, are interval-censored and need their own likelihood; entering the readout time is an approximation that biases life upward by up to one inspection interval.

Enough failures. The e-Handbook's advice is that maximum-likelihood estimates from fewer than ten failures should be treated with caution and from fewer than five with strong caution. The same is true of rank regression; the straight line through three points always looks straight.

Common mistakes

  1. Dropping the suspensions. Ten failures out of twenty units and ten out of ten are different populations; the median ranks of the first stop at 47.5 %, of the second at 93.3 %. In the worked example, leaving the survivors out halves η.
  2. Reporting η as the mean life. η is the 63.2 % life. The mean is η·Γ(1 + 1/β); at β = 1.72 it is 11 % lower.
  3. Quoting B1 from a handful of failures. B1 lies at the far left of the plot where no data are, and in the example it moves by 47 % with the method. Report the sample size and the method with every low percentile.
  4. Mixing methods in one report. A β from maximum likelihood and a B10 read off the rank-regression line are not from the same model.
  5. Trusting R² on a curved plot. A high R² says the points lie near a line, not that the line is the right model; a failure-free time or a second mechanism can hide behind R² = 0.98, and a bend in a handful of points can be scatter.
  6. Pooling units from different stress levels. Convert each unit's time to the use condition with its own acceleration factor before pooling; a pooled fit of mixed stresses has a β that belongs to no mechanism.

Using the calculator with this guide

The Weibull Analysis Calculator takes the units as time,status lines, fits both methods, and reports β, η, B10, the mean life and, on request, any B-life and R(t), with a probability plot of the failures and the chosen line. Paste the twenty units of the worked example (ten failures, ten lines of 500,S) to reproduce 1.721 / 606.5 and 1.458 / 667.3; enter 1 for the percentile and 300 for the mission time to reproduce the B1 and R(300) rows above.

Sources and further reading

This guide explains how a two-parameter Weibull is fitted and read. It does not give confidence bounds on the estimates, it does not cover three-parameter or mixed Weibull models, and it does not replace the qualification standard your customer specifies.