Free · No sign-up · Instant

Random number generator 1 to 20

Generate a random number between 1 and 20. Generate all 20 numbers, then select them one at a time from a pool, ensuring all numbers are generated exactly once. This will work on any device, no download needed.

7
Press Space or Enter to generate
20 remaining in pool 0 / 20 drawn
Distribution
Player 1
Player 2
Advertisement · 336×280
Grammarly — write with confidence
Grammar, tone & clarity. Used by 30 million people. Works in Google Docs, Gmail, Word and more.
Try Grammarly free

More number & chance tools

Dice, coin flips, spinners, and more — all free

Advertisement · 336×280
Grammarly — write with confidence
Instantly improve grammar, spelling, clarity, and tone. Works everywhere you write online.
Try Grammarly free

What is a random number between 1 and 20?

This random number picker tool picks a number between 1 and 20 (inclusive) with equal probability (5% for each number). The range of 1–20 numbers is suitable for most cases, such as the numbers on the seats in a full classroom, the names of team members for a small raffle, or even just playing the classic "I'm thinking of a number" game. The numbers are picked using the random number generation of JavaScript's Math.random() function, which uses the computer's hardware random number generation where available to ensure complete randomness.

Pool mode for small groups

In Pool mode, all 20 numbers are mixed up in a list that isn't visible. These numbers are then distributed one by one. In each round, all numbers are called once before the list is reloaded. Pool mode is therefore ideal for calling students in a class of up to 20 students, for a small raffle (with unique numbers), or for any other situation where you need to make fair picks without any number being called more than once.

Common uses for 1–20

The range of 1–20 can be used for games such as guessing a number (pick a number between 1 and 20), for scoring quizzes in the classroom, for determining the order of play with large numbers of players in board games (up to 20 players), for assigning seats or roles with similar numbers of players. Use the exclude function to choose numbers to exclude from picks. For example, if you have a team of 15 people, you can set the picks to exclude numbers 16–20, so that every pick will be of a real team member.

Frequently asked questions

Is this random number generator truly random?

This randomizer uses the Math.random() function provided by every modern web browser. Math.random() is seeded with hardware entropy and passes all known statistical tests for randomness. Thus, it is suitable for games, for randomizing the order of entries in a raffle, and for many other uses in the classroom.

What is pool mode?

Pool mode selects all numbers from 1 to 20 without any repetition. After all numbers have been drawn, the pool automatically resets and reloads all numbers again for a brand new draw.

Can I exclude specific numbers?

You can exclude certain numbers by specifying them in a comma-separated list (e.g., "1, 3, 5, 7, 9"); the generator will never generate those numbers in pool mode after it has been shuffled and the excluded numbers have been removed from the pool.

How is this different from the 1–100 generator?

Note that this page is especially optimized for the range 1–20. So the distribution chart here shows results in pairs of 2 (1–2, 3–4, …), and in pool mode, you can generate 20 numbers, and all pool tracking information will also refer to a range of 20 numbers. For a range of 1–100 numbers, you can look at the 1–100 generator page, and for an arbitrary range of numbers, you can also look at the custom range generator page.