Pick one or many random whole numbers between any two limits. Use it to choose a giveaway winner from numbered entries, assign groups in a classroom, pick lottery-style numbers or settle who goes first. The generator uses your browser’s secure random source, so every number in the range has an equal chance.
How to use it
- Set the lowest and highest number you want. Both are included.
- Choose how many numbers to draw.
- Keep “No repeats” ticked to draw like a raffle, where each number can come up only once.
- Click Generate.
Fair and unbiased
A naive approach to random numbers can make some values slightly more likely than others when the range does not divide evenly into the generator’s output. This tool uses rejection sampling, discarding the few raw values that would cause that bias, so the draw is uniform across the whole range.
Ideas for using it
- Run a social media giveaway: number the qualifying comments and draw one.
- Roll dice: set 1 to 6 and allow repeats.
- Choose a random page or question for revision practice.
Frequently asked questions
Are these truly random?
They come from a cryptographically secure pseudo-random generator built into your browser, which is suitable for draws, games and most security needs.
Why do I get an error with “No repeats”?
You asked for more unique numbers than the range contains. For example, there are only 10 numbers from 1 to 10.