Skip to main content
R

Guides

Online Coin Flip for Yes/No Decisions

An online coin flip is a way to finish a yes/no choice you have already defined. The flip does not know which option is wiser. It only returns one of two labels with equal intended weight, once you have agreed that either label is acceptable.

Use it for “pizza or noodles,” “who serves first in a friendly game,” or “do we start the meeting with the budget.” Do not use it for a medical decision, a safety call, or any choice where one side is not actually allowed. If you need a sports series opening rather than a single yes/no, follow how to run a best-of-series coin flip. Probability questions about streaks and physical coins are in the coin flip FAQ.

Write both outcomes before you flip

A coin has two faces. Your decision needs two faces too, written in a sentence a third person could apply.

Weak: “Heads means we figure it out.” Strong: “Heads means we book Thursday. Tails means we book Friday. We keep the result.”

Assign the labels before anyone sees the animation. If you decide what Heads means after it lands, you did not randomize the choice. You narrated a preference.

Both outcomes have to be livable. If Tails is “I quit the job” and you would never do that, you do not have a 50/50 decision. You have a preference and a theatrical coin. Say the preference and skip the flip.

The coin flip page labels the faces Heads and Tails. A random number from 1 to 2 is the same two-outcome idea with digits. Pick one method and stay with it for that decision.

One flip, then stop

The procedure is short because the arguments happen when people add steps after they see the result.

  1. Write outcome A and outcome B. Attach Heads to one and Tails to the other.
  2. Agree who must live with the result.
  3. Open the coin flip on a screen everyone involved can see, or share the result immediately.
  4. Run a single flip (best-of-1).
  5. Read the face, apply the sentence you wrote, and record it in the chat or notes if the choice matters tomorrow.

Rerun only for a failure you named in advance: the page did not load, the result was off-screen, two people clicked different tools. “I wanted the other one” is not a failure.

A second flip after a disliked first flip is a different experiment. You are no longer choosing between A and B with equal weight. You are choosing until the preferred side appears, which means the preferred side was never at 1/2.

What “50/50” means here

On an ideal fair coin, Heads and Tails each have probability 1/2, and the next flip does not remember the last one. That is the model this kind of decision uses.

A physical coin caught in the hand is close to that model and not identical to it. Diaconis, Holmes, and Montgomery analyzed vigorously flipped coins that are caught, in SIAM Review (2007). Their abstract reports that for natural flips the chance of landing the same way the coin started is about 0.51. The paper is Dynamical Bias in the Coin Toss. A later project led by Bartoš collected 350,757 flips and reported a same-side probability of 0.508, with a 95% credible interval from 0.506 to 0.509. When the starting face was randomized, they reported a heads probability of 0.500, with a 95% credible interval from 0.498 to 0.502 (arXiv:2310.04153).

Those results are about metal coins people toss and catch. They are not a calibration certificate for a website. They do show why a casual physical toss is a slightly different object from a mathematical 1/2, and why the starting face matters if you care about a one-percentage-point effect. For dinner, that effect is smaller than the time you will spend arguing. For a large prize, prefer a published draw and a list, as in the fair online raffle guide, instead of a pocket coin whose start face nobody recorded.

The on-site tool does not flip metal. Each single flip sets Heads when Math.random() is less than 0.5 and Tails otherwise. MDN states that Math.random() is approximately uniform from 0 inclusive to 1 exclusive and does not provide cryptographically secure numbers. Use the password generator when you need a secret. Use the coin when you need a visible yes or no.

Best-of-3 feels more decisive and stays 50/50

The coin page can run best-of-3 or best-of-5. The code flips the full set (three flips, or five) and awards the face that appears more often. It does not stop early.

For an ideal fair coin, the side that wins a best-of-3 still has probability 1/2:

Tails wins the other half. Best-of-5 is the same fact with more flips: the majority face has probability 1/2 when each flip is fair and independent. A longer series does not “correct” a coin toward the side that is due. There is no side that is due.

What changes is the shape of the count. In three fair flips, a 3–0 sweep (either direction) has probability 1/4, and a 2–1 split has probability 3/4. Groups sometimes accept a split more calmly than a single flip. That is a social fact, not a change in who is favored. If you only needed one yes/no, a single flip matches the decision. Use a series when you wrote down that you wanted a majority, and read the series guide before you use it to open a match.

More than two options, or options that are not equal

A coin cannot represent three restaurants, four assignees, or a weighted choice such as “usually we rest, unless everyone is eager.” Forcing those into Heads and Tails hides a third option or pretends the weights are equal.

SituationTool that matches it
Two acceptable outcomesCoin flip or 1–2
3–12 labeled options you want to seeWheel spinner
A game that already uses diceDice roller
A list of peopleName picker

Which tool is “fairer” is the wrong question when the outcome counts differ. A fair coin, a fair die, and a fair range each give every allowed outcome the same probability. The comparison is in coin flip vs dice vs RNG.

Decisions a coin should not make

Randomness is a way to break a tie between acceptable options. It is not a way to avoid responsibility.

Skip the flip when:

Friendly stakes can still use a coin: who takes the first turn, which of two agreed trailheads, whether the optional reading is A or B. High stakes can use a coin only after the people affected accept both outcomes and the method. A league that already specifies a toss should use the league’s rule, not this page.

Leave a one-line record

If the decision expires in five minutes, memory is enough. If someone will ask tomorrow, write one line: date, the two sentences, the face, the action. A screenshot of the on-site result is a reminder, not a legal certificate. The page does not store flips on a server; a refresh clears the session counts.

Example: “17 Oct, Heads = Thursday booking, Tails = Friday booking. Result: Tails. Friday is booked.” The sentence is the decision. The coin was only the tie-break you agreed to obey.

References

Disclaimer: This is a practical note about casual binary choices. It is not legal, medical, financial, or safety advice, and it does not replace a league rulebook or a published raffle policy.

FAQ

Does a best-of-3 coin flip make the result more likely to be fair?

On an ideal fair coin, each side still has a 1/2 chance to win a best-of-3 or best-of-5. The series changes how lopsided the count looks. It does not favor Heads or Tails.

Should I flip again if I dislike the answer?

Only if you wrote a rerun rule before the flip, such as a failed page load. Disliking the outcome is the decision arriving, not a reason to sample again.

When is a coin the wrong tool?

Use something else when there are three or more options, when the options are not supposed to be equally acceptable, or when the choice can hurt someone. A wheel, a die, or a name list matches those cases better.

Is the on-site coin flip a physical coin?

No. The coin flip page draws with Math.random() in your browser and shows Heads when the value is below 1/2. It does not toss metal, and it is not a cryptographic secret generator.