🔢 Random Number Generator
Generate random numbers in any range, with or without duplicates, sorted or shuffled.
About This Random Number Generator
The classic random number generator: pick any minimum and maximum, choose how many numbers you need, and get instant results. Enable "No duplicates" for raffle draws and lottery-style picks, or sort the output for clean lists. Negative numbers work too, just type them in.
Every draw uses cryptographic-quality randomness, so each number in your range has an exactly equal chance. That matters when the draw has real stakes: a raffle winner, a bingo caller, or a random sample for a survey or classroom statistics demo. Unlike "pick a number" games where humans unconsciously favor certain digits, this tool has no favorites.
Under the hood, two different engines run the draw. With No duplicates checked, the tool builds the full range, say 1 to 100, shuffles it with a Fisher-Yates shuffle, and takes the first N, so every number appears at most once. With duplicates allowed, each number is drawn independently, so repeats are possible and past results never affect future ones. Either way, the randomness comes from your browser's cryptographic source, not a predictable formula, which is what makes it trustworthy for real draws. If you need physical-style dice instead of a custom range, the dice roller is the closer match.
The classic use is the lottery-style draw. Set 1 to 49, count 6, keep No duplicates checked and tick Sort results, and you get a ticket that looks exactly like the real thing. Negative numbers work too, for countdowns, scores, and temperature-style ranges. The Recent strip under the controls keeps your last six draws visible, so you can compare runs or copy a result you already generated.
Teachers love the statistics angle. Have every student generate 20 numbers between 1 and 10 and tally the results on the board: the counts even out fast, which is the law of large numbers in action. When the decision is simpler than a range, skip the numbers entirely and flip a coin or ask the yes no oracle.
Here is a classroom exercise that actually lands. Ask every student to generate 30 numbers between 1 and 6 with duplicates allowed, then tally how many times each number appeared. Combine the whole class's tallies on the board and the distribution will be visibly even, which is the law of large numbers doing its thing in real time. Then run the same exercise with No duplicates checked and a count of 6: suddenly every number appears exactly once, and the difference between sampling with and without replacement clicks. Survey designers use the same principle on a bigger scale: number your population, draw your sample size with No duplicates, and every respondent had an equal chance of being picked.
How to Use It
- Set your Min and Max (any whole numbers, e.g. 1 to 100).
- Choose how many numbers to draw (up to 100).
- Tick No duplicates for raffle-style draws, Sort results for tidy lists.
- Hit Generate, tap again for a fresh draw anytime.
- For a bingo-style call order, set the full range and draw with No duplicates; read the results top to bottom as you call.
- Need a quick A/B choice? Set Min 1, Max 2: 1 means option A, 2 means option B.
- Type a negative Min for ranges like -10 to 10, handy for scores and temperatures.
- Use Copy to paste results straight into a spreadsheet or chat.
- Check the Recent strip to review or re-copy your last six draws.
Popular Uses
- Raffles giveaways: assign ticket numbers and draw winners without duplicates. Sell tickets numbered 1 to 500, draw with No duplicates on, and every winner maps to a ticket stub.
- Bingo lottery-style games: draw sorted, unique numbers just like the real thing. Turn Sort results on for the classic ascending ticket layout, or draw the full range once for a shuffled call order.
- Board games: a substitute for any die, d100, d1000, whatever you need. Or use our dedicated dice roller. No d100 in the dice bag? Set 1 to 100 and roll.
- Teaching probability: run 100 draws and watch the distribution even out, a vivid statistics demo. See our coin flip probability guide for the math behind randomness. Have each student generate 20 numbers and tally them on the board; the class totals converge fast.
- Random sampling: pick survey respondents or test cases fairly. Number your respondent list 1 to N and draw your sample size; it beats picking whoever volunteers.
- Decisions: "pick a number between 1 and 10", settled in one tap. Assign each option a number when the choice has more than two sides.
Popular Number Ranges to Pick From
Most people pick a number from a short list of favorite ranges, so the tool has one-tap presets for the big ones. Tap a preset and the Min and Max boxes fill themselves in, then the draw runs straight away. You can still type any range you like, including negative numbers.
- Between 1 and 10: the classroom classic. Teachers use it to choose a student, a table or a question, and it settles quick games without a dice hunt.
- From 1 to 100: percentages, raffle tickets and "guess the number" games. This is the range people mean when they search for a number generator 1 to 100.
- From 1 to 6: a dice roll without the dice. For proper multi-dice games, the dice roller handles d4 through d20.
- From 1 to 20: d20 territory for tabletop games, plus classroom draws where 10 feels too small and 100 feels too big.
- From 1 to 30: days of the month, class lists and bingo-style draws. Keep No duplicates on for non repeating random numbers, so nothing comes up twice in one draw.
- From 1 to 1000: big raffles and ticket stubs. Draw up to 100 unique numbers at once, or pair it with the random list picker when your entries have names instead of numbers.
Gamers call tools like this an RNG, short for random number generator. Whatever you call it, the deal is the same: every number in the range has an equal chance, every single draw.
Frequently Asked Questions
How do I generate a random number between 1 and 100?
Set Min to 1, Max to 100, choose how many numbers you want, and press Generate.
Are the numbers truly random?
Yes, every number in your range has an exactly equal chance, using cryptographic-quality randomness.
Can I generate random numbers without duplicates?
Yes. Keep "No duplicates" checked and you'll get a unique set, ideal for raffle draws, lottery-style picks, and bingo numbers. The count is automatically capped at the size of your range.
What is a random number generator used for?
Raffle and giveaway draws, lottery-style picks, bingo numbers, dice substitutes in board games, random sampling for surveys, probability demonstrations in classrooms, and quick everyday decisions.
Can I sort the generated numbers?
Yes, tick "Sort results" to get your numbers in ascending order, handy for lottery tickets and clean lists.
What's the biggest range I can use?
Any whole-number range works, and you can draw up to 100 numbers at once. Negative numbers are fine too, just type them into Min and Max.
How is this different from a dice roller?
A dice roller simulates physical dice (1 to 6, 1 to 20, etc.), while this generator works with any custom range: 1 to 1000, 50 to 75, or whatever your game or draw needs.
Can I generate decimal numbers?
No, this generator works with whole numbers only. For a 1-to-10 scale with one decimal place, generate 10 to 100 and divide each result by 10.
What happens if Min is bigger than Max?
The tool swaps them automatically, so 100 to 1 behaves exactly like 1 to 100.
Can I exclude specific numbers from the range?
Not directly. Generate with No duplicates on and re-draw if a banned number appears, or draw the full range and skip the ones you do not want.
Does generating again change my odds?
No. Each draw is independent, so previous results never influence the next one. Streaks and repeats are normal randomness, not a pattern.
Can I use this for a raffle with thousands of tickets?
Yes. Set the range to your ticket numbers, for example 1 to 5000, and draw with No duplicates. Large ranges are no problem; draw winners one batch at a time.
Why did I get the same number twice in a row?
That is normal. With duplicates allowed, every draw is independent, so repeats and streaks happen by pure chance. If you want each number only once, keep No duplicates checked.
How do the popular range presets work?
Tap any preset above the tool, from 1 to 10 up to 1 to 1000, and the Min and Max boxes fill in and draw straight away. The 1 to 10 preset is the classroom favorite, 1 to 100 suits percentages and raffles, and 1 to 1000 handles big ticket draws with up to 100 unique numbers at once.
What does RNG mean?
RNG stands for random number generator. Gamers use the term for any system that produces unpredictable numbers, from dice rolls in video games to this page. If someone says the RNG decided, they mean chance picked the outcome.
Is there a random number wheel?
This page draws numbers as balls and a hero number rather than a spinning wheel. If you want the wheel experience, put your numbers into the picker wheel instead and spin for the result.
Tips for Clean, Trustworthy Draws
- Announce the range and settings before you draw, especially for public raffles.
- For ticket draws, keep No duplicates on and the count at or below the range size.
- Tick Sort results for lottery tickets; leave it off for bingo call order.
- Screenshot or copy the result before generating again; the Recent strip only holds six.
- For yes-or-no calls, the yes no oracle is faster than numbering options.
- For surveys, number your full list first so every draw maps back to a real respondent.