Random number generator
Pick random whole numbers in a range you choose, one or many at once, with or without repeats. Handy for seat numbers, presentation order, quiz questions or calling on a student number.
Getting the tool ready…This tool needs JavaScript. If this message stays for more than a few seconds, JavaScript is turned off or the page did not load completely. Turn JavaScript on or reload the page.
Results this session
How to use it
- Enter the lowest and highest number (both included; negatives are fine) and how many numbers you want.
- Keep "No repeats" when each number may come up once, such as seat order, or turn it off when repeats are fine, such as simulating many rolls.
- Press "Generate" or Space, then copy the result if you need it elsewhere. Go full screen for a projector.
Every number has the same chance
It uses your browser's cryptographic random generator (crypto.getRandomValues) with a method that does not lean towards small numbers, so every number in the range is equally likely. Without repeats it never builds a list of the whole range, so even a huge range is instant.
Picking people rather than numbers? The random name picker or the wheel spinner saves matching names to numbers. For board games, roll dice.
Good to know
- Whole numbers only, from -1,000,000,000,000,000 to 1,000,000,000,000,000, and up to 10,000 numbers at a time.
- Without repeats you cannot ask for more numbers than the range holds (say 11 from 1 to 10); a message tells you.
- Results and history are not kept and are gone when you close the page. Copy them if you need them later.
Report a problem or suggest an idea
Want more from the number generator? Tell us on the feedback page.
More random pickers and timers
Pick at random
Teams and pairs
Coins and dice
Timers
Questions and answers
How wide can the range be?
Minimum and maximum can be any whole numbers from minus 10 to the 15th to 10 to the 15th, negatives included, and you can draw up to 1,000 numbers at a time.
Can I get numbers without repeats?
Yes. Choose no repeats and every number in the result is different. If you ask for more numbers than the range holds, the tool asks you to lower the count or widen the range.
Can it decide a presentation order?
Yes. Set 1 to the number of groups, ask for that many with no repeats and leave sorting off to get a random order, or use the name picker if the groups have names.
Rate this tool
Tap the stars, then add a word if you like
Thank you! Your rating helps make the tool better
No sign-up. No name or e-mail is kept; a comment is kept for 3 months · Details