Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /Probability Distributions
  4. /Weibull Distribution Calculator

Weibull Distribution Calculator

Last updated: March 15, 2026

Calculator

Results

PDF f(x)

0.16744232

CDF F(x)

0.30232367

Reliability R(x)

0.69767633

Hazard Rate h(x)

—

Mean

—

Variance

—

Median

4.162773

Mode

3.535534

Results

PDF f(x)

0.16744232

CDF F(x)

0.30232367

Reliability R(x)

0.69767633

Hazard Rate h(x)

—

Mean

—

Variance

—

Median

4.162773

Mode

3.535534

The Weibull Distribution Calculator computes probability density, cumulative distribution, reliability, and hazard rate for the Weibull distribution. Named after Waloddi Weibull, this distribution is the workhorse of reliability engineering and survival analysis, capable of modeling increasing, decreasing, or constant failure rates through a single shape parameter.

Definition and PDF

The Weibull distribution with shape $$k > 0$$ and scale $$\lambda > 0$$ has the PDF:

$$f(x; k, \lambda) = \frac{k}{\lambda}\left(\frac{x}{\lambda}\right)^{k-1} e^{-(x/\lambda)^k}, \quad x \geq 0$$

The CDF has a simple closed form:

$$F(x; k, \lambda) = 1 - e^{-(x/\lambda)^k}$$

The Shape Parameter

The shape parameter $$k$$ determines the failure behavior. When $$k < 1$$, the hazard rate decreases over time (early failures, "infant mortality"). When $$k = 1$$, the Weibull reduces to the exponential distribution with constant hazard rate. When $$k > 1$$, the hazard rate increases (wear-out failures). This flexibility is why the Weibull is so popular in reliability analysis.

Hazard Rate Function

The hazard (failure) rate function is:

$$h(x) = \frac{f(x)}{1 - F(x)} = \frac{k}{\lambda}\left(\frac{x}{\lambda}\right)^{k-1}$$

This is a power law in $$x$$, which makes the Weibull distribution uniquely useful for modeling systems where the failure rate changes monotonically with age.

Key Statistical Properties

The mean is $$\lambda \cdot \Gamma(1 + 1/k)$$ and the median is $$\lambda (\ln 2)^{1/k}$$. The variance is $$\lambda^2 [\Gamma(1 + 2/k) - \Gamma(1 + 1/k)^2]$$. The mode is $$\lambda \left(\frac{k-1}{k}\right)^{1/k}$$ for $$k > 1$$ and 0 for $$k \leq 1$$.

Applications

The Weibull distribution is the standard model in reliability engineering for component lifetime analysis, warranty prediction, and maintenance scheduling. It is used in wind energy to model wind speed distributions, in material science for fracture strength (weakest-link theory), in hydrology for extreme rainfall modeling, and in survival analysis for patient time-to-event data.

How to Use This Calculator

Enter the shape parameter $$k$$, scale parameter $$\lambda$$, and a value $$x \geq 0$$. The calculator computes the PDF, CDF, reliability (survival) function, hazard rate, mean, variance, median, and mode.

Visual Analysis

How It Works

The PDF is computed directly as $$(k/\lambda)(x/\lambda)^{k-1}\exp(-(x/\lambda)^k)$$. The CDF uses the exact formula $$1 - \exp(-(x/\lambda)^k)$$. The hazard rate is $$f(x)/[1-F(x)] = (k/\lambda)(x/\lambda)^{k-1}$$. The mean and variance use the gamma function approximated via Stirling's formula.

Understanding Your Results

The reliability $$R(x) = 1 - F(x)$$ gives the probability of surviving beyond time $$x$$. The hazard rate at $$x$$ represents the instantaneous failure rate given survival to time $$x$$. If $$k < 1$$, the hazard decreases (good for burn-in items); if $$k > 1$$, it increases (wear-out). The scale $$\lambda$$ is approximately the 63.2nd percentile of the distribution.

Worked Examples

Wear-Out Failure: k = 2, λ = 5, x = 3

Inputs

k2
lambda5
x3

Results

pdf0.16429536
cdf0.3023248
sf0.6976752
hazard0.24
mean val4.431135
variance5.365781
median4.162712
mode3.535534

With k = 2 (increasing hazard), 30.2% of components fail before x = 3, and the hazard rate at x = 3 is 0.24. The mean lifetime is about 4.43 time units.

Exponential Case: k = 1, λ = 10, x = 5

Inputs

k1
lambda10
x5

Results

pdf0.06065307
cdf0.39346934
sf0.60653066
hazard0.1
mean val10
variance100
median6.931472
mode0

With k = 1, the Weibull reduces to the exponential distribution. The hazard rate is constant at 1/λ = 0.1, and the mode is at 0 (monotonically decreasing PDF).

Frequently Asked Questions

When $$k < 1$$, failures decrease over time (infant mortality). When $$k = 1$$, failures occur at a constant rate (random failures). When $$k > 1$$, failures increase over time (wear-out). When $$k \approx 3.6$$, the Weibull closely approximates the normal distribution.

It can model all three phases of the bathtub curve (decreasing, constant, increasing failure rates) with a single model by varying $$k$$. It has closed-form expressions for PDF, CDF, hazard, and reliability. And Weibull probability plots provide a simple graphical method for parameter estimation.

The scale parameter $$\lambda$$ is the characteristic life—the time at which 63.2% of the population has failed ($$F(\lambda) = 1 - e^{-1} \approx 0.632$$). Doubling $$\lambda$$ doubles all percentiles proportionally.

The exponential distribution is a special case of the Weibull with $$k = 1$$. The Weibull generalizes the exponential by allowing the failure rate to change over time, while the exponential assumes a constant rate.

A Weibull plot displays data on axes chosen so that Weibull-distributed data appears as a straight line. The slope gives the shape parameter $$k$$ and the intercept gives the scale $$\lambda$$. It is a standard tool for graphical estimation and goodness-of-fit assessment.

Wind speeds at a given location are often well-modeled by a Weibull distribution with $$k \approx 2$$ (known as a Rayleigh distribution). This model is used to estimate energy production, determine optimal turbine placement, and forecast power generation capacity.

Sources & Methodology

Meeker, W. Q. & Escobar, L. A. (1998). Statistical Methods for Reliability Data. Wiley. Rinne, H. (2008). The Weibull Distribution: A Handbook. CRC Press.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Exponential Distribution Calculator

Probability Distributions

Uniform Distribution Calculator

Probability Distributions

Geometric Distribution Calculator

Probability Distributions

Hypergeometric Distribution Calculator

Probability Distributions

Negative Binomial Distribution Calculator

Probability Distributions

Gamma Distribution Calculator

Probability Distributions