Uniform Distribution Calculator
Find probabilities, mean, variance, and standard deviation for any continuous uniform distribution U(a, b).
📊 What is the Uniform Distribution Calculator?
The continuous uniform distribution U(a, b) is a probability model in which every value in the interval [a, b] is equally likely. The probability of landing in any sub-interval is directly proportional to the length of that sub-interval, divided by the total width of the distribution. This simplicity makes the uniform distribution one of the most important building blocks in probability and statistics.
This calculator handles two common tasks. In Probability mode, you enter the distribution bounds (a and b) plus the query limits (x1 and x2), and the calculator returns P(x1 to x2), P(X below x2), and P(X above x1). In Distribution Stats mode, you enter only a and b to see the full parameter set: mean, median, variance, standard deviation, interquartile range, PDF height, range, skewness, and kurtosis.
Real-world applications of the uniform distribution are wide-ranging. In transportation, a bus that arrives at random within a 20-minute window follows U(0, 20). In computing, pseudorandom number generators produce U(0, 1) values that seed simulations and cryptographic functions. In manufacturing and metrology, rounding errors in analog-to-digital conversion are well modeled by U(-0.5, 0.5). In Monte Carlo simulation, uniform draws are transformed into any desired distribution via the inverse-CDF method. In statistics education, the uniform distribution demonstrates core concepts such as CDF, PDF, and percentiles in the simplest possible setting before students tackle the normal or exponential distributions.
A common misconception is that "uniform" means all outcomes are equally probable in the discrete sense. For the continuous uniform distribution, individual point probabilities are zero. Only intervals have positive probability. This is why the PDF height 1/(b-a) is a density, not a direct probability. Another distinction worth noting: this calculator covers the continuous case. The discrete uniform distribution, where X takes only integer values from a to b, uses slightly different formulas, particularly for variance.