Coin flipping is a perfect example of binomial probability. Each flip is independent, with two equally likely outcomes. The probability of getting heads on any single flip is always 0.5 (50%). This makes the coin flip the ideal starting point for understanding probability theory. Our coin flip probability calculator handles any number of flips and can compute exact, at-least, and at-most probabilities with a full distribution chart. The geometric distribution mode tells you the probability of getting your first heads on a specific flip, and the streak probability mode computes the chance of seeing a run of consecutive heads.

The Binomial Formula

P(k heads in n flips) = C(n,k) × 0.5n

Since p = 0.5, the formula simplifies to C(n,k) / 2n. The number of total possible sequences is 2n — for example, 10 flips have 2¹⁰ = 1,024 distinct sequences. Only one of those sequences is all heads (HHHHHHHHHH), giving P(all heads) = 1/1024 ≈ 0.098%.

The Geometric Formula

P(first heads on flip k) = 0.5k−1 × 0.5

The geometric distribution models how many flips it takes to get the first heads. You flip tails (probability 0.5) for the first k−1 flips, then heads on the kth flip. For example, P(first heads on flip 3) = 0.5² × 0.5 = 0.125 = 12.5%. The probability decreases geometrically: P(k=1)=50%, P(k=2)=25%, P(k=3)=12.5%, and so on.

Worked Examples

What's the probability of getting exactly 6 heads in 10 flips? C(10,6) = 210. So P = 210 / 2¹⁰ = 210 / 1024 = 0.2051 = 20.5%.

What is the probability of getting heads at least 8 times in 10 flips? This requires summing P(X=8) + P(X=9) + P(X=10) = C(10,8)/1024 + C(10,9)/1024 + C(10,10)/1024 = (45 + 10 + 1) / 1024 = 56/1024 ≈ 5.47%.

A common question is: what is the probability of getting heads at least once in 3 flips? The complement approach is easiest: P(at least one head) = 1 − P(no heads) = 1 − (0.5)³ = 1 − 0.125 = 0.875 = 87.5%.

For streaks: what's the probability of getting at least 3 consecutive heads in 10 flips? This requires a Markov chain approach and works out to approximately 50.8%. The streak probability rises quickly with more flips and falls with longer required streaks.

Law of Large Numbers

The law of large numbers states that as the number of flips increases, the observed proportion of heads converges to the expected 50%. After 10 flips, you might see 70% or 30% heads. After 1,000 flips, the proportion will almost certainly be very close to 50%.

Common Mistakes

  • The gambler's fallacy: After 9 heads in a row, the chance of heads on the 10th flip is still 50%. Coins have no memory.
  • Confusing "exactly k" with "at least k": "At least 6 heads" includes 6, 7, 8, 9, and 10 heads — a much larger probability than exactly 6.
  • Forgetting order doesn't matter: HTH and HHT are different sequences but count as the same number of heads.
Is a coin flip really 50/50?
For a fair coin, yes. Physical coins have a tiny bias (about 51% landing the same side up as it started), but mathematically we assume 50%.
What's the probability of getting all heads in 10 flips?
P(all heads) = (0.5)¹⁰ = 1/1024 ≈ 0.098%. It's very unlikely — about 1 in 1000.
What's the geometric distribution for coin flips?
P(first heads on flip k) = 0.5^(k−1) × 0.5. The chance of first heads on flip 1 is 50%, on flip 2 is 25%, on flip 3 is 12.5%, etc.
How does streak probability work?
Streak probability computes P(at least L consecutive heads in N flips) using a Markov chain model. For example, P(3 consecutive heads in 10 flips) ≈ 50.8%.

The coin flip is the simplest and most intuitive example of binomial probability. The probability of getting heads is always 50% on any fair coin, regardless of previous outcomes. This makes it the perfect teaching tool for understanding independence, the law of large numbers, and the gambler's fallacy.

In practical applications, the concept of binary outcomes with equal probability extends far beyond coins. Digital communication systems use binary symmetric channels modeled on coin flip probability. Cryptographic protocols rely on fair coin-like random number generation. Decision-making algorithms sometimes use coin-flip logic for random assignments.

Researchers use coin flip simulations to teach statistical concepts like hypothesis testing, p-values, and confidence intervals. The probability of getting all heads in 10 flips is 1/1024 ≈ 0.098%, demonstrating how unlikely extreme outcomes are even with fair processes.

Quick Facts

P(5 heads in 10) = 24.6%

P(≥1 head in 3) = 87.5%

P(all same, 5 flips) = 6.25%

Expected heads in 100 = 50