Triangular Distribution Generator & Visualizer

Generate samples using min/mode/max (PERT-like inputs), 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 triangular distribution?

The triangular distribution models uncertainty when you can specify min, most likely (mode), and max values. It’s commonly used for quick estimates and PERT-like inputs.

PDF: for a≤x<c, 2(x-a)/((b-a)(c-a)); for c≤x≤b, 2(b-x)/((b-a)(b-c)). Mean: (a+b+c)/3. Variance: (a²+b²+c²-ab-ac-bc)/18.

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

Presets

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

Generator

Set min/mode/max, sample size, bins, and RNG. Then generate samples and export results.

Sample stats

Samples (first 20)


      

FAQ

What do a, c, and b mean?
a is the minimum, c is the mode (most likely), and b is the maximum. They are often used as optimistic / most likely / pessimistic inputs.
What happens if c is not centered?
The distribution becomes skewed. If c is closer to a, it piles up more near the minimum; if c is closer to b, it piles up more near the maximum.
Is seeded RNG secure?
No. Seeded mode is for reproducibility only. Use Secure (CSPRNG) for security-sensitive randomness.