Random Number Generator
Generate one or many secure random whole numbers between your chosen minimum and maximum.
How to use the Random Number Generator
What does the Random Number Generator do?
Generate random integers within an inclusive range; It applies this page-specific rule: the minimum and maximum are both included.
Which inputs does this generator use?
To generate random integers within an inclusive range, enter Minimum, Maximum, How many; keep every value in the same example; select Generate random numbers when the values are ready; Start with a familiar case covered by this rule - Turn on “Do not repeat” to sample without replacement - so the expected result can confirm the settings.
How should the generator result be read?
For a result intended to generate random integers within an inclusive range, turn on “Do not repeat” to sample without replacement; read how many together with the original minimum rather than as an isolated answer, and confirm that its units or structure match the intended use.
Can the same number appear twice?
When the goal is to generate random integers within an inclusive range, yes by default.
Are negative numbers allowed?
When using the page to generate random integers within an inclusive range, yes.
Limits and accuracy
When using this generator to generate random integers within an inclusive range, the result covers the stated calculation and supplied values, not every real-world factor; generated results are suitable for ordinary choices and testing, but not for gambling, security, or regulated drawings unless the page explicitly says otherwise; keep minimum until the output has been checked in its intended destination. For a repeatable check when you need to generate random integers within an inclusive range, record Minimum alongside the final output and selected options. A known example using minimum can confirm how the page will generate random integers within an inclusive range. While trying to generate random integers within an inclusive range, read the status message before copying or downloading because it can identify an incomplete or unsupported How many.
How this random number generator works
The minimum and maximum are both included. Results use the browser's cryptographically secure random source and avoid modulo bias, making them suitable for fair everyday drawings and samples.
Turn on “Do not repeat” to sample without replacement. The requested count cannot then exceed the number of available integers.
Frequently asked questions
Can the same number appear twice?
Yes by default. Select “Do not repeat” when every result must be unique.
Are negative numbers allowed?
Yes. Enter any safe whole-number range with the minimum no greater than the maximum.