EVERYDAY CLARITY
Continuous Uniform Distribution Calculator
Calculate density and cumulative probability for a continuous uniform interval.
Your result
Probability density
Cumulative probability
Result for the values shown.
Calculations run in your browser.
What to enter
| Input | Meaning and units |
|---|---|
| Lower bound | Enter lower bound using the definition in the method and example. |
| Upper bound | Enter upper bound using the definition in the method and example. |
| Threshold | Enter threshold using the definition in the method and example. |
Understanding your result
These outputs describe the probability model and event definitions you entered. A probability is a number from 0 to 1; a probability density is not itself the probability of one exact continuous value.
Common mistakes
- Entering 25 instead of 0.25 for a probability, or assuming events are independent when the model requires that assumption.
- Confusing an exact-count probability with a cumulative probability, or replacement with sampling without replacement.
Check your calculation
- Check a zero/certain-event boundary and the stated support of the distribution against the worked example.
Calculation checks, sources and review limits
What is the probability a uniform value is below this threshold?
Calculate density and cumulative probability for a continuous uniform interval.
Common uses
- What is the probability a uniform value is below this threshold
How it works
cdf = max(0, min(1, (x - a) / (b - a))); pdf = x < a ? 0 : (x > b ? 0 : 1 / (b - a))
Worked example
Enter Lower bound: 0 ; Upper bound: 10 ; Threshold: 5 . Results: Probability density: 0.1 ; Cumulative probability: 0.5 .