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.
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
| Range | Possible numbers | Chance of each |
|---|---|---|
| 1 to 4 | 4 | 25% |
| 1 to 6 | 6 | 16.67% |
| 1 to 10 | 10 | 10% |
| 1 to 20 | 20 | 5% |
| 1 to 100 | 100 | 1% |
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.
More generators tools
Related tools
Username Generator
Generate readable random usernames from word combinations.
Open toolColor Generator
Generate random colors and get their HEX, RGB and HSL values.
Open toolHash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text.
Open toolColor Palette Generator
Generate five-color palettes, including wedding color palettes, pastels and earth tones, and copy the HEX codes.
Open tool