Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Continuous uniform distribution calculator

Every subinterval of the same length has the same probability between a and b.

Selected calculation result: —

Fill in the fields above — the result is computed on this page.

x or quantile
—
Width b−a
—
Density f(x)
—
P(X≤x)
—
P(X≥x)
—
Mean
—
Variance
—
Standard deviation
—

What do these numbers mean?
  • The mean lies halfway between a and b.
  • The CDF rises linearly from 0 to 1 over [a,b].

The model assumes equal density across the interval. It does not fit data concentrated near the centre or the boundaries.

How do I use this page?
  1. Enter bounds a<b.
  2. Choose density, CDF, tail or quantile.
  3. Provide x or probability q.

What this page does not do: The model assumes equal density across the interval. It does not fit data concentrated near the centre or the boundaries.

Further reading

Theory — what is the uniform distribution?

The continuous uniform distribution U(a,b) assigns a constant probability density of 1/(b−a) across the entire interval from a to b. This means every subinterval of the same length has identical probability, regardless of where it falls within the range. The probability of hitting a single exact point is always zero, even though the density inside the interval is positive — this follows from the nature of continuous distributions. For the same reason, whether the endpoints are included or not has no effect on the probability value.

Frequently asked questions

Do the endpoints change probability?
Not for a continuous distribution: individual points have probability zero.
What is the median quantile?
The 0.5 quantile is (a+b)/2, equal to the mean.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.