Is the Wheel Really Random?

Don’t take our word for it. Run thousands of spins with the exact code the wheel uses.

How the wheel picks a winner

When you press Spin, the winner is chosen before the wheel starts to move. The choice comes from crypto.getRandomValues, the cryptographic random number generator built into your browser. It’s the same source browsers use to create encryption keys. The animation then spins the wheel and lands it inside the winning slice. How hard you click, where the wheel was resting and how long it spins make no difference.

With equal entries, every slice has exactly the same chance. If you give an entry a weight (for example Pizza *3), its slice is drawn three times as wide and it is exactly three times as likely to win, so what you see on the wheel always matches the odds.

How to read the test

Expected is how many wins each entry should get on average. Actual is what happened in your run. They are never identical, and that is normal: if you flip a coin 1,000 times you rarely get exactly 500 heads. The bar shows the actual share, and the thin line marks the expected share.

The chi-square test asks whether the differences are bigger than chance would explain. A p-value above 0.01 means the results look like a fair wheel. Even a perfectly fair wheel gives p below 0.01 about once in a hundred runs, so if you see one, run it again: it won’t keep happening.

The test runs in your browser with the same functions the wheel calls, so a million spins take about a second and nothing is sent anywhere.