Random Wheel
A random wheel gives every listed option an equal chance to win, so four clean entries mean each one starts with a 1 in 4 chance, or 25 percent. Use it when you want a fast pick without debating the choice over and over. Type one option per line, spin the wheel, and the tool returns one winner after trimming extra spaces and ignoring blank lines. That makes it useful for lunch decisions, classroom turns, giveaway entries, writing prompts, meeting order, and any small choice where fairness matters more than strategy.
Quick answer
Each non-blank line becomes one slice on the wheel, so the odds for a single slice are 1 divided by the total number of valid entries.
What this tells you
- •Each non-blank line becomes one slice on the wheel, so the odds for a single slice are 1 divided by the total number of valid entries.
- •The tool cleans the list before spinning. A line with only spaces is removed, which means accidental empty rows do not change the math.
- •The winning slice comes from a browser-based random draw, then the tool converts that draw into a whole-number index with Math.floor(random × total options).
- •Repeated entries count as separate slices. If Tacos appears twice in a five-line list, Tacos owns 2 of the 5 slices.
- •A wheel needs at least two valid options. If only one cleaned entry remains, the formula file returns null instead of pretending a spin happened.
How to Use
- 11. Type each option on its own line in the Options box. Short labels are easiest to scan, such as Pizza, Tacos, Sushi, and Burgers.
- 22. Check that you have at least two real entries after removing empty lines. One option cannot create a meaningful random choice.
- 33. Click Spin to start the draw. The wheel uses the cleaned list, not the raw spacing you typed.
- 44. Read the winner and the total option count once the spin finishes. The total confirms how many slices were actually used.
- 55. Spin again if you want a fresh independent result from the same list. Every new spin runs a new random draw.
- 66. Edit the list before spinning again if you want to change the odds, remove duplicates, or add more choices for a larger pool.
How It Works
Formula
Winner index = floor(random number from 0 up to 1 × total valid options)The formula file first trims every line and removes blanks. If fewer than two cleaned entries remain, it returns no result because a wheel needs at least two options. With total valid options equal to n, the tool calculates index = floor(Math.random() × n). Since Math.random() produces a value from 0 up to but not including 1, multiplying by n creates a range from 0 up to but not including n. Math.floor then maps that range to whole-number indexes 0 through n - 1, giving each slice the same width in the random range. For unique entries, the chance for any one option is 1 divided by n. If the same label appears more than once, each copy still gets its own slice, so the label's combined chance is copies divided by n.
Calculation note: values are processed in the order shown above, using the current input units.
Worked Examples
Pick where to eat from four lunch options
The formula file keeps all four lines because none are blank. That gives total = 4, so the wheel can return index 0, 1, 2, or 3 with equal odds. Each restaurant therefore gets 1 out of 4 slices, which is 25 percent. A spin might land on Tacos this time and Sushi on the next spin because each draw is independent.
Choose who goes first in a three-person game
After trimming, the list still contains three names. The code uses Math.floor(Math.random() × 3), so the winner index is 0, 1, or 2. That means Ava, Ben, and Chloe each occupy one of three equal slices. The exact winner changes from spin to spin, but the starting chance for each person stays the same at one third.
Ignore blank lines in a class participation wheel
The second line is empty and the fifth line contains only spaces, so parseEntries removes both. The cleaned list becomes Mia, Noah, Olivia, and Liam, which makes total = 4. Because the blank rows do not survive cleanup, they do not create extra slices or reduce anyone's odds. Each student ends up with the same 1 in 4 chance.
See how duplicates change the odds
The formula file does not merge matching labels. It keeps all five cleaned lines as separate entries, which means total = 5. Because Tacos appears twice, two of the five indexes point to that label. Tacos therefore has a combined 40 percent chance, while Pizza, Sushi, and Burgers each stay at 1 out of 5, or 20 percent.
Use a larger list for a giveaway draw
With twelve unique entries, the wheel has twelve equal slices and the winner index can be any whole number from 0 through 11. That gives each participant one slice out of twelve. One slice divided by twelve equals 0.0833 repeating, which is about 8.33 percent. A larger list lowers the chance for each individual name, but the fairness rule stays the same.
Chance Per Slice by Option Count
A quick reference for the starting odds when every option appears once.
| Valid options | Chance for one option | Percent chance |
|---|---|---|
| 2 | 1/2 | 50% |
| 3 | 1/3 | 33.33% |
| 4 | 1/4 | 25% |
| 5 | 1/5 | 20% |
| 8 | 1/8 | 12.5% |
| 12 | 1/12 | 8.33% |
If one label appears more than once, add the matching slices together. Two copies in a 12-option wheel means a 2/12 chance, which simplifies to 1/6 or about 16.67%.
What makes a random wheel fair?
A fair random wheel starts with equal slices. In this tool, equal slices come from the cleaned entry count, not from the visual length of the words you type. A short label like Tea gets the same space as a longer label like Grilled Chicken Sandwich if each appears once.
Fairness also depends on list setup. If one person enters a name twice, that name gets two chances because the code treats each line as a separate entry. That is not a bug. It is the direct result of the method in the formula file. If you want equal odds by person, keep exactly one line per person.
Independent spins matter too. A result does not become less likely just because it won the last spin. If Pizza wins twice in a row on a four-option wheel, that feels surprising, but each spin still started with a 25 percent chance for Pizza. The tool does not remember past winners or try to balance them out.
The best use case is quick decision support. A random wheel is strong when you want a neutral tie-breaker, a classroom picker, a giveaway helper for a small informal list, or a prompt generator. It is weaker when you need weighting, logging, audit history, or a formal method for stakes that require documented fairness.
Common mistakes
- Leaving duplicate entries in the list by accident. Duplicate lines increase that option's chance because each line becomes its own slice.
- Counting blank lines as real options. The formula removes empty rows and space-only rows before it calculates the total.
- Assuming past spins change the next spin. A fresh draw does not try to avoid the previous winner.
- Using the wheel when you really need weighted odds. This tool gives equal slices only, so it cannot assign one option a larger probability on purpose.
- Typing only one real entry and expecting a result. The formula file returns no winner when fewer than two valid options remain.
Embed this calculator on your site
Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.
<script src="https://calctide.com/embed.js" data-tool="random-wheel" async></script>Preview the embed at /embed/random-wheel/.