Is a Spinning Wheel Really Random? How Fair Picking Works
When a spinning wheel decides who wins a prize or who goes first, people naturally ask: is it truly random? Here's how WheelWhim chooses results and what "fair" actually means.
Real randomness vs. "random-looking"
Computers are machines that follow instructions, so producing genuinely unpredictable numbers takes special care. Many simple programs use a pseudo-random generator — a formula that produces numbers that look random but are created from a starting value. These are fine for games but not ideal when fairness matters.
Modern browsers also include a cryptographically secure random number generator, available to web pages through a feature called crypto.getRandomValues(). It draws on unpredictable data collected by your operating system and is designed so that results cannot be predicted, even by someone who knows previous results. WheelWhim uses this generator for every pick.
The winner is chosen before the spin
When you press Spin, three things happen in order:
- The wheel counts the entries — say there are 8.
- The secure generator picks a whole number from 0 to 7, each with an exactly equal 1-in-8 chance. We use a technique called rejection sampling to avoid a tiny bias that can happen when large random numbers are divided into small ranges.
- The wheel calculates how far it has to turn to land on that slice, adds several full rotations for drama, and animates there.
That means the animation, spin speed, colors and where the wheel started have no influence on the outcome. The physics are just for show.
Does the order of names matter?
No. Because every slice has the same size and the same probability, being first, last or in the middle of the list makes no difference. The Shuffle button is there for appearances and for presentations — it doesn't change anyone's odds.
Weighting entries on purpose
Sometimes you want unequal chances — for example, a raffle where some people bought more tickets. The simplest fair method is to list a name once for every ticket. With these entries:
- Sam ×3
- Rio ×1
- Lee ×1
there are 5 slices in total, so Sam has a 3 in 5 (60%) chance and Rio and Lee each have 1 in 5 (20%).
Why streaks happen
If the same name comes up twice in a row, it can feel suspicious. But true randomness has no memory: each spin is independent. With 10 entries, the chance of the same winner twice in a row is 1 in 10 — something you'll see fairly often across many spins. If you want everyone to be picked once before anyone repeats, turn on Auto-remove winner.
Checking fairness yourself
Try this experiment: make a wheel with four colors and spin it 100 times, recording the results from the Results tab. You'll see roughly 25 of each, with some natural variation. The more spins you do, the closer each color gets to an even 25%.