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.
- a: minimum (optimistic).
- c: mode / most likely value.
- b: maximum (pessimistic).
- If c is closer to a or b, the distribution becomes skewed.
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?
What happens if c is not centered?
Is seeded RNG secure?
Related tools
- Distributions hubBrowse distribution tools and randomness diagnostics.
- Distribution samplerA multi-distribution sampler (normal, gamma, beta, weibull, triangular, and more).
- Beta distribution generatorGenerate proportions/probabilities with Beta(α,β).
- Weibull distribution generatorGenerate lifetimes / failure times with Weibull(k,λ).
- Probability simulatorCompare theory vs simulation with a fixed seed.
- Randomness testsQuick sanity checks for randomness.
- Random CSV generatorGenerate test data tables in CSV.
- Random JSON generatorGenerate JSON test data.
- Probability & simulation guideLearn and explore related topics.