Coin Flip: Heads or Tails, 1 to 1,000 Coins, Tally & Streaks

Flip a fair coin, or many coins at once, and see each coin, the number of heads and tails, the exact chance of that result, a running tally with percentages and the current and longest streak.

Flip

—

How to flip a coin

  1. Press Flip for one coin, or press a button for 3, 5, 10, 100 or 1,000 coins. Any number from 1 to 1,000 can be typed in the field.
  2. With one coin the result is Heads or Tails. With several, each coin is listed in order with the number of heads and tails.
  3. The tally adds up every coin since the page was opened, with percentages, and shows the current and longest streak.
  4. The last 20 flips stay in the history until the page is closed or the tally is reset.

Best of three, best of five

For a decision between two options, assign one to heads, then press 3 coins or 5 coins: the side with more coins wins. An odd number of coins cannot tie.

Chance of each result with 10 coins

HeadsChance
0 or 100.1% each (1 in 1,024)
1 or 90.98% each
2 or 84.39% each
3 or 711.72% each
4 or 620.51% each
524.61%

Longest streak in a series of flips

FlipsStreak of 5 or moreStreak of 7 or moreAverage longest streak
1021.68%3.91%3.66
2045.84%11.51%4.66
10097.17%54.23%6.98

A streak counts heads or tails, whichever came up. The figures are exact, worked out from the probabilities of every sequence.

Sources

The figure for real coins comes from Bartoš et al., Fair coins tend to land on the same side they started (2023).

Frequently Asked Questions

Is the coin flip fair?

Yes. Each coin comes from the browser's cryptographic generator (crypto.getRandomValues), with heads and tails equally likely. A physical coin can be slightly biased; a study of 350,757 real flips found that a coin lands on the side it started on about 50.8% of the time.

How likely is a streak of five heads?

Five heads in a row from five given flips has a chance of 1 in 32 (3.125%). In a long series, streaks are much more common than most people expect: in 100 flips the longest streak of heads or tails is 6 or more about 81% of the time, and about 7 on average.

After several heads, is tails more likely?

No. Each flip is independent, so the next coin is still 50/50 whatever came before. Expecting tails to be due after a run of heads is known as the gambler's fallacy.

What does the chance line mean?

It is the exact probability of getting that many heads with that many coins: the number of ways to choose which coins land heads, divided by 2 to the power of the number of coins. With 10 coins, exactly 5 heads has a chance of 24.61%: the most likely result, but it happens less than one time in four.

What do the tally and streaks count?

Every coin flipped since the page was opened, in the order shown. With 10 coins in one flip, all 10 count toward the tally and the streaks. Reset tally sets both back to zero; nothing is saved after the page is closed.