Uniform Distribution Calculator
Reviewed by CalcMulti Editorial Team·Last updated: ·← Statistics Hub
The continuous uniform distribution (rectangular distribution) models a random variable that is equally likely to take any value in an interval [a, b]. It is the simplest continuous distribution and the basis of most random number generators.
Enter the minimum a and maximum b, and optionally an x value to compute probabilities. The calculator also shows the full probability table for selected values across the range.
Formula
f(x) = 1/(b−a) for a ≤ x ≤ b F(x) = (x−a)/(b−a)
- a
- minimum value (lower bound)
- b
- maximum value (upper bound)
- f(x)
- probability density function (constant height 1/(b−a))
- F(x)
- CDF = P(X ≤ x)
Distribution Parameters
Uniform Distribution Key Facts
| Property | Formula | Example U(0,10) |
|---|---|---|
| Support | [a, b] | [0, 10] |
| PDF f(x) | 1 / (b−a) | 0.1 |
| Mean | (a+b) / 2 | 5 |
| Median | (a+b) / 2 | 5 |
| Variance | (b−a)² / 12 | 8.333 |
| Std deviation | (b−a) / √12 | 2.887 |
| Skewness | 0 (symmetric) | 0 |
| Excess kurtosis | −6/5 = −1.2 | −1.2 |
Related Calculators
Bell-shaped continuous distribution
Exponential Distribution CalculatorTime between events
Binomial CalculatorDiscrete distribution for n trials
Poisson CalculatorNumber of events in fixed interval
Normality Test CalculatorTest if data is normally distributed
Statistics HubAll statistics calculators
Disclaimer
For educational and exploratory use only. Verify that the uniform distribution is appropriate for your data before applying this model.