Uniform Distribution Calculator

Calculate mean, variance, standard deviation, PDF, CDF, and interval probability for a continuous uniform distribution U(a, b).

Distribution Parameters

Interval Probability (optional)

Quick Examples

Enter bounds a and b to compute distribution statistics.

Summary

Calculate mean, variance, standard deviation, PDF, CDF, and interval probability for a continuous uniform distribution U(a, b).

How it works

  1. Enter the lower bound a and upper bound b of your uniform distribution (a must be less than b).
  2. Optionally enter x1 and x2 to compute P(x1 ≤ X ≤ x2).
  3. The calculator computes mean = (a+b)/2, variance = (b-a)²/12, and standard deviation = √variance.
  4. PDF = 1/(b-a) — constant across the entire interval.
  5. CDF(x) = (x-a)/(b-a) for x in [a, b].
  6. P(x1 ≤ X ≤ x2) = (x2-x1)/(b-a) for x1, x2 inside [a, b].
  7. A range indicator visualizes the full interval and any sub-interval.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu