Skip to content

Random Number Generator

One or many random whole numbers or decimals in any range.

Generating random numbers

Set the lowest and highest values and how many numbers you want. Turn off duplicates to draw unique numbers, as you would for a raffle or lottery pick.

The numbers are produced in your browser and are suitable for games, sampling and decisions. They should not be used for cryptography or anything with security at stake.

Worked example

Set the range to 1 to 100 and ask for 5 numbers without duplicates to draw five different numbers, as you would for a raffle.

Common questions

Are the numbers truly random?

They are pseudo-random numbers produced by your browser. They are unpredictable enough for games, draws and sampling, but not for cryptography.

How do I pick numbers without repeats?

Untick Allow duplicates. The generator then draws each number at most once, like pulling tickets from a hat.

Can I generate decimals?

Yes. Change the type to Decimals to get numbers with up to four decimal places anywhere in your range.

Last updated