Coin Flip

Flip a virtual coin once or run thousands of flips at a time and see the running totals.

Calculations happen locally. We do not send your values to our server.

Example

Each flip is 50% heads. In 10 flips, exactly 5 heads happens only about 24.61% of the time, and in 100 flips exactly 50 heads has a probability of just 7.96%.

Calculation method

Every flip chooses heads or tails with equal probability using the browser’s secure randomness, and earlier flips have no influence on the next one. You can flip once for a quick decision or run up to 10,000 flips at a time.

Important notes

Uneven totals in small samples are ordinary randomness, not evidence of a biased coin. A physical coin can be slightly unfair because of how it is flipped or caught, while this virtual flip has no physical side; for settling bets or disputes, agree on the method before flipping.

Each flip is 50/50 and independent

Every flip chooses heads or tails with equal probability using secure randomness, and earlier flips have no influence on the next one. After five heads in a row, the chance of heads on the sixth flip is still 50%. Believing that tails is “due” is known as the gambler’s fallacy. You can flip once for a quick decision or run up to 10,000 flips at a time to see how the totals behave over many trials.

An exact half is less likely than you think

In 10 flips, exactly 5 heads happens only about 24.61% of the time, and 10 heads in a row happens about 0.1% of the time. In 100 flips, getting exactly 50 heads has a probability of just 7.96%. What becomes very likely is being close: between 40 and 60 heads occurs 96.48% of the time. Uneven totals in small samples are normal randomness, not evidence that the coin or generator is biased.

When a result looks suspicious

Large samples make real bias easier to detect. With a fair coin, 60 or more heads in 100 flips occurs only about 2.84% of the time, so a result like that is unusual but still possible. Repeat the test with more flips before drawing conclusions. A physical coin can be slightly unfair because of how it is flipped or caught, while this virtual flip has no physical side. For settling bets or disputes, agree on the method before flipping.

Worked examples
InputResult
1 flip · heads50%
10 flips · exactly 5 heads24.61%
10 flips · all heads0.1%
100 flips · exactly 50 heads7.96%
100 flips · 40 to 60 heads96.48%
100 flips · 60 or more heads2.84%

Frequently asked questions

After five heads, is tails “due”?

No. Each flip is independent, so the chance of heads on the sixth flip is still 50%. Expecting the other side because a run has happened is known as the gambler’s fallacy, and it holds whether the coin is real or simulated.

Why is an exact half so rare?

Because there are many more ways to land near half than exactly on it. In 100 flips, exactly 50 heads has a probability of 7.96%, while landing between 40 and 60 heads happens 96.48% of the time. Being close is likely; being exact is not.

When does a result look genuinely odd?

When it stays extreme over many flips. With a fair coin, 60 or more heads in 100 flips occurs only about 2.84% of the time, and 10 heads in a row about 0.1% of the time — unusual but still possible. Repeat with more flips before drawing conclusions.

Related tools