Coin Flip Probability

Calculate probability of getting exactly k heads in n flips.

Result:

--

Heads or Tails: The Math Behind the Flip

A coin flip is the universal symbol of randomness. It settles disputes, starts football games, and decides who buys dinner. But while a single flip is pure chance (50/50), a series of flips is governed by complex laws of probability. If you flip a coin 10 times, what are the odds you get exactly 5 heads? Or what are the odds you get 10 heads in a row? Our Coin Flip Probability Calculator uses the binomial distribution formula to give you the exact mathematical answers to these questions.

This guide explains the difference between theoretical and experimental probability, why "streaks" fool our brains, and the formula behind the calculations.

The 50/50 Myth

We all "know" a coin flip is 50/50. And for a single flip, assuming a fair coin, it is. But when you start stringing them together, things get interesting.
Question: If you flip a coin 10 times, is getting 5 Heads and 5 Tails the most likely outcome?
Answer: Yes, it is the most likely outcome (~24.6% chance), but it is far from guaranteed. In fact, you are much more likely (75.4%) to get something else (like 4-6, or 6-4).
Wait, what?
This is because there are 1,024 total possible combinations when you flip a coin 10 times. Only 252 of those combinations result in exactly 5 heads.

The Formula: Binomial Distribution

To calculate the odds of getting exactly $k$ successes (heads) in $n$ trials (flips), we use this intimidating but beautiful formula:

$P(X=k) = \binom{n}{k} p^k (1-p)^{n-k}$

Where:
$\binom{n}{k}$ is "n choose k" (the number of ways to arrange the heads).
$p$ is the probability of heads (0.5 for a fair coin).
$(1-p)$ is the probability of tails (also 0.5).

The Gambler's Fallacy

If you flip a coin and get 5 heads in a row, what is the chance the next one is tails?
Common Intuition: "It's due for a tails! The odds must be higher."
Mathematical Reality: It is still exactly 50%. The coin has no memory.
Calculating the probability of a future streak uses multiplication ($0.5 \times 0.5 \times 0.5...$), but once the past flips have happened, they vanish. They do not influence the next flip.

Real-World Examples

1. The "Perfect Game" Odds:
What are the odds of getting 10 heads in a row?
Calculation: $(1/2)^{10} = 1/1024$ or roughly 0.09%.

2. The Majority Rule:
If you flip 100 times, you expect roughly 50 heads. But deviations are normal. Getting 60 heads is plausible. Getting 90 heads suggests your coin is rigged.

Conclusion

Probability is the study of predicting the unpredictable. While you can't control the outcome of the next toss, you can predict the long-term behavior of the coin. Use this calculator to solve homework problems, settle bets, or just marvel at the laws of large numbers.