Skip to content
Calcora

Coin Flip Probability Calculator

Odds of getting at least one heads across a number of fair coin flips.

Input sheet

Browse DIY guidesDo the project yourself, step by step

DIY at your own risk. Calcora's calculators and guides are general estimates and information only — not professional, engineering, legal, or safety advice. Always verify local building codes and permit requirements, and hire a licensed pro for electrical, gas, plumbing, structural, or any work you're not fully comfortable doing yourself.

This calculator answers a classic probability question: if you flip a fair coin several times, what are the odds of getting at least one heads somewhere in the run? It is the cleanest way to see how quickly a rare-per-flip event becomes near-certain once you repeat the flip enough times.

How it works

P(no heads) = (½)ⁿ, so P(at least one heads) = 1 − (½)ⁿ for n fair flips.

The trick is to flip the question around. Computing the chance of "at least one heads" directly across many flips is messy, but its opposite — getting no heads at all, meaning every single flip lands tails — is easy. Each flip has a ½ chance of tails, and independent flips multiply, so the chance of all tails is one-half raised to the power of the number of flips. Subtract that from 1 (a 100% certainty) to get the chance of at least one heads.

The calculator also shows the total number of equally likely outcomes, which is two raised to the number of flips. With five flips there are 32 possible heads/tails sequences, and only one of them — TTTTT — contains no heads at all, which is exactly why the "at least one heads" probability climbs so high.

Probability of at least one heads = 1 − (½ raised to the number of flips). The chance of all tails is (½ raised to the number of flips), and the total number of outcomes is 2 raised to the number of flips.

Worked examples

Tips & gotchas

FAQ

Why calculate the chance of all tails instead of heads directly?

Counting every way to get one-or-more heads is tedious, but there is only one way to get no heads at all — every flip tails. Finding that single case and subtracting it from 100% is far simpler and gives the same answer.

Does the order of heads and tails matter here?

No. "At least one heads" only cares whether a heads appears anywhere in the sequence, not where. The total-outcomes count (2 to the power of the flips) does treat each ordered sequence separately, which is why it grows so quickly.

What happens to the odds as I add more flips?

The chance of at least one heads rises toward 100% but never quite reaches it. Each extra flip halves the remaining all-tails probability, so the gap to certainty shrinks fast but stays slightly open.

Does this work for a biased or unfair coin?

Not as written. The formula uses ½ for tails on every flip, which assumes a perfectly fair coin. A biased coin needs its actual tails probability substituted in place of ½.

Related calculators

Unit Price Calculator · Dog Age Calculator · Age Calculator · Date Difference Calculator · Fuel Cost Calculator