Random number generator
Pick a range, choose how many, and generate. Uses your browser's secure randomness.
How the random number generator works
Pick a minimum and maximum, choose how many numbers you want, and the generator returns them instantly. It uses your browser's cryptographically secure random source rather than a simple predictable formula, so the numbers are high quality and evenly spread across your range.
Options
- Generate whole numbers (integers) or decimals.
- Allow repeats, or require every number to be unique.
- Set any range, from a coin flip (1 to 2) to a lottery-style draw.
Everything runs on your device, so nothing is sent anywhere. Press generate again any time for a fresh set.
Frequently asked questions
How do I generate random numbers?
Enter a minimum and maximum, set how many you want, choose integers or decimals, and press generate. The numbers appear at the top of the page.
Are the numbers truly random?
They come from your browser's cryptographically secure generator, which is far higher quality than a basic random function and suitable for draws, picks, and games.
Can I generate numbers without duplicates?
Yes. Tick "no repeats" and every integer in the set will be unique, which is ideal for raffles and lottery-style picks.
Can it produce decimals?
Yes. Choose the decimals option to get fractional numbers within your range instead of whole numbers.
What range can I use?
Any range you like, positive or negative. If the maximum is smaller than the minimum, the calculator simply swaps them.