Coin Flip Probability Calculator
Calculate the probability of getting exactly, at least, at most, or between a number of heads in repeated coin flips.
Binomial probability calculator for coin flips
This coin flip probability calculator uses the binomial distribution to estimate how likely a heads count is after a set number of flips. It works for a fair coin or a weighted coin when the probability of heads is not 50%.
A coin flip probability calculator finds the chance of getting heads, tails, or specific outcome patterns in multiple flips. Enter the number of flips and desired outcomes to calculate probability. For a fair coin, each flip has a 50% probability of heads and 50% probability of tails.
Enter the number of flips, choose the event type, and set the target number of heads. The calculator returns the event probability, odds-style interpretation, expected heads, and a nearby probability distribution table.
Probability
Event: --
Decimal probability
--
Probability between 0 and 1.
Odds-style reading
--
Approximate rarity of the event.
Expected heads
--
Mean of the distribution.
Standard deviation
--
Typical spread around expected heads.
Complement probability
--
Chance the event does not happen.
Sample space size
--
Number of possible H/T sequences.
Z-score check
--
Distance from expected heads.
Probability distribution near the event
| Heads | Probability | Visual share |
|---|
Formula note: Coin flips are modeled as independent trials. The calculator assumes the probability of heads stays the same on every flip.
How to use the coin flip probability calculator
- Choose the probability type: Select exactly, at least, at most, between, or a specific H/T sequence depending on the question you want to answer.
- Enter the number of flips: This is the total number of independent trials in the experiment.
- Set the target heads value: For exactly 5 heads in 10 flips, enter 10 flips and target heads of 5.
- Use sequence mode for exact order: Enter a pattern such as HHTHTTTHTH when the order of heads and tails matters.
- Use custom probability if needed: A fair coin uses 50% heads, while a biased coin can use any heads probability from 0% to 100%.
- Read the distribution table: The table shows nearby heads counts so you can compare the target event to similar outcomes.
Coin flip probability formula
Coin flip probability uses the binomial distribution because each flip has two possible outcomes and the same probability of heads on each trial. For a fair coin, p = 0.5.
The formula for exactly k heads in n flips is based on the number of possible ways to choose which flips are heads, multiplied by the probability of that specific heads and tails pattern.
P(X = k) = C(n,k) x p^k x (1 - p)^(n - k)
Expected heads = n x p
Standard deviation = sqrt(n x p x (1 - p))
For at least, at most, or between calculations, the calculator adds the exact probabilities for every heads count in the requested range.
Formula reference: NIST/SEMATECH e-Handbook of Statistical Methods - Binomial Distribution.
Common coin flip probabilities
| Question | Setup | Probability | Interpretation |
|---|---|---|---|
| Exactly 5 heads in 10 flips | n = 10, k = 5, p = 0.5 | 24.61% | The most likely single heads count for 10 fair flips. |
| At least 1 head in 10 flips | n = 10, k >= 1, p = 0.5 | 99.90% | Only all tails misses this event. |
| 10 heads in a row | n = 10, k = 10, p = 0.5 | 0.0977% | About 1 in 1,024 sequences. |
| Between 4 and 6 heads in 10 flips | n = 10, 4 <= k <= 6, p = 0.5 | 65.63% | A central range around the expected value. |
Worked coin-flip example: Khan Academy - at least one heads in repeated coin flips.
What the result does and does not mean
A coin flip probability is a long-run mathematical model, not a promise about the next set of flips. Even rare streaks can happen, and a recent streak does not make the opposite result "due" on the next independent flip.
Independent flips
The previous result does not change the next flip when the coin and flipping process remain the same.
Fair vs biased coin
A fair coin uses 50% heads. A weighted coin or uneven process should use a custom heads probability.
Sequence vs count
Exactly 5 heads counts all arrangements with 5 heads. A specific sequence such as HHTHTTTHTH is only one arrangement.
Heads count vs exact sequence
A count event and a sequence event can sound similar but have very different probabilities. The calculator is designed for heads-count events; a specific sequence is usually much rarer because it names the order of every flip.
| Event type | Example in 10 fair flips | How many sequences match? | Probability |
|---|---|---|---|
| Specific sequence | HHTHTTTHTH | 1 sequence | 1 / 1,024 = 0.0977% |
| Exact count | Exactly 5 heads | C(10,5) = 252 sequences | 252 / 1,024 = 24.61% |
| Range of counts | Between 4 and 6 heads | 672 sequences | 672 / 1,024 = 65.63% |
Which probability mode should you choose?
| Question you have | Use this mode | Example input | Why it fits |
|---|---|---|---|
| What is the chance of exactly this many heads? | Exactly k heads | Exactly 7 heads in 12 flips | Counts only one heads total while allowing all orders that produce it. |
| What is the chance of hitting a minimum? | At least k heads | At least 8 heads in 10 flips | Adds every outcome from k heads up to all heads. |
| What is the chance of staying under a limit? | At most k heads | At most 2 heads in 10 flips | Adds every outcome from 0 heads through k heads. |
| What is the chance of landing in a middle range? | Between two values | Between 4 and 6 heads in 10 flips | Adds all counts inside the selected inclusive range. |
How to judge an unusual coin flip result
A rare event is not automatically evidence of a biased coin. Before treating a streak or heads count as suspicious, check whether the event was defined before the flips, how many trials were observed, and whether the process stayed independent.
Preselected event
A result is more meaningful if you predicted the event before flipping. Looking for a pattern after the fact makes coincidences easier to find.
Expected value check
Compare observed heads with n x p. For 100 fair flips, the expected value is 50 heads, but nearby values are normal.
Spread check
Use sqrt(n x p x (1 - p)) as a rough spread. Results several standard deviations away from expected heads deserve closer review.
Simulation mindset
If a probability feels surprising, imagine repeating the same experiment thousands of times. Low-probability outcomes eventually appear when enough sequences are observed.
Interesting fact
A run of 10 heads in a row with a fair coin has probability 1 / 1,024, or about 0.0977%. This comes from applying the binomial model described by OpenStax, where a fair coin has p = 0.5 for heads on each independent trial. The same model also shows why exactly 5 heads in 10 flips is much more likely: there are 252 different sequences with 5 heads. Source: OpenStax Introductory Statistics, Binomial Distribution.
Frequently Asked Questions
What does a coin flip probability calculator do?
A coin flip probability calculator computes the chance of a heads or tails event after a chosen number of flips. It can answer questions such as exactly 5 heads in 10 trials, at least 8 heads, or between 4 and 6 heads, then report the result as a probability, percentage, and odds-style likelihood.
What formula does the calculator use for a coin flip outcome?
It uses the binomial distribution formula P(X = k) = C(n,k) x p^k x (1 - p)^(n - k). In that formula, n is the number of flips, k is the number of heads, p is the probability of heads on each flip, and C(n,k) is the combination count that measures how many sequences in the sample space produce the same heads total.
Is getting many heads in a row proof that a coin is unfair?
Not by itself. A streak can happen with a fair coin because randomness includes clusters, runs, and unusual-looking sequences. To test whether a coin is a biased coin, you need a larger sample, clear success and failure definitions, and a statistical test or simulation, not just one surprising run.
Why is exactly 5 heads not 50% in 10 flips?
Because exactly 5 heads is only one count outcome among all possible counts from 0 to 10. It is the most likely individual count for 10 fair coin flips, and it matches the expected value, but many other outcomes are still possible within the full sample space.
Can I use this for tails instead of heads?
Yes. For a fair coin, heads and tails are symmetric, so exactly k heads has the same probability as exactly k tails. For a biased coin, use the probability of the side you want to count as the success probability, and treat the other side as the failure outcome in the calculator.
Other useful calculators
Estimated Reading Time Calculator
Estimate reading time from text, word count and reading speed.
Golf Grip Size Calculator
Find the right golf grip size from hand measurements.
Kinetic Energy Calculator
Calculate kinetic energy from mass and velocity.
Full-Time Equivalent Calculator
Convert work hours into FTE staffing estimates.
Concrete Curing Time Calculator
Estimate curing time for concrete projects.
Pool Pump Run Time Calculator
Estimate daily pool pump runtime from pool and flow data.
Disclaimer: This coin flip probability calculator is for general educational and informational use only. It provides mathematical estimates based on user-entered assumptions and does not guarantee any real-world outcome. Random processes can produce streaks, clusters, and surprising short-term results even when the underlying probability model is correct. Do not use this calculator as gambling advice, financial advice, legal advice, risk management advice, or a substitute for professional statistical analysis. If a decision involves money, contracts, regulated gaming, safety, research, or legal rights, consult a qualified professional and verify the assumptions behind the probability model.
Last updated: May 17, 2026