What Is the Gambler's Fallacy?
Published
The gambler’s fallacy is the mistaken belief that earlier independent outcomes make the opposite outcome more likely next. For a fair coin, observing several heads does not make tails due. The next toss is still modeled as 50% heads and 50% tails.
The APA Dictionary of Psychology describes the error as overlooking independence between chance events. The issue is mathematical and psychological; it is not a prediction strategy.
A worked example: six heads in a row
Before tossing a fair coin six times, the probability that every result is heads is (1/2)^6 = 1/64, or 1.5625%.
Suppose all six heads have now occurred. The question changes from the likelihood of the entire sequence to the likelihood of the next result given that observed history.
| Question | Probability under the fair independent model |
|---|---|
| Next six tosses are all heads, before any are made | 1/64 |
| Next toss is heads after six observed heads | 1/2 |
| Next toss is tails after six observed heads | 1/2 |
The first row is a question about six uncertain events. The other rows are questions about one new event after the previous events are known.
Why randomness can look less random than expected
People may regard alternating outcomes as more typical than repeated outcomes. But any particular ordered sequence of four independent fair flips has probability 1/16. HHHH and HTHT are equally likely as specified four-flip sequences.
A broader event, such as at least one adjacent pair of heads somewhere in a longer series, includes many possible sequences. That is a different calculation from assigning a likelihood to one particular ordering.
Our streak probability guide distinguishes fixed sequences from runs anywhere in a series.
The law of large numbers is not a correction mechanism
Suppose 100 tosses have produced 60 heads and 40 tails. In the fair independent model, the expected number of heads in the next 900 tosses is 450. The expected combined count is therefore 510 heads in 1,000 tosses, or 51%.
The initial excess can become smaller relative to the total even though the later tosses retain an expected 50/50 proportion. No change in the probability of the next outcome is required.
Actual future counts may differ from these expected values. The law of large numbers describes how a sample proportion behaves as the sample grows, not an obligation to reach an exact count by a particular deadline.
When previous information really can matter
The fallacy applies when events are independent. Consider drawing cards without replacement from a deck. After removing a card, the contents of the remaining deck change. Information about earlier draws can genuinely alter the probability of a later draw.
A physical coin tossed with a consistent mechanical bias is also not necessarily described by the ideal fair independent model. Evidence about the process could justify revising the model itself.
The mistake is to infer an automatic balancing force merely from an observed streak, without evidence of such a dependency.
Test your intuition
Try a short classroom exercise: write down the probability of heads before each flip and explain whether the previous outcome changes your answer. Then run a longer series in the Probability Lab and inspect its running frequency.
You may see a series of heads followed by more heads, or a reversal. Neither pattern alone shows that the simulator remembers its earlier results.
Applying the lesson to casual prediction games
In Coinflip.xyz’s prediction game, a guess is made before a fresh binary outcome. Under the intended fair independent model, changing a prediction solely because of earlier results does not improve its conditional success probability.
A long personal streak can arise through repeated opportunities. It should not be treated as evidence that the next outcome is predictable. Use these games and the probability calculator for learning and casual entertainment, not consequential financial decisions.
Frequently asked questions
After ten heads, is tails due?
No. Under the independent fair-coin model, the next toss still has a 50% chance of tails.
Does the law of large numbers make outcomes balance immediately?
No. It concerns long-run relative frequency, not corrective changes to the next trial.
Are all random events independent?
No. Sampling without replacement and some physical processes have dependencies; identify the process before assuming independence.
Can the fallacy improve prediction-game results?
No. For an independent fair coin, using previous outcomes alone does not increase the conditional chance of a correct prediction.
Sources and further reading
Try it yourself
Use the free Coinflip.xyz tools.