Random Number Generator
Set a minimum and a maximum, choose how many numbers you need, and generate. Block repeats or sort the list if you want.
How to use it
- 1 Enter a minimum and a maximum number.
- 2 Choose how many numbers to draw, and whether repeats are allowed.
- 3 Press Generate. Copy the result or sort it.
Fair random numbers in any range
The generator draws whole numbers between your minimum and maximum, both included. It uses your browser's cryptographic random generator and rejection sampling, which keeps every number in the range equally likely.
You can draw up to 1,000 numbers at once. Turn on Unique and each number appears at most once, which is what you want for a lottery-style draw or a raffle.
Everyday uses
Pick a raffle ticket, choose a random page in a book, set a PIN-free game of guess the number, or select a student number. Board game fans use it as a fast die of any size. Developers use it to get sample values.
For dice with sides, use the dice roller. For a yes or no decision, the coin flip is quicker.
Limits worth knowing
The tool works with whole numbers from -1,000,000,000 to 1,000,000,000. It is fine for games, classroom use and decisions. It is not a certified lottery or gambling system, and you should not use it where a legally audited draw is required.
If you ask for more unique numbers than the range holds, the tool tells you instead of repeating numbers.