## Discrete Uniform Distribution Calculator

Discrete uniform distribution calculator can help you to determine the probability and cumulative probabilities for discrete uniform distribution with parameter $a$ and $b$.

Discrete Uniform Distribution Calculator
Minimum Value $a$:
Maximum Value $b$
Value of x
Results
Probability : P(X=x)
Cumulative Probability : P(X ≤ x)
Cumulative Probability : P(X < x)
Cumulative Probability : P(X ≥ x)
Cumulative Probability : P(X > x)

## Definition of Discrete Uniform Distribution

A discrete random variable $X$ is said to have uniform distribution with parameter $a$ and $b$ if its probability mass function is given by

$$f(x; a,b) = \frac{1}{b-a+1}; x=a,a+1,a+2, \cdots, b$$

## Distribution function of Uniform Distribution

$$P(X\leq x) = F(x) = \frac{x-a+1}{b-a+1}; a\leq x\leq b$$