Random Number Generator
Generate one or many random numbers between any minimum and maximum, with or without duplicates.
Random Number Generator
About the Random Number Generator
Pick a lucky draw winner, choose lottery numbers or make random groups with this random number generator. Set the range and the quantity, and it produces fair results using your browser’s secure random number source.
How to Use the Random Number Generator
- Enter the lowest and highest numbers allowed.
- Choose how many numbers you need and whether duplicates are allowed.
- Press Calculate to generate the numbers. Press again for a new set.
Formula and How It Works
Numbers are produced with the Web Crypto API (crypto.getRandomValues), which is much more random than the basic Math.random function. Every whole number in the range has an equal chance of being chosen.
Frequently Asked Questions
Are the numbers truly random?
They come from a cryptographically secure generator, which is suitable for draws, games and sampling.
Can I generate numbers without repeats?
Yes. Tick “No duplicates” and each number will appear only once.