The uniform distribution calculator finds the probability that a random variable following the uniform distribution lies between the given values.

Enter the parameter values (a and b) as well as the bounds for the random variable in the calculator below. The output is the required probability.

**Probability: ** 0.50000

The pdf of the uniform distribution is given by the formula,

f(x)= 1/(b-a) where, a<x<b.

The expectation of the uniform distribution is given by the formula,

E(X) = (a+b)/2

The variance of the uniform distribution is given by the formula,

V(X)= (b-a)^{2}/12