Skip to main content

Coin Toss Probability Calculator

Calculate the probability of getting a specific sequence of heads and tails in multiple flips. Enter values for instant results with step-by-step formulas.

Skip to calculator
Gaming & Probability

Coin Toss Probability Calculator

Calculate the probability of getting a specific number of heads or tails in multiple coin flips using binomial distribution.

Last updated: December 2025

Calculator

Adjust values & calculate
Exactly 5 Heads in 10 Flips
24.6094%
1 in 4.1 odds
At Least 5 Heads
62.3047%
At Most 5 Heads
62.3047%
Expected Heads
5.0
Standard Deviation
1.58
All Heads Probability
0.097656%
All Tails Probability
0.097656%

Probability Distribution

0 heads
0.10%
1 heads
0.98%
2 heads
4.39%
3 heads
11.72%
4 heads
20.51%
5 heads
24.61%
6 heads
20.51%
7 heads
11.72%
8 heads
4.39%
9 heads
0.98%
10 heads
0.10%
Your Result
Exactly 5 heads in 10 flips: 24.6094% | At least: 62.3047%
Share Your Result
Understand the Math

Formula

P(X = k) = C(n,k) x p^k x (1-p)^(n-k)

Where P(X = k) is the probability of exactly k heads, C(n,k) is the binomial coefficient (number of combinations), n is the number of flips, k is the desired number of heads, p is the probability of heads per flip (0.5 for a fair coin), and (1-p) is the probability of tails.

Last reviewed: December 2025

Worked Examples

Example 1: Probability of Exactly 7 Heads in 10 Flips

What is the probability of getting exactly 7 heads when flipping a fair coin 10 times?
Solution:
Using binomial probability: P(X = 7) = C(10,7) x 0.5^7 x 0.5^3 C(10,7) = 10! / (7! x 3!) = 120 P = 120 x 0.0078125 x 0.125 = 0.1172 Probability = 11.72% Odds: about 1 in 8.5
Result: Exactly 7 heads: 11.72% probability | At least 7 heads: 17.19%

Example 2: Biased Coin - 6 Heads in 8 Flips

A coin is biased 60% toward heads. What is the probability of getting exactly 6 heads in 8 flips?
Solution:
P(X = 6) = C(8,6) x 0.6^6 x 0.4^2 C(8,6) = 28 0.6^6 = 0.046656 0.4^2 = 0.16 P = 28 x 0.046656 x 0.16 = 0.2090 Probability = 20.90%
Result: Exactly 6 heads (biased coin): 20.90% | Expected heads: 4.8
Expert Insights

Background & Theory

The Coin Toss Probability Calculator applies the following established principles and formulas. Probability theory provides the mathematical foundation for analysing all games of chance. The fundamental measure assigns a probability between 0 and 1 to each outcome by dividing the count of favourable outcomes by the count of equally likely total outcomes. Rolling a standard six-sided die produces a 1/6 probability for each face; the probability that a fair coin lands heads exactly three times in five tosses follows the binomial distribution with parameters n=5 and p=0.5. Expected value (EV) is the probability-weighted average outcome of a random variable: EV equals the sum of each outcome multiplied by its probability. A fair coin flip paying $1 for heads and costing $1 for tails has EV of zero. Casino games are designed with negative expected value for the player; the house edge is the casino's average percentage profit per bet. European roulette with a single zero has a house edge of 2.7 percent, while American roulette's double zero raises it to 5.26 percent. Poker hand probabilities derive from combinatorics. From a 52-card deck, the number of distinct 5-card hands is C(52,5) = 2,598,960. A royal flush can occur in only 4 ways, giving it a probability of approximately 0.000154 percent. Blackjack basic strategy tables, derived from computer simulation of millions of hands, reduce the house edge from roughly 2 percent to below 0.5 percent by specifying the optimal hit, stand, double, or split decision for every player hand against every dealer up-card. Sports betting implied probability converts decimal odds to a probability estimate: implied probability equals 1 divided by decimal odds. Odds of 2.5 imply a 40 percent probability. The Kelly Criterion provides the theoretically optimal bet fraction: f equals (bp minus q) divided by b, where b is the net odds received, p is the probability of winning, and q is the probability of losing. This formula maximises the long-run geometric growth rate of a bankroll.

History

The history behind the Coin Toss Probability Calculator traces back through the following developments. Physical evidence of dice play dates to around 2500 BCE at the Indus Valley city of Mohenjo-daro, where excavators found carved cubic astragali remarkably similar to modern dice. Ancient Egyptian, Greek, and Roman cultures all incorporated dice games into both leisure and religious ritual, suggesting gambling emerged independently across early civilisations as a universal human impulse. The first systematic attempt to mathematically analyse games of chance came from Gerolamo Cardano, the Italian polymath who wrote "Liber de Ludo Aleae" (Book on Games of Chance) around 1564. Cardano derived correct probabilities for dice combinations and introduced the concept of sample space, though his work remained unpublished until 1663. The field transformed into a rigorous discipline through correspondence in 1654 between Blaise Pascal and Pierre de Fermat prompted by a gambling problem posed by the Chevalier de Mere. Their exchange established the rules of probability, including the concept of expected value. Jacob Bernoulli's "Ars Conjectandi" (1713) formalised the law of large numbers, proving that sample frequencies converge to true probabilities as trials increase. The 20th century brought two pivotal developments. Stanislaw Ulam and John von Neumann devised Monte Carlo simulation methods in 1947 while working at Los Alamos, showing that complex probabilistic systems could be analysed by random sampling. Game theory and poker strategy developed in parallel, with John von Neumann's minimax theorem providing early foundations and later work by game theorists formalisingrational play under incomplete information. Online gambling launched in the mid-1990s following the passage of the Free Trade and Processing Act in Antigua in 1994, which issued the first online casino licences. The Unlawful Internet Gambling Enforcement Act of 2006 disrupted US online gambling markets. Esports betting and video game loot box mechanics brought probability and expected value calculations to younger audiences in the 2010s, prompting regulatory scrutiny of randomised virtual reward systems across multiple jurisdictions.

Share this calculator

Explore More

Frequently Asked Questions

The probability of getting exactly k heads in n coin tosses follows the binomial probability distribution. The formula is P(X = k) = C(n,k) times p raised to the power k times (1-p) raised to the power (n-k), where C(n,k) is the binomial coefficient representing the number of ways to choose k successes from n trials, p is the probability of heads on a single toss (0.5 for a fair coin), and (1-p) is the probability of tails. For example, the probability of getting exactly 3 heads in 5 flips of a fair coin is C(5,3) times 0.5 to the fifth power, which equals 10 times 0.03125, giving a probability of 31.25 percent.
A fair coin has an equal probability of landing on heads or tails, with each outcome having a 50 percent chance. In reality, perfectly fair coins do not exist due to slight asymmetries in weight distribution and design. A biased coin has unequal probabilities for heads and tails. For instance, a coin biased 60 percent toward heads will land on heads six out of ten times on average. The bias can be intentional, as in loaded coins used for demonstration purposes, or natural, as studies have shown that real coins may have subtle biases of around 51 percent toward the side facing up when flipped. Coin Toss Probability Calculator allows you to adjust the bias parameter to model both fair and biased coins accurately.
The expected value represents the average number of heads you would get if you repeated the experiment many times. For n tosses of a coin with probability p of heads, the expected value is simply n times p. For 10 flips of a fair coin, the expected value is 5 heads. The standard deviation, calculated as the square root of n times p times (1-p), tells you how much variation to expect around the average. For 10 fair coin flips, the standard deviation is approximately 1.58, meaning most outcomes will fall between about 3 and 7 heads. These statistical measures help you determine whether observed results are consistent with a fair coin or suggest bias, which is the foundation of many hypothesis tests in statistics.
The gambler's fallacy is the mistaken belief that past outcomes influence future independent events. If you flip a fair coin and get five heads in a row, the probability of heads on the next flip remains exactly 50 percent, not less. Each coin toss is an independent event with no memory of previous results. The confusion arises because over many flips, the proportion of heads tends to approach 50 percent (by the law of large numbers), which people misinterpret as meaning the coin must correct itself in the short term. In reality, the coin does not know or care what happened before. This fallacy has led to significant financial losses in gambling and poor decision-making in various real-world scenarios where people incorrectly assume random processes are self-correcting.
Determining coin fairness requires statistical hypothesis testing, and the number of flips needed depends on the level of confidence desired and the magnitude of any bias present. As a general guideline, at least 100 flips are needed to detect a moderate bias with reasonable confidence. For detecting a small bias of around 55 percent, you would typically need 500 to 1,000 flips. The standard approach uses a binomial test or chi-squared test comparing observed results to the expected 50-50 split. If the observed proportion falls outside two standard deviations from 0.5, there is roughly 95 percent confidence that the coin is biased. For forensic or scientific applications, researchers often use 10,000 or more flips to achieve very high precision in estimating the true probability.
Probability is expressed as a number between 0 and 1 (or a percentage), representing the likelihood of an event. Odds compare favorable outcomes to unfavorable ones โ€” odds of 3:1 means 3 wins for every 1 loss, which is a probability of 3/(3+1) = 75%. Casinos often express odds differently from true probability to build in their house edge.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

Formula

P(X = k) = C(n,k) x p^k x (1-p)^(n-k)

Where P(X = k) is the probability of exactly k heads, C(n,k) is the binomial coefficient (number of combinations), n is the number of flips, k is the desired number of heads, p is the probability of heads per flip (0.5 for a fair coin), and (1-p) is the probability of tails.

Worked Examples

Example 1: Probability of Exactly 7 Heads in 10 Flips

Problem: What is the probability of getting exactly 7 heads when flipping a fair coin 10 times?

Solution: Using binomial probability: P(X = 7) = C(10,7) x 0.5^7 x 0.5^3\nC(10,7) = 10! / (7! x 3!) = 120\nP = 120 x 0.0078125 x 0.125 = 0.1172\nProbability = 11.72%\nOdds: about 1 in 8.5

Result: Exactly 7 heads: 11.72% probability | At least 7 heads: 17.19%

Example 2: Biased Coin - 6 Heads in 8 Flips

Problem: A coin is biased 60% toward heads. What is the probability of getting exactly 6 heads in 8 flips?

Solution: P(X = 6) = C(8,6) x 0.6^6 x 0.4^2\nC(8,6) = 28\n0.6^6 = 0.046656\n0.4^2 = 0.16\nP = 28 x 0.046656 x 0.16 = 0.2090\nProbability = 20.90%

Result: Exactly 6 heads (biased coin): 20.90% | Expected heads: 4.8

Frequently Asked Questions

How do you calculate the probability of a specific number of heads in multiple coin tosses?

The probability of getting exactly k heads in n coin tosses follows the binomial probability distribution. The formula is P(X = k) = C(n,k) times p raised to the power k times (1-p) raised to the power (n-k), where C(n,k) is the binomial coefficient representing the number of ways to choose k successes from n trials, p is the probability of heads on a single toss (0.5 for a fair coin), and (1-p) is the probability of tails. For example, the probability of getting exactly 3 heads in 5 flips of a fair coin is C(5,3) times 0.5 to the fifth power, which equals 10 times 0.03125, giving a probability of 31.25 percent.

What is the difference between a fair coin and a biased coin?

A fair coin has an equal probability of landing on heads or tails, with each outcome having a 50 percent chance. In reality, perfectly fair coins do not exist due to slight asymmetries in weight distribution and design. A biased coin has unequal probabilities for heads and tails. For instance, a coin biased 60 percent toward heads will land on heads six out of ten times on average. The bias can be intentional, as in loaded coins used for demonstration purposes, or natural, as studies have shown that real coins may have subtle biases of around 51 percent toward the side facing up when flipped. Coin Toss Probability Calculator allows you to adjust the bias parameter to model both fair and biased coins accurately.

What is the expected value in coin tossing and how is it used?

The expected value represents the average number of heads you would get if you repeated the experiment many times. For n tosses of a coin with probability p of heads, the expected value is simply n times p. For 10 flips of a fair coin, the expected value is 5 heads. The standard deviation, calculated as the square root of n times p times (1-p), tells you how much variation to expect around the average. For 10 fair coin flips, the standard deviation is approximately 1.58, meaning most outcomes will fall between about 3 and 7 heads. These statistical measures help you determine whether observed results are consistent with a fair coin or suggest bias, which is the foundation of many hypothesis tests in statistics.

What is the gambler's fallacy and how does it relate to coin tossing?

The gambler's fallacy is the mistaken belief that past outcomes influence future independent events. If you flip a fair coin and get five heads in a row, the probability of heads on the next flip remains exactly 50 percent, not less. Each coin toss is an independent event with no memory of previous results. The confusion arises because over many flips, the proportion of heads tends to approach 50 percent (by the law of large numbers), which people misinterpret as meaning the coin must correct itself in the short term. In reality, the coin does not know or care what happened before. This fallacy has led to significant financial losses in gambling and poor decision-making in various real-world scenarios where people incorrectly assume random processes are self-correcting.

How many coin flips are needed to determine if a coin is fair?

Determining coin fairness requires statistical hypothesis testing, and the number of flips needed depends on the level of confidence desired and the magnitude of any bias present. As a general guideline, at least 100 flips are needed to detect a moderate bias with reasonable confidence. For detecting a small bias of around 55 percent, you would typically need 500 to 1,000 flips. The standard approach uses a binomial test or chi-squared test comparing observed results to the expected 50-50 split. If the observed proportion falls outside two standard deviations from 0.5, there is roughly 95 percent confidence that the coin is biased. For forensic or scientific applications, researchers often use 10,000 or more flips to achieve very high precision in estimating the true probability.

What is the difference between odds and probability?

Probability is expressed as a number between 0 and 1 (or a percentage), representing the likelihood of an event. Odds compare favorable outcomes to unfavorable ones โ€” odds of 3:1 means 3 wins for every 1 loss, which is a probability of 3/(3+1) = 75%. Casinos often express odds differently from true probability to build in their house edge.

References

Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy