Coin flip — the quick answer
A fair coin flip is the simplest random decision in existence: heads or tails, 50/50, every single time. No strategy changes the odds, no pattern predicts the next toss, and the coin never "remembers" what happened before. Press Flip coin above and the digital coin spins, lands, and tallies the result.
This page is a fun decision helper — perfect for settling friendly debates, picking who goes first in a game, or choosing between two dinner spots. It is explicitly not for gambling, betting or any decision involving money: those deserve real judgment, not a coin.
A short history: "heads or ships"
Coin flipping is far older than any sport that uses it. The ancient Romans tossed coins calling navia aut caput — "ship or head" — because their coins showed a ship on one side and the two-faced god Janus on the other. Julius Caesar's name is even tied to one legend of the practice, which is why some languages still call it by his name.
The toss became the world's favorite impartial judge: it decides kickoffs in American football, who bats first in cricket, and — famously — it named Portland, Oregon. In 1845, two settlers tossed a coin to choose between "Portland" (Francis Pettygrove's hometown in Maine) and "Boston" (Asa Lovejoy's hometown). Pettygrove won two out of three. Had the coin landed differently, Portland would be Boston, Oregon.
The digital era replaced spinning metal with random number generators. This page uses your browser's cryptographic randomness — the same source used for encryption keys — so the virtual coin is as fair as physics allows, without needing to catch anything.
How it works: the probability math
Each flip is independent — the odds never change no matter what came before. Streaks get rarer by half with every extra flip in the run:
Streak probability table
How rare is that run of heads you're watching? Each additional flip halves the probability:
| Heads in a row | Probability | As a percentage |
|---|---|---|
| 2 | 1 / 4 | 25% |
| 3 | 1 / 8 | 12.5% |
| 4 | 1 / 16 | 6.25% |
| 5 | 1 / 32 | 3.125% |
| 6 | 1 / 64 | 1.5625% |
| 7 | 1 / 128 | 0.781% |
| 8 | 1 / 256 | 0.39% |
| 9 | 1 / 512 | 0.195% |
| 10 | 1 / 1,024 | ≈ 0.098% |
When is a coin flip actually useful?
Humans are terrible at making trivial decisions — a coin breaks the deadlock instantly. Six classic use cases:
The oldest use case in the book: heads moves first.
Two captains, one coin — squads sorted in seconds.
Can't decide between pizza and sushi? Let the coin order.
When both sides are sure they're right, flip for it.
The Super Bowl coin toss is a televised ceremony.
Flip once and notice which side you were hoping for — the toss just told you what you wanted.
Visual guide: heads vs. tails
Real coins carry tiny ridges around the edge (called reeding) — originally to reveal if anyone shaved silver off the rim. Here are the two faces of our virtual coin:
Figure: the two faces of a fair coin. The dashed ring around each face represents the reeded (ridged) edge found on real coins. Both sides are always exactly 50/50.
Common mistakes to avoid
Coin flips are simple — but human intuition about randomness is reliably wrong. Watch for these four traps:
- The gambler's fallacy. After five heads, tails is not "due" — the next flip is still 50/50. The coin has no memory of anything that came before.
- Expecting small samples to look even. Ten flips can easily land 7–3. Only over hundreds of flips does the ratio reliably settle near 50/50 — that's the law of large numbers at work.
- Reading meaning into streaks. A run of six heads feels impossible, yet it happens in about 1.5% of 6-flip sequences. Flip 100 times and you'll see several long streaks — they're a feature of randomness, not a sign of cheating.
- Using a coin for real stakes. This tool is for fun and trivial decisions only. Never use it for gambling, bets, or money decisions — and never let anyone talk you into "double or nothing."
Pro tips & clever tricks
Get more out of a humble coin toss:
- The preference trick. Assign options to heads/tails, flip once, and notice which side you secretly hoped for mid-spin. The coin just told you what you actually wanted — follow that instead.
- Best of three beats one flip. A single toss can feel arbitrary; best-of-three (or five) gives the loser a rematch and everyone a better story.
- Watch convergence happen. Press Flip 100× and watch the heads/tails percentage drift toward 50% — the law of large numbers, live on your screen.
- Streak math on demand. The chance of n heads in a row is (1/2)n: 5 in a row ≈ 3.1%, 10 in a row ≈ 0.1%. Use the table above to settle "no way that's random" arguments.
Printable cheat sheet
Print a clean one-page probability reference — streak odds from 2 to 10 heads in a row — with one click. Navigation and widgets are automatically hidden in the printout:
Fun facts
- A coin toss named Portland. In 1845, Francis Pettygrove beat Asa Lovejoy two-out-of-three in a coin toss — so the city became Portland, Oregon, not Boston, Oregon.
- The Romans called it "heads or ships." Their coins showed Janus's head on one side and a ship's prow on the other — navia aut caput.
- Ten heads in a row is 1 in 1,024 — rare enough to feel rigged, common enough that anyone flipping daily will see it happen. Statisticians have watched volunteers swear the coin is broken at exactly this point.
- Spinning isn't the same as flipping. Physicist Persi Diaconis showed a flipped coin lands heads about 51% of the time it starts heads-up — a tiny bias from the physics of the toss, not the coin itself.
The complete guide
Heads or tails: why the coin flip is the fairest decision-maker ever invented, the mental trap it sets for your brain, the real math of streaks, and two millennia of history.
Frequently asked questions
Is this online coin flip fair?
Yes. Each flip draws an unbiased bit from crypto.getRandomValues — your browser's cryptographic randomness — so heads and tails are each exactly 50% on every flip, and no flip influences the next.
What is the gambler's fallacy?
The mistaken belief that past results change future odds — e.g., thinking tails is "due" after five heads. A fair coin has no memory: after five heads in a row, the next flip is still exactly 50/50.
Can I use this coin flip for gambling or betting?
No. This tool is for fun and casual decision-making only — settling debates, picking teams, or choosing who goes first. Never use it for gambling, money decisions, or anything with real stakes.
What are the odds of flipping 5 heads in a row?
Each flip halves the chance, so 5 heads in a row is (1/2)⁵ = 1/32, about 3.1%. For 10 in a row it's 1/1,024 — roughly 0.1%.
If I flip 100 times, will I get exactly 50 heads?
Probably not exactly 50. The expected value is 50 heads with a standard deviation of 5, and the chance of landing on exactly 50 is only about 8%. Try the Flip 100× button and watch the result land near — but rarely on — 50.
How does the randomness work?
Each flip takes a single unbiased bit from crypto.getRandomValues, the same cryptographic source used for secure keys — far more unpredictable than basic pseudo-random functions. If the API is unavailable, it falls back to Math.random.
Related tools
More randomness and math tools:
