Coin Flip

Heads or tails, with a running tally of the results.

About the coin flip

Heads or tails, animated, with a running tally underneath and the longest streak recorded. You can flip once, ten times or a hundred times at once, and the last two dozen results stay visible as a strip.

Each flip is an independent draw from the browser's cryptographic random source, so the odds are exactly even every time.

What the tally quietly demonstrates

Flip enough times and the tally becomes a neat lesson in how slowly randomness converges. Streaks of five or six identical results are completely ordinary — in a hundred flips, a run of at least five is more likely than not. The ratio only settles convincingly near 50/50 after several hundred flips.

This is where the gambler's fallacy lives: after six heads, tails is not "due". The coin has no memory, and the next flip remains exactly 50/50. What actually happens over time is not that the count evens out, but that early imbalance is diluted by the growing number of flips.

Frequently asked questions

Is an online coin flip truly 50/50?

Yes. Each flip draws from your browser's cryptographic random number generator with an even split, so heads and tails are exactly equally likely and no flip is influenced by the ones before it.

Is a real coin toss exactly fair?

Not quite. Research by Persi Diaconis and colleagues found a caught coin lands on the same face it started on roughly 51% of the time, because of how it precesses in the air. A digital flip has no such bias.

Why did I get six heads in a row?

Because that is entirely normal. The chance of six identical results in a row is about 1 in 32 for any given starting point, so across a long run of flips such streaks appear regularly.

Can I flip a coin multiple times at once?

Yes — the ×10 and ×100 buttons run that many flips instantly and add them all to the tally, which is the quickest way to watch the ratio converge.