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.
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.
Binomial formula as given in OpenStax Introductory Statistics, section 4.3. See Sources.
For large n the calculator works in logarithms, so it stays accurate up to 10,000 flips.
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.
With more flips, the share of heads settles near 50%, but hitting exactly half becomes rarer because there are more totals to land on.
| Flips | Exactly half | 45% to 55% heads |
|---|---|---|
| 10 | 24.61% | 24.61% |
| 20 | 17.62% | 49.66% |
| 100 | 7.96% | 72.87% |
| 1,000 | 2.52% | 99.86% |
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.
0.5¹⁰ = 1 in 1,024. For streaks somewhere within a longer run of flips, use the coin toss streak calculator.
No. Any particular sequence of five fair flips has the same 1 in 32 chance. HTHTH just looks more “random”.
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.
At most k includes k itself and everything below it, down to zero heads.
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.
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.
=BINOM.DIST(k, n, p, FALSE) for exactly k, and =1 − BINOM.DIST(k − 1, n, p, TRUE) for at least k.
Related Tools
Basic probability calculations.
P(A|B) calculations.
P(A and B) calculations.
Three event probabilities.
Conditional probability.
Probability-weighted average.