Random Number Generator
Random numbers in any range, with or without repeats
Every number in your range has the same chance: the numbers come from your browser’s cryptographic random generator. For draws with legal rules, such as official lotteries, use a certified service.
About this tool
Set the lowest and highest number, choose how many numbers you need and press Generate. Turn on “No repeats” when no number may come up twice, for example when you draw raffle tickets or giveaway winners. Add a label, like “Giveaway winner”, and your last 10 draws are kept in this browser with the time, so you can look back at them later. You can draw up to 1,000 numbers at once, and negative numbers work too.
How to generate random numbers
- Enter the lowest and the highest number in “Min” and “Max”. Both can come up.
- Choose how many numbers you need, from 1 to 1,000.
- Turn on “No repeats” if no number may come up twice, for example for raffle tickets.
- Add a label if you like and press “Generate”. The draw is saved in the history with the time.
What people use it for
- Giveaways and rafflesNumber the entries or tickets, draw one number per prize with “No repeats” on, and keep the labelled result in the history.
- Bingo at homeDraw all numbers from 1 to 75 (or 1 to 90) at once with “No repeats” on, then call them out in the order shown.
- ClassroomPick a student by their number in the register, or make up random sums for practice.
- Random samplesChoose rows of a spreadsheet or items for a spot check by drawing row numbers without repeats.
- GamesPick a random page, level or number to guess. For dice, the Dice Roller is quicker.
How the numbers are drawn
Every whole number from Min to Max, including both, has the same chance: from 1 to 100, each number comes up 1 time in 100. The numbers come from your browser’s cryptographic random generator with rejection sampling, which avoids the small bias of the common “random value modulo range” shortcut.
Repeats happen more often than most people expect. Draw 10 numbers from 1 to 100 with repeats allowed, and at least two of them match about 37% of the time. That’s why “No repeats” exists: with it on, each number appears at most once in a draw.
Frequently Asked Questions
Is this random number generator fair?
Yes. Numbers are drawn with your browser’s cryptographic random generator (crypto.getRandomValues) and rejection sampling, so every whole number from your minimum to your maximum has exactly the same chance.
How do I get numbers without repeats?
Turn on “No repeats”. Each number then appears at most once in a draw, which suits raffle tickets, seat numbers or a running order. The range must hold enough numbers: from 1 to 10 you can draw at most 10.
How do I pick a giveaway winner?
Number the entries, for example the comments under your post, set the minimum to 1 and the maximum to the last entry, and press Generate. Add a label like “Giveaway winner” so the draw is easy to find in the history.
Can I use negative numbers?
Yes. Any whole numbers work, including negative ones, as long as the minimum isn’t higher than the maximum. For dice, the Dice Roller is quicker.
Where is my history kept?
Only in this browser. The last 10 draws are saved on your device, and “Clear history” removes them. Nothing is sent to our server.
Is there a number wheel?
Yes. The Number Wheel puts every number of your range on a wheel, up to 100 numbers, and spins for one, with a step and without repeats if you like. The odds are the same as here, because both tools use the same random generator. The wheel suits a draw that people watch, in a class or on a stream.
Last updated: · QuantumGlitch Studio
More tools
Decide
People & teams
Games & numbers
- Dice RollerVirtual dice for board games and tabletop RPGs
- D&D Dice RollerDice notation, advantage and every die from d4 to d100
- Number WheelA random number spinner for 1–10, 1–100 or any range
- Random LetterDraw a letter for word games and class activities
- Word GeneratorRandom words for charades, drawing games and writing prompts
- Rock Paper ScissorsPlay against a computer that can’t peek