Enter Inputs
Uniform · PDF / PMFResult
Submit the form to compute the density or mass value at your specified point.
Formulas
Continuous uniform:
\[ f(x) = \begin{cases} \dfrac{1}{b-a}, & a \le x \le b \\[4pt] 0, & \text{otherwise} \end{cases} \]
Discrete uniform:
\[ P(X=x) = \begin{cases} \dfrac{1}{m-k+1}, & x \in \{k,\ldots,m\} \\[4pt] 0, & \text{otherwise} \end{cases} \]