Weibull Distribution Generator & Visualizer

Generate random lifetimes / failure times with Weibull(k,λ), then visualize a density histogram and PDF curve.

Everything runs in your browser; nothing is uploaded. Share URLs contain settings only (no generated samples).

Secure mode uses CSPRNG. Seeded mode is for reproducibility, not secrecy.

Other languages: ja | en

What is a Weibull distribution?

The Weibull distribution is a standard model for lifetimes, failure times, and waiting times (x≥0).

PDF: f(x)=(k/λ)(x/λ)^(k-1)exp(-(x/λ)^k). Mean: λ·Γ(1+1/k). Variance: λ²(Γ(1+2/k)-Γ(1+1/k)²). Median: λ·(ln 2)^(1/k).

You don’t need to enter personal information to use this tool.

Presets

Quickly set common shapes (you can tweak values after applying).

Generator

Set k/λ, sample size, bins, and RNG. Then generate samples and export results.

Sample stats

Samples (first 20)


      

FAQ

What do k and λ mean?
k is shape and λ is scale. k changes the curve shape; λ scales the overall magnitude.
Why does it concentrate near 0 when k<1?
For k<1, the density can spike near 0. The PDF drawing avoids exact 0 for stability.
Is seeded RNG secure?
No. Seeded mode is for reproducibility only. Use Secure (CSPRNG) for security-sensitive randomness.