Coin flip

Press Flip for heads or tails. Choose more coins to flip several at once, and the tally below keeps count of every result until you reset it.

Press Flip.

How to use it

  1. Press Flip. The result shows as Heads or Tails.
  2. To flip several coins at once, choose a number from the Coins list first.
  3. The tally counts heads, tails and the longest run of the same side across your recent flips.
  4. Press Reset to start the count again.

Is an online coin flip fair?

This one is. Each coin is decided by your browser's cryptographic random number generator (crypto.getRandomValues), so heads and tails each have exactly a 50% chance and no flip depends on the one before.

Real coins are close to fair but not quite. In a study by Bartoš and colleagues, volunteers flipped coins 350,757 times by hand, and the coin landed on the same side it started on 50.8% of the time. A virtual flip has no starting side, so it has no such bias.

Streaks are normal

Five heads in a row feels suspicious, but in 100 fair flips the longest run of one side is most often six or seven, and eight or more about three times in ten (from 20,000 simulated sets of 100 flips). The chance of ten heads from ten flips is 1 in 1,024, so if you flip enough, you will see it.

Over many flips the heads percentage drifts towards 50%, but the counts themselves rarely match exactly. After 1,000 flips a gap of 20 or 30 between heads and tails is ordinary.

Settling a choice

Decide which side means what before you flip. If you find yourself hoping for one side while the coin is "in the air", that is often your answer.

For more than two options, use the dice roller: a d6 for six choices, or a d4, d8, d10, d12 or d20.

Questions

Why did I get the same side several times in a row?

Because each flip is independent. The coin has no memory, so a run of heads makes tails no more likely on the next flip.

Can I flip more than one coin?

Yes, up to 100 at once. You see how many landed heads and tails, plus each coin as H or T.

Is anything saved?

No. The tally lives on the page and clears when you reset it or leave.

Is anything sent to a server?

No. The test runs entirely in your browser with JavaScript. Nothing about your device or your results is uploaded or stored by us.

Related tests