Odds&Sums

Random number generator

Choose a range and how many numbers you want, then press Generate.

How the numbers are picked

Numbers come from your browser's cryptographically secure random generator, the same source used to make encryption keys. The calculator uses rejection sampling so that every number in your range is exactly as likely as every other.

Turn off "No repeats" to allow the same number more than once, as with rolling dice. Leave it on for draws such as raffles, where each ticket can only win once.

Questions people ask

Is this truly random?

It is as random as a computer can practically be. The browser's secure generator is seeded from unpredictable hardware events, which is suitable for draws and games.

Can I use it to run a prize draw?

Yes, for informal draws. For a raffle, give each ticket a number, set the range to match and keep "No repeats" on. Or paste names into the random name picker.

Last checked 28 November 2026. This is general information to help you work things out, not personal financial, legal or medical advice. Spotted a mistake? Email hello@oddsandsums.com.