Coin Flip: Heads or Tails

Everything runs in your browser. Your data never leaves your device.

What this coin flipper does

Flip a virtual coin and get heads or tails in one tap, without hunting for a real coin. The coin spins in the air and lands on one side, and the page keeps a count of heads and tails, the share of heads, the longest streak and your last 30 flips.

How to use it

  1. Decide who takes heads and who takes tails.
  2. Tap the coin or press Flip the coin.
  3. Read the result under the coin. Flip again as often as you like.
  4. Press Reset the count to start the statistics again.

Why a virtual coin is fair

A real coin can be slightly biased by how it is thrown and caught. Here every flip is decided by a random bit from your device’s secure random generator, so both sides always have a 1 in 2 chance. The animation only shows the result after it has been chosen.

A small probability lesson

Flip 10 times and you may get 7 heads, which is fine. Flip 1,000 times and the heads share will usually be between 47% and 53%. This is the law of large numbers, and the counter makes it easy to show in class.

Frequently asked questions

Is this coin flip really 50/50?

Yes. Each flip uses your browser's cryptographic random generator, so heads and tails have exactly the same chance, and the result doesn't depend on the animation. Over many flips the heads share moves closer to 50%.

I got tails five times in a row. Is something wrong?

No, streaks are normal. In 30 flips, a run of 5 or more of the same side happens quite often. Each flip is independent, so a coin never "owes" you heads.

Can I use it to decide something fairly?

Yes. Agree who takes heads and who takes tails before you flip, then press the button once. It works well for who goes first, kick-offs or settling a friendly argument.

Is anything saved or sent?

No. The flips and the count stay on this page and are cleared when you close it.

Last updated: · What's new

Related tools