Flip a Coin: Heads or Tails

Need to settle a decision? Flip a coin online with one tap. This virtual coin toss is perfectly fair: heads and tails each have exactly a 50% chance, using your browser's secure random generator. Watch the animated flip, keep a running tally with percentages and streaks, rename the sides (for example "Pizza" and "Tacos"), or flip 10, 100 or 10,000 coins at once for probability experiments in the classroom.

  • 100% free
  • No sign-up
  • Private & local
  • Works on mobile

Tap the coin to flip

Options

Sequence

Private by design: every calculation runs locally in your browser. Nothing you type is sent to a server or stored by us.

How to Flip a Coin Online

  1. Tap the coin or the Flip coin button (or press the space bar).
  2. Watch it spin and land on heads or tails.
  3. Keep flipping: the tally, percentages and longest streak update automatically.
  4. Rename the sides for any two-way choice, such as "Yes" and "No" or two people's names.
  5. Flip many at once to see probability in action, from 10 to 10,000 coins.

Is an Online Coin Flip Fair?

Yes. Each flip uses a cryptographically secure random bit from your browser, so heads and tails are each exactly 50% likely, and every flip is independent of the ones before. Surprisingly, a real coin toss is not perfectly fair. A large 2023 study of more than 350,000 hand-tossed coins found that a coin lands on the same side it started on about 50.8% of the time, because of a slight wobble in the air. A virtual coin has no such bias, no worn edges and no skilled tosser, which makes it ideal when fairness matters.

Coin Flip Probability

For a single flip, the chance of heads is 1/2. For several flips, the probability of a particular run multiplies:

EventProbability
Heads on one flip1 in 2 (50%)
Two heads in a row1 in 4 (25%)
Three heads in a row1 in 8 (12.5%)
Five heads in a row1 in 32 (3.1%)
Ten heads in a row1 in 1,024 (0.1%)
Exactly 5 heads in 10 flips252 in 1,024 (24.6%)

Notice that getting exactly half heads becomes less likely as you flip more coins, even though the percentage of heads gets closer and closer to 50%. That's the law of large numbers: try flipping 10 coins, then 10,000, and compare the percentages in the tally.

The Gambler's Fallacy

After five tails in a row, many people feel heads is "due". It isn't: the coin has no memory, and the next flip is still exactly 50/50. This mistaken belief is called the gambler's fallacy. Long streaks are also more common than people expect. In 100 flips, a run of six or more of the same side happens most of the time. Use the longest-streak counter to see how often surprisingly long runs appear in genuinely random data.

Uses for a Coin Toss

  • Sports: deciding who kicks off, bats first or picks ends.
  • Everyday choices: where to eat, which film to watch, who does the dishes.
  • Games: deciding who goes first in board games and card games.
  • Teaching: probability, fractions, experiments and data collection in maths lessons.
  • Breaking ties in votes, competitions and group decisions.

A tip for hard decisions: flip the coin, and notice how you feel about the result. If you're disappointed, you already know what you really wanted.

A Short History of the Coin Toss

People have been tossing coins to make decisions for more than two thousand years. In ancient Rome, the game was called navia aut caput ("ship or head"), after the images on the coins of the time. In Britain it became known as "cross and pile". Today the coin toss is a formal part of many sports: the captain who wins the toss chooses to bat or bowl first in cricket, which end to attack or who kicks off in football, and who receives the kick-off in American football. The coin toss before the Super Bowl is even a popular betting market, with heads and tails having split the results almost exactly evenly over the decades.

Try a Probability Experiment

A classic classroom experiment is to predict how many heads will appear in 10, 100 and 1,000 flips, then test it. Use the bulk flip to run each experiment in a fraction of a second, note the percentage of heads, and click "Clear tally" between experiments. You'll see that small samples can be far from 50% (7 heads out of 10 is quite common, happening about 12% of the time), while large samples get very close.

Frequently Asked Questions

Is heads or tails more likely?

Neither. On this virtual coin each side has exactly a 50% chance on every flip.

Can a coin land on its edge?

With a real US nickel, roughly 1 in 6,000 tosses. This virtual coin always lands heads or tails.

How do I flip multiple coins?

Enter a number up to 10,000 under "Flip many coins at once" and click Flip them.

Can I change heads and tails to other words?

Yes. Type any labels in the Side 1 and Side 2 boxes.

What's the chance of 10 heads in a row?

1 in 1,024, or about 0.1%.