Uniform Distribution Calculator
Work out the mean, variance and standard deviation of a continuous uniform distribution between a minimum and a maximum. Optionally, get the density at a value and the probability of falling below it or within a range.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the Uniform Distribution Calculator
- Enter the minimum a and the maximum b of the uniform range.
- Optionally enter a value x to get its density and the probability of being at or below it.
- Optionally enter a lower and upper bound to get the probability that the value falls between them.
Frequently asked questions
What is a uniform distribution?
A continuous uniform distribution gives every value between a minimum a and a maximum b the same density, which is 1 divided by (b - a). Values outside that range have probability zero.
How do you calculate the mean and variance of a uniform distribution?
The mean is (a + b) / 2, which is also the median. The variance is (b - a) squared divided by 12, and the standard deviation is the square root of that.
How do you find the probability between two values?
For a uniform distribution, P(c <= X <= d) equals (d - c) divided by (b - a), when a <= c <= d <= b. Values are clipped to the range, so bounds outside [a, b] count as a or b.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.