Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Math Calculators / Weibull Distribution Calculator
Math Calculators

Weibull Distribution Calculator

Published onOctober 13, 2025 Updated onOctober 24, 2026 10:08 am

A Weibull distribution with shape 2 and scale 1,000 hours has a 22.12% chance of failing by 500 hours and a 77.88% chance of surviving past 500 hours. Those two numbers are the whole point of the distribution in reliability work: one curve that turns a shape and a scale into failure odds at any time. Enter your own shape, scale, time and probability below and the calculator returns the density, cumulative probability, survival, quantile, mean, variance, standard deviation and mode in one run.

W
Weibull Distribution Calculator
Shape and scale in, PDF, CDF, survival, quantile and summary statistics out

Weibull results

PDF, CDF, survival and inverse CDF are shown to 8 decimals; mean, variance, standard deviation and mode to 6 decimals. The results stay hidden until you click Calculate.

Quick Answer

With shape 2, scale 1,000 hours and x at 500 hours, the calculator gives PDF 0.00077880, CDF 0.22119922, survival 0.77880078, median (inverse CDF at 0.5) 832.55461116, mean 886.226925, variance 214601.836603, standard deviation 463.251375 and mode 707.106781. In plain terms: about 22.12% of units fail by 500 hours, about 77.88% survive past it, and the typical unit lasts about 886 hours on average. Those values are pre-filled in the calculator, so one click reproduces them.

Key takeaways

  • The PDF is a density, not a probability. Never read 0.00077880 as a 0.078% chance of failing at exactly 500 hours; the probability lives in the CDF.
  • Survival is always 1 minus the CDF. If one of the two looks wrong, the other will be wrong by exactly the same amount.
  • Shape below 1 means early failures that taper off, shape 1 means a constant failure rate, and shape above 1 means wear-out that accelerates with age.
  • The scale is the time by which 63.21% of the population has failed, whatever the shape. At x equal to the scale, the CDF is 1 minus e to the power minus 1.
  • This is the two-parameter Weibull. It has no location shift, so it cannot model a guaranteed failure-free period.
On this page
  • Quick Answer
  • How to use the Weibull distribution calculator
  • The Weibull formulas
  • Worked example: shape 2, scale 1,000 hours, x at 500 hours
  • Reading the shape parameter
  • What competing calculators miss
  • Limits and one edge case to know
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

How to use the Weibull distribution calculator

Four numbers, one click, eight answers. The calculator computes every output at once, so there is no mode to select first.

  1. Enter the shape parameter (k): a positive number. Start with 2 for a wear-out pattern, 1 for random failures, or a value below 1 for early failures.
  2. Enter the scale parameter (λ): a positive number in the same time unit as x. With hours in mind, 1,000 means the characteristic life is 1,000 hours.
  3. Enter x: the time or value you want the PDF, CDF and survival at. It must be zero or more.
  4. Enter the probability: a number strictly between 0 and 1 for the inverse CDF. Use 0.5 for the median life, 0.1 for the B10 life (the time by which 10% have failed).
  5. Click Calculate Weibull: the results box appears with all eight values, plus Copy and Share buttons.

Invalid inputs are rejected with a plain message instead of a number: non-positive shape or scale gives “Please enter valid positive values for shape and scale parameters.”, a negative x gives “Please enter a valid non-negative value for x.”, and a probability outside 0 to 1 gives “Please enter a valid probability between 0 and 1.” Reset restores the worked example values (2, 1,000, 500, 0.5) and hides the results again.

The Weibull formulas

The calculator uses the standard two-parameter Weibull formulas, with k for shape, λ for scale, x for the value, and Γ for the gamma function. The density integrates to the CDF, the CDF complements to survival, and the quantile inverts the CDF.

PDF: f(x) = (k ÷ λ) × (x ÷ λ)^(k minus 1) × e^(minus (x ÷ λ)^k)
CDF: F(x) = 1 minus e^(minus (x ÷ λ)^k)
Survival: S(x) = 1 minus F(x) = e^(minus (x ÷ λ)^k)
Inverse CDF: x = λ × (minus ln(1 minus p))^(1 ÷ k)
Mean: μ = λ × Γ(1 plus 1 ÷ k)
Variance: σ² = λ² × (Γ(1 plus 2 ÷ k) minus Γ(1 plus 1 ÷ k)²)
Mode: λ × ((k minus 1) ÷ k)^(1 ÷ k) when k is above 1, otherwise 0

The hazard rate, the instantaneous failure rate at time x, is h(x) = (k ÷ λ) × (x ÷ λ)^(k minus 1). It is not a separate output of this tool, but it is the cleanest way to read the shape: for the worked example it is (2 ÷ 1,000) × 0.5 = 0.001 per hour at 500 hours, and it rises with time because the shape is above 1. A failure rate calculator covers the simpler observed-failures-divided-by-time version of the same idea.

Worked example: shape 2, scale 1,000 hours, x at 500 hours

A component family has shape 2 and scale 1,000 hours, and the question is what happens by 500 hours. The calculator is pre-filled with exactly these values plus probability 0.5.

1. Enter k 2, λ 1,000, x 500, p 0.5→ 2. CDF: 1 minus e^(minus 0.25) = 0.22119922→ 3. Survival: 1 minus 0.22119922 = 0.77880078→ 4. Median: 1,000 × (minus ln 0.5)^(1 ÷ 2) = 832.55461116

The mean, 886.226925 hours, sits above the median, 832.55461116 hours, because the distribution is right-skewed: a long tail of long-lived units pulls the average up. The mode, 707.106781 hours, is where failures cluster most densely. All three describe different “typical” lives, and confusing them is the most common Weibull reading error.

Running the same scale and time across the CDF as x grows shows the curve doing its job: failure odds stay low early, then climb steeply through the characteristic life.

Time x (hours)CDF: failed by xSurvival past x
1000.009950170.99004983
2500.060586940.93941306
5000.221199220.77880078
1,000 (the scale)0.632120560.36787944
1,5000.894600780.10539922

Reading the shape parameter

Shape is the only parameter that changes the story of a Weibull, not just its scale. Keep the scale at 1,000 and x at 500, and watch what shape alone does.

Shape kFailure patternPDF at 500CDF at 500
0.5Decreasing hazard: infant mortality0.000348650.50693131
1Constant hazard: the exponential case0.000606530.39346934
2Increasing hazard: wear-out0.000778800.22119922
3Strong wear-out, failures bunch together0.000661870.11750310

Two special cases deserve names. Shape 1 collapses the Weibull to the exponential distribution, with mean equal to the scale and a memoryless failure rate. Shape 2 gives the Rayleigh distribution, the usual model for wind speed and for signal amplitudes. If your fitted shape lands near either value, say so in your report: it tells the reader which simpler model your data nearly follows. Related distribution tools on this site include the standard deviation probability calculator for normal-distribution probabilities and the Poisson distribution probability calculator for count data, which answers a different question from a lifetime distribution.

What competing calculators miss

Most free Weibull tools stop at one or two outputs, and the gaps are consistent across them:

  • Single-output tools: several popular pages ask you to pick PDF, CDF or reliability before calculating. That forces three separate runs for numbers that belong together, and it hides the check that CDF plus survival equals 1.
  • No quantile or summary statistics: tools that give only the CDF leave the median, mean, variance and mode to a second tool. This calculator returns all eight values from the same inputs, so the median and the mean can be compared directly.
  • No shape reading: pages that print numbers without explaining what shape below, at, or above 1 means leave beginners with a correct answer they cannot interpret. The shape table above is the missing piece.
  • Charts instead of numbers: interactive plots look impressive but rarely print the exact CDF at your x to eight decimals. For a warranty or maintenance decision, the number matters more than the curve.
  • The gap this page fills: all eight outputs in one run, exact values to 8 or 6 decimals, the shape interpretation, and an honest statement of the two-parameter limit below.

Limits and one edge case to know

The Weibull is a model, and two of its limits bite in practice. First, this tool is the two-parameter form: it assumes failures can start at time zero. If your product genuinely cannot fail before, say, 100 hours of burn-in, a three-parameter Weibull with a location shift fits better, and this tool will overstate early failure odds. Second, at exactly x equal to 0 with shape below 1, the tool reports a PDF of 0.00000000. The true density at zero in that case rises without bound, so read that single cell as undefined at zero rather than as zero density; every other output at x equal to 0 (CDF 0, survival 1) is exact. A fitted shape also deserves a sanity check against the data: a single Weibull fitted across two different failure mechanisms, early defects plus late wear-out, will average them into a meaningless middle shape. Split the mechanisms before fitting.

Frequently asked questions

The Weibull distribution is a continuous probability distribution used to model lifetimes, failure times and other positive-valued data. It is defined by a shape parameter and a scale parameter, and it is the standard model in reliability engineering and life data analysis.

The shape parameter controls how the failure rate changes with time: below 1 it falls, at 1 it stays constant, and above 1 it rises. The scale parameter stretches the distribution along the time axis and equals the time by which 63.21% of the population has failed.

The PDF is the density at a single value, a rate per unit of time, not a probability. The CDF is the probability of failing at or before a value. For failure odds at a time, read the CDF; the PDF tells you where failures concentrate.

Survival, also called reliability, is the probability of lasting past a given time. It is exactly 1 minus the CDF. In the worked example, survival past 500 hours is 0.77880078, so about 77.88% of units survive past 500 hours.

The inverse CDF, or quantile function, turns a probability back into a time. Enter 0.5 to get the median life, the time by which half the population has failed. Enter 0.1 to get the B10 life, the time by which 10% have failed.

The mean is the average over the whole distribution, the median is the middle value, and the mode is the peak of the density. In the worked example the mean is 886.226925 hours, the median is 832.55461116 hours, and the mode is 707.106781 hours. The mean sits highest because a long right tail of long-lived units pulls the average up.

Shape 1 gives the exponential distribution, with a constant failure rate and a mean equal to the scale. Shape 2 gives the Rayleigh distribution, often used for wind speed and signal amplitudes. Both are special cases of the Weibull, not separate distributions.

Yes. It runs entirely in your browser, needs no account, and stores nothing. Copy the result with “Copy my results” or send it to another app with “Share results”.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. National Institute of Standards and Technology, SEMATECH. Weibull Distribution (PDF, CDF, hazard and parameter definitions for reliability analysis). Accessed October 24, 2026.
  2. National Institute of Standards and Technology, SEMATECH. Weibull Plot (plotting positions and reading shape and scale from life data). Accessed October 24, 2026.
  3. National Institute of Standards and Technology, SEMATECH. Weibull Analysis (fitting and interpreting Weibull models in reliability case studies). Accessed October 24, 2026.
  4. Wolfram Research. Weibull Distribution (density, distribution function, mean, variance and mode formulas). Accessed October 24, 2026.
  5. ReliaSoft Corporation. Weibull Distribution (two-parameter and three-parameter forms, characteristic life and B10 life). Accessed October 24, 2026.
  6. National Institute of Standards and Technology, SEMATECH. Exponential Distribution (the shape-equals-1 special case and its constant hazard). Accessed October 24, 2026.
  7. National Institute of Standards and Technology, SEMATECH. Rayleigh Distribution (the shape-equals-2 special case). Accessed October 24, 2026.

Related calculators

Math CalculatorsStand Alone Calculator: Full-Featured Free ToolA stand alone calculator is a complete calculating tool that runs on its own, right in your browser, with no app to install and no server doing the math for you.Math CalculatorsCosine CalculatorCosine should be the simplest lookup in trigonometry, yet it generates a steady stream of wrong answers,...Math CalculatorsTan Angle Calculator: Free Trigonometry ToolTangent is the workhorse ratio of trigonometry: opposite over adjacent, rise over run, the steepness of an angle turned into a single number.Math CalculatorsPi on Calculator: Formulas, Uses & ResultsIf you typed "pi on calculator" into a search box, you probably want one of two things: the exact buttons...Math CalculatorsSignificant Figures CalculatorA measurement like 0.004567 carries four significant figures while 100 carries only one, and that difference decides whether a lab result is honest or fiction.Math CalculatorsPolynomial CalculatorGive this calculator the coefficients of any single-variable polynomial and a value of x, and it evaluates...

We use cookies to analyze traffic. You can accept or decline cookies below. Learn more

calculatorzilo

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy Affiliate Disclosure FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search