Statistics

Discrete Uniform Distribution Calculator

Calculate cumulative probability across equally likely integers in an inclusive range.

Data stays on this deviceConvention explained below
Probability workspace
Probability workspace

Probabilities range from 0 to 1. Check whether the method gives cumulative or exact-count probability.

See the method

Set model parameters

Runs on your device

Your probability

Your result

Let’s calculate.

Use the Calculate button to see your result.

Review the method below for assumptions and conventions.

How to use this tool

  1. Enter lowest integer, highest integer, value x.
  2. Select Calculate to view the result.
  3. Check the method and assumptions below before using the result.

Input reference and sample values

Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.

InputFormat and unitsSample
Lowest integerNumeric value. Minimum: -1000000. Maximum: 1000000.1
Highest integerNumeric value. Minimum: -1000000. Maximum: 1000000.6
Value xNumeric value. Minimum: -1000000. Maximum: 1000000.1

Result for these sample inputs

0.166666667
Probability per integer
0.166666667

Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.

The method, explained

There are b−a+1 outcomes. CDF counts integers at or below floor(x), clamped to the supported range.

A WORKED EXAMPLE

Using lowest integer = 1, highest integer = 6, value x = 1, the result is 0.166666667. Change these example inputs to match your task; use the method above to check each step.

Understanding your result

Integer outcomes only, with both endpoints included. This differs from a continuous uniform distribution.

What to keep in mind

Integer outcomes only, with both endpoints included. This differs from a continuous uniform distribution. A descriptive or probability calculation under the stated assumptions. Check the sample design and model before interpreting results.

Methodology maintained by ClarityKit. How these tools are built and checked.