Uniform Distribution Calculator
Enter the interval [a, b] and a point x for the uniform distribution.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
The continuous uniform distribution on an interval [a, b] describes a quantity that is equally likely to take any value in that range, with no value more probable than another. Its probability density function (PDF) is flat, equal to 1/(b − a) everywhere between a and b and zero outside it, its mean is simply the midpoint (a + b)/2, and its variance is (b − a)² / 12.
The cumulative distribution function (CDF) at a point x gives the probability that the random variable is less than or equal to x, calculated as (x − a)/(b − a) within the interval. This distribution is the standard model for situations where outcomes really are equally likely across a range, such as rounding errors, the position where a random point lands on a line segment, or the output of a basic pseudo-random number generator before it's transformed into other distributions, and it's a foundational building block taught early in probability courses.
Enter the interval [a, b] and a point x, and this calculator returns the distribution's mean, variance, and the PDF and CDF value at x.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)