HandyTools Hub
← Back to Tools

Random Decision Maker

Flip a coin, roll dice, pick randomly, or ask the oracle

?

Click to flip the coin

Four Modes in One Page, and Why Chance Helps

This tool bundles four ways to hand a decision to chance, each on its own tab:

  • Coin flip — a two-way choice, heads or tails.
  • Dice roll — a random integer from 1 to the chosen number of sides.
  • Random picker — one winner drawn from your own list of options.
  • Yes/No oracle — a short answer to a question you type in.

Randomness looks like a way to avoid deciding, but it is often the opposite. The moment a coin is in the air, most people notice which outcome they are hoping for; relief confirms the choice and disappointment exposes the real preference. For groups, an impartial draw settles deadlocks without anyone taking the blame: picking a restaurant, assigning chores, or choosing who goes first. For tabletop games the randomness is the point, and a fair d20 keeps a session honest.

How the Randomness Works

All four modes use JavaScript’s Math.random, a pseudorandom generator. The coin returns heads when the value is below 0.5 and tails otherwise. The dice use floor(random × sides) + 1, which gives every face from 1 to the chosen maximum the same probability. The picker trims each line, discards blank entries, and selects one index uniformly. The oracle selects one of eight canned replies. Because the generator is seeded by the browser and not by a secure source, results are unpredictable in practice but not suitable for security or regulated gambling.

Sample Outcomes and Odds

The numbers are easy to reason about once you know the candidate count:

ModeCandidatesChance of any one result
Coin flip250%
d4425% per face
d6616.7% per face
d20205% per face
Picker with 5 lines520% per line
Yes/No oracle8 phrases12.5% per phrase

Results are animated but independent. Repeated clicks do not “use up” outcomes, and the tool never adapts to your previous picks.

A Worked Decision

Suppose four roommates cannot agree on whose turn it is to clean the kitchen, and two of them are willing. Enter “Alex”, “Sam”, “Jordan”, and “Riley” on separate lines in the picker. The tool trims each line, discards any blank lines, and selects one index. With four non-empty lines, each name has a 25 percent chance, and a single click returns one result such as “Sam”. Nothing is removed afterward, so pressing the button again gives an independent draw that could return Sam once more. If you need a distinct second name, delete the first winner from the list and click again.

For a dice example, choose d20 and roll. There are twenty equally likely faces, so the chance of any specific number is 5 percent. Rolling a natural 20 twice in a row has a probability of 0.05 × 0.05, or 0.25 percent, which is why streaks that feel impossible show up sooner or later in a long session.

Designing a Good Option List

The picker is only as fair as the list you give it. Three habits keep it honest:

  • One option per line. A line reading “pizza or sushi” is a single candidate and can be returned verbatim, which is rarely what you meant.
  • Avoid accidental duplicates. Pasting from a spreadsheet or a chat thread often leaves repeated entries, and each repeat silently doubles that option’s weight. Scan the list once before drawing.
  • Keep wording parallel. If one entry is specific (“the Thai place on 5th”) and another is broad (“anything cheap”), the result is harder to act on even though the odds are equal.

For recurring draws, save the list somewhere reusable rather than retyping it, and reorder it only when you genuinely want different weights. And decide in advance that you will accept the outcome; the tool’s value comes from settling the question, not from producing a result you can overrule.

Common Mistakes

  • Putting two options on one line. “Pizza or sushi” becomes a single candidate, so the tool can return that whole phrase. Keep one option per line.
  • Rerolling until you like the answer. The value of a random draw is that you agreed to accept it before seeing the result. Repeating until you win turns the tool into a way of avoiding the decision.
  • Assuming the picker removes the winner. It does not, so a second click can return the same item. Delete the winner if you need a distinct second draw.
  • Leaving duplicate lines by accident. Copy-paste often produces repeats that silently double an option’s odds.
  • Using it for anything that needs provable fairness. For a public giveaway or a security decision, use a documented cryptographic source.
  • Random Number Generator — Roll an arbitrary numeric range, including d100-style draws.
  • Dice Roller — A dedicated dice interface for board games and RPGs.
  • Team Generator — Split a list into random teams rather than picking one item.
  • Coin Flip — A focused two-outcome page with a simple history.

Frequently Asked Questions

Can the random picker choose more than one winner at a time?

No. Each click of Pick One returns a single item. There is no multi-draw button and the tool does not remove the winner from the list, so to draw several names you would delete or cross out the result and click again.

Why does an option that appears twice in my list get picked more often?

Every non-empty line is treated as one equal candidate, and the picker chooses one index at random. If you list 'Pizza' on two lines and three other options on one line each, Pizza has two chances out of five, so duplicates deliberately weight the odds.

Are the dice statistically fair?

Each die uses Math.random to return a whole number from 1 to the number of sides, so every face has an equal theoretical chance: 1 in 6 for a d6, 1 in 20 for a d20. The randomness is fine for games and casual draws but is not cryptographic and should not be used to run a lottery or generate security tokens.

What answers can the Yes/No oracle give?

It draws from eight phrases: Yes, No, Maybe, Definitely yes, Absolutely not, Ask again later, Without a doubt, and Very doubtful. Each phrase is equally likely at 1 in 8, which means a flat yes comes up three times out of eight and a flat no three times out of eight.

Does the coin flip remember previous results or balance itself out?

No. Every flip is independent and has the same 50 percent chance of heads, regardless of how the last flip landed. Three heads in a row is not unusual: the probability of that run is 0.5 × 0.5 × 0.5, or 12.5 percent.

Can I roll a d100 or a custom number of sides?

No. The dice panel is limited to the six standard polyhedral dice: d4, d6, d8, d10, d12, and d20. For an arbitrary range, open the random number generator instead.

Reviewed by the HandyTools Hub team · Last updated