Flip a coin

Click the coin or press Flip. Each flip is an independent 50/50 draw.

HT
Heads or tails?

Streak odds

Long streaks feel unlikely but are normal. The chance that the next n flips all match a given side is 1 ÷ 2n:

StreakChance (specific side)Either side
21 in 41 in 2
31 in 81 in 4
41 in 161 in 8
51 in 321 in 16
61 in 641 in 32
71 in 1281 in 64
81 in 2561 in 128
101 in 10241 in 512

In 100 flips, the longest run is usually around 6 or 7.

How the randomness works

Every result comes from your browser’s cryptographic random number generator (crypto.getRandomValues), the same source used for encryption keys. To turn random bits into a number in a range without bias, values that would make some outcomes slightly more likely are thrown away and redrawn (rejection sampling). Nothing is sent to a server.

Frequently asked questions

Is a real coin exactly 50/50?
Close. Studies of hand-flipped coins have found a slight bias toward the side that started facing up; a virtual coin has no such bias.
After five heads, is tails more likely?
No. Each flip is independent; believing otherwise is the gambler’s fallacy.