Triangular Distribution Calculator

Enter the minimum (a), maximum (b), peak (c), and random variable (x) values to analyze a triangular distribution. The calculator returns the PDF probability, CDF cumulative probability, mean, median, mode, and variance — giving you a full statistical picture of your distribution in one step.

The smallest possible value in the distribution.

The largest possible value in the distribution.

The most likely value (must be between a and b).

The value at which to evaluate the PDF and CDF.

Results

CDF — Cumulative Probability P(X ≤ x)

--

PDF — Probability Density f(x)

--

Mean (μ)

--

Median (M)

--

Mode

--

Variance (σ²)

--

Standard Deviation (σ)

--

Triangular Distribution — PDF across range

Results Table

Frequently Asked Questions

What is a triangular distribution?

A triangular distribution is a continuous probability distribution defined by three parameters: a minimum value (a), a maximum value (b), and a peak (most likely) value (c). It gets its name from the triangular shape of its probability density function (PDF). It is commonly used in project management, risk analysis, and simulations when only limited data is available.

What is the difference between PDF and CDF in a triangular distribution?

The PDF (Probability Density Function) f(x) describes the relative likelihood of the random variable taking a specific value x. The CDF (Cumulative Distribution Function) F(x) gives the probability that the random variable is less than or equal to x. The CDF is the integral of the PDF from the minimum value up to x.

How is the mean of a triangular distribution calculated?

The mean (μ) of a triangular distribution is calculated as (a + b + c) / 3, where a is the minimum, b is the maximum, and c is the peak value. This is the simple average of the three defining parameters.

How is the variance of a triangular distribution calculated?

The variance (σ²) is calculated using the formula: (a² + b² + c² − ab − ac − bc) / 18. The standard deviation σ is the square root of the variance. The triangular distribution's variance depends on the spread and asymmetry defined by a, b, and c.

How is the median of a triangular distribution determined?

The median depends on where the peak c falls relative to the midpoint of [a, b]. If c ≥ (a + b) / 2, the median is a + √((b − a)(c − a) / 2). If c < (a + b) / 2, the median is b − √((b − a)(b − c) / 2). These formulas find the point where the CDF equals 0.5.

What constraints must a, b, and c satisfy?

The three parameters must satisfy a < b (minimum must be strictly less than maximum) and a ≤ c ≤ b (the peak must be between the minimum and maximum, inclusive). If these conditions are not met, the triangular distribution is undefined.

Where is the triangular distribution used in practice?

The triangular distribution is widely used in project management for three-point estimation (optimistic, pessimistic, and most likely durations or costs), in Monte Carlo simulations, in risk analysis, and in any scenario where you need a simple model but only have minimum, maximum, and most-likely estimates rather than full historical data.

What happens to the PDF when x equals the peak value c?

At x = c, the PDF reaches its maximum value of 2 / (b − a). This is the highest point of the triangular distribution's PDF, representing the most likely outcome. For x values outside [a, b], the PDF is 0.

More Statistics Tools