Random Number Generator

Generate a uniformly distributed whole number between the given minimum and maximum, including the endpoints.

Result
—

How the calculation works

Generate a uniformly distributed whole number between the given minimum and maximum, including the endpoints.

Worked example

Minimum = 7, Maximum = 7 gives 7.

Reading the result

Any integer in the inclusive range has an equal chance. Equal endpoints always give that number. Inputs may have up to 15 digits.

Related calculators