🪙 Coin Flip

Flip a virtual coin for a fair heads-or-tails answer, or flip up to 1,000 at once and see the counts, percentages and longest streak.

✓ Free✓ No Signup Required✓ Browser-Based
Press Flip

Session total

No flips yet.

What Coin Flip Does

This coin flip gives you an instant, fair heads-or-tails answer — or flips up to 1,000 coins at once and reports how many landed each way, the percentage of heads and the longest streak. A running session total shows how the split settles toward 50/50 as the number of flips grows.

Each flip takes a single random bit from your browser’s cryptographically secure generator, so heads and tails are exactly equally likely and no flip is influenced by the one before it. That makes it fairer than a real coin. Physicists Persi Diaconis, Susan Holmes and Richard Montgomery showed in 2007 that a hand-flipped coin tends to land on the side that started face up about 51% of the time, and a 2023 experiment that recorded 350,757 real flips measured 50.8%.

How to Use Coin Flip

  1. Choose how many coins to flip at once (1 to 1,000)
  2. Press Flip — or flip again as many times as you like
  3. Read the result: one coin shows Heads or Tails, many coins show counts and the longest streak
  4. Check the session total bar to see heads and tails even out over many flips

Formula Used by Coin Flip

Chance of the same result k times in a row

P = (½)ᵏ

Worked example

Five heads in a row, on the next five flips.

  1. (½)⁵ = 1 ÷ 32

Result: 3.125%, or 1 in 32 — for those specific five flips.

Chance of exactly h heads in n flips (binomial)

P = C(n, h) ÷ 2ⁿ

C(n, h)
Number of ways to choose which h of the n flips are heads

Worked example

Exactly 50 heads in 100 flips.

  1. C(100, 50) ≈ 1.009 × 10²⁹
  2. 2¹⁰⁰ ≈ 1.268 × 10³⁰
  3. Divide

Result: About 7.96% — so an exact 50/50 split is the single most likely outcome, yet it still fails to happen more than 92% of the time.

Chance of a Streak Somewhere in a Sequence

Probability that a run of at least this many identical results (heads or tails) appears somewhere in the sequence. Calculated exactly.

Flips4 in a row5 in a row6 in a row7 in a row8 in a row
1046.5%21.7%9.4%3.9%1.6%
2076.8%45.8%23.7%11.5%5.4%
5098.1%82.1%54.4%30.9%16.2%
100>99.9%97.2%80.7%54.2%31.5%

How Close to 50/50 Should 100 Flips Be?

Heads in 100 flipsProbability
Exactly 507.96%
45 to 5572.9%
40 to 6096.5%

How to Read Your Result

A long streak is not a sign of a broken coin

In 100 fair flips there is a better-than-even chance of seeing seven heads or seven tails in a row somewhere. People asked to write down a “random” sequence rarely include runs that long, which is why real randomness can feel suspicious.

Settling a decision

For a two-way choice one coin is enough. For a fair tiebreak between two people who distrust single flips, set three or five coins and let the majority win — an odd number guarantees there is no tie.

Limitations & Accuracy Notes

  • It simulates an ideal coin; it does not model the same-side bias of real hand flips described above.
  • Session totals are kept only while the page is open and are not saved.
  • Up to 1,000 coins per flip.

Frequently Asked Questions

Is this coin flip really 50/50?
Yes. Each flip takes one bit from your browser’s cryptographically secure random generator, so heads and tails are exactly equally likely and every flip is independent of the last. That is fairer than a real coin: in a 2023 study of 350,757 hand-flipped coins, coins landed on the side that started face up 50.8% of the time.
What are the odds of getting heads 5 times in a row?
1 in 32, or 3.125%, for any particular five flips — (½)⁵. But in a longer sequence a streak is far more likely than people expect: in 20 flips there is about a 46% chance of seeing five or more of the same side in a row somewhere.
Does the last flip affect the next one?
No. After ten heads in a row the next flip is still 50/50. Believing tails is “due” is the gambler’s fallacy — coins, and this generator, have no memory.
Why didn’t 100 flips give exactly 50 heads?
Because exactly 50 is just one of many likely outcomes: it happens only about 8% of the time. Results between 45 and 55 heads occur about 73% of the time, and between 40 and 60 about 96.5%. The percentage drifts toward 50% as the number of flips grows.
How do I do a best-of-three coin toss?
Set Coins per flip to 3 and flip once: whichever side has two or more wins. Using an odd number of coins guarantees there is no tie.
Can I flip many coins at once?
Yes, up to 1,000 per click. The tool shows the full H/T sequence, the percentage of heads and the longest run, and keeps a running total for the session until you press Reset.

References & Further Reading

By OnlineToolHubs Team • September 2026