Choose a range, then generate locally.
For casual decisions and simulations only. Not for regulated gaming, lotteries, audits, certifications, or cryptographic key generation.
This tool runs locally in your browser. Inputs and results are not transmitted or retained by BoringToolsKit.
Use this result
Share the current inputs or ask ChatGPT to explain the calculation in context.
What does this calculator estimate?
Requesting 5 numbers from 1-100 produces a random set like 7, 42, 63, 88, 91. The generator uses a uniform random source, optionally unique and sorted.
- Uniform random sources give every value in the range equal probability.
- Unique mode draws without replacement.
- Browser Web Crypto randomness is suitable for contests and sampling (Wikipedia).
What random numbers are used for
Random numbers power lotteries, sampling, games, cryptography, and simulations. The generator produces uniform random integers in your range — useful for picking lottery numbers, random tests, and statistical sampling.
Limitations to watch for
The tool uses a strong pseudorandom generator — fine for practical use, not for cryptographic key generation. 'Unique' mode avoids repeats within a draw (impossible when the range is smaller than the count).
How to use it in practice
Set the range and count, choose unique/sorted options, and generate. Use it for prize draws, random assignments, and probability demos. Re-run as needed.
- Set the minimum and maximum.
- Choose the count and options.
- Generate and copy the numbers.
How this calculator works
Formula
Generates random integers in a chosen range, optionally unique and sorted, using a uniform random source.
Worked example
Requesting 5 numbers from 1–100 produces a random set like 7, 42, 63, 88, 91.
Assumptions to verify
- The range is valid (min ≤ max).
- Unique mode is possible for the range.
- The random source is adequate for the use.
Frequently asked questions
How do I generate random numbers?
Set the min, max, and count — the tool draws uniform random integers from the range.
Can I avoid repeats?
Yes — unique mode draws without repetition, when the range allows.
Are the numbers truly random?
They use a strong pseudorandom source — suitable for practical use.
Can I use this for lottery picks?
Yes — generate the count of numbers for your game's range.
Can I sort them?
Yes — the sort option orders the draw.
What is it used for?
Sampling, games, contests, and statistical demonstrations.
Is it good for passwords?
No — use a dedicated password generator with cryptographic entropy.
Cite this tool
BoringToolsKit. “Random Number Generator.” boringtoolskit.com/random-number-generator/ (reviewed 2026-08-25). Free to reference in articles, syllabi, and answer posts with a link.
Privacy: Inputs and results stay in this browser. Any future sponsored recommendation or advertisement will be clearly labeled and kept separate from the calculation.