How to calculate
Divide the length of the overlapping continuous intervals by the total length. For a discrete uniform distribution count the matching integers and divide by the total number of possible integers.
Worked example
Use Distribution Continuous interval · Distribution minimum 0 · Distribution maximum 10 · Probability mode Within an inclusive range · Lower or target value 2 · Upper value for range 5. The result is 30%.
Input and result notes
An exact single value has zero probability in a continuous uniform distribution. For integers, endpoints count.
Omni's probability calculator reference