Skip to content
xmoo.app

Tool · Fun & random

Wheel Spinner

What’s for dinner, who goes first, which film tonight? Type in your entries, spin the wheel and let chance decide – with the same odds for every slice.

Up to 200 entries of up to 80 characters. An entry listed twice has twice the chance. Tapping the wheel spins it too.

What people spin a wheel for

For plain lists of names – picking several people, handing out tasks or making teams – the random name picker is the better fit.

Where the randomness comes from

The key point first: the result is fixed before the wheel moves. The spin only shows it. How long it turns, how it slows down or where you click makes no difference to which slice wins.

  1. Get a random number. Your browser supplies a random number between 0 and 4,294,967,295 (2³² − 1) through the Web Crypto API (crypto.getRandomValues). That source is meant for encryption and is therefore unpredictable – unlike the simpler Math.random that browsers use for games and animations.
  2. Pick the slice without bias. With n entries the tool needs a number from 0 to n − 1. The obvious approach, “divide the random number by n and take the remainder”, favours the first slices ever so slightly whenever 2³² is not exactly divisible by n. So numbers above the largest multiple of n are thrown away and drawn again. After that every slice has exactly the same chance of 1 in n.
  3. Choose where it stops. A second random number decides where within the slice the pointer comes to rest – never right at the edge, so nobody has to argue about a line.
  4. Spin. The wheel makes five to seven full turns and then slows down to stop at exactly that point.

Example: what happens in one spin

The wheel holds the four entries from the form above: Pizza, Sushi, Pasta and Salad. With four slices each one is 360° ÷ 4 = 90° wide. On the wheel at rest, Pizza covers 0° to 90° (counted clockwise from the top), Sushi 90° to 180°, Pasta 180° to 270° and Salad 270° to 360°.

  1. The random number gives slice 2 (counting from 0) – that is Pasta. The chance of that was 1 ÷ 4 = 25 %.
  2. The stopping point falls exactly in the middle of the slice: 180° + 45° = 225°.
  3. To bring that point to the pointer at the top, the wheel has to turn 360° − 225° = 135°. With five full turns before that, the wheel turns 5 · 360° + 135° = 1935°.
Pizza Sushi Pasta Salad 0° 90° 180° 270° 225° The wheel at rest 4 slices of 360° ÷ 4 = 90° each 1. Chance: slice 2 = Pasta 2. Stop at: 180° + 45° = 225° 3. Turn: 360° − 225° = 135° Target: 5 · 360° + 135° = 1935° The stopping point then sits at the top, under the pointer.
From chance to spin: the slice is fixed beforehand, the spin only shows it. Values from the example. Own illustration.

The odds on the wheel

Every slice is the same width and has the same chance. A few consequences that are easy to miss:

Limits of this tool

Privacy: the wheel runs entirely in your browser; your entries are not sent to xmoo.app or anyone else. The share link contains the entries themselves – whoever receives it can see them. They sit after the # in the address; browsers do not send that part to the server, and the tool removes it from the address bar after opening.

Sources

Page last updated: 30 October 2026