C">

Coin Flip Probability

The math behind every coin toss: streak calculators, the law of large numbers, and why the gambler's fallacy will cost you money.

Basic Coin Flip Probability

The probability of a coin flip for a fair coin is one-half for heads and one-half for tails: each side has P = 0.5. This coin flip probability stays the same on every toss because flips are independent. In short, coin flip probability is 50% heads and 50% tails each time.

A fair coin has exactly two outcomes -- heads and tails -- each with a probability of 0.5 (50%). This makes the coin flip a Bernoulli trial: a random experiment with exactly two possible results. The mathematical model was formalized by Jacob Bernoulli in Ars Conjectandi (1713) and remains a foundational concept in probability theory.

The chance of a specific outcome on a single flip is always:

P(heads) = P(tails) = 1/2 = 0.5 = 50%

Each outcome is independent -- the result of one flip has zero influence on the next. This makes coin flips a textbook example of independent events in probability theory. A coin that landed heads ten times in a row still has a 50% chance of heads on the eleventh flip. The coin has no memory.

Streak Probability Calculator

For streaks, coin flip probability is (1/2)n for n consecutive same-side results. Use the calculator below to find the odds of any streak:

Streak length: consecutive same-side flips
Probability: 1 in 32 (3.125%)
StreakProbabilityOdds (1 in X)Expected flips
225%1 in 46
312.5%1 in 814
53.125%1 in 3262
70.781%1 in 128254
100.098%1 in 1,0242,046
150.003%1 in 32,76865,534
200.0001%1 in 1,048,576~2.1M

Law of Large Numbers -- Live Demo

The law of large numbers states that as the number of trials increases, the observed frequency of an outcome approaches its long-run expected value. For coin flips, the ratio of heads to tails converges on 50/50.

Heads: 0 (0%) Total: 0 Tails: 0 (0%)

After 10 flips, seeing a 70/30 split is common. After 1,000 flips, the ratio typically falls within 48-52%. After 10,000 flips, results consistently land within 49-51%. The convergence is not because the coin "corrects" itself -- each flip is independent -- but because the accumulated total overwhelms any short-term deviations.

The Gambler's Fallacy

The gambler's fallacy is the incorrect belief that past random events affect future probabilities. After seeing five consecutive heads, a person committing this fallacy believes tails is "due" or "overdue." In reality, the sixth flip is still exactly 50/50.

H H H H H ? Still 50/50

This fallacy cost casinos' patrons millions. On August 18, 1913, at the Monte Carlo Casino, the roulette ball landed on black 26 times in a row. Gamblers lost enormous sums betting on red, convinced the streak had to end. The odds of 26 consecutive blacks are roughly 1 in 67 million -- extremely rare, but each individual spin remained independent.

The antidote to the gambler's fallacy is the coin flipper itself: flip 100 times, watch the statistics panel, and observe that runs of 4-6 in a row appear regularly despite a perfectly fair 50/50 mechanism.

Multiple Coin Flips

When flipping multiple coins simultaneously, the chance of a specific combination follows the binomial distribution. For n coins, the chance of getting exactly k heads is:

P(k heads) = C(n,k) × (0.5)n

For quick reference in plain text: with 2 coins, the ordered outcomes are HH, HT, TH, and TT (four cases, each at 1/4). With 3 coins, the ordered outcomes are HHH, HHT, HTH, HTT, THH, THT, TTH, and TTT (eight cases, each at 1/8).

Where C(n,k) is the binomial coefficient "n choose k." For two coins, the outcomes are: HH (25%), HT (25%), TH (25%), TT (25%) -- with "one head, one tail" appearing 50% of the time because there are two ways to achieve it. This multi-toss coin flip probability view matches the binomial formula above. Test this yourself with the coin flipper's multi-coin mode. For binary decisions where the math doesn't matter and you just need an answer, try the yes or no decision flipper or the classic heads or tails game.

Frequently Asked Questions

What is the probability of heads on a single coin flip?
Exactly 50% (0.5). A fair coin has two equally likely outcomes. This is the defining property of a Bernoulli trial with p = 0.5.
Can a coin land on its edge?
In theory, yes. A 1993 study by Murray and Teare estimated the chance at roughly 1 in 6,000 for a U.S. nickel spun on a flat surface. In practice, standard flipping (toss and catch) makes edge landings virtually impossible. This simulator excludes the possibility entirely.
Are physical coins actually fair?
Not perfectly. A 2023 study by Bartos et al. involving 350,757 physical coin flips found a slight same-side bias of approximately 50.8% -- the coin tends to land on the face it started on. This digital simulator eliminates all physical bias through cryptographic randomness.
What is a weighted coin flip?
A weighted (biased) coin has unequal probabilities for each side. If a coin is weighted 60/40, heads will appear approximately 60% of the time over many flips. Physical coins with altered centers of mass exhibit this property. Our simulator uses a mathematically perfect 50/50 split.
How does the gambler's fallacy relate to coin flips?
The gambler's fallacy is the belief that past flips influence future outcomes -- for example, expecting tails after a series of heads. Since each flip is an independent event with p = 0.5, previous results have zero effect on the next outcome. The coin has no memory.
What is the law of large numbers?
A mathematical theorem stating that as the number of trials increases, the observed frequency of an outcome converges on its expected value. For coin flips: the more you flip, the closer the heads/tails ratio gets to 50/50. Use the live demo above to see this in action.
How do you calculate the probability of multiple coin flips?
For independent fair flips, multiply single-flip chances. For n consecutive heads (or n consecutive tails), P = (1/2)n. Example: three heads in a row is (1/2)3 = 1/8 = 12.5%. Each ordered sequence of length n has the same (1/2)n weight.
What is the expected number of flips to get heads?
For a fair coin, the waiting time until the first heads follows a geometric distribution with success probability p = 1/2. The expected number of flips E[X] to see one heads is 1/p = 2 flips on average (counting the flip that lands heads).