Skip to content

Random number generator

Pick a random number in any range: set the lowest and highest number and draw. One number or a thousand, with or without repeats.

How it works

Fair numbers, every time

Enter the lowest and highest number you want (both are included), choose how many to draw and press Generate. With No repeats on, each number appears at most once; otherwise the same number can come up again, just as with dice.

TickPickr uses your browser’s cryptographic random number generator and a method called rejection sampling, which makes sure every number in the range has exactly the same chance. Simple generators often favour some numbers slightly; this one doesn’t. Read how random a random number generator is to see where that bias comes from.

How to pick a random number

  1. Enter the lowest number in From and the highest in To. Both are included.
  2. Leave How many at 1 to pick one number, or enter how many you need.
  3. Keep No repeats on if each number may only come up once, as in a raffle. Turn it off to allow the same number twice, as with dice.
  4. Press Generate, or Enter in any field. Press it again for a new draw.

For the common ranges, the buttons under the fields set the range and pick a number in one click.

Pick a number between 1 and 10, 1 and 100 or any range

Whatever you call it, a number picker, a number chooser or a randomizer, a fair one gives every number in the range the same chance: 1 divided by how many numbers there are.

RangeGood forChance of each number
1 to 2Heads or tails, this or that 1 in 2 (50%)
1 to 6Instead of a die 1 in 6 (16.67%)
1 to 10"Pick a number between 1 and 10" guessing games 1 in 10 (10%)
1 to 20A seat, a question or a card from a short list 1 in 20 (5%)
1 to 100Percentages and longer guessing games 1 in 100 (1%)
1 to 1,000Raffle tickets and big lists 1 in 1,000 (0.1%)

Picking several numbers changes the odds of matching a set. Draw 6 numbers from 1 to 49 with No repeats and Sort on, as in a 6/49 lottery, and there are 13,983,816 possible sets, so the chance of guessing all six is 1 in 13,983,816.

Popular uses

  • Drawing raffle, lottery or giveaway winners.
  • Picking a random page, question or task.
  • Games and classroom activities.
  • Random samples for tests and surveys.

Picking from names or options instead of numbers? Use the random name picker or the wheel spinner. For dice rolls with totals, such as 3d6, the dice roller is quicker.

Frequently asked questions

How do I pick a random number between 1 and 10?

Press the 1–10 button, or enter 1 in From and 10 in To, and press Generate. Both 1 and 10 can come up, and every number from 1 to 10 has the same 1 in 10 chance. Press Generate again for a new number.

Are the numbers really random?

They come from your browser’s cryptographically secure random number generator (crypto.getRandomValues), the same source used to create encryption keys. Every number in the range is equally likely, and nobody, including TickPickr, can predict or influence the result.

What does "No repeats" do?

Each number can come up only once, like drawing numbered balls from a bag without putting them back. Use it for lotteries, raffles and picking winners. Turn it off to allow repeats, like rolling a die several times.

Can I use this for a raffle or giveaway?

Yes. Give every ticket or entry a number, set the range to match and draw as many winners as you need with "No repeats" on. For names instead of numbers, use the random name picker.

Is a random number picker the same as a number randomizer?

Yes. Random number generator, picker, chooser, selector and randomizer are all names for the same thing: a tool that picks a number from a range so that every number has the same chance. This one also picks several numbers at once, with or without repeats.

How large can the numbers be?

Any whole numbers between about minus and plus 9 quadrillion (9,007,199,254,740,991, the largest whole number JavaScript handles exactly). Negative numbers work too. You can draw up to 1,000 numbers at a time.