Quick access

Add to my tools

Random Number Between 1 and 20

Press Generate for a random whole number from 1 to 20, each equally likely. Change “How many” to draw several at once, with or without repeats.

Press Generate, or press Enter.

Recent draws

Random number between 1 and…

Need a quick decision instead? Flip a coin, roll dice or spin the wheel.

About the Random Number Generator

Pick random numbers between any minimum and maximum. Draw one number or up to 10,000 at once, choose whether numbers may repeat, sort the results, or add up to six decimal places. The lottery mode draws quick-pick lines for common lottery formats. Numbers come from your browser’s secure random number generator with no bias, and nothing is sent to our server.

How to use it

  1. 1 Enter the lowest and highest number.
  2. 2 Choose how many numbers you want and whether they may repeat.
  3. 3 Press Generate, or press Enter.
  4. 4 Copy the numbers, or generate again.

Frequently asked questions

What are the odds of each number from 1 to 20?

Each whole number from 1 to 20 has a 1 in 20 chance (5%) on every draw. Earlier results make no difference to the next one.

How do I pick several numbers between 1 and 20 without repeats?

Set “How many” to the amount you need and keep “No repeats” ticked. Each number can then come up only once, as if drawn from a hat.

Is this random number generator truly random?

It uses crypto.getRandomValues, a cryptographically secure generator built into your browser, with rejection sampling so no number is more likely than another. That is as random as you need for games, draws and sampling.

How do I pick numbers without repeats?

Keep “No repeats” ticked. The numbers are then drawn like balls from a bag, so each can come up only once. You can draw up to the size of the range.

Can it pick decimal numbers?

Yes. Set the decimal places from 1 to 6. With 2 decimal places, a range of 0 to 1 can give 0.00, 0.01 and so on up to 1.00, each equally likely.

Can I use it for a raffle or giveaway?

Yes. Number the entries from 1 to the total, then generate as many winners as you need with no repeats. Record your screen if you want to show the draw.

Are my numbers saved?

Your last 10 draws are kept in your browser only, so you can look back at them. Nothing is sent to our server.