CalculatorCast

Calculadora de distribución uniforme

Calcula la PDF, la media y la varianza de una distribución uniforme.

Introducción

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

Fórmula

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

Paso a paso

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

Ejemplo del mundo real

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

Preguntas Frecuentes

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 a fixed formula to the numbers you enter. Formula used: Continuous uniform distribution on [a,b]: PDF = 1/(b−a) for any x in the interval, mean = (a+b)/2, variance = (b−a)²/12. The result is only as reliable as the values you provide, so double-check your inputs.
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.

Acerca de Calculadora de distribución uniforme

The continuous uniform distribution represents a situation where every value in an interval [a, b] is equally likely. It is the simplest continuous probability distribution and serves as a useful model when the only information available is that a value falls somewhere within a known range with no preference for any part of that range. The Uniform Distribution Calculator on CalculatorCast computes probabilities, the mean, variance, and standard deviation for any uniform distribution.

The probability density function of a uniform distribution on [a, b] is f(x) equals 1 divided by (b minus a) for values between a and b, and 0 elsewhere. All values in the interval have the same constant density. The probability of a value falling in a sub-interval [c, d] within [a, b] is simply (d minus c) divided by (b minus a).

The mean of a uniform distribution on [a, b] is (a plus b) divided by 2, the midpoint of the interval. The variance is (b minus a) squared divided by 12. The standard deviation is (b minus a) divided by the square root of 12, or approximately (b minus a) times 0.2887.

Uniform distributions appear in many contexts: a random number generator produces uniformly distributed values, the phase of a sinusoidal signal at a random sampling time is uniformly distributed on [0, 2 pi], rounding errors in numerical computations are approximately uniformly distributed between negative 0.5 and positive 0.5 of the last digit, and the outcome of rolling a fair die is discrete uniform over {1, 2, 3, 4, 5, 6}.

The uniform distribution is also the simplest non-informative prior in Bayesian analysis, expressing maximum uncertainty about a parameter within a known range.

The Uniform Distribution Calculator is free on CalculatorCast and works on all devices without registration.