How does an online spinner wheel pick a winner?
An online spinner wheel looks like a game-show wheel, but there is no real physics deciding the result. Here is what happens in the second after you press Spin, using our own wheel as the example.
Step 1. A random number is drawn
The wheel asks your browser for a random number from crypto.getRandomValues(). That generator is built into every modern browser for security work, such as creating encryption keys, so it is designed to be impossible to predict. Older or simpler wheels use Math.random(), which is fine for games but not designed to be unpredictable.
Step 2. The number picks a slice
Imagine all slices laid out on a ruler from 0 to 1. With 4 equal entries, each owns a quarter of the ruler. The random number lands somewhere on the ruler, and the slice it lands in wins. Every entry's chance is simply its share of the ruler.
- Equal entries: with 8 names, each has a 1 in 8 chance (12.5%).
- Weighted entries: on our weighted wheel, an entry with weight 3 owns three times as much of the ruler as an entry with weight 1. Chance = its weight divided by the total of all weights.
- Duplicates: typing a name twice gives it two slices, so double the chance. Use Remove duplicates in the More menu for one entry per person.
Step 3. The animation shows the answer
On our wheel the winner is already decided before the wheel moves. The animation then glides to a random point inside the winning slice, so it looks natural. That is why pressing Spin at a clever moment cannot change the result. Some wheels work the other way round, simulating physics with a random starting speed; done right, both are fair.
Why the same name keeps coming up
Each spin is independent, like a coin toss, so repeats are more common than they feel:
| Entries | Spins | Chance that some entry wins twice |
|---|---|---|
| 10 | 5 | about 70% |
| 20 | 5 | about 42% |
| 30 | 10 | about 82% |
| 100 | 12 | about 50% |
If everyone should get a turn first, turn on elimination: each winner leaves the wheel. Try the elimination wheel or the student picker.
How to check a wheel is fair
- Run a big test. On our wheel, open Results and press Test the fairness: 10,000 spins in a second, with each entry's share.
- Look at the slices. Unequal slices mean unequal chances. That should only happen if someone set weights.
- For prizes, use proof. A sealed fair draw lets anyone recheck the winner afterwards.
More: Is Wheel of Names rigged? and how to prove a spin is fair.