How to use the generator
- Enter the minimum and maximum – both are included in the draw.
- Choose how many numbers you want.
- Tick No repeats if each number may only come out once (a raffle, a lottery-style draw).
- Click Generate. Click again for a new draw.
How the numbers are chosen
Each number comes from your browser’s cryptographic random generator. A common shortcut (taking a random value and using the remainder of a division) slightly favors some numbers; this tool discards those values, so every number in the range has exactly the same probability.
With a range from 1 to 100, each number has a 1% chance on every draw. With “No repeats”, numbers already drawn are skipped, like balls taken out of a bag.
Chance that a given number is drawn
Drawing without repeats, the chance that one specific number comes out is the number of draws divided by the size of the range.
| Range | 1 number | 5 numbers | 10 numbers |
|---|---|---|---|
| 1–10 | 10% | 50% | 100% |
| 1–20 | 5% | 25% | 50% |
| 1–50 | 2% | 10% | 20% |
| 1–100 | 1% | 5% | 10% |
| 1–1000 | 0.1% | 0.5% | 1% |
Ideas
- Draw raffle or tombola winners from ticket numbers.
- Pick a random page, question or exercise number.
- Choose a random sample of rows from a numbered list.
Prefer names on a wheel? Try the spinning wheel. Playing a board game? Use the dice roller.