CalcWorldHub
Free online calculator · no signup

Uniform interval probability calculator

Calculate the probability that a continuous uniform variable falls inside a requested interval, clipping that interval to the distribution’s support.

Uniform interval probability calculator — Lower support L, Upper support U, Event lower bound and calculation method
Uniform interval probability calculator: inputs and calculation method.

How to use this calculator

Calculate the probability that a continuous uniform variable falls inside a requested interval, clipping that interval to the distribution’s support.

  1. Enter Lower support L, Upper support U, Event lower bound, Event upper bound. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

How Uniform interval probability calculator works

Calculate the probability that a continuous uniform variable falls inside a requested interval, clipping that interval to the distribution’s support.

Inputs and units

  • Lower support L: Lower support endpoint L of the uniform distribution.
  • Upper support U: Upper support endpoint U, which must exceed L.
  • Event lower bound: Requested event interval lower endpoint a.
  • Event upper bound: Requested event interval upper endpoint b; it must not be below a.

Formula and method

P(a≤X≤b)=max(0, min(b,U)−max(a,L))/(U−L), X~Uniform(L,U)

Worked example

For support [0,10] and requested interval [2,6], the probability is (6−2)/(10−0)=0.4.

Interpreting the result

Probability is proportional to the overlap length between the requested interval and support. An interval fully outside the support has probability zero.

Assumptions and limits

The support must satisfy L<U. The model assumes constant density on [L,U]; the requested endpoints may fall outside the support and are clipped.

Sources and method

Frequently asked questions

What if the event interval extends past the support?

Only the overlap with [L,U] contributes to the probability.

Why does interval width determine probability?

A continuous uniform distribution has constant density, so probability is overlap length divided by total support length.

How do I use the Uniform interval probability calculator?

Enter Lower support L, Upper support U, Event lower bound, Event upper bound. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Uniform interval probability?

For support [0,10] and requested interval [2,6], the probability is (6−2)/(10−0)=0.4.

What does the Uniform interval probability calculator calculate?

Calculate the probability that a continuous uniform variable falls inside a requested interval, clipping that interval to the distribution’s support.

Related calculators