Coin Flip

Flip a fair virtual coin for heads or tails, once or up to 1,000 coins at a time, and watch a running tally of heads, tails and the heads share. Every flip uses your browser's secure random generator. The tool is free, needs no sign-up and uploads nothing.

Coin FlipPrivate · runs on your device
Ready
Settings
Last results (H = heads, T = tails)

Keyboard: press Space to flip. Flip 1,000 coins at once to watch the share settle near 50%.

How to use the coin flip

The coin needs no setup. The only setting is how many coins to flip with one press.

  1. Leave Coins to flip at 1 for a single decision, or type a whole number from 1 to 1,000 to flip a batch in one go.
  2. Press Flip the coin, click the coin itself, or press the Space bar. The coin spins for a second or so.
  3. Read the result under the coin. One flip reads Heads or Tails. A batch reads something like 529 heads and 471 tails, and the coin comes to rest showing the last flip of the batch.
  4. Check the tally: Heads, Tails, Flips and Heads share. The totals keep growing from press to press until you choose Reset tally.
  5. Look at the strip of H and T dots, which shows up to the last 60 results in order, so you can see runs as they happen.

Agree what heads and tails mean before you flip, for example heads means the first option. Nothing is saved, so refreshing the page starts again from zero.

Why the flip is fair, and what streaks look like

Each flip asks the browser's secure random number generator for a number, then uses rejection sampling, which discards any value that would favor one outcome. The result is exactly 50 percent heads and 50 percent tails, and every flip is independent. The coin has no memory of what came before.

Independence is why streaks are normal. For any chosen run of flips, the chance of all heads is one half multiplied by itself once per flip:

Heads in a rowChance for a fixed set of flips
225%
312.5%
46.25%
53.1% (1 in 32)
100.1% (1 in 1,024)

Those odds describe one particular stretch. Over a long session a run is likely somewhere: across 100 flips there is about an 81 percent chance of at least one run of five or more heads, and about a 97 percent chance of a run of five or more of the same side.

Large batches show the law of large numbers. Flip 1,000 coins and you expect 500 heads, with a standard deviation of about 16 (the square root of 1,000 x 0.5 x 0.5). About 70 percent of batches land between 484 and 516 heads, and about 96 percent between 468 and 532. Exactly 500 heads happens only about 2.5 percent of the time. A batch of 529 heads and 471 tails is 29 away from even, which turns up in roughly 7 percent of batches, so it is not evidence of a rigged coin.

Common mistakes and sensible uses

The classic mistake is the gambler's fallacy: believing that after five heads, tails is due. It is not. The next flip is 50 percent, exactly as it was before. The opposite mistake is reading a short run as proof of bias. After only 10 flips, seven or more heads happens about 17 percent of the time with a perfectly fair coin, so watch the Heads share swing widely at first and settle only as the flips pile up. Even then the raw gap between heads and tails tends to grow while the share narrows toward 50 percent.

Be honest about the limits. It is a fair coin only, with no option to bias it, and nothing is saved or shareable. It leaves no audit trail, so it is not suitable for settling a contest with real stakes or for gambling outcomes with money on a regulated platform. It suits kick-offs, turn order, tie-breaks and everyday decisions between two choices.

Quick answers

Frequently asked questions

The questions people ask most, answered in plain words.

Is the online coin flip really 50/50?

Yes. Each flip takes a number from your browser's secure random generator and uses rejection sampling, so heads and tails are exactly equally likely. Flips are independent, which means earlier results never change the odds of the next one.

Can I flip more than one coin at once?

Yes. Type any whole number from 1 to 1,000 in the Coins to flip box and press Flip the coin. The result shows the totals, such as 529 heads and 471 tails, the coin shows the last flip, and the tally adds the whole batch.

Why do I get so many heads or tails in a row?

Streaks are a normal feature of random flips. Five heads in a row has a 1 in 32 chance for any fixed set of flips, but across 100 flips a run of five or more of the same side is very likely, around 97 percent.

If I flip 1,000 coins, will I get exactly 500 heads?

Almost never. Exactly 500 heads happens about 2.5 percent of the time. About 70 percent of batches land between 484 and 516 heads, so the share sits near 50 percent but the exact count wanders, which is what a fair coin should do.

Is my flip history stored or sent anywhere?

No. Everything runs in your browser and nothing is uploaded or saved. The tally and the strip of recent results live only in the open page, so refreshing it or pressing Reset tally clears them straight away.