How to use it
- Set Min and Max. Both are included, so 1 to 10 can give 1 or 10.
- Set How many numbers you want. Leave Allow repeats off if each number may only come up once, as in a raffle.
- Press Generate (or Enter). Choose an order if you want the results sorted.
- Press Copy to copy the results, separated by commas.
Better than asking someone to pick
Ask people to "pick a number between 1 and 10" and the answers are far from even. Surveys consistently find 7 is the most popular choice, chosen by roughly a quarter to a third of people, while 1 and 10 are rarely picked because they feel too obvious. If you are using the number to decide something, such as who goes first or which question to answer, a generator avoids that bias.
For a guessing game, generate the number, keep it hidden, and let players guess. With 10 options, the chance of a correct first guess is 10%.
Questions
Can I pick more than one number from 1 to 10?
Yes. Set How many to the amount you want. With repeats off you can get up to all 10 numbers in a random order, which is a quick way to shuffle a list of 10 things.
Is 1 to 10 inclusive?
Yes. Both 1 and 10 can come up, each with the same 10% chance as every other number.
How random are the numbers?
They come from your browser's cryptographic random number generator (
crypto.getRandomValues), which is seeded by your operating system and is used for passwords and encryption keys. Each number in the range is equally likely, and earlier results tell you nothing about the next one.