Skip to content
Embed

Paste this on your site. The attribution link is required and is what makes embedding free.

Decision Maker — Free Online Random Picker

Enter your options, press Decide, and let the random picker choose for you with a fun animated selection effect that cycles through all choices before landing on the winner.

5 options entered

Your options:

Pizza for dinner
Sushi for dinner
Tacos for dinner
Burgers for dinner
Salad for dinner

Decision Result

Enter at least 2 options and press Decide!

Selection Probability Reference Table

Number of Options Probability Each Odds (1 in X) Common Use Case
2 50.0% 1 in 2 Yes/No, This or That
3 33.3% 1 in 3 Restaurant choice, movie pick
5 20.0% 1 in 5 Weekday meal planning
7 14.3% 1 in 7 Weekly activity planner
10 10.0% 1 in 10 Top 10 list picker, team role
20 5.0% 1 in 20 Classroom student selection
50 2.0% 1 in 50 Raffle or giveaway drawing

Related Calculators

About this calculator

How the Random Selection Works

Random Index = floor(random() x Number of Valid Options)
Selected Option = Options[Random Index]
Selection Probability = 1 / Number of Valid Options x 100%

Algorithm Details

  • Input Parsing: The text area content is split by newline characters. Each resulting string is trimmed of leading and trailing whitespace. Empty strings (blank lines) are filtered out, leaving only valid options.
  • Random Number Generation: JavaScript's Math.random() generates a floating-point number uniformly distributed between 0 (inclusive) and 1 (exclusive). This value is multiplied by the number of valid options and rounded down using Math.floor() to produce an integer index within the valid range.
  • Equal Probability: Because Math.random() produces a uniform distribution, each index has an equal probability of being selected. With N options, each has exactly a 1/N probability. This is mathematically equivalent to drawing a name from a perfectly shuffled hat.

Step-by-Step Example

Suppose you enter 4 dinner options:

  1. Options parsed: ["Pizza", "Sushi", "Tacos", "Burgers"] (4 valid options)
  2. Math.random() generates: 0.6247 (a random decimal)
  3. Multiply by count: 0.6247 x 4 = 2.4988
  4. Round down: floor(2.4988) = 2 (the index)
  5. Selected option: Options[2] = "Tacos"
  6. Selection probability: 1/4 x 100 = 25.0%

Each of the four options had an equal 25% chance of being selected. The random number could have landed in any of four equal ranges (0-0.25 for Pizza, 0.25-0.50 for Sushi, 0.50-0.75 for Tacos, 0.75-1.0 for Burgers), and 0.6247 fell in the Tacos range.

Sources

Disclaimer: This tool is for entertainment purposes only. Results are randomly generated or algorithmically derived and should not be used for serious decision-making.

Last updated: November 3, 2026