Coin flip
Flip a virtual coin for fair, cryptographically random decisions. Choose single-flip or multi-coin mode to flip up to ten coins simultaneously.
What is the Online Coin Flip?
This coin flip uses cryptographically secure randomness via your browser's Web Crypto API — the same randomness source used for encryption. Each flip is a true 50/50 outcome, unaffected by previous flips. The statistics panel tracks your flip history so you can observe how the ratio converges toward 50% over many flips — a live demonstration of the law of large numbers.
Is a coin flip truly 50/50?
Physical coins have slight biases from weight distribution, wear, and how they are caught. A virtual coin that uses cryptographic randomness has no such bias: each flip is an independent 50/50 event. The counts and percentages in the stats panel prove this over time.
Common Uses
- Fair group decisions: Choose who pays the bill, picks the movie, or gets the last slice — an impartial digital flip eliminates social awkwardness.
- Sports and game starting order: Flip to decide who serves first, who picks teams, or who goes first in board games — without needing a physical coin.
- A/B testing tiebreakers: When two design or product options are statistically equal, a random flip removes decision paralysis and keeps the team moving.
- Teaching probability: Run 100 or 1,000 virtual flips to demonstrate the law of large numbers and convergence to 50/50 for classroom lessons.
- Resolving friendly debates: Settle arguments about chores, seating choices, or playlist order with a binding coin flip both parties agreed to in advance.
- Random sampling for surveys: Use sequential flips to randomise which participants receive which version of a survey or experiment.
- Game night decisions: Determine who starts in two-player card or board games without a physical coin when playing on a screen.
FAQ
How fair is the virtual coin?
Perfectly fair. Each flip is generated from crypto.getRandomValues() — the same source browsers use when generating encryption keys. Heads and tails are exactly equally likely on every flip.
Can I flip multiple coins at once?
Currently one at a time. You can flip rapidly by clicking the button repeatedly, or use the dice roller if you need multiple random outcomes in one action.
Why does my history show streaks?
Streaks are expected in random sequences. Getting 5 heads in a row does not mean the coin is biased — a sequence of 5 matching flips happens roughly once every 32 tosses on average.
Does the coin flip tool store any data?
No. Every flip is generated locally in your browser using a cryptographic random number generator. No results are sent to a server or stored.
Can I flip multiple coins at once?
Yes. Switch to multi-coin mode to flip up to 10 coins simultaneously. The result shows individual outcomes plus the total number of heads and tails.
By the Numbers
- A 2007 Stanford study found flipped coins are slightly more likely (~51%) to land same-side up as they started (Diaconis, Holmes & Montgomery)
- Humans are systematically poor at generating random sequences — we avoid repeating outcomes, creating predictable patterns
- Coin flips have been used for legal tiebreaking in at least 13 U.S. states and various international jurisdictions
- Cryptographically secure randomness requires 256 bits of entropy for modern security standards (NIST SP 800-90)