Random numbers in any range
Set a smallest and largest value, say how many numbers you need, and this generator draws them — for raffles, classroom cold-calls, game nights, dice substitutes, password PINs, sampling and breaking ties. Two options cover the common special cases: no duplicates, when every number must be different (a lottery-style draw, where the count is capped at the size of the range), and sort the result, when you want the draw presented in order rather than in the order it fell out.
How the randomness works
Your browser provides a pseudorandom source designed so every value in the range is equally likely over many draws — no number is "due" and none is favoured. With duplicates allowed, each draw is independent, which is why the same number can legitimately appear twice in a row; that is what real randomness looks like. In no-duplicates mode the tool shuffles the whole range (a Fisher–Yates shuffle) and deals from the top, the digital equivalent of drawing numbered balls without putting them back. For anything with legal or financial weight — official lotteries, audits, regulated giveaways — use a certified drawing service rather than any web tool, this one included.
Making a fair pick from a list
To choose one option from a list of names, number the entries and set the range to 1–N, or paste the list into the List Randomizer, which shuffles the entries themselves and puts a winner on top. Both tools run entirely on your device, so a draw made here leaves no record anywhere.
Worked example
Drawing 5 numbers between 1 and 100 might give 7, 42, 58, 63, 91 — a different set every roll, with the sum, average and extremes reported alongside.
How to use this calculator
- Set the smallest and largest allowed numbers.
- Say how many numbers to draw.
- Tick “no duplicates” for a lottery-style draw, or “sort” for an ordered result.
- Press Calculate for a fresh draw — every press re-rolls.
Why streaks happen
People expect random sequences to look mixed, so runs like 4, 4, 17, 17, 17 feel rigged. They are not: with duplicates allowed and a range of 100, getting at least one repeat in five draws happens about 10% of the time, and apparent patterns are the norm in genuine randomness. Judges of fairness (including lottery auditors) test the statistics of millions of draws, not whether one draw “looks random”.