Easy CalculatorsOnline
A little less guesswork.

Statistics · EVERYDAY CLARITY

Continuous uniform probability calculator

Find interval probability within a constant-density range.

Units & number format

Number formatting changes the display; the interface and guides are in English. Dates use calendar controls; numeric lists use decimal points and comma or space separators.

01 · CALCULATE

Work out your numbers

Your inputs stay in this browser.

Example result · using the values shown

Uniform interval probability
40%
Probability (0–1)0.4
See visual ↓

Continuous uniform distribution with a<b. Event interval is clipped to the support.

02 · SEE THE RESULT

Your numbers, pictured

Example visualization

Event and complement

Event0.4 probability40%
Complement0.6 probability60%

Share of the total

Event0.4 probability
Complement0.6 probability
0 probabilityShared scale0.6 probability

Probability is interval length divided by support length; isolated points have probability zero.

03 · UNDERSTAND THE METHOD

How the continuous uniform probability calculator works

A continuous uniform distribution assigns constant probability density over a finite interval. This calculator determines how much of an event interval overlaps the distribution’s support, then divides that overlap length by the complete support length. Event bounds may extend outside the support; those portions contribute no probability. The method makes clear that probability depends on interval width, rather than on one endpoint value alone.

The formula and its variables

P(l≤X≤h)=length([l,h]∩[a,b])/(b−a)
a,b
Strictly ordered distribution support bounds.
l,h
Ordered event interval bounds.

The calculation, step by step

  1. Enter support bounds with a smaller than b. Then enter the event lower and upper bounds in their correct order.
  2. Clip the event interval to the distribution support. If the clipped upper endpoint is below the lower one, use zero overlap length.
  3. Divide overlap length by b−a. Read the resulting event share and complementary probability.

A worked example

For a distribution on 0 through 10 and event 2 through 6, overlap length is four and total length is ten. The probability is 0.4, or 40%. An event from −5 through 2 overlaps only zero through two, giving 20%. An event covering the entire support has probability one even if its bounds extend farther.

Example inputs and calculated output
Distribution lower bound a0
Distribution upper bound b10
Event lower bound2
Event upper bound6
Uniform interval probability40%

How to read the result and visual

Uniformity means equal-length subintervals have equal probabilities, not that every exact real value has a positive probability. A point interval has length zero and therefore probability zero. The density is 1/(b−a), while the integrated probability is dimensionless. Clipping prevents probability outside the possible value range from being counted.

Assumptions, rounding, and limitations

The support must have positive length, and both event bounds must be ordered. A continuous uniform model is different from a discrete uniform integer draw. The calculator does not infer a distribution from minimum and maximum observations or test uniformity. Unequal-density processes require another probability model.

Frequently asked questions

What happens when the event lies outside the support?

Its overlap is zero and the event probability is zero.

Does an exact endpoint have positive probability?

No. Individual points have zero probability in a continuous distribution.

Reference sources

How we check calculations and what verification covers