Skip to content
FiftyCalc Free calculators for all 50 states

Weibull Distribution Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the shape parameter k, the scale parameter λ and a value x to get the Weibull density, the probability of failure by x, the reliability (survival) at x, the hazard rate, the median and the mode.

Result

Sample figures

P(X ≤ x) (failure probability)—

Density f(x) —

  • Reliability R(x) = P(X > x)—
  • Hazard rate h(x)—
  • Median λ(ln 2)^(1/k)—
  • Mode—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Weibull Distribution Calculator

Shape parameter (k > 0): enter 0 or more. Prefilled example: 2.

Scale parameter (λ > 0): enter 0 or more. Prefilled example: 1,000.

Value x (≥ 0), e.g. hours: enter 0 or more. Prefilled example: 500.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Shape parameter (k > 0): enter 0 or more.
  2. Scale parameter (λ > 0): enter 0 or more.
  3. Value x (≥ 0), e.g. hours: enter 0 or more.
  4. Read the result: P(X ≤ x) (failure probability); the panel also shows Density f(x), Reliability R(x) = P(X > x), Hazard rate h(x), Median λ(ln 2)^(1/k) and Mode.

How this calculator works

Two-parameter Weibull distribution with shape k and scale λ: density f(x) = (k/λ)(x/λ)^(k−1) e^(−(x/λ)^k) for x ≥ 0; cumulative distribution F(x) = 1 − e^(−(x/λ)^k); reliability R(x) = e^(−(x/λ)^k); hazard rate h(x) = (k/λ)(x/λ)^(k−1).

Median = λ(ln 2)^(1/k); mode = λ((k − 1)/k)^(1/k) when k > 1, and 0 when k ≤ 1. A shape k below 1 means a falling failure rate (early failures), k = 1 a constant rate (the exponential distribution), k above 1 a rising rate (wear-out).

The formula

  1. Cdf={0if x<01−exp⁡(−(x÷l)k)otherwise
Symbols used in the formula
SymbolMeaning
kShape parameter (k > 0)
lScale parameter (λ > 0)
xValue x (≥ 0), e.g. hours
CdfP(X ≤ x) (failure probability)

Worked example

Shape parameter (k > 0)2
Scale parameter (λ > 0)1,000
Value x (≥ 0), e.g. hours500
Density f(x)0.0008
Reliability R(x) = P(X > x)0.7788
Hazard rate h(x)0.001
Median λ(ln 2)^(1/k)832.5546
Mode707.1068
  1. Cdf=1−exp⁡(−(500÷1,000)2)=0.221199

P(X ≤ x) (failure probability) 0.2212

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

With k = 2 and λ = 1000 hours, what share of units fail by 500 hours?

F(500) = 1 − e^(−0.25) = 0.2212, so the reliability at 500 hours is 0.7788. The median life is 832.5546 hours.

What does the scale parameter λ mean?

It is the characteristic life: whatever the shape, F(λ) = 1 − e^(−1), so about 63.2% of units have failed by x = λ.

Questions answered

Related calculators