Work out the probability of getting a certain number of heads when you flip a coin several times. Choose how many times you flip, how many heads you want, and whether you need exactly that many or a range — and set the probability of heads if your coin is biased. The calculator uses the binomial probability formula to give the exact chance.
The coin flip probability calculator tells you the exact chance of getting a particular number of heads when you toss a coin a set number of times. Want to know the odds of flipping exactly 8 heads out of 10? Or getting at least 3 heads in 5 tosses? Or the probability of a biased coin landing heads more than half the time? This tool answers all of those questions instantly using the binomial probability formula — the same mathematics that underpins statistics, gambling odds, quality control, and scientific experiments.
You control everything: how many times you flip the coin, how many heads you are interested in, whether you want exactly that many or a range (at least, at most, more than, or fewer than), and even the probability that a single flip lands heads, so you can model unfair coins as easily as fair ones. Below, this page explains what coin flip probability is, the formula behind it, worked examples you can reproduce, and answers to the questions people ask most.
Every time you flip a fair coin, there are two equally likely outcomes: heads or tails, each with a probability of 0.5 (or 50%). A single flip is simple, but things get interesting when you flip the coin several times and ask about the combination of results. For example, in three flips the possible sequences are HHH, HHT, HTH, THH, HTT, THT, TTH, and TTT — eight equally likely outcomes in total. If you want to know the chance of getting exactly two heads, you count the sequences with two heads (HHT, HTH, THH — three of them) and divide by the total (eight), giving 3/8 = 0.375, or 37.5%.
Coin flips are the classic example of a Bernoulli trial — a random experiment with exactly two outcomes, usually labelled "success" and "failure." When you repeat identical, independent Bernoulli trials a fixed number of times and count the successes, the result follows a binomial distribution. That is exactly the situation with repeated coin flips, which is why the binomial formula is the heart of this calculator.
The probability of getting exactly k heads in n flips, when the probability of heads on a single flip is p, is given by the binomial probability formula:
P(X = k) = C(n, k) × pk × (1 − p)n−k
Here C(n, k) is the number of ways to choose k heads out of n flips, called the binomial coefficient, and it is calculated with factorials:
C(n, k) = n! ÷ (k! × (n − k)!)
where the exclamation mark means factorial (for example 5! = 5 × 4 × 3 × 2 × 1 = 120). The term pk is the chance of getting the k heads you want, (1 − p)n−k is the chance of the remaining flips being tails, and C(n, k) counts how many different orders those heads and tails can appear in.
For a fair coin, where p = 0.5, this simplifies beautifully. Since 0.5k × 0.5n−k = 0.5n = 1 / 2n, the formula becomes:
P(X = k) = C(n, k) ÷ 2n
In other words, for a fair coin you just count the favourable combinations and divide by the total number of possible outcomes, 2n.
Often you don't want the chance of an exact number of heads, but of a range. These are called cumulative probabilities, and you find them by adding up the individual exact probabilities. This calculator handles all five common cases:
For instance, the probability of at least 8 heads in 10 tosses of a fair coin is P(X = 8) + P(X = 9) + P(X = 10). Because the calculator sums the exact terms for you, you never have to work through the additions by hand.
Suppose you flip a fair coin 10 times and want the probability of getting exactly 8 heads. Using the fair-coin form of the formula:
P(X = 8) = C(10, 8) ÷ 210 = 45 ÷ 1024 ≈ 0.0439 = 4.39%
There are 45 different ways to arrange 8 heads among 10 flips, out of 1,024 total possible sequences, so the chance is about 4.39%. This is the calculator's default result — press Calculate to see it, then change the numbers to explore other scenarios.
Now suppose you want the probability of getting at least 8 heads in those same 10 flips. You add the exact probabilities for 8, 9, and 10 heads:
P(X ≥ 8) = 45/1024 + 10/1024 + 1/1024 = 56/1024 ≈ 0.0547 = 5.47%
So there is roughly a 5.47% chance of getting 8 or more heads in 10 tosses of a fair coin. Notice how much rarer extreme results become: a run of 8, 9, or 10 heads together happens only about one time in eighteen sets of ten flips.
The calculator isn't limited to fair coins. Imagine a weighted coin that lands heads 60% of the time (p = 0.6), and you flip it 5 times wanting exactly 3 heads. The full binomial formula gives:
P(X = 3) = C(5, 3) × 0.63 × 0.42 = 10 × 0.216 × 0.16 = 0.3456 = 34.56%
So there is a 34.56% chance of exactly 3 heads with this biased coin. Simply set the "Probability of heads" field to 0.6 to reproduce this result and try your own biased-coin questions.
A crucial idea behind these calculations is independence: the result of one flip has no effect on the next. A coin has no memory. If you flip five heads in a row, the probability of heads on the sixth flip is still exactly 0.5, not lower "because tails is due." Believing otherwise is the famous gambler's fallacy. Independence is what allows us to multiply the probabilities of individual flips together, and it is a built-in assumption of the binomial distribution. As long as the coin and the flipping method don't change from toss to toss, every flip is a fresh, independent 50-50 (or p-to-(1−p)) event.
If you list the probabilities of getting 0, 1, 2, ... up to n heads, they form the familiar bell-like shape of the binomial distribution. For a fair coin the distribution is symmetric, peaking at the middle (n/2 heads) and tailing off toward the extremes of all-heads or all-tails. This is why getting a result close to half heads is common, while getting almost all heads or almost all tails is rare. As the number of flips grows, the distribution becomes smoother and, thanks to the central limit theorem, increasingly resembles the normal (Gaussian) bell curve — a deep connection between the humble coin toss and much of modern statistics.
Though it starts with a simple coin, the binomial model appears everywhere. Quality-control engineers use it to find the probability that a batch contains a certain number of defective items. Medical researchers use it to judge whether a treatment's success rate differs from chance. Pollsters and A/B testers use it to reason about yes/no responses. Genetics uses it to predict the number of offspring with a particular trait. Even in everyday life, understanding coin flip probability helps you reason about streaks, fairness, and luck — for example, recognising that a "hot streak" of heads is entirely consistent with a fair coin, or working out whether a game that decides things by coin toss is truly even. Any situation with repeated independent yes/no trials is, at heart, a coin flip problem.
The biggest misconception is the gambler's fallacy already mentioned — the belief that past flips influence future ones. Closely related is the idea that in a long run of flips the counts of heads and tails must be nearly equal at every moment; in fact, while the proportion tends toward 50-50 over many flips, the raw difference between heads and tails counts can actually grow. Another mistake is confusing the probability of a specific sequence with the probability of a count: any specific sequence of 10 flips has probability 1/1024, but the probability of "5 heads in some order" is much higher because many sequences produce that count. Finally, people often underestimate how likely streaks are — in just 10 flips, a run of several heads or tails in a row is quite common. Keeping these distinctions clear is exactly what the binomial formula, and this calculator, make easy.
Probability can be expressed in several equivalent ways, and it helps to be comfortable switching between them. A decimal probability runs from 0 (impossible) to 1 (certain); a percentage is just that decimal multiplied by 100; and odds express the same idea as a ratio. For example, the chance of exactly 8 heads in 10 fair flips is 0.0439 as a decimal, 4.39% as a percentage, and roughly "1 in 23" as odds against. This calculator shows the result as both a percentage and a decimal, and also expresses it as a "1 in N" figure, so you can pick whichever form is clearest for your purpose. Gamblers tend to think in odds, scientists in decimals, and everyday readers in percentages — but they all describe the same underlying likelihood, and converting between them is simply a matter of multiplying or dividing.
To get a meaningful answer, make sure the number of heads you ask about is possible given the number of flips — asking for exactly 12 heads in 10 flips will correctly return a probability of zero, since it cannot happen. Enter the probability of heads as a decimal, not a percentage: type 0.5 for a fair coin, not 50. If you are modelling a biased coin, double-check whether your figure is the probability of heads or of tails, because swapping them changes the result. For very large numbers of flips the individual probabilities become extremely small, so the calculator reports them with several significant figures; a result shown as a tiny percentage is still exact, just rare. Finally, remember that these are theoretical probabilities: a real experiment of, say, 10 flips will rarely land exactly on the predicted count, but over many repetitions the observed frequencies settle toward these values.
For a fair coin it is 0.5, or 50%. Each flip is independent, so this never changes no matter what came before.
For a fair coin it is (1/2)ⁿ. For example, all heads in 5 flips is (1/2)⁵ = 1/32 ≈ 3.13%. For 10 flips it drops to 1/1024 ≈ 0.098%.
Use the binomial formula P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ. For a fair coin it simplifies to C(n, k) ÷ 2ⁿ.
Yes. Just set the "Probability of heads" field to your coin's actual chance of heads (for example 0.6 for a coin that favours heads), and the full binomial formula is applied.
No. Coin flips are independent, so the next flip is still 50-50 for a fair coin. Thinking otherwise is the gambler's fallacy.
"At least k" includes exactly k heads (k, k+1, ..., n), while "more than k" excludes it (k+1, ..., n). Similarly, "at most k" includes k, and "fewer than k" excludes it.
This Coin Flip Probability Calculator is provided for educational purposes. It computes exact binomial probabilities assuming independent flips and the probability of heads you enter. Real coins are very close to fair but not perfectly so, and physical flipping introduces tiny biases, so treat results as the ideal theoretical values.