Yes, you can create a Weibull chart (a Weibull probability plot) in Excel without any add-ins: you rank your life data, convert the ranks to median ranks with the Benard approximation, take the double natural log (LN(LN(1/(1-F)))), and plot that against LN(time) as a scatter chart. If the points fall roughly on a straight line, your data fits a Weibull distribution, and the slope of the trendline gives you the shape parameter (beta). The steps below work in any modern desktop version of Excel; exact menu labels can differ slightly between versions and between Windows and Mac, but the functions used are identical.
What You'll Need
- A list of time-to-failure data (or cycles-to-failure, distance, etc.) - at least 5-10 values for a meaningful plot
- Excel 2016 or later on desktop (Windows or Mac); Excel for the web works too but charting is easier on desktop
- Basic familiarity with formulas such as LN and RANK
- Optional: the Analysis ToolPak or Solver, if you want to fit parameters by regression later
Step-by-Step
- Enter your data. In a blank worksheet, type your failure times into column A starting in cell A2, one value per row. Put the header "Time" in A1.
- Sort the data. Select the values in column A, then go to Data > Sort and sort ascending (smallest failure time first). Weibull plotting requires ranked data.
- Add a rank number. In B1 type "Rank", in B2 type 1, and fill down so each row has its rank 1, 2, 3, ... to n (the total number of data points).
- Compute the median rank. In C1 type "Median Rank" and in C2 enter the Benard approximation formula:
=(B2-0.3)/(COUNT($A$2:$A$100)+0.4). Adjust the range to cover your data, then fill down. This gives the estimated failure probability F for each point. - Transform the axes. In D1 type "X = LN(Time)" and in D2 enter
=LN(A2). In E1 type "Y = LN(LN(1/(1-F)))" and in E2 enter=LN(LN(1/(1-C2))). Fill both down. These transforms linearize the Weibull distribution. - Create the chart. Select the X and Y columns (D1 through your last row of E), then go to Insert > Charts and choose Scatter (markers only, no lines). Each failure becomes one point.
- Add a trendline. Click any point on the chart, then use the chart's Add Chart Element > Trendline > Linear option (or right-click a point and choose Add Trendline). Tick "Display Equation on chart" and "Display R-squared value on chart" in the trendline options pane.
- Read the parameters. The trendline equation has the form y = mx + b. The slope m is the Weibull shape parameter beta, and the characteristic life eta (the scale parameter) is
=EXP(-b/m). For example, if the equation shows y = 2.1x - 8.4, then beta = 2.1 and eta = EXP(8.4/2.1) ≈ 54.6 time units. - Interpret beta. Beta < 1 suggests infant mortality (failures decreasing over time), beta near 1 suggests random failures, and beta > 1 suggests wear-out. The R-squared value tells you how well a straight line fits - values above roughly 0.95 indicate a good Weibull fit.
- Label the chart. Use Add Chart Element > Axis Titles to label the axes, and give the chart a title such as "Weibull Probability Plot". Save the workbook.
Common Mistakes
- Not sorting the failure times first. The ranks must correspond to ordered times, or the plot is meaningless.
- Using zero or negative values. LN of zero or a negative number returns an error. Remove zeros (or treat them as very small values) before transforming.
- Using a line chart instead of a scatter chart. Line charts space points by category, not by numeric value, which distorts the plot.
- Applying the median rank formula with the wrong n. If the COUNT range does not cover all your data points, every probability will be off.
- Ignoring suspended (censored) data. Units that survived the test need adjusted rank methods; simply deleting them biases the result. For serious censored data, use dedicated reliability software or a statistics add-in.
Tips
- For small samples, the Benard approximation above is accurate enough; for n above roughly 20 you can also use F = Rank/(n+1).
- Format the chart with a square plot area and equal axis scaling if you want a classic probability-plot look.
- To estimate the time at which a given percentage will have failed (for example the B10 life), solve for x = (LN(LN(1/(1-0.1))) - b)/m, then take EXP of the result.
- Save your worksheet as a template: replacing the values in column A and re-sorting lets you reuse all formulas.
- If you need confidence bounds or maximum-likelihood fitting rather than a regression line, that is beyond plain Excel formulas - look at the Solver add-in for MLE or use dedicated reliability software.
Troubleshooting
- #NUM! errors in the Y column: your median rank is 0 or 1, or the time value is zero or negative. Check that the COUNT range is correct and remove non-positive times.
- Chart shows nothing or connects points wrongly: you likely inserted a Line chart or selected the wrong columns. Delete the chart and re-insert a Scatter chart with only the X and Y columns selected.
- Trendline equation not showing: click the trendline, open the Format Trendline pane, and tick the display options. If the equation shows rounded coefficients, click the label, format it, and increase the number of decimal places for accuracy.
- Points form a curve, not a line: your data may not follow a single Weibull distribution (mixed failure modes, for example). Try plotting subsets separately or consider a different distribution.
- Sort changed my other columns: when sorting, always select the whole data block including any descriptive columns so rows stay together.
Frequently Asked Questions
Does Excel have a built-in Weibull chart?
No. Excel has a WEIBULL.DIST function for computing probabilities, but no ready-made Weibull probability plot. You build it yourself with the median-rank transform and a scatter chart as shown above.
What is the difference between WEIBULL.DIST and this chart?
WEIBULL.DIST takes a shape and scale parameter you already know and returns probabilities. The chart does the reverse: it takes failure data and estimates beta and eta from the fitted line.
How many data points do I need?
Technically three or more, but with so few points the parameter estimates are very uncertain. Aim for at least 10 failures for a usable fit.
Can I handle units that did not fail (censored data)?
Not with the simple method above. Censored data needs adjusted ranking methods such as rank adjustment or maximum likelihood estimation, which usually requires an add-in or dedicated reliability software.
Is the regression estimate of beta accurate?
It is a reasonable approximation for a quick analysis, but maximum likelihood estimation is generally preferred for published work. Use the chart for screening and MLE software for final numbers.
Can I add a probability scale instead of the transformed values?
Not natively. Excel cannot display a custom nonlinear probability axis. The standard approach is to plot the transformed values and, if needed, manually annotate probability percentages along the axis.