The quick answer

Set a minimum and maximum, choose how many numbers you need, and click generate — each draw is uniform, meaning every value in the range is exactly as likely as every other — in a 1–100 draw, every number carries exactly a 1-in-100 chance. Enable "no repeats" for raffles and giveaways where a name must not win twice; leave it off for dice, simulations and sampling. Numbers are drawn from the browser's cryptographic random source on your device — nothing is sent to a server, so no one (including this site) can influence or predict a draw.

How to draw random numbers

  1. Set the range

    Minimum and Maximum, 1–100 by default — 1–6 for a die, 1–49 or 1–69 for lottery-style picks, or any custom bounds like 1900–2026. The bounds work in either order; the tool uses the smaller as the low end.

  2. Choose how many

    Numbers per batch, up to 1,000 — six lottery numbers, one winner, a sample of 20.

  3. Tick No duplicates

    On for raffles, giveaways and lottery picks; off when repeats are meaningful (dice rolls, Monte Carlo simulations). Unique draws are capped at the range size — ask for 10 unique numbers in 1–6 and you get all six, because that's everything the pool holds.

  4. Generate

    Results appear as number chips with a Copy numbers button. Each click is a fresh, independent draw — there is no memory between rounds.

Two kinds of random, and why it matters here

Computers offer two randomness sources. Pseudo-random generators (like JavaScript's Math.random) are fast but deterministic — predictable if you know their state. Cryptographic sources (crypto.getRandomValues, used by this tool) draw from the operating system's entropy pool and are unpredictable in practice, which is why they're mandated for security values. For a raffle winner, unpredictability is the whole point: it is what makes the draw fair and defensible when someone asks how the winner was picked.

Fairness also requires uniformity — no number more likely than another. A careless implementation like (Math.random() * 100) % 6 + 1 introduces bias (some faces slightly likelier); the correct method draws in the full integer range and rejects out-of-range values. This generator uses rejection sampling, the standard bias-free technique.

DrawEach-number chanceOdds of one specific outcome
One number from 1–1001 in 1001%
One number from 1–6 (a die)1 in 616.67%
Six unique numbers from 1–49 (lottery)—1 in 13,983,816
Five white + Powerball style picks—depends on pool sizes; always millions-to-one
Coin flip1 in 250%
What "random" actually means in odds — useful for expectation management

That lottery line deserves honesty: a random generator does not improve your odds of winning — every combination is exactly as likely as every other, and past draws have no memory. What it does guarantee is an unbiased pick, which matters more in raffles and research sampling than in lotteries, where all strategies are equally hopeless.

The No-duplicates mode earns its own paragraph because of how it draws. The naive approach — keep generating and discard repeats — subtly skews the result, because numbers that collide early get extra chances late. This tool instead enumerates the entire range, shuffles it with a Fisher–Yates shuffle driven by the crypto source, and takes the top slice. Every possible subset of that size comes out exactly equally likely, which is the mathematical definition of a fair unique draw — the same principle audited lottery machines rely on.

Real uses people put this to

  • Raffles and giveaways — draw a winner from ticket numbers with no repeats, provably unbiased.
  • Classroom cold-calling — a fair way to pick students that nobody can accuse of favoritism.
  • Sampling and auditing — pick which invoices, transactions or entries to inspect.
  • A/B decisions — break ties when options are genuinely equivalent (which launch color, which name).
  • Games and tabletop — dice, initiative order, loot tables when physical dice aren't at hand.
  • Mock data and testing — realistic spread for spreadsheets and prototypes.
Drawing 3 winners fairly

Input

Raffle with 500 tickets, 3 prizes

Output

Range 1–500, count 3, no repeats → three distinct winners in one click, each ticket exactly 1-in-500 per slot

Frequently asked questions

Is this random number generator truly random?

It uses the browser's cryptographic random source (crypto.getRandomValues), which draws from the operating system's entropy pool — unpredictable in practice and suitable for raffles and games. Like all software generators it is technically pseudo-random, but with cryptographic-strength seeding and rejection sampling to keep the distribution uniform.

Can the site influence my raffle result?

No. The draw happens entirely in your browser — nothing is sent to or received from a server. You can disconnect from the internet and the generator still works.

What does 'no repeats' do?

It draws without replacement, so each number can appear only once in the batch — the right setting for raffle winners and lottery picks. With repeats allowed, results are independent draws like real dice.

Does a random picker improve my lottery odds?

No. Every combination is equally likely regardless of how you choose it. A generator only guarantees an unbiased pick, not better luck — a 6-from-49 jackpot is 1 in 13,983,816 however you slice it.

How do I simulate a dice roll?

Set the range 1–6 and generate one number for a single die, or set count to the number of dice. For role-playing dice use the matching range: 1–20 for a d20, 1–12 for a d12, and so on.

Why does the same number sometimes appear twice in a row?

True randomness has no memory — with repeats allowed, the same value can legitimately recur, and streaks are expected in fair sequences. Avoiding repeats is a deliberate option, not the default behavior of randomness.

Sources and further reading

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.