Skip to main content
statistics

Coin Flip Probability Calculator

Calculate the probability of getting a specific number of heads or tails in a series of coin flips. Uses the binomial distribution to compute exact, cumulative, and at-least probabilities for fair and biased coins.

Reviewed by Chase FloiedUpdated

This free online coin flip probability calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Coin Flip Probability Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Coin Flip Probability Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

Formula Reference

Coin Flip Probability Calculator Formula

See calculator inputs for the governing equation

Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.

When to Use This Calculator

  • Use the Coin Flip Probability Calculator when you need accurate results quickly without the risk of manual computation errors or unit conversion mistakes.
  • Use it to verify calculations made by hand or in spreadsheets — an independent check can catch errors before they lead to costly decisions.
  • Use it to explore how changing input parameters affects the output — a quick way to develop intuition and identify the most influential variables.
  • Use it when collaborating with others to ensure everyone is working from the same numbers and applying the same assumptions.

About This Calculator

The Coin Flip Probability Calculator is a free, browser-based calculation tool for engineers, students, and technical professionals. Calculate the probability of getting a specific number of heads or tails in a series of coin flips. Uses the binomial distribution to compute exact, cumulative, and at-least probabilities for fair and biased coins. It implements standard formulas and supports both metric (SI) and imperial unit systems with automatic unit conversion. All calculations are performed instantly in your browser with no data sent to a server. Use this calculator as a quick reference and sanity-check tool during design, analysis, and learning. Always verify results against primary engineering references and applicable standards for any safety-critical application.

About Coin Flip Probability Calculator

The Coin Flip Probability Calculator computes the likelihood of getting a specific number of heads in a series of coin flips. This is the classic example of binomial probability — each flip is an independent trial with two possible outcomes, and we want to count how many 'successes' (heads) occur in a fixed number of trials. Whether you're studying for a probability exam, analyzing gambling odds, or understanding statistical significance, coin flip probabilities form the foundation of discrete probability. Beyond coins, this same formula applies to any binary outcome: free throws in basketball, manufacturing defects, medical test results, and countless other real-world scenarios.

The Math Behind It

The coin flip is the simplest example of a Bernoulli trial — a random experiment with exactly two outcomes. When we repeat n independent Bernoulli trials with the same probability p of success each time, the distribution of successes follows the binomial distribution. **The Binomial Distribution**: P(X = k) = C(n,k) × p^k × (1-p)^(n-k) Where: - n = number of trials (coin flips) - k = desired number of successes (heads) - p = probability of success on each trial (for a fair coin, p = 0.5) - C(n,k) = 'n choose k' = n! / (k! × (n-k)!) The binomial coefficient C(n,k) counts the number of ways to arrange k successes among n trials. For example, 3 heads in 5 flips can happen in C(5,3) = 10 different orders (HHHXX, HHXHX, HHXXH, HXHHX, HXHXH, HXXHH, XHHHX, XHHXH, XHXHH, XXHHH). **Simplified Formula for Fair Coin (p = 0.5)**: P(X = k) = C(n,k) × (0.5)^n = C(n,k) / 2^n The total number of possible outcomes in n flips is 2^n (each flip has 2 possibilities, and flips are independent). **Key Properties**: 1. **Expected number of heads**: E[X] = np (for fair coin, n/2) 2. **Standard deviation**: σ = √(np(1-p)) (for fair coin, √(n)/2) 3. **Most likely outcome**: For fair coin, k = n/2 is most likely (or nearest integer). 4. **Symmetry**: For fair coins, P(X = k) = P(X = n-k). **Examples**: | Flips (n) | Exactly 50% heads | P(at least 1 head) | |-----------|-------------------|---------------------| | 1 | 50% (just P(H)) | 50% | | 2 | 50% | 75% | | 3 | 37.5% | 87.5% | | 4 | 37.5% | 93.75% | | 10 | 24.6% | 99.9% | | 100 | 7.96% | ~100% | **The 'Law of Large Numbers' vs 'Gambler's Fallacy'**: - **Law of Large Numbers**: Over many flips, the proportion of heads converges to 0.5. - **Gambler's Fallacy**: The mistaken belief that if heads hasn't come up for a while, it's 'due'. WRONG — each flip is independent. Even after 10 tails in a row, the next flip still has exactly 50% probability of heads. The law of large numbers operates over HUGE samples, not short runs. **Real-World Applications Beyond Coins**: 1. **Quality Control**: Probability of k defective items in a batch of n 2. **Genetics**: Probability of k offspring with dominant trait 3. **Elections**: Exit poll projections 4. **Sports**: Probability of making k free throws out of n attempts 5. **A/B Testing**: Conversion rates in marketing experiments 6. **Insurance**: Claim frequency estimation **Normal Approximation**: For large n, the binomial distribution approaches a normal distribution with mean np and standard deviation √(np(1-p)). This is the Central Limit Theorem in action. When n ≥ 30 and np ≥ 5 and n(1-p) ≥ 5, the normal approximation is quite accurate. **Famous Problem — The Birthday Paradox**: In a room of 23 people, what's the probability two share a birthday? About 50%! In 70 people, 99.9%. This counterintuitive result uses similar probability logic — each pair has P(match) = 1/365, and there are many pairs in a group.

Formula Reference

Binomial Probability

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

Variables: n = total flips, k = successes, p = probability of success per trial, C(n,k) = binomial coefficient

Worked Examples

Example 1: Six Heads in Ten Flips

What's the probability of getting exactly 6 heads in 10 flips of a fair coin?

Step 1:n = 10, k = 6, p = 0.5
Step 2:C(10,6) = 210
Step 3:P = 210 × (0.5)^10
Step 4:P = 210 × 0.000977
Step 5:P ≈ 0.205 or 20.5%

About 20.5% probability of getting exactly 6 heads in 10 flips.

Example 2: Biased Coin

A weighted coin has P(heads) = 0.7. What's the probability of exactly 3 heads in 5 flips?

Step 1:n = 5, k = 3, p = 0.7
Step 2:C(5,3) = 10
Step 3:P = 10 × (0.7)^3 × (0.3)^2
Step 4:P = 10 × 0.343 × 0.09
Step 5:P ≈ 0.3087 or 30.9%

About 30.9% probability of getting exactly 3 heads in 5 flips with a 70%-biased coin.

Common Mistakes & Tips

  • !The gambler's fallacy — believing past flips affect future ones. Each flip is independent.
  • !Confusing 'exactly k heads' with 'at least k heads'. These are different probabilities.
  • !Forgetting the binomial coefficient C(n,k), which counts arrangements.
  • !Assuming coins are fair. Most physical coins have slight biases but for practice problems assume p = 0.5.

Related Concepts

Used in These Calculators

Calculators that build on or apply the concepts from this page:

Frequently Asked Questions

If I flip a coin 100 times, will I get exactly 50 heads?

Not necessarily! The probability of EXACTLY 50 heads in 100 flips is only about 8%. However, you'll usually get between 40 and 60 heads (probability ~96%). The most likely single outcome is 50 heads, but any specific number near it is more likely than exactly 50. The distribution is bell-shaped around the expected value.

What's the probability of getting heads 10 times in a row?

(1/2)^10 = 1/1024 ≈ 0.1%. Even though each flip is independent with 50% probability, the chain of 10 heads requires all to occur. This is why long streaks of heads or tails are rare but possible. In 10,000 series of 10 flips, you'd expect about 10 series of all heads.

Is there such a thing as a 'hot streak' in coin flipping?

Statistically, no. Each coin flip is independent, so past results don't affect future flips. However, humans are great at seeing patterns even in random data. In any random sequence, you'll sometimes see runs — they're statistically expected. A sequence of 10 heads in 100 flips is unusual (3%) but not impossible.

How many flips do I need to be '99% sure' a coin is fair?

It depends on the bias you want to detect. To detect a 5% bias (like P(heads) = 0.55) with 99% confidence, you need about 200 flips. To detect a 1% bias (P = 0.51), you need about 5,000 flips. For very small biases, you need thousands or millions of flips. This is why detecting small biases in data requires huge sample sizes.