Skip to content
CalcTide logo
Writing & Utility

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.

Writing & UtilityBy

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.

PizzaTacosSushiBurgers

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

  1. 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.
  2. 22. Check that you have at least two real entries after removing empty lines. One option cannot create a meaningful random choice.
  3. 33. Click Spin to start the draw. The wheel uses the cleaned list, not the raw spacing you typed.
  4. 44. Read the winner and the total option count once the spin finishes. The total confirms how many slices were actually used.
  5. 55. Spin again if you want a fresh independent result from the same list. Every new spin runs a new random draw.
  6. 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

OptionsPizza\nTacos\nSushi\nBurgers
Result4 valid options, so each slice has a 1/4 chance, or 25%

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

OptionsAva\nBen\nChloe
Result3 valid options, so each name has a 1/3 chance, or about 33.33%

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

OptionsMia\n\nNoah\nOlivia\n \nLiam
Result4 valid options after cleanup, so each student has a 25% chance

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

OptionsTacos\nPizza\nTacos\nSushi\nBurgers
Result5 valid options total, with Tacos on 2 slices, so Tacos has a 2/5 chance, or 40%

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

Options12 unique names, one per line
Result12 valid options, so each name has a 1/12 chance, or about 8.33%

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 optionsChance for one optionPercent chance
21/250%
31/333.33%
41/425%
51/520%
81/812.5%
121/128.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/.

Frequently Asked Questions

It chooses a winner by cleaning the list, counting the valid entries, and selecting one whole-number index at random. The formula is Math.floor(Math.random() × total), which gives every slice the same starting chance when each option appears once.
No. Blank lines and lines that only contain spaces are removed before the spin happens. That means accidental empty rows do not create extra slices or reduce the odds for real entries.
The repeated option gets a higher chance because each copy becomes its own slice. For example, if Tacos appears twice in a five-option wheel, Tacos has 2 out of 5 slices, which equals a 40 percent chance.
The odds for one unique option are 1 divided by the number of valid options. With 6 entries, each unique line starts at 1/6, or about 16.67 percent. If some labels repeat, add their slices together to get that label's total chance.
Yes. Each spin is a new random draw, so the same option can appear on back-to-back spins without anything being wrong. The tool does not block repeats or rotate winners automatically.
A wheel needs at least two valid choices to make a real selection. The formula file returns no result when the cleaned list has fewer than two entries because a single remaining option is not a random choice.
Yes. It works well for small classroom selections, turn order, writing prompts, lunch decisions, and casual name draws where equal odds are enough. For regulated contests or any process that needs a documented audit trail, use a method designed for formal compliance instead.
No. The page copy and formula are designed for in-browser use, and the existing FAQ behavior states that options are not stored after you leave the page. That makes the tool convenient for quick private lists like team names, chores, or prompt ideas.
It estimates random wheel outputs using the visible inputs and formula assumptions on this page.

Explore More in Writing & Utility