Weibull Distribution Calculator
Find Weibull distribution probabilities, reliability function, mean, median, and full distributional statistics for any shape and scale parameters.
🔧 What is the Weibull Distribution?
The Weibull distribution is a versatile continuous probability distribution widely used in reliability engineering, survival analysis, and extreme value theory. Named after Swedish mathematician Waloddi Weibull who described it in 1951, it is exceptionally useful because its shape can model increasing, constant, or decreasing failure rates depending on the shape parameter k (also called beta). No other two-parameter distribution covers this range of behaviors so compactly.
The distribution has two parameters: the shape parameter k (dimensionless) and the scale parameter lambda (same units as the variable). Three regimes arise from k: when k is less than 1, the hazard rate (instantaneous failure rate) decreases with time, modeling infant mortality or early-life failures due to manufacturing defects. When k equals 1, the hazard is constant, reducing the Weibull to the exponential distribution and modeling random failures independent of age. When k is greater than 1, the hazard increases, modeling wear-out or aging failures. Wind turbine blades, semiconductor lifetimes, bearing wear, and material fatigue all follow Weibull distributions with characteristic k values fitted from field data.
A common misconception is that the Weibull distribution is only for failure-time data. In practice, it is used across many fields: wind speed distributions (k near 2, the Rayleigh special case), ocean wave heights, tensile strength of materials, particle size distributions in milling operations, and even extreme rainfall events. The key requirement is that the physical process produces a positively skewed distribution bounded below by zero, which the Weibull handles for a very wide range of shapes through its single k parameter.
The scale parameter lambda deserves special attention. Regardless of k, the CDF always equals 1 minus 1/e, approximately 63.21%, when x equals lambda. This makes lambda the "characteristic life" or "eta" in reliability terminology: 63.21% of the population has failed by time lambda. Engineers often report lambda and k as the two key descriptors of a component's life distribution, fitting them from time-to-failure data using maximum likelihood or least squares on a Weibull probability plot (Weibull plot).
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 - Bearing Wear-out (k = 2, lambda = 1000 h, x = 800 h)
A bearing has Weibull failure distribution with shape k=2 and characteristic life lambda=1000 h. What fraction fail by 800 h?
Example 2 - Early-Life Failures (k = 0.5, lambda = 1, x = 2)
Electronic component with decreasing failure rate (k=0.5, lambda=1). What is P(X at most 2)?
Example 3 - Wind Speed Distribution Stats (k = 2, lambda = 7 m/s)
Wind speed at a site follows Weibull(k=2, lambda=7 m/s). Find mean, median, mode, and variance.
❓ Frequently Asked Questions
🔗 Related Calculators
What is the Weibull distribution formula?
The PDF is f(x; k, lambda) = (k/lambda)*(x/lambda)^(k-1)*exp(-(x/lambda)^k) for x at least 0. The CDF is F(x) = 1 - exp(-(x/lambda)^k). The reliability function (survival) is S(x) = exp(-(x/lambda)^k). Parameters: k is the shape (dimensionless) and lambda is the scale (same units as x).
What is the mean of the Weibull distribution?
The mean is lambda times Gamma(1 + 1/k), where Gamma is the gamma function. For k=1 (exponential), mean = lambda. For k=2, mean = lambda*sqrt(pi)/2 = lambda*0.8862. For k=3.6, mean is approximately 0.9005*lambda. The mean always exceeds the median for k less than 3.6 (right-skewed) and falls below it for k greater than 3.6.
What does the shape parameter k control in the Weibull distribution?
The shape parameter k (sometimes written beta or c) determines the hazard rate behavior. When k less than 1, the hazard rate decreases over time (infant mortality or early failure period). When k = 1, the hazard is constant (exponential, random failures). When k greater than 1, the hazard increases (wear-out). Values near 3.6 give a symmetric, near-normal shape.
What is the scale parameter lambda in the Weibull distribution?
The scale parameter lambda (also called eta or the characteristic life) is the value at which the CDF equals 1 - 1/e = 63.21%, regardless of the shape k. This is because CDF(lambda) = 1 - exp(-(lambda/lambda)^k) = 1 - exp(-1) = 0.6321. Lambda sets the time scale of the distribution, stretching or shrinking it without changing its shape.
How is the Weibull distribution related to the exponential distribution?
Setting k=1 reduces the Weibull to the exponential distribution with rate 1/lambda. The exponential is the only continuous memoryless distribution. For k not equal to 1, the Weibull is not memoryless, which makes it more realistic for modeling equipment with aging (k greater than 1) or burn-in (k less than 1).
How do I interpret the Weibull reliability function?
The reliability function S(x) = exp(-(x/lambda)^k) gives the probability that a component functions without failure up to time x. For k=2 and lambda=1000 hours, S(800) = exp(-(800/1000)^2) = exp(-0.64) = 0.527, meaning about 52.7% of units survive past 800 hours. Engineers use S(x) to compute MTTF and design maintenance schedules.
What is the median of the Weibull distribution?
The median is lambda times (ln 2)^(1/k), approximately lambda times 0.6931^(1/k). For k=1 (exponential): median = lambda*ln(2) = 0.6931*lambda. For k=2: median = lambda*sqrt(ln2) = lambda*0.8326. The median is less than the characteristic life lambda for all k, because the CDF at x=median is 50% while at x=lambda it is 63.21%.
What is the mode of the Weibull distribution?
For k greater than 1, the mode (most likely value) is lambda*((k-1)/k)^(1/k). For k less than or equal to 1, the distribution is monotonically decreasing and the mode is 0. For k=2 and lambda=1: mode = 1*(1/2)^0.5 = 1/sqrt(2) = 0.7071. For k=5 and lambda=1: mode = (4/5)^(1/5) = 0.8^0.2 = 0.9565.