Preparing your generator page
We are loading content and tools so everything is ready to use.
We are loading content and tools so everything is ready to use.
Pick a random number in any range, like 1β10 or 1β100, or up to 1,000 at once with no repeats. Exclude numbers, add decimals, and draw raffle winners or bingo calls that never repeat. Switch modes for lottery lines with real jackpot odds, or play guess the number. Every number comes from your browser's cryptographic random source.
Also try the Random Dice Roller, Spin the Wheel, and Random Team Generator.
Last updated: October 3, 2026 Β· Published: 2026-04-07 Β· Updated: 2026-10-03
For raffles, classrooms, games, statistics, and lottery players. Browse all Randomizer tools.
100 possible numbers.
Pick a range, or tap a quick range like 1β10 or 1β100, and generate up to 1,000 numbers at once. Every number is drawn with your browser's cryptographic random source.
A random number generator (RNG) produces numbers with no predictable pattern, so every value in a range has the same chance. It's the digital version of rolling a die, flipping a coin, or drawing a ball from a bag.
Muxgen's generator draws 1 to 1,000 numbers in any range from -1,000,000,000 to 1,000,000,000. It uses crypto.getRandomValues, the cryptographically secure source built into every modern browser, and rejection sampling, so no number is even slightly more likely than another.
You can draw with or without repeats, exclude numbers, add decimals, and keep a no-repeat history across draws for raffles and bingo. Lottery mode picks lines for 7 real games, and Guess the number turns the range into a game. Everything runs in your browser, with no sign-up.
Three steps from a range to a result.
Numbers gives you 1 to 1,000 random numbers in any range. Lottery numbers picks lines for 7 real games. Guess the number is a higher-or-lower game.
Tap a quick range like 1β10 or type your own minimum and maximum. Choose no repeats, decimals, even or odd, an order, and any numbers to exclude.
Click Generate. Copy the results with commas, new lines, or spaces, and check the session history for every number drawn so far.
Random numbers with full controls, lottery lines in real game formats, or the higher-or-lower guessing game.
10 one-tap ranges, from 1β10 and 1β100 to dice, bingo, and 4-digit numbers.
Any range from -1,000,000,000 to 1,000,000,000, including negative numbers. Both ends are included.
1 to 1,000 per click. With no repeats, the limit is the number of possible values.
No repeats keeps one batch unique. Never repeat also skips every number drawn earlier in the session, for raffles and bingo.
Whole numbers, or 1, 2, or 3 decimal places, with every value equally likely.
Limit whole numbers to even or odd, and show results as drawn, low to high, or high to low.
Skip values like "7, 13, 20-25". Up to 10,000 whole numbers can be excluded.
Each of these is a quick range in the generator. The chance column is the probability of any one specific number.
| Range | Chance of one number | Used for |
|---|---|---|
| 1β10 | 1 in 10 (10%) | Quick picks, ratings, would-you-rather scores |
| 1β100 | 1 in 100 (1%) | The classic range: percentages, guessing games, class numbers |
| 1β1000 | 1 in 1,000 (0.1%) | Large raffles, sampling, and harder guessing games |
| 0β9 | 1 in 10 (10%) | Single digits for codes, math drills, and Pick 3-style draws |
| 1β6 | 1 in 6 (16.7%) | A six-sided die for board games |
| 1β20 | 1 in 20 (5%) | A d20 roll for D&D and other tabletop RPGs |
| 1β75 | 1 in 75 (1.33%) | US-style bingo calls (B 1β15 to O 61β75) |
| 1β90 | 1 in 90 (1.11%) | UK-style 90-ball bingo |
| 1β365 | 1 in 365 (0.274%) | A random day of the year |
| 1000β9999 | 1 in 9,000 (0.011%) | A random 4-digit number |
There are four main ways to make random numbers. This generator uses the cryptographic kind, the same source browsers use for encryption keys.
| Source | How it works | Predictable? | Best for |
|---|---|---|---|
| Physical: dice, coins, lottery balls | Real-world motion that's too complex to predict | No, if the equipment is fair | Board games and televised draws |
| True random (TRNG) | Measures physical noise, like atmospheric radio noise or quantum effects | No | Audited draws and scientific use |
| Cryptographic (CSPRNG), used here | The operating system mixes hardware noise into a cryptographic generator, exposed in browsers as crypto.getRandomValues | Not in practice; it's the same source used for encryption keys | Raffles, games, sampling, and anything that should be fair |
| Pseudo-random (PRNG) | A formula that expands a starting seed into a long sequence, like Math.random in browsers or RAND in spreadsheets | Yes, if someone knows the seed and the algorithm | Simulations and games where speed matters more than secrecy |
Why a simple random number script can be unfair, and how this one avoids it.
Computers make random numbers in fixed blocks, like 0 to 4,294,967,295. Squeezing that into 1β6 with the remainder (%) leaves a few extra values that land on the low numbers.
With a 32-bit source, the bias for 1β6 is under 1 in 700 million. For a range of 3 billion, though, some numbers become twice as likely as others.
Rejection sampling: any raw value from the uneven leftover block is thrown away and drawn again, so every number gets exactly the same number of chances.
Repeats happen far more often than most people expect. These are the chances of at least one repeat when No repeats is off, the same math as the birthday problem.
| Range | 3 numbers | 5 numbers | 10 numbers | 23 numbers | 50 numbers |
|---|---|---|---|---|---|
| 1β10 | 28.0% | 69.8% | 100.0% | 100.0% | 100.0% |
| 1β100 | 3.0% | 9.7% | 37.2% | 93.6% | 100.0% |
| 1β365 | 0.8% | 2.7% | 11.7% | 50.7% | 97.0% |
| 1β1,000 | 0.3% | 1.0% | 4.4% | 22.5% | 71.2% |
The games in Lottery mode, with odds calculated from each format. Random picks have exactly the same odds as any other line.
| Game | Region | Format | Jackpot odds |
|---|---|---|---|
| Powerball | United States | 5 of 1β69 + 1 of 1β26 (Powerball) | 1 in 292,201,338 |
| Mega Millions | United States | 5 of 1β70 + 1 of 1β24 (Mega Ball) | 1 in 290,472,336 |
| EuroMillions | Europe | 5 of 1β50 + 2 of 1β12 (Lucky Stars) | 1 in 139,838,160 |
| Eurojackpot | Europe | 5 of 1β50 + 2 of 1β12 (Euro numbers) | 1 in 139,838,160 |
| UK Lotto | United Kingdom | 6 of 1β59 | 1 in 45,057,474 |
| Lotto 6/49 | Canada | 6 of 1β49 | 1 in 13,983,816 |
| Pick 3 | US state lotteries | 3 digits, 0β9 each, repeats allowed | 1 in 1,000 |
Always guess the middle of what's left, and each guess halves the possibilities. That's binary search, and it sets the par in Guess the number mode.
| Range | Most guesses needed |
|---|---|
| 1β10 | 4 |
| 1β100 | 7 |
| 1β1,000 | 10 |
| 1β10,000 | 14 |
| 1β1,000,000 | 20 |
| 1β1,000,000,000 | 30 |
Six steps to a fair, recorded draw for giveaways, raffles, and prize draws.
Formulas for a whole number from 1 to 100 and a decimal from 0 to 1, if you'd rather generate numbers in your own sheet or code.
| Tool | Whole number 1β100 | Decimal 0β1 | Notes |
|---|---|---|---|
| Excel | =RANDBETWEEN(1,100) | =RAND() | Recalculates on every edit. Excel 365 also has RANDARRAY for many numbers at once. |
| Google Sheets | =RANDBETWEEN(1,100) | =RAND() | Also recalculates on every edit. Copy and paste as values to freeze results. |
| Python | random.randint(1, 100) | random.random() | Use secrets.randbelow(100) + 1 when the result must be unpredictable. |
| JavaScript | Math.floor(Math.random() * 100) + 1 | Math.random() | Use crypto.getRandomValues for unpredictable numbers, as this page does. |
For classrooms, parties, and game nights, with the generator setting to use.
| Activity | Players | How to play | Generator setting |
|---|---|---|---|
| Guess the number | 1+ | Find the secret number with higher-or-lower hints. Par is 7 guesses for 1β100. | Guess the number mode |
| Bingo caller | Group | Call numbers one at a time with no repeats. The 1β75 range shows US letters, like B 12 or O 70. | Quick range 1β75 or 1β90, Never repeat |
| Raffle draw | Group | Number the tickets and draw one winner per prize. | 1 to the number of tickets, Never repeat |
| Closest wins | 2+ | Everyone writes down a guess from 1 to 100, then generate. The closest guess wins. | Quick range 1β100 |
| Times-table drill | 1+ | Generate two numbers and multiply them before anyone else. | Range 1β12, 2 numbers |
| Turn order | 2+ | Each player gets a number, and the generator decides who goes first. | 1 to players, all numbers, No repeats |
| Number of the day | Class | Is it even or odd? What's 10 more? Write it in words. | Range 1β100 or 1β1000 |
Built to be fair first, then flexible.
Numbers come from your browser's Web Crypto API with rejection sampling, so every value in the range is exactly equally likely.
With no repeats, exclusions, even or odd filters, decimals, sorting, and quick stats: sum, average, median, lowest, and highest.
Never repeat a number across draws, with a session history you can screenshot as a record.
Powerball, Mega Millions, EuroMillions, Eurojackpot, UK Lotto, Lotto 6/49, Pick 3, with jackpot odds calculated for each.
A higher-or-lower game with par scores that teach the halving strategy behind binary search.
No sign-up, and nothing is sent to a server. Works on phones, tablets, classroom boards, and computers.
Who uses a random number generator, and why.
Number your entries, draw winners with no repeats, and keep a record of every draw.
Pick students by number, call bingo, run times-table drills, and demonstrate probability with large batches.
Replace lost dice, decide turn order, run a guessing game, or pick a random level or card.
Draw random samples, assign participants to groups, or pick survey respondents by ID.
Generate test data, sample IDs, and boundary values in any range, then paste them as a list.
Get a quick pick in the exact format of your game, without the birthday-number habit.
When to use this tool, and when something else fits better.
Google's search tool picks one number in a range. This adds batches, no repeats, exclusions, decimals, a draw history, lottery formats, and a game.
RANDOM.ORG uses atmospheric noise and offers third-party verified draws, which some official contests require. This runs instantly in your browser with a cryptographic source.
RANDBETWEEN recalculates every time the sheet changes, so results can vanish by accident, and it has no built-in no-repeat option.
Physical methods are easy to trust in person but don't scale past small ranges, and a hat is only fair if it's well mixed.
How the numbers are made, and what this tool doesn't do.
Every number is drawn with crypto.getRandomValues in your browser. Rejection sampling discards the few raw values that would make some numbers more likely than others.
Numbers are generated on your device. The session history disappears when you close or reload the page.
There's no seed, so the same settings never repeat a sequence. For a legally audited sweepstakes, check whether you need a third-party verified draw.
Formats and odds are as of October 3, 2026; Mega Millions, for example, changed its Mega Ball range in 2025. Check your lottery's official site before you play.
Randomness and probability terms used on this page.
Any method, physical or digital, that produces numbers with no predictable pattern.
A formula that produces a random-looking sequence from a starting seed. Fast, but repeatable if the seed is known.
A cryptographically secure PRNG, fed by hardware noise and designed so outputs can't be predicted.
Numbers taken directly from physical noise, such as radio static or quantum events.
The starting value of a pseudo-random generator. The same seed gives the same sequence.
Every value in the range has the same chance. A fair die is uniform from 1 to 6.
A flaw where reducing a random value with the remainder (%) operation makes small numbers slightly more likely.
Sampling where a value can't be picked again once drawn, like lottery balls. The opposite is with replacement.
The surprising result that 23 random people have a better than even chance of sharing a birthday.
Finding a value by halving the possible range each step. It finds any of 1,000 numbers in 10 guesses.
The chance of an outcome, often written as 1 in N. Powerball jackpot odds are 1 in 292,201,338.
A measure of unpredictability. Random sources gather entropy from hardware events like timing noise.
Explore more tools in the directory.
Roll any combination of dice.
A spinning wheel for names and choices.
Split a list of names into teams.
Draw cards from a shuffled deck.
Random letters for word games.
Random dates in any range.