Random number generator
Set the lowest and highest number, choose how many, press Generate.
How to pick a random number
- Type the lowest and highest numbers you want. Both are included, so 1 to 10 can give 1 and can give 10.
- Choose how many numbers to draw, up to 100.
- Tick No repeats if each number may only come up once, like a raffle or bingo.
- Press Generate. Press it again for a new draw.
Worked examples
| You want | Lowest | Highest | How many | Repeats | Chance for any one number |
|---|---|---|---|---|---|
| Guess my number | 1 | 10 | 1 | – | 1 in 10 |
| Pick a student from 28 | 1 | 28 | 1 | – | 1 in 28 |
| Raffle with 200 tickets, 3 prizes | 1 | 200 | 3 | No | 3 in 200 to win a prize |
| Bingo caller | 1 | 75 | 1 each time | No (remember the calls) | 1 in the numbers left |
| Random minute in an hour | 0 | 59 | 1 | – | 1 in 60 |
The number of possible values is highest minus lowest plus one. From 1 to 100 that is 100 - 1 + 1 = 100, so each number has a 1 in 100 chance, or 1%.
Games to play with random numbers
- Higher or lower: generate a number from 1 to 100 but hide it; a friend guesses and you say higher or lower. The best plan is to guess the middle each time, which finds any number in 7 guesses or fewer.
- Times tables practice: draw two numbers from 2 to 12 and multiply them.
- Random seat plan: give each seat a number and draw without repeats.
Random number questions
How random is this random number generator?
It uses crypto.getRandomValues, the browser's secure random source, and rejects values that would make some numbers come up more often (called modulo bias). Every whole number in your range has exactly the same chance.
What does "no repeats" do?
Each number can only be drawn once, like pulling numbered balls out of a bag. With no repeats, the count you ask for cannot be bigger than the number of values in the range. With repeats allowed, the same number can appear more than once.
Can I use negative numbers?
Yes. Any whole numbers from minus one billion to one billion work, for example -10 to 10. The minimum must be smaller than or equal to the maximum; if you type them the wrong way round, the tool swaps them.
Can I use it to pick a raffle or giveaway winner?
Yes. Number the tickets or entries, set the range from 1 to the last number, and draw. For a fair public draw, show the screen while you press Generate and draw only once.
Why did the same number come up twice in a row?
With repeats allowed, every draw is independent. With 1 to 10, the chance that the next number equals the last one is 1 in 10, so it happens often.
Picking names rather than numbers? Use the wheel spinner or make groups with the random team generator. For games, try the dice roller.
More Tools tools
- CPS testClick speed test for 1, 5, 10 or 60 seconds with jitter clicking and PvP ranks.
- Invisible textCopy invisible characters for blank names in Roblox, Discord and Among Us.
- Fancy text generatorTurn your name into cool fonts for Discord, TikTok and game profiles.
- Wheel spinnerType names or choices, spin the wheel and get a fair random pick.
- Random team generatorSplit a list of names into fair random teams or groups of any size.
- Dice rollerRoll 1 to 6 dice with 4 to 100 sides and see each die and the total.