Estimate density, cumulative probability, quantiles, and moments fast. Visualize interval probabilities with clean formulas and example tables. Explore results with graph exports and guided usage notes.
The graph shows both the density function and cumulative distribution.
This example uses default values when no submission exists.
| x value | PDF f(x) | CDF F(x) |
|---|---|---|
| 2.000 | 0.125 | 0.000 |
| 4.000 | 0.125 | 0.250 |
| 6.000 | 0.125 | 0.500 |
| 8.000 | 0.125 | 0.750 |
| 10.000 | 0.125 | 1.000 |
For a continuous uniform random variable on the interval [a, b], every value inside the range is equally likely.
Probability density function: f(x) = 1 / (b − a), for a ≤ x ≤ b, otherwise 0.
Cumulative distribution function: F(x) = 0 for x ≤ a, F(x) = (x − a)/(b − a) for a < x < b, and F(x) = 1 for x ≥ b.
Mean: μ = (a + b) / 2
Variance: σ² = (b − a)² / 12
Standard deviation: σ = √[(b − a)² / 12]
Interval probability: P(c ≤ X ≤ d) = F(d) − F(c)
Quantile: Q(p) = a + p(b − a)
It represents a variable that can take any value between two limits, where each equal-length interval has the same probability.
Because the distribution assumes equal likelihood across the entire range, the density stays flat from the lower bound to the upper bound.
Yes. The PDF becomes zero outside the interval. The CDF becomes zero below a and one above b.
It is calculated by subtracting the cumulative probability at the lower interval value from the cumulative probability at the upper interval value.
The quantile returns the x-value where the chosen cumulative probability is reached within the distribution range.
The interval width must be positive. Otherwise, the density formula divides by zero or produces an invalid distribution.
It is used in simulation, random sampling, modeling uncertain measurements, timing problems, and simple probability examples.
No. A single exact point has probability zero, even though the density at that point can still be positive.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.