Random Number Generator
Generate random numbers in any range, with optional unique-only results.
- Count
- β
- Sum
- β
- Average
- β
Generate random numbers
This random number generator produces numbers within any range you choose. Set a minimum, maximum and how many numbers you need, and optionally require every result to be unique β useful for draws and raffles.
Cryptographically secure
Numbers are drawn using your browser's crypto.getRandomValues with rejection
sampling, which avoids the bias of a simple modulo and is stronger than Math.random().
Everything runs locally.
How to use the Random Number Generator
- Set the range. Enter the minimum and maximum values.
- Choose how many. Enter the count of numbers to generate.
- Toggle unique. Tick unique to avoid any repeated numbers.
- Generate. Read the list, sum and average of your results.
Frequently asked questions
Are the numbers truly random?
They use the browser cryptographic random source, which is suitable for the vast majority of everyday and gaming uses.
What does the unique option do?
It guarantees no number repeats. If your count is larger than the range allows, the tool tells you rather than looping forever.
Can I include negative numbers?
Yes. The minimum and maximum can be any whole numbers, including negatives, as long as the maximum is not below the minimum.
Is my data stored?
No. Numbers are generated in your browser and nothing is sent to a server.