About this calculator
Enter a seed to get the same draw again, for example to show how winners were picked.
How to use it
- Enter the range.
- Choose how many numbers and whether repeats are allowed.
- Optionally enter a seed.
The formula
Each number = from + ⌊random × (to − from + 1)⌋
- seed
- starting point that makes a draw repeatable
Worked example
Five numbers from 1 to 100 with no repeats
- Each number is equally likely.
- With a seed, the same five numbers come out every time.
What the result means
For a fair public draw, announce the seed before drawing.
Assumptions
- Uniform distribution.
Limitations
- Not for passwords or security.
Frequently asked questions
Is it truly random?
It uses the browser’s random generator, which is fine for games and draws but not for security.
How do I pick a lottery-style draw?
Set the range, the count and no repeats.
What is a seed?
A number that fixes the sequence so a draw can be repeated.
Last reviewed on 3 October 2026. Found a mistake? Tell us.

