belun.app

Spin the wheel with your own entries

Result
Press the wheel or the button

Odds go in the same line: “Mug *3” is three times as likely, “Prize | 5%” is exactly 5%

Slices on the wheel: 6

Odds of each entry
Entry Weight or % Chance
Number range
Settings: time, colours, title
Spin history

Nothing yet: spin the wheel.

Check the fairness

The wheel runs many spins in a row without the animation, on the same generator, and compares the promised odds with what came up.

My wheels

Kept in this browser, never sent to a server.

    Wheel on your site and in OBS

    Type or paste one entry per line and the wheel redraws itself as you go. Equal slices by default; add *3 or | 5% to a line to change its odds. Winners can stay, drop off, use up one prize from stock, or be knocked out until one is left. The winner is drawn by the browser's cryptographic random generator before the wheel moves, and a fairness check spins it up to 100,000 times so you can compare the promised odds with what came up.

    Wheel spins are drawn locally in your browser and never sent to a server.

    Wheel odds: what to write and what you get

    Without numbers all slices are equal. The number after an asterisk says how many times as likely the entry is, the percentage after a bar is its exact share. “10% off” without the bar is only a name, and the wheel leaves that percentage alone.

    Times as likely

    Line Chance
    T-shirt 10%
    Mug *3 30%
    Stickers *6 60%

    Exact percentages, the others share the rest

    Line Chance
    Grand prize | 1% 1%
    20% off | 9% 9%
    Sticker 30%
    Postcard *2 60%

    Two spreadsheet columns: name and tickets

    Line Chance
    Ava ⇥ 5 50%
    Ben ⇥ 3 30%
    Chloe ⇥ 2 20%

    How many spins until a prize comes up

    A chance of 1% does not mean “once in a hundred spins”. In 100 spins such a prize comes up at least once with probability 63.4%; to be 95% sure you need 299 spins. Use the table to choose the odds of the grand prize when you know how many people will spin.

    Chance of the prize Comes up in 10 spins In 100 spins Spins for 50% Spins for 95%
    50% 99.9% > 99.99% 1 5
    25% 94.37% > 99.99% 3 11
    16.7% 83.85% > 99.99% 4 17
    10% 65.13% > 99.99% 7 29
    5% 40.13% 99.41% 14 59
    1% 9.56% 63.4% 69 299
    0.1% 1% 9.52% 693 2,995

    Knockout with tickets: why more tickets mean a smaller slice

    Viewers vote for a game with donations, and a knockout wheel has to choose one. If the slices are the tickets and whatever the pointer lands on is crossed out, the favourite drops out first most often: Chess with 50 tickets out of 100 wins only 2.6% of the games, Trivia with 5 wins 69.6%.

    Here more tickets make the slice smaller. If an entry holds a share p of the tickets and n entries are left, its chance to drop out on this spin is (1 − p) / (n − 1). With that formula the chance to be the last one standing is exactly p, for any number of entries.

    Entry Tickets Out first Wins here Wins if slice = tickets
    Chess 50 16.7% 50% 2.6%
    Racing 30 23.3% 30% 7%
    Puzzle 15 28.3% 15% 20.8%
    Trivia 5 31.7% 5% 69.6%

    How many slices: angle, chance and when all have come up

    For a wheel with equal slices. The fourth column is the average number of spins until every entry has come up at least once. The last is the chance that a given entry never comes up if you spin as many times as there are slices.

    Slices Angle Chance Spins until all come up Entry never comes up
    2 180° 50% 3 25%
    3 120° 33.3% 5.5 29.6%
    4 90° 25% 8.3 31.6%
    6 60° 16.7% 14.7 33.5%
    8 45° 12.5% 21.7 34.4%
    10 36° 10% 29.3 34.9%
    12 30° 8.3% 37.2 35.2%
    20 18° 5% 72 35.8%
    30 12° 3.3% 119.8 36.2%
    100 3.6° 1% 518.7 36.6%

    The wheel on a website, in a giveaway, on stream

    On a website

    Set up the wheel, open “Wheel on your site and in OBS”, then “Code for a site”. You get an iframe with your list. In WordPress paste it into a Custom HTML block, in Google Sites use Insert, Embed, Embed code. The widget sets no cookies. It does not collect emails or limit spins per visitor: that takes a service with a server.

    In a giveaway

    Publish the link to the wheel before you start, so everyone can see the list and the odds. Choose “remove the winner”, record the screen and spin once per prize. Afterwards download the history as CSV: it has the entry, the result and the time of every spin. With hundreds of entrants and people who commented more than once, the random name picker with One entry per person is quicker.

    On stream

    Copy the OBS link and add a Browser source, 700×800 for example: the background is transparent, with only the wheel, the button and the result in the scene. To spin, right-click the source and choose Interact. After you change the list, paste the new link, because the whole wheel is stored in it.

    How the winner is picked

    The odds become whole “tickets”: 1% and 9% are 1 and 9 tickets out of a hundred. The browser's crypto.getRandomValues gives a random 32-bit number, the uneven tail of its range is thrown away so that every ticket has exactly the same chance, and the ticket names the winner. Only then is the angle of the turn calculated, plus a random shift inside the slice, so the pointer does not stop in the middle every time. The result you see is read off the wheel after it stops. The length of the spin does not affect it.

    “Check the fairness” runs the same generator 1,000, 10,000 or 100,000 times and shows the usual spread for each entry: the limits ±1.96·√(p(1 − p)/N). About 95 cases in 100 fit inside, so one entry in twenty may land outside on an honest wheel as well.

    Sources: MDN, Crypto.getRandomValues; W3C, Web Cryptography; OBS, Browser Source; WordPress, Custom HTML; Google Sites, embedding. To draw several winners from a list at once there is the random name picker, and for numbers without repeats the random number generator.

    How it works

    1. 1
      Add your entries Put one entry per line: names, prizes, chores, numbers. Paste a column from a spreadsheet, open a .txt or .csv file, fill a number range, or start from a ready-made wheel.
    2. 2
      Set the odds (optional) Write *3 after an entry to make it three times as likely, or | 5% for an exact share. The odds table shows the chance of every entry and lets you edit the numbers.
    3. 3
      Choose what happens after a spin The entry stays, is removed, loses one item of stock, or is knocked out. One button brings everyone back.
    4. 4
      Spin Click the wheel or the button, once or several times in a row. A spin lasts from 1 to 60 seconds and can be skipped.
    5. 5
      Share The link carries the list, the odds and the mode. There is also embed code for a site, a transparent link for OBS, and the history as CSV.

    Frequently asked questions

    How do I weight the wheel so one entry is more likely?
    Add a number to the line. With Mug *3 the slice is three times as wide as a line without a number. With Grand prize | 5% the entry gets exactly 5% of the wheel, and lines without a percentage share the rest; 10% off without the bar is just a label. An entry with *0 stays in the list but off the wheel.
    Can someone rig the wheel?
    Not in secret: there is no hidden setting that picks the winner. Odds change only in the list, and then the slice gets wider or narrower for everyone to see. If you doubt someone else's wheel, ask for its link, look at the odds table and run the fairness check with 10,000 spins.
    How do I play knockout?
    Choose “knockout: last one standing wins” and spin: the entry under the pointer is out, the wheel is redrawn, and the last one left wins. If the players hold different numbers of tickets, the slices are sized so that the chance to win equals the share of tickets: 50 tickets out of 100 win 50% of the games.
    How do I run a draw with a limited number of prizes?
    Choose “the number is stock” and write the quantities: “T-shirt *3”, “Stickers *20”. A prize comes up more often the more of it is left. Each spin uses up one, and a prize that has run out leaves the wheel.
    How many entries can I put on the wheel?
    Up to 500. Labels are readable up to about 100 slices on a computer and 60 on a phone; past that the wheel draws just as fairly, but a name is easier to read in the result line.
    Why does one student never come up?
    It happens on a fair wheel too. Spin 30 names 30 times, and each student has a 36.2% chance of not being picked at all; it takes 120 spins on average until everyone has come up. To call on the whole class, choose “remove the winner”.
    Does the wheel remember my entries?
    The last list is kept in this browser, and you can save up to 50 named wheels there. The share link works differently: the list is packed into the address, so opening the link sends the list with the page request, and anyone who gets the link can read it.

    Related tools