How to use it
Enter the lowest and highest numbers you want (both are included), choose how many numbers to generate, and press Generate. Untick "allow duplicates" to get unique numbers only — useful for lottery-style draws, raffle tickets or random sampling.
How random is it?
Numbers come from your browser's cryptographically secure random number generator (crypto.getRandomValues), the same source used for encryption keys. We also use "rejection sampling", which removes the small bias that simpler generators have, so every number in your range is exactly equally likely.
Popular ranges
- 1 to 2
- 1 to 3
- 1 to 4
- 1 to 5
- 1 to 6
- 1 to 7
- 1 to 8
- 1 to 9
- 1 to 10
- 1 to 12
- 1 to 15
- 1 to 20
- 1 to 25
- 1 to 30
- 1 to 50
- 1 to 60
- 1 to 75
- 1 to 100
- 1 to 200
- 1 to 500
- 1 to 1000
- 1 to 10000
- 0 to 9
- 0 to 99
Common uses
- Raffles and giveaways: number the entries and draw one.
- Games: pick who goes first, or replace a lost die.
- Teaching and research: random sampling and probability experiments.