Weibull Distribution Calculator

CDF P(X <= x)51.11%
PDF at x6.56 x 10^-3
Mean90.27
Median78.32
How this was calculated
  1. With shape k = 1.5 and scale lambda = 100, the standardized value is x/lambda = 0.800, and (x/lambda)^k = 0.7155.
  2. CDF = 1 - e^-(0.7155) = 51.11% - the share of the population expected to have failed (or finished) by x = 80.
  3. The mean lifetime is lambda x Gamma(1 + 1/k) = 90.27 and the median 78.32; mean above median signals the long right tail the Weibull is famous for.
  4. The shape tells the failure story: k below 1 means early failures dominate (infant mortality), k near 1 is random failure, and k above 1 is wear-out - the rising side of the bathtub curve reliability engineers fit with this distribution.

This Weibull distribution calculator answers a practical reliability question: how likely is a part to fail by a given time, and what life can you expect from it? You enter the shape parameter k and the scale parameter, then read off the failure probability at a chosen time along with the mean and median life. For example, a component with shape k = 1.5 and scale 100 has a 51.11% chance of failing by 80, with a mean life of 90.27 and a median of 78.32. A bearing with k = 2.5 and scale 1,000 hours reaches a 79.35% failure probability by 1,200 hours, with a mean life of 887.26 hours. The shape parameter tells the failure story: below 1 is infant mortality, near 1 is random failure, and above 1 is wear-out. At k = 1 the Weibull becomes the exponential distribution, so with scale 50, exactly 63.21% fail by 50.

The method behind the calculator is the standard way reliability engineers model time-to-failure, because the Weibull's shape parameter lets one family of curves describe infant mortality, random failure and wear-out alike. That flexibility is why the Weibull is the accepted default for life-data analysis rather than a single-purpose formula. This page does not just hand you a number: it shows the formula, the step-by-step workings, worked examples and the sources behind the method, so you can check each result and see exactly how the inputs produce the failure probability, mean and median.

Worked examples

Wear-out component, k = 1.5, lambda = 100, x = 80

CDF P(X <= x) = 51.11%. PDF at x: 6.56 x 10^-3; Mean: 90.27; Median: 78.32. (1.5 · 100 · 80)

CDF P(X <= x)51.11%
PDF at x6.56 x 10^-3
Mean90.27
Median78.32

k = 1 reduces to the exponential distribution

CDF P(X <= x) = 63.21%. PDF at x: 7.36 x 10^-3; Mean: 50.00; Median: 34.66. (1 · 50 · 50)

CDF P(X <= x)63.21%
PDF at x7.36 x 10^-3
Mean50.00
Median34.66

Bearing life, k = 2.5, lambda = 1,000 hours

CDF P(X <= x) = 79.35%. PDF at x: 6.79 x 10^-4; Mean: 887.26; Median: 863.63. (2.5 · 1000 · 1200)

CDF P(X <= x)79.35%
PDF at x6.79 x 10^-4
Mean887.26
Median863.63

How the Weibull CDF is calculated

The Weibull distribution calculator builds its failure probability from one compact expression: the cumulative distribution function, or CDF, written as F(x) = 1 - exp(-(x/lambda)^k). Here x is the time or value you are testing, lambda is the scale parameter, and k is the shape parameter. The term (x/lambda)^k rescales your time into units of the scale, then raises it to the shape power. The exponential of the negative of that quantity gives the probability of surviving past x, so subtracting it from 1 leaves the probability of failing by x. Every probability the tool reports comes from this single formula.

Working through an example makes the arithmetic concrete. Take a component with shape k = 1.5 and scale lambda = 100, and ask for the chance it fails by 80. Divide 80 by 100 to get 0.8, raise 0.8 to the 1.5 power, and negate the result. Exponentiating that negative value and subtracting from 1 gives a failure probability of 51.11%. The same parameters produce a mean life of 90.27 and a median of 78.32, so the mean sits above the median, a sign of the right skew typical of Weibull data. A second check: a bearing with k = 2.5 and scale 1,000 hours reaches a 79.35% failure probability by 1,200 hours, with a mean life of 887.26 hours.

The shape parameter is what makes the Weibull flexible, and it tells the failure story directly. A shape below 1 describes infant mortality, where failures cluster early and the hazard rate falls over time. A shape near 1 describes random failure, with a roughly constant hazard. A shape above 1 describes wear-out, where the hazard rate climbs as units age. The k = 1 case is special: the Weibull becomes the exponential distribution. With scale 50, exactly 63.21% of units fail by 50, the familiar exponential result.

Two summary statistics round out the picture, and both rely on the gamma function. The mean is lambda times the gamma function evaluated at 1 + 1/k, and the median is lambda times the natural logarithm of 2 raised to the power 1/k. Because the gamma function has no simple closed form for general arguments, these values are computed numerically, which is why a weibull distribution calculator is more convenient than hand work. Notice how the formulas respond to the shape: at k = 1.5 and scale 100, the mean of 90.27 and median of 78.32 emerge, and the gap between them widens as the shape drops and the distribution skews further right.

The CDF F(x) = 1 - exp(-(x/lambda)^k) is the engine behind every probability on this page: plug in shape k, scale lambda, and your time x to get the chance of failure by that time.

Reading the shape parameter

The shape parameter k is the part of a Weibull fit that tells you what kind of failure you are dealing with, and the standard way to read it is against the bathtub curve. Below 1 is infant mortality: the failure rate falls as the component survives, so early failures dominate and the weak units drop out first. Near 1 is random failure, where the rate is roughly flat and failures arrive without regard to age. Above 1 is wear-out: the failure rate climbs with time, so the longer a unit has run, the likelier it is to fail next. A weibull distribution calculator gives you k directly from your data or inputs; the engineering work is in interpreting it.

The boundary case at k = 1 is worth knowing precisely, because it is a clean reference point. At k = 1 the Weibull becomes the exponential distribution, the memoryless model. With a scale of 50, exactly 63.21% fail by 50. That constant failure rate means a used unit is no safer and no more at risk than a new one, which is the signature of random, cause-agnostic failures rather than a wear process.

Just above 1, the curve has begun to bend toward wear-out but gently. Take a component with shape k = 1.5 and scale 100: it has a 51.11% chance of failing by 80, with a mean life of 90.27 and a median of 78.32. The mean sitting above the median tells you the distribution is right-skewed, with a long tail of survivors. An engineer reads k = 1.5 as mild wear-out — the failure rate is rising, but slowly, so early life still carries real risk and the population does not fail in a tight band around one age.

A higher k sharpens that wear-out story. A bearing with k = 2.5 and scale 1,000 hours reaches a 79.35% failure probability by 1,200 hours, with a mean life of 887.26 hours. Here the failures cluster more tightly and the rising rate is pronounced, which is what you expect from a genuine degradation mechanism such as fatigue. That reading drives maintenance policy: for k well above 1, scheduled replacement before the wear-out region pays off, while for k near 1, replacement schedules do little and you attack the root causes of random failure instead.

The practical rule is to plot or fit k first, then let it choose the reliability strategy rather than the other way around. The same scale value means very different things depending on where k falls, so always report the two together.

Shape parameter k: below 1 = infant mortality, near 1 = random failure, above 1 = wear-out.

Weibull in reliability engineering

The Weibull distribution dominates lifetime work because its shape parameter lets one family of curves describe every stage of a product's life. The shape parameter tells the failure story: below 1 is infant mortality, near 1 is random failure, above 1 is wear-out. That single dial means a reliability engineer does not need to switch between unrelated models as a product moves from burn-in through its useful life to end of life. A weibull distribution calculator turns that flexibility into concrete answers: failure probabilities by a given time, mean life, and median life, all from two inputs.

The shape parameter is where the engineering reading begins. At k = 1 the Weibull becomes the exponential distribution: with scale 50, exactly 63.21% fail by 50. That is the constant-hazard case, where failures arrive at random and past survival says nothing about the next hour. Move the shape away from 1 and the story changes. A component with shape k = 1.5 and scale 100 has a 51.11% chance of failing by 80, with a mean life of 90.27 and a median of 78.32. Because k is above 1, the hazard rises with age — the signature of wear-out rather than random shocks. Note also that the mean (90.27) sits above the median (78.32), a skew that matters when you quote a typical life to a customer.

Weibull analysis of failure data is the practice of fitting that shape and scale to observed failures, then using the fitted curve to answer the questions maintenance and design teams actually ask. A bearing with k = 2.5 and scale 1,000 hours reaches a 79.35% failure probability by 1,200 hours, with mean life 887.26 hours. Those numbers tell a planner two things at once: most bearings are gone well before the mean suggests, and by 1,200 hours roughly four in five have failed. That gap between mean life and realistic replacement timing is exactly why fitting the distribution beats relying on a single average.

B10 life is the standard way reliability work expresses that timing. It is the time by which 10% of units are expected to have failed — a low-failure quantile used to set warranty periods, maintenance intervals, and design targets. Because the Weibull curve is defined by its shape and scale, B10 life follows directly once those are fitted, and the same calculator that reports failure probability at a chosen time can be read in reverse to find the time at a chosen probability. Engineers favor this distribution for lifetime work for that reason: one fitted model supports probability questions, life quantiles like B10, and hazard interpretation without changing tools.

Shape below 1 means infant mortality, near 1 means random failure, above 1 means wear-out — the shape parameter alone tells you which.

Weibull vs exponential vs lognormal

The three models differ mainly in how the risk of failure changes over time. The exponential distribution assumes a constant hazard: the chance of failing in the next hour is the same whether the part is new or has run for years. The Weibull distribution lets the hazard rise or fall through its shape parameter k, so it can describe infant mortality, random failure, or wear-out. The lognormal distribution describes a hazard that first rises and then falls, which suits multiplicative growth processes and certain repair or degradation patterns. A weibull distribution calculator is most useful when you want to see how those shapes change the answers rather than commit to a single model.

The shape parameter tells the failure story. Below 1 is infant mortality, where early failures are common and the hazard falls as weak units drop out. Near 1 is random failure, and at exactly k = 1 the Weibull becomes the exponential distribution: with scale 50, exactly 63.21% fail by 50. Above 1 is wear-out, where the hazard climbs as the population ages. That single number is why the Weibull is often called the flexible lifetime model: it can imitate the exponential at one setting and bend into a rising-hazard curve at another.

Concrete numbers show how much the choice matters. A component with shape k = 1.5 and scale 100 has a 51.11% chance of failing by 80, with a mean life of 90.27 and a median of 78.32. The mean sits above the median because the right tail is long. A bearing with k = 2.5 and scale 1,000 hours reaches a 79.35% failure probability by 1,200 hours, with mean life 887.26 hours. Here the rising hazard packs failures into a narrower band, so the mean falls well below the 1,200-hour mark even though most units survive past it.

The exponential is the special case to check first. If your data show a flat hazard, the exponential's single scale parameter may be all you need, and the Weibull will simply confirm k near 1. The lognormal is the alternative when failure is driven by multiplicative growth, such as crack propagation or cumulative damage that compounds. Its hazard does not settle into the monotone rise of a wear-out Weibull, so the two can diverge in the tail even when their medians look similar.

A practical way to compare them is to plot your failure times against each model and look at the tails, where the models disagree most. If early failures dominate, the Weibull with k below 1 captures what the exponential cannot. If wear-out dominates, k above 1 does the same. The lognormal earns its place when the mechanism is multiplicative rather than a simple rising risk.

  • Exponential: constant hazard, one scale parameter, the Weibull at k = 1.
  • Weibull: flexible hazard set by shape k — below 1 infant mortality, near 1 random, above 1 wear-out.
  • Lognormal: hazard rises then falls, suited to multiplicative growth and cumulative damage.
At k = 1 the Weibull becomes the exponential distribution: with scale 50, exactly 63.21% fail by 50.

FAQs

What does the Weibull shape parameter mean?

The shape parameter k sets the failure pattern. Below 1 means early failures dominate, near 1 is random failure, and above 1 is wear-out. The bearing example with k = 2.5 is a wear-out case, so failures cluster as the part ages rather than showing up immediately or at random.

How do I calculate a Weibull CDF?

Use CDF = 1 - e^(-(x/lambda)^k). For k = 1.5, lambda = 100 and x = 80, that gives 51.11%. So just over half the units are expected to fail by 80 when the scale is 100 and the shape is 1.5. The calculator applies this formula for you.

What is the mean of a Weibull distribution?

The mean is lambda times Gamma(1 + 1/k). For the first example it is 90.27, against a median of 78.32. So the average life sits above the point where half the units have failed, which matters when you compare expected life with typical life.

When is Weibull the same as exponential?

At k = 1. The second example shows 63.21% failing by the scale value of 50, which is the exponential signature. With a shape of exactly 1, the Weibull reduces to the exponential distribution, so constant failure rate applies and the scale parameter acts as the mean life.

What is B10 life?

B10 life is the time by which a tenth of units have failed, read straight off the CDF curve. The bearing example is already at 79.35% by 1,200 hours, so its early-life quantiles sit far sooner. Read the time where the CDF reaches 10% to get B10.

Why is the mean above the median?

The long right tail pulls the average up. In the first example the mean is 90.27 against a median of 78.32, the signature skew of a Weibull distribution. A few very long lives raise the mean, while the median stays at the point where half the units have failed.

Sources

Related calculators

Lognormal Distribution Calculator
Compute the CDF, PDF, mean and median of a lognormal distribution from its log-scale mu and sigma.
Exponential Distribution Calculator
Probabilities for waiting times and lifetimes: P(X ≤ x) and P(X > x) for an exponential distribution, with its mean, median and variance.
Normal Distribution Calculator
Probabilities below, above and between values, and the value at a percentile, from mean and standard deviation.
Poisson Distribution Calculator
How likely an exact count of random events is, given their average rate — exact, at-most and more-than probabilities with the spread.