π² Random Number Generator
Need a raffle winner, a dice roll or test data? Set the range and how many numbers you want. The βuniqueβ option guarantees no repeats β perfect for draws β and βsortedβ arranges the results neatly.
Numbers come from your browser's random generator, which is fine for games and sampling. For security uses like passwords, use the password generator instead β it uses cryptographic randomness.
How to use this calculator
Set a minimum and maximum, tell it how many numbers to draw, and tick the options you want. It returns your random numbers instantly.
- Enter the Minimum and Maximum values that bound your range.
- Enter How many numbers you want to draw.
- Tick Unique (no repeats) for draws where each number can appear only once, and tick Sort results for a tidy list.
- Press Generate; press it again whenever you need a fresh set.
Frequently asked questions
What does this random number generator do?
It draws random whole numbers between any minimum and maximum you set, with up to 1000 numbers per draw. The Unique option guarantees no repeats, and the Sort option arranges the results in ascending order.
How are the numbers chosen?
Each number is picked with an equal chance from the full range using your browser's built-in random generator. When Unique is on, it draws from a shrinking pool of unused values so no number repeats.
Can you show a worked example?
Set Minimum to 1, Maximum to 10, How many numbers to 5, and leave Unique on. You might get 2, 5, 6, 8, 10 - five different numbers, drawn fresh each time you generate.
What are its limits?
If you want N unique numbers, your range must hold at least N values, or the generator will raise an error. These numbers suit games, raffles and test data; for passwords or anything security-related, use a generator built on cryptographic randomness.