Flip a coin

Toss a virtual coin and get heads or tails with a true 50/50 chance. Flip once to settle a decision, or flip thousands of times to watch probability at work.

Free and private. Everything runs in your browser, nothing is uploaded.

How it works

  1. Call itHeads or tails? Decide before you flip.
  2. FlipPress Flip, the space bar or Enter.
  3. See the sideThe coin lands on heads or tails and the statistics update.

Settle it with a coin

Who goes first, which film to watch, who pays for coffee: a coin toss is the oldest fair way to decide between two options. Football matches still start with one. This coin is chosen by the secure random generator of your browser, so heads and tails have exactly the same chance, and nobody can be accused of a trick throw.

The 3D flip animation shows the result once it is decided, and the statistics keep count of every flip.

Probability in the classroom

Set the number of coins to 100, 1,000 or 10,000 and flip them all at once. Students see that the share of heads gets closer to 50 percent the more coins they flip, the law of large numbers in action, while short runs of the same side are completely normal.

Frequently asked questions

Is the coin flip really 50/50?

Yes. Each flip is an independent choice with equal odds from crypto.getRandomValues.

Why did I get tails five times in a row?

Streaks are normal. Five of the same side in a row happens about once in 16 sequences of five flips.

Can I flip many coins at once?

Yes, up to 10,000. You then see how many came up heads and tails.

Is anything stored?

Only your statistics, in your own browser. You can reset them at any time.