Calculat.dev LogoCalculat.dev - All Calculators, One Place.devAll Calculators, One Place.
Probability CalculatorsPopular Tool Runs Locally

Coin Flip Probability Calculator

Calculate probabilities for coin toss trials, exact heads/tails count, at least k heads, and consecutive streak probabilities.

Exact 5 Heads
24.61%
Expected: 5.0 heads
Streak ≥ 3 In a Row
50.78%
Probability of consecutive streak
At Least ≥ 5 Heads
62.30%
🎓

Did this calculation save you time?

Student Project

Hi! I'm a student developer building Calculat in my spare time. I was tired of searching for basic math tools and having to click through 10 spammy popups, loan ads, and cookie trackers.

I keep this website 100% free, private, and ad-free. If this helped you with your homework, project, or finances today, bookmarking this page or telling a friend helps me keep building more free tools!

Press ⌘ + D to Bookmark
Suggest What I Build Next

What Is a Coin Flip Probability Calculator?

The Coin Flip Probability Calculator analyzes independent Bernoulli trials with binary outcomes (Heads vs Tails). It calculates the probability of obtaining exact numbers of heads, cumulative thresholds, and the likelihood of observing long consecutive streaks.

How to Use This Calculator

  1. Enter the total number of coin flips (n).
  2. Adjust the coin bias if using a weighted coin (default is 0.50 for a fair coin).
  3. Set your target number of heads (k).
  4. Specify a consecutive streak length (m) to calculate the likelihood of getting m heads in a row.

Coin Toss Probability Formula

P(X = k) = \binom{n}{k} (0.5)^n, \quad \text{Streak recurrence: } A_m(n) = \sum_{j=1}^m A_m(n-j)

Where n is total flips, k is heads observed, and streak probability is solved via Markov state transition recurrence.

Worked Example

Scenario: Find the chance of getting exactly 7 heads when flipping a fair coin 10 times.

n = 10, k = 7, p = 0.5.

Total possible sequences: 2^10 = 1,024.

Number of favorable sequences: C(10, 7) = 120.

P(X = 7) = 120 / 1024 ≈ 0.11719 (11.72%).

Result: 11.72% probability of exactly 7 heads.

Tips & Key Notes

  • The Gambler’s Fallacy is the mistaken belief that past coin flips affect future ones. Each fair flip always has an independent 50/50 probability.
  • In 100 coin flips, there is approximately a 97% probability of encountering a run of 6 or more consecutive heads or tails.

Frequently Asked Questions

What are the odds of getting 10 heads in a row?

The probability of 10 consecutive heads on a fair coin is (1/2)¹⁰ = 1 / 1,024 ≈ 0.0977%, or odds of 1,023 to 1 against.

What is the Gambler’s Fallacy in coin tossing?

The Gambler’s Fallacy is believing that after rolling 5 heads in a row, tails is "due" to come up. Because each toss is statistically independent, the probability of heads on the next flip remains exactly 50%.

Why do streaks happen so frequently in random coin tosses?

Human intuition underestimates clustering in random processes. In 200 random flips, a streak of 7 heads or tails in a row occurs more than 75% of the time.

Is a real coin truly 50/50?

Stanford research led by Persi Diaconis revealed real spun coins show slight physical bias toward the heavier face, and flipped coins land on the face they started on roughly 50.8% of the time.

Related Calculators

Explore similar tools