Random Number Generator
Set the lowest and highest number and press the button. Every number in the range has the same chance.
How the number is picked
The tool asks your browser's cryptographic generator for random bits and turns them into a whole number in your range. Values that would make some numbers slightly more likely than others are thrown away and drawn again, so the result is exactly even.
Chance of any one number = 1 ÷ (highest − lowest + 1)
Common ranges
| Range | Possible numbers | Chance of each |
|---|---|---|
| 1 to 2 | 2 | 50.0% |
| 1 to 3 | 3 | 33.3% |
| 1 to 6 | 6 | 16.7% |
| 1 to 10 | 10 | 10.0% |
| 1 to 20 | 20 | 5.0% |
| 1 to 50 | 50 | 2.0% |
| 1 to 100 | 100 | 1.00% |
| 1 to 1000 | 1,000 | 0.10% |
Several numbers at once
- No repeats is like drawing numbered balls from a bag. Use it for raffles, seat numbers and lottery style picks.
- Repeats allowed is like rolling a die again and again. Untick No repeats.
- Sort results lists them from lowest to highest.
True random or pseudo random?
Simple generators use a formula that only looks random. This page uses the generator built for security work in your browser, which mixes in unpredictable data from your device. It is suitable for games, classrooms and informal draws. Regulated lotteries need certified equipment.
Numbers by range
Common questions
How do I pick a random number between 1 and 100?
Leave the range at 1 to 100 and press Pick a number.
Can I generate numbers without repeats?
Yes. Keep No repeats ticked and set How many.
Can I use negative numbers?
Yes. Type a minus sign in front of the lowest or highest value.
Is zero included?
Only if your range includes it. Set the lowest number to 0.
Last reviewed November 2026. See how the random picks work and the disclaimer.