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.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Coin Toss Probability Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: P(X = k) = C(n,k) x p^k x (1-p)^(n-k)
Worked example — Exactly 7 heads: 11.72% probability | At least 7 heads: 17.19%
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 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
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 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
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.
What is the probability of rolling a specific number on a standard die?
A fair six-sided die has 1/6 ≈ 16.67% probability for each face. Rolling at least one specific number in two rolls = 1 − (5/6)² ≈ 30.6%. Rolling two specific numbers on two dice = 1/36 ≈ 2.78%. These calculations multiply individual probabilities for independent events.
What is a fair game in probability theory?
A fair game is one where the expected value for all players is zero — no participant has a mathematical advantage. In practice, most casino games are unfair (negative EV for players) due to the house edge. Flipping a coin for even money is a fair game; flipping for $0.90 per win and $1 per loss is unfair.
What is the birthday problem in probability?
The birthday problem asks: how many people are needed for a 50% chance two share a birthday? The answer is just 23 people — surprising because there are 365 days. The probability no two people share a birthday with n people = (365/365)(364/365)(363/365)...(365−n+1)/365. With 23 people this equals ≈50.7%, meaning a shared birthday is more likely than not.
References
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer · Editorial policy
Related Calculators
🧮Card Hand Probability Calculator
Calculate card hand probability with inputs, formulas, and instant results.
🧮Gacha Probability Calculator
Calculate gacha probability with inputs, formulas, and instant results.
🧮Match Win Probability Calculator
Calculate match win probability with inputs, formulas, and instant results.
🧮Card Probability Calculator
Calculate the probability of drawing specific cards from a standard 52-card deck.
🧮Dice Probability Calculator
Calculate the probability of rolling specific outcomes with any number and type of dice.
🧮Gaming Pc Fps Calculator
Estimate frames per second based on GPU, CPU, resolution, and game optimization level.
🧮Dice Odds Calculator
Calculate dice odds with inputs, formulas, and instant results.
🧮Lottery Odds Calculator
Calculate lottery odds with inputs, formulas, and instant results.