Continuous uniform distribution calculator
Every subinterval of the same length has the same probability between a and b.
How to use this page
- Enter bounds a<b.
- Choose density, CDF, tail or quantile.
- Provide x or probability q.
What this page does not do: The model assumes equal density across the interval. It does not fit data concentrated near the centre or the boundaries.
Further reading
A continuous uniform U(a,b) distribution assigns constant density 1/(b−a) across the interval. A subinterval's probability depends only on its length.
The probability at a single point is zero even though density inside the interval is positive.
Frequently asked questions
Do the endpoints change probability?
Not for a continuous distribution: individual points have probability zero.
What is the median quantile?
The 0.5 quantile is (a+b)/2, equal to the mean.
See also
Beta distribution calculator
Calculate beta density, CDF, upper tail and quantile together with its mean and variance.
Chi-square test calculator
Calculate chi-square goodness of fit, independence, or a chi-square critical value.
Covariance calculator
Calculate covariance for two variables, means, the cross-deviation sum and Pearson correlation.