How to use the random number generator
- Enter the smallest (Min) and largest (Max) number you want. Both are included.
- Choose How many numbers to generate.
- Tick No duplicates if each number may appear only once, and Sort results to list them in order.
- Press Generate, or use a preset such as 1–10, 1–100 or a 6 / 49 lottery draw.
What people use it for
- Draws and giveaways: number your entrants and pick a winning number.
- Lottery numbers: 6 unique numbers from 1–49, sorted.
- Teaching and research: random samples, seat numbers, or picking questions from a test bank.
- Games: replace a die, decide turn order or settle "pick a number between 1 and 10".
Odds of a single number
Every number in the range has the same chance: 1 ÷ (max − min + 1). For 1–10 that's 1 in 10 (10%), and for 1–100 it's 1 in 100 (1%).
Is it really random?
Yes. Every result comes from your browser's built-in cryptographic random number generator
(crypto.getRandomValues), the same source used to create encryption keys. Whole numbers are drawn with
rejection sampling, which removes the small "modulo bias" that simpler generators have, so every outcome is exactly
equally likely.
The result is picked on your device, not on our server, and nothing is pre-decided. Each draw is also independent: past results never make any outcome more or less likely next time.