Spin the Wheel
A random name picker: type your list, spin, and the wheel picks one entry at random. Your list stays in your browser.
8 entries.
The list rides in the part of the link after #, which a browser never sends to any server, ours included.
The chances
Each of the 8 entries has the same slice: a chance of 1 in 8 (12.5%).
Spins
Each spin is listed here, with its time, and kept in this browser.
How the wheel picks
The winner is chosen before the wheel moves, with a random whole number from your browser's crypto.getRandomValues(), the generator used for encryption keys. A plain remainder of a random number favours the low entries whenever the list's length does not divide the range, so a draw from the uneven top of the range is thrown away and drawn again: every slice has exactly the same chance. The wheel then turns several whole times and stops at a random place inside the winner's slice, never nearer its edges than 15% of its width, so the pointer always shows the answer plainly. The animation only shows the pick: how long it runs, or what a ticking sound does, cannot change it.
Your list is kept in this browser's storage, so it is there when you come back, and never uploaded. A copied link carries the list after its #, a part of an address that browsers never send to a server, so the names reach only the people you give the link to. Each tick is timed to the moment its slice's edge passes the pointer, from the browser's report of which moment its speakers are playing, so the sound keeps pace with the wheel even on a slow output.
What this tool is used for
- Picking who answers next in a class, or the order of presentations, with each winner removed so everyone gets a turn.
- Drawing a name for fun at a meetup, a party or a stand-up, on a projector in full screen with the ticks on.
- Deciding what to eat, which film to watch or who makes the coffee, from a list everyone helped to write.
- Sharing out chores or tasks: spin once for each task and remove each name as it comes up.
- Settling a tie between options that are equally good, in front of everyone, without another debate.
How it works in practice
A worked example
A teacher sets the order of six class presentations, with the title Presentation order and Remove each winner before the next spin switched on, and spins six times.
Title: Presentation order Entries, one per line: Amara, Ben, Chloé, Dev, Elena, Finn Remove each winner before the next spin: on Spin time: 5 s Spin six times
Presentation order: the wheel landed on Dev, one of 6 entries. Presentation order: the wheel landed on Ben, one of 5 entries. Presentation order: the wheel landed on Elena, one of 4 entries. Presentation order: the wheel landed on Amara, one of 3 entries. Presentation order: the wheel landed on Chloé, one of 2 entries. Presentation order: the wheel landed on Finn, one of 1 entry. Copy the spins: 1. 09:00:05 Dev 2. 09:00:14 Ben 3. 09:00:23 Elena 4. 09:00:32 Amara 5. 09:00:41 Chloé 6. 09:00:50 Finn
With each winner removed, every spin leaves one name fewer: the first is drawn from 6, the next from 5, and the sixth has only Finn left. Every order of the six is then equally likely, one of 720 (6 × 5 × 4 × 3 × 2 × 1). Without removing winners a name can come up again, and six spins of a wheel of six name everyone once only 720 times in 46,656, 1.5% of the time. Each winner is a fair whole number drawn before the wheel moves, and the pointer stops at least 15% of a slice from its edges, so no result sits on a line.
The edge case that catches people
A name typed twice has two slices and twice the chance: with Ben on two lines of seven, the chances panel shows Ben at 2 in 7 (28.6%) and every other name at 1 in 7 (14.3%). Remove repeats takes the second line out. And a winner removed by mistake comes back with Undo, as long as the list has not been changed since.
When not to use this tool
It is not for a raffle or a giveaway with a prize, where others must be able to check the draw and the law may set rules: a spin on one person's device proves nothing to anyone else. Nor is it for a choice where thinking it through is the point. For numbers use the random number generator, to put a whole list in random order shuffle lines, and for one yes-or-no answer the yes or no wheel.
Frequently Asked Questions
- Is the wheel really random?
- Yes. The winner is a whole number from crypto.getRandomValues(), the browser's generator for encryption keys, drawn before the wheel moves. Draws from the uneven top of its range are thrown away, so every slice has exactly the same chance; the spin only shows the result.
- Can anyone rig or predict the spin?
- Not through the wheel: its speed, its length and its ticks are set after the winner is drawn and cannot change it. But the page runs on the device of whoever spins it, so a draw with a prize needs a method others can check, with its rules agreed beforehand.
- How do I take a name off after it wins?
- Press Remove under the result, or switch on Remove each winner before the next spin: the winner then leaves as the next spin starts, so the pointer never shows a slice that has gone. Undo brings a removed name back.
- Can an entry have a bigger chance?
- Yes: put it on the list more than once. Each line is a slice, so a name on 3 lines of 10 has a chance of 3 in 10 (30%). The chances panel shows the share of each repeated name, and Remove repeats takes the extra lines out.
- How many names can I put on the wheel?
- Up to 1,000 entries of up to 100 characters each. A wheel on a computer screen labels up to about 90 to 100 slices, and one on a phone about 55; past that it shows its colours and names the winner below it. Lines past 1,000 stay in the box, off the wheel.
- Why does the pointer never stop on a line?
- The page stops it at a random place inside the winner's slice, never nearer its edges than 15% of its width, so the answer is never in doubt. On a real wheel a peg can stop a pointer on a line; here there is no line to argue over.
- Does the page keep my list?
- In this browser only: the list, the title, the settings and the spins are kept in its storage, so they are there when you come back, and nothing is uploaded. Clearing the site's data in your browser removes them.
- How do I share my wheel?
- Copy a link to this wheel. The list and its title ride in the part of the link after #, which browsers never send to any server, ours included, so the names reach only the people you give the link to.
Common errors and gotchas
- Leaving a name on the list twice by mistake, which doubles its chance. Check the chances panel, or press Remove repeats.
- Spinning again because the result was not the one wanted, which turns a random pick back into a choice.
- Using the wheel for a prize draw that others must trust: a page on one person's device cannot prove to anyone else how it was spun.
- Expecting the list on another device or in a private window, where the wheel starts with its sample names. Copy a link to take a list with you.
- Typing several names on one line with commas between them, which makes one long entry: put each name on its own line.