Skip to main content
ponderloop

Spin the Wheel

Type one entry per line, press Spin and the wheel picks a winner: every entry has a chance equal to its weight divided by the total weight. The example list has 6 entries with a total weight of 7, so Pizza (weight 2) wins 28.6% of the time and each other entry 14.3%. Add *2 after an entry to double its weight. The winner is drawn with your browser’s cryptographic random number generator before the wheel starts to turn, so the animation never changes the result, and your list stays on your device.

Updated By ponderloop editorial · How we checkRuns in your browser: nothing you enter is uploadedHow this tool worksEmbed this tool

PizzaTacosSushiSaladBurgersPasta

Press Spin to pick a winner.

Up to 100 entries. Add a weight with a star: Pizza*2 is twice as likely as an entry with no weight.

Entries and chances

6 entries, total weight 7

  1. Pizza weight 2, 28.6%
  2. Tacos 14.3%
  3. Sushi 14.3%
  4. Salad 14.3%
  5. Burgers 14.3%
  6. Pasta 14.3%

Recent spins

No spins yet. The last 10 are listed here, newest first.

    The example list and each entry’s chance

    A weight of 1 is the default. The chance is the weight divided by the total weight, here 7.
    EntryWeightChance per spin
    Pizza228.6%
    Tacos114.3%
    Sushi114.3%
    Salad114.3%
    Burgers114.3%
    Pasta114.3%

    How often an entry comes up

    With n equal entries one entry has a 1 in n chance per spin. The columns show the chance that a chosen entry wins at least once in that many spins. Spins are independent, so an entry is never “due”.
    Equal entriesChance per spinWins at least once in 5 spinsWins at least once in 10 spinsWins at least once in 20 spinsSpins to reach 90%
    250.0%96.9%99.9%100.0%4
    333.3%86.8%98.3%100.0%6
    425.0%76.3%94.4%99.7%9
    616.7%59.8%83.8%97.4%13
    812.5%48.7%73.7%93.1%18
    1010.0%41.0%65.1%87.8%22
    128.3%35.3%58.1%82.5%27
    205.0%22.6%40.1%64.2%45

    Preset lists

    The preset buttons load these lists. Edit them freely; nothing is saved.
    PresetEntriesChance of each
    Yes / No250.0%
    What to eat616.7%
    Truth or Dare714.3%
    Classroom names812.5%
    Number 1 to 101010.0%

    How to spin the wheel with your own entries

    1. Enter your list. Type one entry per line, up to 100, or press a preset (Yes / No, What to eat, Truth or Dare, Classroom names, Number 1 to 10). Entries longer than 40 characters are cut.
    2. Add weights if some entries should come up more. Put a star and a number after an entry: Pizza*2 is twice as likely as an entry with no weight, and Salad*0.5 half as likely. Weights go up to 100.
    3. Press Spin. Press the Spin button, press Space or Enter, or click the wheel. The result is announced to screen readers. With reduce motion turned on in your device, the wheel jumps straight to the result.
    4. Use the winner. The winner is shown under the wheel and the last 10 spins are listed. Turn on Remove winner to take each winner off the list, which is handy for drawing several names in turn. Copy link shares the list.

    Frequently asked questions

    Is the wheel fair and random?
    Yes. The winner is picked with crypto.getRandomValues, the browser’s cryptographic random number generator, using rejection sampling so no entry is favoured by rounding. The tool never uses Math.random. The result is drawn before the wheel moves, then the wheel is turned to stop on it, so how long or how hard it spins has no effect on who wins.
    Does the spin animation decide the winner?
    No. The animation is only a picture of a result that already exists. The wheel’s landing angle is worked out from the winner, with a random spot inside the winning slice, and the tests check that the slice under the pointer is always the slice that was drawn.
    How do weights work?
    Write a star and a number after an entry. An entry’s chance is its weight divided by the sum of all weights, and its slice is drawn that much wider. In the example, Pizza*2 has weight 2 of 7, which is 28.6%. Weights can have decimals (Salad*0.5) and go up to 100. A weight of 0 leaves the entry out.
    How many entries can I have?
    Up to 100, each up to 40 characters. With many entries the slices get thin, so the labels are shortened or hidden, but every entry is still on the wheel and in the list under it with its chance. For more than about 20 names, a list picker such as the random name picker may be easier to read.
    Is my list private?
    Yes. The list, the winners and the history exist only on this page and disappear when you close or reload it, unless you copy a link. Nothing is uploaded, and there is no account. If you allow analytics, the site only learns that Spin was pressed, never an entry.
    How does the shareable link work?
    Copy link puts your list into the address as ?items=, encoded as base64url (the list itself, not a short code on a server). Anyone who opens the link sees the same entries. Lists whose link would pass 1,800 characters are not shared, because many apps cut long links; shorten the list or send it as text.
    What does Remove winner do?
    When it is on, the winning entry’s line is deleted from your list after the wheel stops, so the next spin cannot pick it again. Use it to draw several winners in turn, such as a raffle, or to give every student a turn. Turn it off to keep the list as it is.
    Does it work with reduced motion and a keyboard?
    Yes. Press Space or Enter, or Tab to the Spin button. If your device asks for reduced motion the wheel does not animate and shows the result at once. The winner is announced politely to screen readers, and every entry is also in a text list.
    Can I turn on a tick sound?
    Yes, with the Tick sound option. It is off by default, and the browser only starts audio after you tick the box, so nothing plays by surprise.
    Can I use it with a class or a group?
    Yes. Load Classroom names, replace the placeholders with your own list and use fullscreen to show the wheel on a board. The names stay in your browser. Names are not saved, so keep your own copy of the list.

    How it works

    Each entry has a weight, stored in hundredths so every sum is an exact whole number. A spin draws one uniformly random whole number below the total weight, using random 32-bit words from crypto.getRandomValues and discarding words from the uneven end of the range (rejection sampling), and walks down the list until the running weight passes it. Entry i therefore wins with probability weight_i ÷ total weight, exactly. The wheel is drawn from the same weights: a slice spans weight_i ÷ total of a full turn, starting at the top and going clockwise, and the pointer is at the top. After the winner is drawn, the wheel is turned by a whole number of extra turns plus the angle that brings a random point inside the winner’s slice (never within 12% of its edges) under the pointer. The animation eases out over about four seconds and is skipped when the device asks for reduced motion. Slice colours come from the site’s own colour tokens and each label is white or near-black, whichever contrasts more with its slice, so text meets WCAG’s 4.5:1 in light and dark. The tick sound uses a short Web Audio oscillator each time a slice edge passes the pointer.

    Sources

    More: Random picks and gamesAll math & numbersAll toolsHome & DIY calculators