Virtual Coin Flip

Flip a fair coin online - once or a thousand times

Flip a fair virtual coin once, or many times to see the heads/tails tally, percentage and longest streak.
Try an example:

Output will appear here...

About Virtual Coin Flip

How it works

  1. Each flip uses your browser's secure random generator, giving exactly 50% heads and 50% tails odds.
  2. With many flips you get the sequence (H/T), the totals, the percentage of heads and the longest run of the same side.

What you need

  • Nothing - choose how many flips.

Tips

  • Flip 100 or 1,000 times to see the law of large numbers: the percentage drifts towards 50%.
  • Long streaks are normal: in 100 flips a run of 6 or 7 is common.

Limitations

  • At most 1,000 flips at once.

Runs in your browser. Everything runs in your browser; nothing you enter is sent anywhere.

Frequently asked questions

Is this coin flip really 50/50?+

Yes. It uses a cryptographically secure random generator, so heads and tails are exactly equally likely and each flip is independent.

Why did I get 5 heads in a row?+

Streaks are a normal part of randomness. The chance of 5 heads in a row is 1 in 32, so in 100 flips it usually happens at least once.

Is a real coin fair?+

Almost - studies suggest a tossed coin lands on the side it started on about 51% of the time. A virtual coin has no such bias.

Can I use it to make decisions?+

Of course. A tip: if you feel disappointed by the result, that tells you what you really wanted.