For a value equally likely to be anywhere between a minimum and a maximum, find the chance it falls below, above or between given points, with its mean and spread.
P(c < X < d) = (d − c) ÷ (b − a)
For a continuous uniform distribution: every value between a and b is equally likely.
The continuous uniform distribution spreads probability evenly across an interval: every value between the minimum and maximum is equally likely. Its graph is a flat rectangle.
That makes probabilities a matter of lengths. The chance of landing in any stretch is that stretch's share of the whole interval, wherever it sits.
It describes arriving at a random moment for something on a fixed schedule, rounding errors, and the starting point of a random number generator. It's also the honest choice when all you know is a range.
As given in the NIST/SEMATECH e-Handbook, section 1.3.6.6.2. See Sources.
Parts of an interval outside a to b add nothing.
One trip in three. If buses arrived at random instead of on schedule (exponential, mean 12), the average wait would double to 12 minutes, a classic surprise known as the waiting-time paradox.
A bus every 12 minutes, arriving at a random moment. The chance falls in a straight line.
| Wait longer than | Chance |
|---|---|
| 2 minutes | 83.3% |
| 4 minutes | 66.7% |
| 6 minutes | 50% |
| 8 minutes | 33.3% |
| 10 minutes | 16.7% |
No. For a continuous distribution the chance of any exact value is zero, so the endpoints make no difference.
Uniform from 0 to 1. Random number generators produce it, and other distributions are built from it.
The probability is zero. A value below a has P(X < x) = 0; above b, P(X < x) = 1.
The variance of a uniform interval of length L works out to L² ÷ 12 by integration, so the SD is L ÷ √12 ≈ 0.289L.
Rounding to the nearest whole number leaves an error spread evenly between −0.5 and 0.5, with SD 1 ÷ √12 ≈ 0.29.
Equal chances over a set of separate values, like a die’s faces. Its mean is still the midpoint, but the spread formula is (n² − 1) ÷ 12 for n values one apart.
The pth percentile is a + p(b − a). The 90th percentile of 0 to 12 is 10.8.
Not uniform: it has a triangular shape, peaking in the middle. Add more and it heads towards a bell curve.
Related Tools
Gaussian probabilities.
Z-score from probability.
Binary outcome probabilities.
Rare event frequency.
Time between events.
Calculate beta probabilities.