Statistics & probability

Uniform interval probability

Compare an interval with a continuous uniform distribution’s support.

Uniform interval probability
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

For a continuous uniform distribution on [a,b], probability is overlapping interval length divided by b−a. Clips interval bounds to the distribution support. Requires a<b and lower≤upper. Every point has zero probability; equal density does not make an arbitrary dataset uniform.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Distribution minimum
0
Distribution maximum
10
Interval lower bound
2
Interval upper bound
5

Example result

Inside interval
0.3
Outside interval
0.7
Model mean
5
Model standard deviation
2.88675134595