New: free Power BI model health check. Find what's making your numbers wrong and your model slow. Check your model →

Weibull Analysis

Paste how long each unit ran, failed or still going, to see how it fails: early, at random, or by wearing out. Get the B10 life, the reliability at your replacement interval, and the same fit in Power BI as DAX.

Shape β2.76
Scale η (hours)8,888
B10 life (hours)3,935
Reliability at 10,000 h25.0%

12 failures and 8 suspensions. Mean life 7,910 hours. Fit R² 0.976.

β = 2.76: Wear-out. The failure rate climbs with age. Time-based replacement works, but the interval has to come from the B-life, not the average life.

The fleet MTBF (total hours ÷ failures) is 11,087 hours. Treated as a constant failure rate, it predicts 40.6% of units survive to 10,000 hours. The Weibull fit says 25.0%: 75.0% fail before the interval. MTBF assumes failures are random, and these are wearing out.

Dropping the 8 units still running would put η at 7,545 hours instead of 8,888 (15.1% lower) and B10 at 3,304 hours. Units that haven't failed yet are evidence that life is longer; leaving them out makes the fleet look worse than it is.

Weibull probability plot

2k5k10k20kOperating hours (log scale)1%10%63.2%99%

Dots are failures at their median ranks; △ marks units still running. A straight line means one Weibull describes the data; its slope is β. Dashed lines: B10 life and η, where 63.2% have failed.

Reliability: Weibull vs. MTBF

0%25%50%75%100%05k10kOperating hours

Solid: share still running by age, from the fit. Dashed: the same from the fleet MTBF as a constant failure rate. At 10,000 hours: Weibull 25.0%, MTBF 40.6%.

How each failure is ranked

OrderUnitHoursStatusReverse rankAdjusted rankMedian rank
1P-012,330Failed201.0003.4%
2P-043,750Running19
3P-134,080Running18
4P-054,220Failed172.1118.9%
5P-204,730Running16
6P-084,780Failed153.29214.7%
7P-145,100Failed144.47220.5%
8P-075,830Failed135.65326.2%
9P-156,650Failed126.83332.0%
10P-177,070Failed118.01437.8%
11P-107,290Running10
12P-117,410Running9
13P-067,490Failed89.45744.9%
14P-097,540Failed710.90052.0%
15P-167,850Failed612.34359.0%
16P-038,010Running5
17P-198,470Running4
18P-129,120Running3
19P-0210,120Failed215.22873.2%
20P-1811,200Failed118.11487.3%

A running unit gets no rank of its own, but it pushes every later failure's adjusted rank up by less than a full step (Johnson's method). The median rank is Bernard's approximation, (adjusted rank − 0.3) ÷ (N + 0.4).

The same fit in DAX

Calculated columns for the ranks and plot coordinates, then measures that fit β and η with LINESTX. The Weibull tutorial covers the Power Query step that adds the Order column.

-- Calculated columns. Order comes from Power Query: sort by hours (failures first on a tie), then add an index from 1.
Reverse Rank = COUNTROWS ( Pumps ) - Pumps[Order] + 1

Adjusted Rank =
IF (
    Pumps[Status] = "F",
    VAR N = COUNTROWS ( Pumps )
    VAR CurrentOrder = Pumps[Order]
    VAR StillSurviving =
        PRODUCTX (
            FILTER ( Pumps, Pumps[Status] = "F" && Pumps[Order] <= CurrentOrder ),
            DIVIDE ( Pumps[Reverse Rank], Pumps[Reverse Rank] + 1 )
        )
    RETURN
        ( N + 1 ) * ( 1 - StillSurviving )
)

Median Rank = DIVIDE ( Pumps[Adjusted Rank] - 0.3, COUNTROWS ( Pumps ) + 0.4 )

Plot X = IF ( Pumps[Status] = "F", LN ( Pumps[Hours] ) )

Plot Y = IF ( Pumps[Status] = "F", LN ( -LN ( 1 - Pumps[Median Rank] ) ) )

-- Measures. Rank regression on X: regress ln(hours) on Plot Y, so the slope is 1 / Beta.
Weibull Beta =
VAR Fit =
    LINESTX ( FILTER ( ALL ( Pumps ), Pumps[Status] = "F" ), Pumps[Plot X], Pumps[Plot Y] )
RETURN
    DIVIDE ( 1, MAXX ( Fit, [Slope1] ) )

Weibull Eta =
VAR Fit =
    LINESTX ( FILTER ( ALL ( Pumps ), Pumps[Status] = "F" ), Pumps[Plot X], Pumps[Plot Y] )
RETURN
    EXP ( MAXX ( Fit, [Intercept] ) )

Fit R2 =
VAR Fit =
    LINESTX ( FILTER ( ALL ( Pumps ), Pumps[Status] = "F" ), Pumps[Plot X], Pumps[Plot Y] )
RETURN
    MAXX ( Fit, [CoefficientOfDetermination] )

B10 Life = [Weibull Eta] * POWER ( -LN ( 1 - 0.1 ), 1 / [Weibull Beta] )

Reliability at Interval =
VAR IntervalHours = 10000
RETURN
    EXP ( -POWER ( IntervalHours / [Weibull Eta], [Weibull Beta] ) )

Fleet MTBF =
DIVIDE ( SUM ( Pumps[Hours] ), CALCULATE ( COUNTROWS ( Pumps ), Pumps[Status] = "F" ) )

Free, with no sign-in and no request limit. Everything runs in your browser, and nothing you paste is sent anywhere.

What β and η mean. The shape β says how the failure rate changes with age: below 1 it falls (early-life failures), near 1 it's constant (random failures), above 1 it rises (wear-out). The scale η is the age by which 63.2% of units have failed, whatever β is.

Why include units that haven't failed. A pump that has run 8,000 hours without failing is evidence that life is longer than 8,000 hours for at least some pumps. Leaving it out biases the fit toward short lives. Johnson's adjusted ranks let running units count without pretending they failed.

How it's fitted. Median rank regression: each failure gets a median rank (Bernard's approximation, with Johnson's adjustment for suspensions), and a straight line is fitted on the Weibull plot by regressing log hours on the plot's Y, the usual engineering default for small samples. Maximum likelihood can give slightly different answers, especially with many suspensions.

Building it in Power BI? The Weibull reliability tutorial builds this example from a 20-pump fleet: the rank columns, the LINESTX fit, the probability plot, and why the fleet's MTBF set the wrong replacement interval.

More reliability tools: the Reliability Calculator for MTBF and availability, and the FMEA Calculator. Or browse all the Power BI tools.