CalculatorCast

Uniform Distribution Calculator

Compute PDF, mean, and variance of a uniform distribution.

Introduction

Uniform Distribution Calculator — Compute PDF, mean, and variance of a uniform distribution. Enter Lower bound (a), Upper bound (b) to get an instant, accurate result.

Formula

Continuous uniform distribution on [a,b]: PDF = 1/(b−a) for any x in the interval, mean = (a+b)/2, variance = (b−a)²/12.

Step-by-step

  1. Enter the Lower bound (a).
  2. Enter the Upper bound (b).
  3. Click Calculate to see your result instantly.

Real-world example

Example: With Lower bound (a) = 0, Upper bound (b) = 10, the Uniform Distribution Calculator gives Pdf: 0.1, Mean: 5, Variance: 8.3333.

Frequently Asked Questions

What does "uniform" mean here?
Every value within [a,b] is equally likely to occur — the probability density is constant across the whole interval.
Why is the PDF the same everywhere in the interval?
Because the total probability (area under the curve) must equal 1 over a fixed-width interval, so the height is forced to be a constant 1/(b−a).
What inputs does the Uniform Distribution Calculator need?
You'll need to provide: Lower bound (a), Upper bound (b). All fields use sensible defaults, so you can see a working example immediately and then adjust the values to match your own numbers.
How accurate is the Uniform Distribution Calculator?
The Uniform Distribution Calculator applies the formula exactly as calculated — Continuous uniform distribution on [a,b]: PDF = 1/(b−a) for any x in the interval, mean = (a+b)/2, variance = (b−a)²/12. — so results are precise for the inputs you provide. Accuracy depends on entering correct, realistic input values.
Is the Uniform Distribution Calculator free to use?
Yes, the Uniform Distribution Calculator is completely free, requires no signup, and runs instantly in your browser.

About the Uniform Distribution Calculator

The Uniform Distribution Calculator uses a real, verifiable formula — Continuous uniform distribution on [a,b]: PDF = 1/(b−a) for any x in the interval, mean = (a+b)/2, variance = (b−a)²/12. — so results are accurate every time, not an approximation.