Free Online Coin Toss
This is a free online coin toss for whenever you need to flip a coin and don't have one handy. Click the big coin, press Space, or hit the Flip the Coin button - the coin spins for about a second and lands on heads or tails. Every flip updates your live stats and saves to your browser, so you can flip a hundred times in a row and watch the long-run 50/50 split emerge in the chart.
How to Flip a Coin Online
- Click the coin - Or hit the Flip the Coin button, or press Space
- Watch it spin - The coin rotates several times and lands on either heads or tails
- Read the result - The result appears under the coin and is added to your stats
- Keep flipping - There is no flip limit. Stats and history are stored locally in your browser.
Prediction Mode
Turn on Prediction mode at the top of the page to call heads or tails before the flip. Two buttons replace the single Flip the Coin button - one for heads, one for tails. Click your call, the coin flips, and the result is judged against your prediction. A green "You called it!" means you matched; red "Missed" means you didn't. Over time the Call Win Rate stat converges to 50% against a fair coin, but in the short run it's a satisfyingly stupid hot-hand game.
What the Stats Show
- Flips - Total number of times you've tossed the coin on this device
- Heads / Tails - Running totals for each side
- Current Streak - How many of the same side just landed in a row
- Best Heads Run / Best Tails Run - The longest unbroken streak of each side
- Heads vs Tails Donut - Live proportion with the current heads % in the center
- Heads & Tails Counts - Bar chart of total flips per side
- Recent Flips - Last 60 flips as a strip of H/T cells, newest on the right
- Call Win Rate - (Prediction mode only) Wins divided by total calls
Is This Online Toss Random?
Yes. Each flip uses JavaScript's Math.random() to pick a uniform value, which maps to heads if it's below 0.5 and tails otherwise. Every flip is independent - the coin has no memory of what just happened. Over many flips your heads/tails counts converge toward 50/50, but any single flip is a true 50/50. A run of ten heads in a row does not make tails "due" - that's the gambler's fallacy.
How Long Can a Streak Get?
The probability of n heads in a row is 1 in 2n. So:
- 5 heads in a row - About 1 in 32 attempts
- 7 heads in a row - About 1 in 128
- 10 heads in a row - About 1 in 1,024 - rare but very possible over an evening of flipping
- 15 heads in a row - About 1 in 32,768 - hit one of these and you've got bragging rights
- 20 heads in a row - About 1 in 1,048,576 - functionally a lottery ticket
The Best Heads Run and Best Tails Run stats track your personal records.
What People Use a Coin Toss For
- Settling decisions - "Heads we get pizza, tails we get burgers"
- Sports kickoffs - The original use case for a coin toss
- Tie-breaking - Anywhere you need a fast, fair, binary decision
- Random sampling - Picking between two paths in a study
- Teaching probability - Watching the long-run 50/50 split appear is a great classroom demo
- Just because - Sometimes you want to flip a coin and there isn't one in the room
Where Your Stats Live
Everything on this page is stored in your browser's local storage. Nothing leaves your device. Use Reset Stats to wipe everything and start fresh.