Coin Flip

Tap the button for a fair heads-or-tails result, or flip a whole handful of coins at once and watch the percentages settle toward 50/50.

Updated · Made by the My Digital Drawer team

🔒 Everything runs in your browser. Nothing you enter or open here is uploaded to a server.
Ready to flip
0
Heads
0
Tails
—
Heads %
—
Tails %

History

How do I flip a coin online?

Press Flip for a fair heads-or-tails result. You can flip up to 100 coins at once and see the tallies, history and running percentages of heads and tails. Each flip is independent of the last.

Good to know: A fair coin has a 50 percent chance of heads on every flip, no matter what came before. Streaks feel surprising but are normal: in 100 flips, a run of six or more heads or tails in a row is quite likely. Flipping many coins at once is a simple way to see this in action, as the percentages drift toward 50 percent the more coins you flip. For a fair decision between two people, agree on who calls heads before the flip.

How to use the Coin Flip

  1. Leave Coins at 1 for a single heads-or-tails decision, or enter any number up to 100.
  2. Click Flip. A single coin spins and lands on its result; several coins appear as a row of small coins with the count for that flip.
  3. Watch the tallies and percentages update. They include every coin you have flipped since loading the page.
  4. Scroll the history list to see earlier flips, newest first.
  5. Click Reset to clear the tallies and start a fresh experiment.

How it works

Every coin is decided by your browser's cryptographic random number generator (crypto.getRandomValues), which picks heads or tails with exactly equal probability. The spinning animation is just for show: the result is chosen first, then the coin is turned to land on that face. Each flip is independent, so a streak of five heads does not make tails "due."

The percentages show the law of large numbers in action. With only a few flips, results can look lopsided. With hundreds of flips they drift toward 50%. A useful rule of thumb: for n fair flips, the share of heads is usually within about 1/√n of 50%. For 100 flips that's roughly 40% to 60%; for 10,000 flips it's roughly 49% to 51%.

Worked example: flip 100 coins and you might see 47 heads and 53 tails. That isn't a sign of a broken coin; it is well inside the normal range. Probability of exactly 50 heads in 100 flips is only about 8%.

The coin faces are simple drawings made for this page (a star for heads, a "T" for tails), not a real currency design.

Fair heads or tails

Flip one coin or up to 100 at once. The tool keeps tallies, a history and running percentages. A real coin is close to 50-50, and so is this one, but short runs can be streaky. Ten flips can easily give 7 heads.

When to use it

Use it for a tiebreaker, a game or a probability lesson. The law of large numbers means percentages move toward 50 percent as flips increase, though the difference in counts can still grow. Flips happen in your browser, and nothing is stored.

Frequently asked questions

Is this coin flip fair?
Yes. Heads and tails each have exactly a 50% chance. The tool uses your browser's cryptographic random source with an unbiased method, so it doesn't lean either way and ignores past results.

Is a real coin 50/50?
Very close, but not perfectly. Studies of real tosses suggest a slight tendency to land on the side that started facing up. A virtual flip avoids that physical bias.

Why did I get heads five times in a row?
Streaks are normal. The chance of five heads in a row is 1 in 32, so if you flip often you will see them. Each flip is independent of the ones before it.

Can I flip more than one coin?
Yes, up to 100 at once. The result shows how many landed heads and tails, and the totals and percentages add them in.

Is my history saved?
No. History and tallies live only in this page and disappear when you reload or close it.

You might also need