Coin Flip Probability Calculator

Coin Flip Probability Calculator

Find the chance of getting exactly, at least or at most a given number of heads in any number of flips, for a fair coin or a biased one.

P(k heads) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ

Up to 10,000 flips. Leave the chance of heads blank for a fair coin.

Enter the number of flips and the number of heads

What is Coin Flip Probability?

Coin flip probability is the chance of a particular number of heads across several flips. Each flip is independent, so the count of heads follows a binomial distribution.

Every sequence of 10 fair flips is equally likely, at 1 in 1,024. What differs is how many sequences give each total: only one gives 10 heads, but 252 give exactly 5. That's why totals near half are common and extremes are rare.

The same maths covers anything with two outcomes and a fixed chance: penalties scored, seeds germinating, customers who click. For those, enter the chance of "heads" as the success rate.

Coin Flip Probability Formula

Binomial formula as given in OpenStax Introductory Statistics, section 4.3. See Sources.

1. Count the sequences with k heads

C(n, k) = n! ÷ (k! × (n − k)!)

2. Multiply by the chance of each sequence

P(exactly k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ
Fair coin: P(exactly k) = C(n, k) ÷ 2ⁿ

3. Add up for "at least" and "at most"

P(at least k) = P(k) + P(k + 1) + … + P(n)
Mean = np · SD = √(np(1 − p))

For large n the calculator works in logarithms, so it stays accurate up to 10,000 flips.

Worked Example: 6 Heads in 10 Flips

Given:
A fair coin flipped 10 times. What's the chance of exactly 6 heads, and of at least 6?
Step 1:
Sequences with 6 heads:
C(10, 6) = 210, out of 2¹⁰ = 1,024
Step 2:
Exactly 6:
210 ÷ 1,024 = 0.2051
Step 3:
At least 6:
(210 + 120 + 45 + 10 + 1) ÷ 1,024 = 386 ÷ 1,024 = 0.3770
Result:
Exactly 6: 20.51%; at least 6: 37.70%

Six heads isn't evidence of a biased coin: it, or something more extreme, happens in more than a third of fair 10-flip runs.

Why Exactly Half Heads Gets Less Likely

With more flips, the share of heads settles near 50%, but hitting exactly half becomes rarer because there are more totals to land on.

Chance of exactly half heads and of 45–55% heads for different numbers of flips
FlipsExactly half45% to 55% heads
1024.61%24.61%
2017.62%49.66%
1007.96%72.87%
1,0002.52%99.86%

Common Coin Flip Mistakes

  • The gambler's fallacy. After five heads, the next flip is still 50/50. The coin has no memory, and tails isn't "due".
  • Forgetting the C(n, k) count. 0.5⁶ × 0.5⁴ is the chance of one particular sequence. There are 210 sequences with 6 heads, so multiply by 210.
  • Mixing up "at least" and "more than". "At least 6" includes 6; "more than 6" starts at 7. The difference is often the biggest single term.
  • Expecting exactly half. In 100 fair flips, exactly 50 heads happens only about 8% of the time.

Coin Flip Probability FAQs

Is a real coin flip really 50/50?

Very nearly. Diaconis and colleagues found a slight bias, about 51%, towards the side facing up at the start, from the way coins wobble in the air.

What’s the chance of 10 heads in a row?

0.5¹⁰ = 1 in 1,024. For streaks somewhere within a longer run of flips, use the coin toss streak calculator.

Is HHHHH less likely than HTHTH?

No. Any particular sequence of five fair flips has the same 1 in 32 chance. HTHTH just looks more “random”.

How do I test whether a coin is biased?

Flip it many times and see how surprising the count is. If heads at least as extreme as yours has under a 5% chance for a fair coin, that’s evidence of bias.

What does “at most” include?

At most k includes k itself and everything below it, down to zero heads.

Can I use this for things other than coins?

Yes, anything with two outcomes and a fixed chance. Enter the success rate as the chance of heads, such as 0.3 for a 30% conversion rate.

Why do the percentages for many flips look small?

With 1,000 flips there are 1,001 possible totals, so even the most likely one has only about a 2.5% chance. Ranges such as “450 to 550” are more useful.

How do I do this in Excel?

=BINOM.DIST(k, n, p, FALSE) for exactly k, and =1 − BINOM.DIST(k − 1, n, p, TRUE) for at least k.

Sources

Related Tools