Ad Space
Probability

As Fraction
1 in...
Ad Space

How to Calculate Coin Flip Probability

Every flip of a fair coin is an independent event with exactly two equally likely outcomes, so the probability of heads on any single flip is always P=0.5P = 0.5, no matter what happened on previous flips. When you flip multiple times and want to know the chance of an exact number of heads, the calculation uses the binomial probability formula, which accounts for every possible order the heads and tails could land in: P(k heads in n flips)=(nk)×0.5k×0.5nkP(k \text{ heads in } n \text{ flips}) = \binom{n}{k} \times 0.5^k \times 0.5^{n-k}

n: the total number of flips.

k: the number of heads you're solving for.

\binom{n}{k}: "n choose k," the number of different orders k heads can appear among n flips.

Exactly k vs. At Least k

"Exactly k heads" uses the formula above on its own. "At least k heads" is broader — it's the sum of the probabilities of getting exactly k, exactly k+1, exactly k+2, and so on up through exactly n heads, since any of those outcomes clears the "at least" bar. Because it includes more outcomes, "at least k" is never smaller than "exactly k" for the same n and k, and the two are only equal when k = n (there's no way to exceed "all of them").

Streaks: Getting Heads Several Times in a Row

A "streak" of k heads in a row is just the special case where the number of flips equals the number of heads you want (n = k) with the "Exactly" condition — every flip in the sequence has to land heads, so the probabilities simply multiply: 0.5×0.5×=0.5n0.5 \times 0.5 \times \cdots = 0.5^n. Three heads in a row is 0.53=1/8=12.5%0.5^3 = 1/8 = 12.5\%; five heads in a row drops to 0.55=1/323.1%0.5^5 = 1/32 \approx 3.1\%. Each additional flip in the streak cuts the probability in half.

The Gambler's Fallacy

A coin has no memory. After flipping heads five times in a row, it's tempting to feel like tails is "due" — but the sixth flip is still exactly 50/50, completely unaffected by the streak that came before it. This mistaken belief that past independent outcomes influence future ones is called the gambler's fallacy, and it's one of the most common and persistent errors in probabilistic reasoning, showing up everywhere from casino betting patterns to stock market predictions. The streak calculation above tells you how unlikely a run of five heads was to happen in the first place (about 3%) — it says nothing about what the sixth flip will do, because that's a separate, independent event with its own fresh 50/50 odds.

Worked Examples

  1. Classic 3-in-a-row. Flip a coin 3 times — probability all 3 land heads? n=3n=3, k=3k=3, Exactly: (33)×0.53×0.50=1×0.125=12.5%\binom{3}{3} \times 0.5^3 \times 0.5^0 = 1 \times 0.125 = 12.5\%.
  2. Exactly 2 of 4. Flip 4 times — probability of exactly 2 heads? (42)×0.52×0.52=6×0.25×0.25=37.5%\binom{4}{2} \times 0.5^2 \times 0.5^2 = 6 \times 0.25 \times 0.25 = 37.5\% — the most likely single outcome for 4 flips, since it's the most "balanced" split.
  3. At least 1 head in 5 flips. n=5n=5, k=1k=1, At Least: easiest via the complement, 1P(0 heads)=10.55=10.03125=96.875%1 - P(\text{0 heads}) = 1 - 0.5^5 = 1 - 0.03125 = 96.875\%.
  4. At least 7 heads in 10 flips. Sums the exact-k terms for k = 7, 8, 9, 10: (107)0.510+(108)0.510+(109)0.510+(1010)0.510=(120+45+10+1)/1024=176/102417.2%\binom{10}{7}0.5^{10} + \binom{10}{8}0.5^{10} + \binom{10}{9}0.5^{10} + \binom{10}{10}0.5^{10} = (120+45+10+1)/1024 = 176/1024 \approx 17.2\%.
  5. All tails, 6 flips. Same math as an all-heads streak, since each side has the same 50% odds: 0.56=1/641.6%0.5^6 = 1/64 \approx 1.6\%.

Coin Flip Terms You Should Know

Independent Event — an event whose outcome doesn't affect, and isn't affected by, any other event; each coin flip is independent of every other flip.

Binomial Distribution — the probability distribution describing the number of successes (heads) across a fixed number of independent yes/no trials, each with the same success probability.

Complement — the probability of an event not happening, equal to 1 minus the probability that it does; often the fastest route to an "at least one" answer.

Streak — a run of consecutive identical outcomes; its probability is the per-outcome probability raised to the length of the run.

Frequently Asked Questions

What are the odds of getting heads 3 times in a row?

0.5 raised to the 3rd power, or 1/8 = 12.5%. Each flip is independent, so the probabilities multiply: 0.5 × 0.5 × 0.5 = 0.125.

Is a coin flip really 50/50?

For an idealized fair coin, yes — each flip has an independent 50% chance of heads and 50% chance of tails. Real coins can have a tiny physical bias, but it's small enough to ignore for virtually every practical purpose.

Does a coin "remember" previous flips?

No. Each flip is a fresh, independent event — the coin has no memory. After 5 heads in a row, the next flip is still exactly 50/50, not "due" for tails. Believing otherwise is a well-known reasoning error called the gambler's fallacy.

What's the difference between "exactly" and "at least"?

"Exactly k" counts only outcomes with precisely k heads. "At least k" adds in every outcome with more heads too, so it's always a larger probability than "exactly k" for the same k and number of flips.

Ad Space