Science & Engineering

Coin Flip Probability Calculator (Fair or Biased)

Find the odds of getting a chosen number of heads across up to 10,000 flips. You get the exact probability, the at-least and at-most odds, plus the mean and standard deviation. Biased coins are supported too.

How to use
  1. Enter the number of flips.
  2. Enter the number of heads you want to test.
  3. Set the heads probability (0.5 for a fair coin, or adjust for bias).
Try
P(exactly 5 heads in 10 tosses)
24.6094 %

odds 1 : 3.06 · fair coin

P(at least k)
62.3047 %
P(at most k)
62.3047 %
Expected heads
5.00
Variance
2.500
Std deviation
1.581
For study and estimation. Verify against authoritative data before relying on a result.
Was this helpful?

How it's calculated

P(X = k) = C(n, k) · pᵏ · (1 − p)ⁿ⁻ᵏ

n = number of tosses, k = number of heads, p = probability of heads (0.5 for a fair coin), C(n,k) = binomial coefficient “n choose k”. Mean = n·p, variance = n·p·(1 − p).

Worked examples

FlipsHeads (k)P(X=k)Note
1150%Single fair flip
2225%Two heads in a row
10524.6%Most likely single outcome
100507.96%Exactly half heads

Common questions

What are the odds of 2 heads in a row?

With a fair coin the chance is 1 in 4, or 25 percent.

Why is exactly 50 heads in 100 flips so unlikely?

Even though 50 is the most probable single result, it competes with dozens of nearby outcomes, so its individual chance is only about 8 percent.