Coin Flip

Flip a virtual coin — once or many times, with instant heads/tails statistics.

How to Use

  1. 1Click Flip Coin for a single heads-or-tails result.
  2. 2Click Flip 100 Times to run a large batch with statistics.
  3. 3Check the heads/tails count in the statistics panel.
  4. 4Clear to reset, or keep flipping — every flip is independent.

Common Use Cases

  • Yes/no decisions and settling 50/50 debates
  • Choosing who goes first in games and sports
  • Probability lessons and classroom demonstrations
  • Random binary assignments (A/B testing, group splits)

About This Coin Flipper

This virtual coin flipper uses crypto.getRandomValues() to produce heads or tails with an exact 50/50 probability. A physical coin can be biased by its weight distribution, the surface it lands on, or the flipping technique — our digital coin is mathematically perfect, and every flip is completely independent of the last.

The Gambler's Fallacy

If the coin lands on heads five times in a row, does tails become "due"? No — true randomness has no memory. The chance of heads stays exactly 50% on every flip, no matter what came before. Try the "Flip 100 Times" button: streaks and clusters appear naturally, which is exactly what real randomness looks like.

Perfect fairness: heads and tails each have exactly 50% probability, generated with rejection sampling to eliminate any modulo bias. All flips happen locally in your browser.

Frequently Asked Questions

Is the coin flip really 50/50?
Yes. Each flip uses crypto.getRandomValues() with rejection sampling, giving heads and tails an exact 50% probability each — unlike a physical coin, which can carry a slight bias.
How many times can I flip at once?
Use "Flip 100 Times" to run up to 100 flips in one click and see the full heads/tails breakdown.
Does the coin remember previous flips?
No. Every flip is completely independent — a streak of heads does not make tails more likely. Believing otherwise is the classic gambler's fallacy.