How to flip a coin online
- Press Flip coin or the space bar.
- Watch the coin spin and land on heads or tails.
- Check the tally for heads, tails, percentages and the longest streak.
- Press Flip 10 or Flip 100 to run a quick probability experiment, and Reset to start again.
Is a coin flip really 50/50?
A virtual coin flip is exactly 50/50: heads and tails each have a probability of 1/2. A real coin is very close. In 2023, researchers flipped real coins 350,757 times and found they landed on the same side they started on about 50.8% of the time. The tiny bias comes from the coin wobbling as it spins. For deciding who goes first, that difference does not matter.
P(heads) = P(tails) = 1/2 = 50% Each flip is independent, which means the coin has no memory. After five heads in a row the chance of heads on the next flip is still 50%.
How likely is a streak of heads or tails?
Long streaks feel unlikely, but they turn up more often than people expect. The chance of a set number of heads in a row, starting now, is (1/2) to the power of the streak length:
| Streak | Heads every time | Chance |
|---|---|---|
| 2 heads in a row | 1 in 4 | 25.0% |
| 3 heads in a row | 1 in 8 | 12.5% |
| 4 heads in a row | 1 in 16 | 6.3% |
| 5 heads in a row | 1 in 32 | 3.1% |
| 6 heads in a row | 1 in 64 | 1.6% |
| 8 heads in a row | 1 in 256 | 0.4% |
| 10 heads in a row | 1 in 1,024 | 0.1% |
But somewhere in a long run of flips, a streak is very likely. This table shows the chance of getting at least one run of that many identical results in a row (all heads or all tails) somewhere in the flips:
| Flips | 3+ in a row | 4+ in a row | 5+ in a row | 6+ in a row | 7+ in a row | 8+ in a row |
|---|---|---|---|---|---|---|
| 10 flips | 82.6% | 46.5% | 21.7% | 9.4% | 3.9% | 1.6% |
| 20 flips | 97.9% | 76.8% | 45.8% | 23.7% | 11.5% | 5.4% |
| 50 flips | >99.9% | 98.1% | 82.1% | 54.4% | 30.9% | 16.2% |
| 100 flips | >99.9% | >99.9% | 97.2% | 80.7% | 54.2% | 31.5% |
So in 100 flips, a streak of 6 or more of the same side happens about 80.7% of the time, and in just 20 flips there is a 76.8% chance of a run of at least 4. Counting heads only, the chance of 5 or more heads in a row somewhere in 10 flips is 10.9%. (These values are worked out exactly, not simulated.)
A quick probability lesson
- Ask everyone to predict how many heads they will get in 10 flips.
- Press Flip 10 a few times. Results like 7 heads and 3 tails are common with small samples. For example, one run of 10 flips gave 7 heads, with a longest streak of 5.
- Now press Flip 100 and Flip 1,000. The heads percentage usually moves closer to 50%. This is the law of large numbers.
- Ask: which is more surprising, 7 heads out of 10 or 700 heads out of 1,000? (The second is far less likely.)
To go further, compare the results with the probability calculator, or move on to two dice with the dice roller.
Ways to use a coin flip in class
- Decide which team starts, or which side of a debate each group takes.
- True or false review: heads means the statement is true, tails means it is false, and students explain why.
- Choose between two options when the class is split.
- Probability experiments, tally charts and fractions practice.
Need more than two outcomes? Use the random number generator or split the class with the random group generator.
Frequently asked questions
How do I flip a coin online?
Press Flip coin (or the space bar). The coin spins in the air for about a second and lands on heads or tails, each with a 50% chance. The tally keeps count of heads, tails and streaks.
Is this virtual coin flip fair?
Yes. Each flip uses your browser's cryptographic random number generator (crypto.getRandomValues), so heads and tails are exactly equally likely and every flip is independent of the last. The spinning animation does not affect the result.
Is a real coin flip 50/50?
Almost. A large 2023 study of 350,757 real flips found coins landed on the same side they started on about 50.8% of the time, because of a slight wobble. For classroom purposes a real coin is close enough to 50/50, and this virtual coin is exactly 50/50.
What are the odds of getting heads 5 times in a row?
1 in 32, or about 3.1%. Each flip is 1/2, so five heads in a row is 1/2 × 1/2 × 1/2 × 1/2 × 1/2 = 1/32. Ten heads in a row is 1 in 1,024.
After 5 heads in a row, is tails more likely?
No. The coin has no memory, so the next flip is still exactly 50/50. Believing that tails is "due" is called the gambler's fallacy.
What does "Flip 100" do?
It flips the coin 100 times instantly and shows how many heads and tails came up, the percentage, the longest streak and a results bar. It is a quick way to show the class that results get closer to 50% over many flips.
Can I use it on a projector?
Yes. Press Projector mode to fill the screen with a big coin and the result. Press the space bar to flip and Esc to exit. The tally is saved in this browser until you press Reset.
Last reviewed November 27, 2026 by the ChalkStation team.