Spin the Wheel Randomness Audit: 10,000-Spin Fairness Test

🔒 Run It Yourself χ² Goodness-of-Fit 10k / 50k / 100k Spins crypto.getRandomValues

How Does a Randomness Audit Prove a Spin the Wheel Is Fair?

A randomness audit proves a spin the wheel is fair by pushing thousands of spins through the same code the live wheel runs and checking that every slice wins close to its expected share. Anything short of that is a promise, not evidence.

The most common complaint about any online spinner is that it’s rigged. Usually the person has watched twenty spins and seen one name keep popping up. Twenty is nothing. A fair wheel only evens out once the count climbs into the thousands, and a short streak says more about patience than about code.

The fix is a transparent check anyone can run. This audit draws every result from crypto.getRandomValues, part of the Web Crypto API that modern browsers ship as a cryptographically secure random number generator. The output is unpredictable by design: the same class of randomness browsers use for cryptography.

A fair spinner follows a simple order: pick first, then animate. Whether the motion comes from a physics simulation or a plain rotation, the visual should never decide the winner. Public audits elsewhere have pushed tens of millions of spins through a picker; this one lets you run up to a hundred thousand in a few seconds, on your own screen.

Randomness Audit features overview with numbered callouts: test presets, number of slices, number of test spins, run the audit, browser random generator status, results and more
The Randomness Audit at a glance: each number marks a feature listed under the picture.
🎯 One Number, Drawn at the Click

How Does the Wheel Actually Choose a Winner?

A fair spinner chooses its winner from one random number drawn the moment you click, and the size of each slice is the only thing that tilts the odds. The homepage wheel on SpinTheWheelRandom.com and the other 20+ spinner wheels on the site all pull that number from the browser, which in turn relies on randomness gathered by the operating system.

On a well-built wheel, the sequence looks like this:

  • Spin time begins and the random value is drawn instantly, not at the end of the motion.
  • Segment size converts that value into a slice. Five equal entries each hold 20.00% of the circle.
  • Weighted wheel setups make bigger slices more likely to win, in exactly proportional terms.
  • Turned to stop is the last step. The wheel rotates onto the chosen slice, and its speed is purely for show.

People rarely think about where it stops inside the slice. This wheel always lands the pointer inside the middle 70% of the winning slice, so it never sits on a border. The audit measures the picker without the animation, which is the cleanest way to test what actually decides the result, and its 📍 Where the pointer stops test checks that landing spot too.

🔐 Built-in CSPRNG

Where Does the Wheel’s Randomness Come From?

SpinTheWheelRandom’s randomness comes from the browser’s built-in CSPRNG, a generator seeded with high-entropy system data rather than a repeatable formula. That is why cryptographic fairness is a property of the generator, not of how polished the wheel looks.

Entropy inputs are usually described as hardware timings, mouse movements and keyboard delays. MDN Web Docs documents getRandomValues as returning cryptographically strong values. The underlying designs trace back to the random bit generators specified in NIST SP 800-90A Rev. 1. Each browser ships its own random source, so identical wheel code can draw from different engines on different browsers.

Here’s the contrarian bit: not every spinner bothers. Some still pick a uniform random angle with Math.random() × 360 and read the winner off the landing position. Math.random() spreads results evenly, but it was never built to resist being predicted. That is a real gap for fairness-sensitive picks like prize draws.

📊 Sample Size Is Everything

How Does the 10,000-Spin Audit Measure Fairness?

The SpinTheWheelRandom audit measures fairness by running 10,000 spins (or 50,000 or 100,000) through the picker and comparing each slice’s tally with its theoretical share, which is 1/N for N equal slices. Results land in a live distribution chart, so you watch the counts converge instead of trusting one summary number.

Visual spinners often convert a landing angle into a slice with arithmetic like (360 − rotation) / segAngle, then mod N to wrap around the circle. The audit doesn’t care about that geometry. It only cares whether the final counts sit near an even split. Sample size is the variable most people underestimate. One public audit published how far apart its best and worst options sat as spins accumulated:

Spins runGap between top and bottom option
20120% apart
500 spins40% apart
20,000 spins8.4% apart
1,000,000 spins0.5% apart

On a bar chart, early bars bounce wildly around the dashed line, and a large sample pulls them tight. A genuinely biased wheel behaves differently: one bar stays off the line no matter how many spins you add.

On this page: every bar has a dashed line at its expected share, and the counts update live while the spins run. Pick 10,000, 50,000 or 100,000 spins in Sample size.

Randomness Audit on SpinTheWheelRandom.com as it looks on first load, dark mode on a desktop browser
The Randomness Audit exactly as it opens on a desktop screen.
🍕 Weight ÷ Total Weight

How Are Weighted Entries Checked for Fairness?

Weighted entries are checked by comparing each entry’s observed frequency with the expected probabilities its weight implies, rather than with an equal share.

Picture a four-entry food wheel where Pizza holds a slice three times wider than each of the other three. Pizza should take half the spins, and the others should land a sixth each. An audit that only ever tests equal slices would miss a bug in exactly this setup.

Implementation details are where weighted bugs hide. A typical picker draws a 32-bit number into a Uint32Array and divides it by 2³² to get a fraction, then walks the cumulative weights until the running total passes that fraction. Off-by-one slips at slice boundaries are the usual failure point.

On this page: choose 🍕 Weighted 1-2-3-4, or type your own entries with a weight in front (3,Pizza). Each bar then shows its own expected percentage instead of an equal share.

🧪 Four Different Checks

Which Fairness Tests Should a Proper Wheel Audit Run?

A proper wheel audit tests win counts, weighted odds, pointer placement and independence between spins, because each one catches a different kind of unfairness. A sound routine for any randomness audit, this one included:

01
Simulated selections come first. Run the picker thousands of times with no visuals, in tiers such as 10,000, 50,000 and a cap of 100,000 to keep the page usable.
02
Degrees of freedom set the yardstick. For a wheel with N slices the test uses N − 1, so an eight-slice wheel is judged with seven.
03
A statistical range decides pass or warn. Here a p-value of 0.05 or higher passes, 0.01–0.05 is borderline and below 0.01 is a warning.
04
Pointer placement gets its own check: the fixed top pointer shouldn’t favour one edge of the winning slice.
05
Repeat the run, because one run proves little. The run history below the results compares your last ten runs.

Everything above works as a client-side test inside the browser, with nothing to install. If you can’t rerun an audit yourself, you’re trusting a screenshot.

📉 Randomness Is Lumpy

Why Does a Fair Wheel Sometimes Look Rigged?

A fair wheel looks unfair over short runs because random results fluctuate heavily until enough spins pile up to smooth them out.

The audit makes this visible. With 8 equal wheel slices, each slice expects 12.5% of wins. The results show the largest gap between any slice and its expected share. Watch the run and the worst slice wanders early, then narrows as the count grows.

Statisticians formalise this with a goodness-of-fit test. The χ² statistic adds up (Oᵢ − Eᵢ)² / Eᵢ across all slices. Oᵢ is how often a slice actually won, and Eᵢ is how often it should have. Randomness is lumpy, and the formula expects some lumps.

With only 100 or 500 trials on six slices, a fair wheel often looks broken; spin a million times and it almost never will. A result in the borderline range at low counts usually means “spin more,” not cheating.

⚖️ Honest Limits

What Can’t a Randomness Audit Tell You?

A randomness audit cannot certify that every future result will be fair; it can only show that a large sample behaved the way a fair source should.

NIST makes the same point about statistical testing: it’s a useful first step, never a final verdict. An honest audit says so on the page instead of hiding behind a green badge.

Audits also check the environment, within limits. The status panel above checks whether the Crypto API exists, whether the page is secure, and whether getRandomValues has been overridden by a script. A failed check is a tamper signal, and results should be treated with caution. Passing, though, is not a full device security audit.

Wheel settings matter too. An audit tests the wheel in normal mode. For public decisions, keep a plain-language report or a screenshot with your raffle records. Results on phones and laptops come from different random sources, but the expected odds don’t change.

On this page: after a run, 📋 Copy Report or ⬇️ Download Report saves a plain-language summary for your records.

📐 Methodology & References

How Is This Audit Calculated?

TestWhat it measuresMethod
Win countsWhether each slice wins its expected share (equal or weighted)Pearson χ² goodness-of-fit, N − 1 degrees of freedom, p-value from the χ² distribution
Pointer positionWhether the landing spot inside the slice is evenly spread10 equal zones across the landing band, χ² with 9 degrees of freedom
No memoryWhether the same winner repeats more or less often than chanceObserved repeats vs. Σ pᵢ² × (spins − 1), normal approximation
Previous vs. nextWhether the last winner changes the next result (wheels up to 12 slices)χ² test of independence on the winner → next-winner table
VerdictPass, Warning or Strong warningp ≥ 0.05 Pass · 0.01–0.05 Borderline · 0.001–0.01 Warning · below 0.001 Strong warning

Same code as the wheel: every simulated spin calls the wheel’s own picker with a fresh crypto.getRandomValues number, exactly as a real spin does, just without drawing the animation. Nothing is sent to a server.

Limitations: a test can reveal a problem but never prove fairness; each test lands in Borderline about once in 20 fair runs and in Warning about once in 100; results describe this browser on this device; and a statistical audit is not legal certification or gambling compliance.

❓ Frequently Asked Questions

Randomness Audit – Frequently Asked Questions

Q1

Does a Passing Audit Prove Every Spin Is Fair?

No, a passing audit does not prove every spin is fair, because an audit is a sample, not a proof. Statistical tests can only fail, never prove. Even a long series of passing runs should be described as “no unfairness found” rather than a guarantee. An audit says nothing about one particular spin beyond its odds, and it is not legal certification or gambling compliance. If you see a warning, a larger run is the sensible next move.

Q2

Why Use Browser Crypto Randomness Instead of Math.random()?

Browser crypto randomness is the same grade of randomness that protects passwords and payments, which makes it the right fit for giveaways and team drawings. Browser vendors seed it from platform entropy sources. The status panel on this page confirms it is the browser’s native implementation and not a script substitute. None of this replaces an independent cryptographic review, but it removes the weakest link.

Q3

How Do Bigger Slices Change the Audit Results?

Bigger slices change the audit by raising each entry’s target: an entry’s expected chance equals its weight divided by total weight. Set weights 1, 2, 3 and 4 and the targets become 10.0% / 20.0% / 30.0% / 40.0%. The audit’s job is to measure results against the odds you set, not against an equal split.

Q4

Why Can a Fair Wheel Trigger an Audit Warning?

A fair wheel can trigger an audit warning because randomness occasionally produces unusual runs, and the chi-square test is built to flag them. The p-value shows how often a fair wheel would stray that far: 0.05 or more is normal chance; between 0.05 and 0.01 (Borderline) happens about once in twenty runs; between 0.01 and 0.001 about once in a hundred; below 0.001 about once in a thousand.

A fair coin can land heads three times in a row, and a wheel can do the equivalent. NIST SP 800-22 Rev. 1, the statistical test suite for random generators, treats such tests as screening tools. For classroom picks, just rerun: a fair source won’t repeat the warning, and a skewed one would.

Q5

Why Did I Get the Same Result Twice in a Row?

You got the same result twice because the previous winner has no bearing on the next spin. The audit runs independent spins, and so does the wheel: there is no memory between draws. A yes or no wheel splits 50.0% / 50.0% over large runs. In twenty draws, one option can come up 4 times while another appears once. The luckiest option and the unluckiest trade places constantly, and repeats tell you nothing about future spins.

On this page: the 🔁 No memory between spins and 🔗 Previous winner vs next result tests check this on every run, and ⚖️ Yes / No (50-50) runs the two-option split.

Q6

Does the Spinning Animation Affect Who Wins?

No, the spinning animation does not change who wins on a properly built wheel, because the result is fixed before the motion starts. The winner decided at your click is locked in before the wheel moves. Extra full turns add drama, and an easing curve only shapes how the wheel slows. The motion is cosmetic, each spin is an independent event, and clicking harder has zero influence on the outcome.

Q7

Does the Audit Send My Wheel Entries Anywhere?

No, the SpinTheWheelRandom audit does not send your entries anywhere; it runs entirely in your browser. Your lists stay on your device, nothing you type is uploaded, and there’s no sign-up. The site keeps a wheel and your audit history in local browser storage for your next visit, and the audit only checks this browser on this device. The site menus and main buttons switch to 12 languages (the guides stay in English), and the page stays responsive while the run finishes.