Coin Flip
Flip a virtual coin for a truly fair heads or tails, with a running tally to settle any decision.
A fairer coin than a real one
Every flip here calls crypto.getRandomValues, the browser's cryptographically
secure random source, and reads a single bit: even is heads, odd is tails. That gives a clean
50/50 split with no physical bias. It is genuinely fairer than a real coin - researchers at
Stanford found that a tossed coin lands on the same face it started about 51% of the time
because of the way it wobbles, a bias this tool simply does not have.
Using the running tally
Below the coin, a live tally counts heads, tails and total flips, with each side's share as a percentage. Over a handful of flips the split can look lopsided - that is normal randomness, not a fault. Keep flipping and the percentages drift toward 50/50, a neat demonstration of the law of large numbers. Hit reset any time to start a fresh count.
When to flip
A coin flip is perfect for any two-way decision where you want to stay impartial: who picks first, which of two restaurants to try, kick-off in a game, or just breaking a stalemate. Decide which choice is heads and which is tails before you flip, then commit to the result. For decisions with more than two options, reach for the random picker or the random number generator. Rolling for a tabletop game instead? The dice roller covers d4 through d100.