How to flip a coin online
- Flip onceTap the coin or press Flip coin. It spins and lands on heads or tails.
- Keep scoreThe bar counts heads, tails and your current streak of the same side.
- Simulate many flipsChoose 10 to 10,000 flips and press Run simulation to see the split, the longest streak and a chart.
It is a quick, neutral way to settle who goes first, pick between two options or teach probability in class.
Is this coin flip really fair?
Yes. Each flip uses your browser's cryptographic random number generator (crypto.getRandomValues), the same source used to make secure keys. Heads and tails each have exactly a 50% chance, and every flip is independent of the ones before it. The spinning animation is only for fun; the result is decided before the coin lands.
What the simulation teaches about probability
Flip a coin ten times and you might get seven heads. That doesn't mean the coin is unfair; small samples swing a lot. Run 10,000 flips and the share of heads settles very close to 50%. This is the law of large numbers, and the chart shows it happening.
The longest streak is often surprising too. In 100 flips, a run of six or seven of the same side is normal. People tend to think streaks mean something is "due", but a coin has no memory. Believing otherwise is called the gambler's fallacy.
Ways to use a coin toss
- Decide who starts a game or picks first.
- Break a tie between two equally good choices.
- Classroom experiments on chance and fairness.
- Quick yes-or-no decisions when you're stuck.
Need more than two options? Try the Dice Roller or Spin the Wheel.
Frequently asked questions
Is heads or tails more likely?
Neither. Each flip has an exactly equal 50% chance of heads or tails, and previous flips have no effect on the next one.
How random is this coin flip?
It uses your browser's cryptographic random generator, which is far more random than a real coin thrown by hand.
Why didn't I get exactly 50% heads?
Random results vary, especially over a small number of flips. The more flips you simulate, the closer the share gets to 50%.
Can I use this to make decisions?
Yes, it works well for quick, low-stakes choices. For important decisions it can still help: notice whether you feel relieved or disappointed by the result.