Free · No sign-up · Private

Random Number Generator

Generate random numbers within a range, with optional uniqueness and count.

Quick answer

Set a minimum and maximum, choose how many numbers, and press Generate. Every whole number in the range is equally likely. Use the quick buttons for a random number 1-10, 1-4, 1-6 (a die) or 1-100, and tick Unique to draw numbers with no repeats, like a raffle.

Random Number GeneratorRuns in your browser
Result

Step by step

How to use the Random Number Generator

01

Set the minimum and maximum.

02

Choose how many numbers.

03

Generate random numbers in that range.

Worked examples

Quick ranges and the chance of each number

RangePossible numbersChance of each
1 to 4425%
1 to 6616.67%
1 to 101010%
1 to 20205%
1 to 1001001%

Good to know

Is this a true random number generator?

Not in the physics sense. A true random number generator measures a physical process such as electrical noise or radioactive decay. This tool uses your browser’s cryptographically secure generator (crypto.getRandomValues), which is seeded by the operating system from hardware sources and is unpredictable enough for games, draws and security. For lotteries regulated by law, use a certified hardware source.

Generating a random number by hand

Roll a die for 1 to 6, or two dice of different colours for 1 to 36 (first die − 1) × 6 + second die. For 1 to 4, roll a die and re-roll 5s and 6s. Re-rolling keeps every result equally likely, which simple tricks such as “divide by 2” do not.

FAQ

Frequently asked questions

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

Press the 1-10 button, or set Minimum to 1 and Maximum to 10, then press Generate.

Can I generate numbers without repeats?

Yes. Tick Unique numbers; you can draw up to as many numbers as the range contains.