Quick answer: Each number from 1 to 10 has a 1 in 10 (10%) chance per draw, and the long-run average is 5.5. Two draws in a row match 10% of the time; that is normal and not a sign of bias.
Examples
| You want to… | Setting |
|---|---|
| “Pick a number between 1 and 10” game | 1 number |
| Choose 3 different questions from a list of 10 | 3 numbers, no repeats |
| Random rating to start a debate | 1 number |
| Decide the order of 10 turns | 10 numbers, no repeats |
How to use it
- Press Generate for one number from 1 to 10.
- For several numbers, open More options, set How many numbers (up to 10 with No repeats) and choose an order.
- Change Min or Max at any time to use a different range.
- Copy the results, or press Present to show them full screen.
Good uses for 1–10
- Turn-taking: number players 1–10 and draw without repeats to set the order.
- Practice questions: pick which of ten worksheet questions to mark first.
- Counting games with young children: generate a number and count out that many objects.
Worth knowing
- Draw just 4 numbers from 1–10 with repeats allowed and the chance of at least one repeat is 49.6%, roughly a coin flip.
- People asked to name a digit “at random” pick 7 far more often than chance would predict (Kubovy and Psotka, 1976). A generator has no favourite number.
How the numbers are chosen
Your browser’s cryptographic random source (crypto.getRandomValues) supplies 32-bit random values.
We map them onto your range with rejection sampling: any value that would make some numbers slightly
more likely than others is thrown away and redrawn. The common shortcut (value % range) skips this step
and adds a small bias. For No repeats we use a partial Fisher–Yates shuffle, which draws only as many numbers
as you ask for, even from a huge range.
The result is fixed before the rolling animation starts. The animation is decoration and never changes the outcome. Everything runs on your device: nothing you enter or generate is sent to us. More on how it works.
Limits
- Whole numbers only, between about −9 quadrillion and +9 quadrillion (JavaScript’s exact integer range), with a range width of up to 253.
- Up to 10,000 numbers per click. With No repeats, you can’t ask for more numbers than the range contains.
- Fine for games, classrooms and everyday choices. Not certified for lotteries, regulated prize draws or generating security keys.
Need a different range? Use the main random number generator.
Questions
Does it include 1 and 10?
Yes, both are included and each has a 10% chance.
Why did I get the same number twice?
With repeats allowed there is a 10% chance the next number matches the last one. Tick No repeats if you need different numbers.
How do I get several different numbers?
Open More options, set how many numbers you want (up to 10 for this range) and tick No repeats.
References
- W3C. Web Cryptography Level 2: Crypto.getRandomValues(). World Wide Web Consortium specification.
- Daniel Lemire. Fast Random Integer Generation in an Interval. ACM Transactions on Modeling and Computer Simulation 29(1), 2019 (discusses modulo bias and rejection).
- Michael Kubovy and Joseph Psotka. The predominance of seven and the apparent spontaneity of numerical choices. Journal of Experimental Psychology: Human Perception and Performance 2(2), 1976.
Page reviewed 30 November 2026.