Home / Math

Random Number Generator and Random Number Picker

Our random number generator draws numbers from any range you choose, with or without repeats. Set a minimum, a maximum and a quantity, then press the button. It also works as a random number picker for raffles, games and classroom turns.

How to Use the Random Number Generator

Enter a minimum and a maximum, then choose how many numbers you want. Pick whole numbers or decimals, and decide whether repeats are allowed. Press Generate numbers to see the draw.

  • 1 to 10 and 1 to 100 for quick picks
  • Dice from 1 to 6 and a coin flip as 0 or 1
  • Lottery 6 of 49, which draws six unique numbers in order

Sort the list from smallest to largest if you need it ordered. Choose commas, spaces or new lines as the separator, then copy the result. The tool also shows the sum, the average and the smallest and largest values.

Random Number Picker for Raffles and Games

A random number picker settles who goes first, who wins a prize and which seat gets called. For a raffle with 250 tickets, set the range from 1 to 250 and ask for one number. For three prizes, ask for three unique random numbers so no ticket wins twice. Write the result down before anyone argues about it.

Whole Numbers, Decimals and Repeats

Whole numbers suit tickets, dice and sampling. Decimals suit tests and simulations, with up to 6 places. Each setting has a predictable effect.

TaskSettingsWhat you get
Raffle winner1 to 250, one numberOne whole number from 1 to 250
Three prizes1 to 250, three numbers, no repeatsThree different tickets
Test data0 to 1, ten numbers, 2 placesTen decimals from 0.00 to 1.00

With repeats allowed, a draw of five numbers from 1 to 100 contains at least one repeat about 9.7% of the time. That is normal chance and not a fault. Turn repeats off when each value must appear once.

How the Numbers Are Picked

The tool asks the secure random source in your browser for bytes, so it never uses Math.random. If a value lands outside an even split of the range, the tool discards it and asks again. This removes the small bias that a simple remainder would add. Unique draws use a partial shuffle, which keeps the chance equal for every value.

Computers usually make pseudo random numbers from a seed. The browser source is seeded from operating system entropy, so the next number is hard to predict. It is not a certified device for licensed gambling.

Nothing in a draw depends on earlier draws, so a streak of high numbers does not make low numbers due. This is called the gambler's fallacy, and the random number generator ignores it. Press the button again and the next draw is as fresh as the first.

Lottery Odds for a 6 of 49 Game

The lottery numbers preset draws six unique values from 1 to 49 and sorts them. A 6 of 49 game has 13,983,816 possible tickets, so every pick has a 1 in 13,983,816 chance. Birthdays and patterns do not change those odds. Many players choose birthdays, so numbers above 31 are picked less often, which can mean fewer winners to share a prize with.

Sampling and Test Data

Teachers use the random number picker to call on students without favorites. Researchers number their participants and draw a sample from the list. Developers fill spreadsheets with fake values before a real feed exists. In each case the numbers act as labels, so a clean range and the right repeat setting matter most.

To sample 30 rows from a sheet of 500, set the range from 1 to 500, ask for 30 numbers and turn repeats off. Sort the list, then read the matching rows from top to bottom. Decimals help when you need a random weight or price instead of a row.

A good random number generator also helps game designers. A board game needs dice, a card game needs a shuffle and a quiz needs a question order. One draw with unique values covers all three.

Mistakes to Avoid

  • Reading a pattern into a short run of draws
  • Using the tool for passwords, because the password generator is built for that
  • Leaving repeats on when each number must be different

Start Picking Random Numbers

Set your range, press the button and copy the result. The random number generator needs no sign up and works on a phone. Use the random number picker whenever a decision needs to be fair, and share your screen so everyone can watch the draw.

Frequently asked questions

Is the random number generator free?

Yes, it is free and runs in your browser.

Are the results truly random?

They come from the secure random source of your browser, which is unpredictable for everyday use.

Can I get unique random numbers?

Yes, set repeats to No and every number in the draw will differ.

Can it pick lottery numbers?

Yes, use the 6 of 49 preset or set your own range.

How many numbers can I draw at once?

Up to 10,000 per draw.

Does the random number picker save my draws?

No, nothing is stored or sent anywhere.

Related calculators

Other tools people use alongside the random number generator.

Browse all calculators