Advanced

Weibull Distribution Calculator — PDF, CDF & Reliability

Compute Weibull probabilities P(X<x) and P(X>x), the PDF, and distributional statistics — mean, median, mode, variance — by entering the shape k and scale λ parameters.
k < 1: decreasing failure rate; k = 1: exponential; k > 1: increasing failure rate
Characteristic life / scale parameter (same units as x)
The point at which to evaluate the distribution (x ≥ 0)

Probability type

P(X < x)
0.6321

Probability for the selected region under the Weibull curve

PDF f(x)
0.5518
CDF F(x)
0.6321
Survival P(X>x)
0.3679
Mean
0.9027
Median
0.7832
Mode
0.4807
Std. deviation
0.6129
Variance
0.3757
x
Step by step
  1. 1

    x ÷ λ

    1 ÷ 1 = 1
  2. 2

    (x ÷ λ)^k

    1^1.5 = 1
  3. 3

    P(X < x) = F(x) = 1 − exp(−(x÷λ)^k)

    1 − exp(−1) = 0.6321
    Probability that X falls below x.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Weibull distribution: PDF = (k/λ)(x/λ)^(k−1)·exp(−(x/λ)^k), CDF = 1 − exp(−(x/λ)^k). Shape k < 1 means decreasing failure rate; k = 1 is exponential; k > 1 is increasing. Mean = λ·Γ(1+1/k). Enter k, λ, and x to get probabilities and all distributional statistics.

Formula
f(x) = (k/λ)(x/λ)^(k−1) exp(−(x/λ)^k) • F(x) = 1 − exp(−(x/λ)^k) • Mean = λ·Γ(1+1/k) • Median = λ·(ln 2)^(1/k)
How this is calculated

The Weibull distribution is defined by two parameters: shape k (sometimes written β) and scale λ (sometimes η, the characteristic life). The shape parameter controls how the failure or event rate changes over time. When k < 1 the failure rate decreases — this models infant mortality or early-life failures. When k = 1 the distribution reduces to an exponential, meaning a constant failure rate. When k > 1 the failure rate increases with time — typical of wear-out failures in mechanical parts. The scale λ is the value at which the CDF equals 1 − e⁻¹ ≈ 63.2%, regardless of shape.

The probability density function f(x) gives the relative likelihood at a specific value. Integrating it from 0 to x gives the cumulative distribution function F(x) = 1 − exp(−(x/λ)^k), which is the probability the variable is less than x. The survival function P(X > x) = 1 − F(x) is widely used in reliability engineering to express the probability of surviving past a given time. All statistics — mean, median, mode, variance — are derived from the gamma function Γ, approximated here using the Lanczos algorithm.

Limitations: the two-parameter Weibull has no location shift (it starts at 0); for datasets that start above zero, a three-parameter Weibull is needed. The gamma approximation introduces tiny numerical error (< 10⁻¹⁵ for most k). Very small k near zero can produce very large PDF values near the origin.

Frequently asked questions

k (β) controls the hazard (failure) rate shape. k < 1: early-life / infant-mortality failures (decreasing hazard). k = 1: constant hazard (exponential distribution). k > 1: wear-out failures, hazard increases over time. k ≈ 3.5 approximates a normal distribution.

λ (or η) is the scale parameter in the same units as x. It equals the value at which CDF = 1 − e⁻¹ ≈ 63.2%, regardless of k. It represents the time or value by which about 63.2% of items have failed (or the event occurred).

Mean = λ · Γ(1 + 1/k), where Γ is the gamma function. For k = 1 this simplifies to λ (the exponential mean). For k = 2 (Rayleigh), mean = λ · √(π/2) ≈ 0.886λ.

Also known as

weibull distribution calculator
weibull pdf cdf calculator
reliability analysis weibull
weibull failure rate calculator
weibull shape scale parameter
survival function weibull
hazard function calculator

APA

TG we-Calculate Editorial Team. (2026). Weibull Distribution Calculator — PDF, CDF & Reliability [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/weibull-distribution-calculator

Chicago

TG we-Calculate Editorial Team. "Weibull Distribution Calculator — PDF, CDF & Reliability." TG we-Calculate. 2026. https://we-calculate.com/calculator/weibull-distribution-calculator.

IEEE

TG we-Calculate Editorial Team, "Weibull Distribution Calculator — PDF, CDF & Reliability," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/weibull-distribution-calculator

BibTeX

@misc{wecalculate_weibull_distribution_calculator, title = {Weibull Distribution Calculator — PDF, CDF & Reliability}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/weibull-distribution-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?