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.
Probability type
Probability for the selected region under the Weibull curve
- 1
x ÷ λ
1 ÷ 1 = 1 - 2
(x ÷ λ)^k
1^1.5 = 1 - 3
P(X < x) = F(x) = 1 − exp(−(x÷λ)^k)
1 − exp(−1) = 0.6321Probability that X falls below x.
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
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
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
TG we-Calculate Editorial Team. "Weibull Distribution Calculator — PDF, CDF & Reliability." TG we-Calculate. 2026. https://we-calculate.com/calculator/weibull-distribution-calculator.
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
@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?
