How no-repeat numbers work
Tick No repeats (already on) and every number in a result is different.
You can ask for at most as many numbers as your range holds. Need them one at a time? Switch to Draw one at a time.
Good for
- Lottery-style picks
- Raffles where each ticket can win once
- Assigning order or seats
- Shuffling a list of numbers
More ranges
For anything else use the Random Number Generator with any range.
The odds
| On a single draw from 1 to 100 | Chance |
|---|---|
| Any one number you name | 1 in 100 (1%) |
| The same number twice in a row | 1 in 100 (1%) |
| An even number | 50 of 100 (50%) |
| An odd number | 50 of 100 (50%) |
| A prime number | 25 of 100 (25%) |
| A number above 50 | 50 of 100 (50%) |
Randomness: Web Crypto getRandomValues. Probabilities on this page are exact counts — favourable numbers divided by all numbers in the range.
Common questions
How do I get a random number between null and null?
Press Generate. Both null and null are included, so each of the 1 numbers has a 1 in 1 chance (100%).
How do I draw lottery-style numbers?
Set the range, for example 1 to 49, choose how many numbers (say 6), keep No repeats ticked and press Generate. There are 13,983,816 different ways to pick 6 numbers from 49, so any one combination has about a 1 in 13,983,816 chance.
What are the odds of the same number twice in a row?
It is 1 in 1 (100%). Each draw is independent, so a number that just came up is no more or less likely next time.
Is this random number generator truly random?
The numbers come from your browser’s secure random source (the same one used for encryption keys), and the range maths is exact, so no number is favoured. It is a computer-generated source rather than hardware noise, which is more than enough for games, draws, raffles, sampling and classroom use.