Coin Flip Probability Explained
Published
A fair, independent coin flip has a 50% chance of heads and a 50% chance of tails. When you flip more than once, the probability depends on whether you care about the number of heads, a particular ordering, or a sequence of consecutive outcomes.
What happens when you flip a coin twice?
Write H for heads and T for tails. With two independent fair flips, there are four equally likely ordered sequences:
| Sequence | Number of heads |
|---|---|
| HH | 2 |
| HT | 1 |
| TH | 1 |
| TT | 0 |
Each sequence has probability 1/4. Exactly one head occurs in two of them, so its probability is 2/4 = 50%. Both heads occurs in only one, with probability 25%. This difference is why a question about the count must not be confused with a question about a specific ordering.
The formula for exactly k heads
For n independent fair flips, there are 2^n equally likely ordered sequences. Choose the k positions that contain heads; the other positions must contain tails.
The number of ways to select those positions is the binomial coefficient:
C(n,k) = n! / [k! × (n−k)!]
The probability of exactly k heads is C(n,k) / 2^n. This is the fair-coin case of the binomial distribution described in the OpenStax statistics textbook and UC Berkeley’s statistics course materials. It also applies to tails by symmetry.
For ten flips and five heads:
- Compute C(10,5) = 252.
- Compute 2^10 = 1,024.
- Divide 252 by 1,024.
- Multiply by 100 to get 24.609375%.
There are 252 different orderings with exactly five heads. By contrast, the specific sequence HHHHHTTTTT has probability only 1/1,024.
Exactly, at least and at most
“Exactly” means one count. “At least” includes the specified count and every higher count. “At most” includes the specified count and every lower count.
Consider three flips. The counts of sequences with zero, one, two and three heads are 1, 3, 3 and 1 respectively.
| Event | Favorable sequences | Probability |
|---|---|---|
| Exactly 0 heads | 1 of 8 | 12.5% |
| Exactly 1 head | 3 of 8 | 37.5% |
| Exactly 2 heads | 3 of 8 | 37.5% |
| Exactly 3 heads | 1 of 8 | 12.5% |
| At least 1 head | 7 of 8 | 87.5% |
| At most 1 head | 4 of 8 | 50% |
For large n, use the probability calculator rather than listing every possible sequence. It adds exact integer counts before converting to a percentage.
Why a 50% probability does not guarantee a 50/50 split
The expected number of heads in n fair flips is n/2. In ten flips the expected count is five, but an actual experiment can produce zero through ten heads.
The standard deviation of the head count is the square root of n/4. With 100 flips, the expected count is 50 and the standard deviation is five. With 10,000 flips, those figures become 5,000 and 50. Absolute deviations can grow while the proportion of heads typically becomes closer to 50%.
Try the multiple coin flips simulator at 100 and 10,000 flips. Repeat each experiment several times. Compare the proportions instead of expecting every batch to balance exactly.
A useful shortcut: calculate the complement
Sometimes the event you do not want is simpler to count.
For at least one head in ten flips, the only excluded sequence is ten tails. Its probability is 1/1,024. Subtract from one to obtain 1,023/1,024.
For a streak, the complement is the event that the streak never occurs within the series. This is explained separately in our streak probability guide.
What the fair-coin model assumes
The calculations assume two possible outcomes, unchanged probabilities and independence. They do not account for the mechanics of a physical toss, a biased coin or a coin landing on its edge. Under the model, observing five tails does not make a head more likely on the next flip.
Use theoretical probability to describe possible results, not to predict the particular result of your next random trial.
Frequently asked questions
What is the probability of heads on one fair coin flip?
One half, or 50%. Tails has the same probability.
What is the probability of exactly five heads in ten flips?
252/1,024 = 63/256 = 24.609375%.
What is the probability of at least one head in ten flips?
1 − (1/2)^10 = 1,023/1,024, or 99.90234375%.
Are exactly 50 heads guaranteed in 100 flips?
No. Fifty is the expected count, not a guaranteed result.
Sources and further reading
Try it yourself
Use the free Coinflip.xyz tools.