Published · · Last reviewed · · 6 min read

English · 한국어

The gambler's fallacy: why a number is never 'due'

A coin has landed heads five times in a row. What comes next? Many people feel that tails is now due. Others feel the opposite: the streak is heads, so keep going. The two intuitions point in opposite directions but share a root: the belief that earlier results influence the next one. For a fair coin the sixth flip is heads with probability exactly 50%. This page confirms that with experiment and calculation rather than intuition, and explains why the belief is so persistent.

First, an experiment: what follows a streak of heads?

The tool below flips a fair coin a million times. It sorts the flips by "after at least 1, 3, 5 or 7 heads in a row" and counts how often the next flip was heads.

This tool needs JavaScript.

The numbers change each run, but every row sits near 50%. After 7 heads in a row the situation arises only a few thousand times, so you may see 49% or 51%; that is small-sample wobble, not a direction. The simulation shows no direction for a simple reason: the code never uses earlier results. A real coin, a draw machine or a random number generator does not use them either.

What "independent" means

Two events are independent if knowing that one occurred leaves the probability of the other unchanged. The sixth flip is heads with probability 1/2 whether or not you know the first five. After five heads, the sequences HHHHHH and HHHHHT are two of 64 equally likely outcomes. HHHHH looks odd because it looks regular, not because it is rarer than any other five-flip sequence: HTHHT and HHHHH each have probability 1/32.

Lottery draws work the same way. Which numbers came up in one round plays no part in the next. In the previous article, Hot and cold lottery numbers, 1,247 rounds of history showed that numbers absent for 20 or more rounds appeared in the next round 12.67% of the time, not different from the expected 13.33%. The data contain no phenomenon matching the feeling that a number is due.

"Such a long streak must be unusual" is also wrong

The twin of the gambler's fallacy is looking at a long streak and concluding "this is rigged" or "it must end now". In truth, streaks in random sequences are more common than intuition expects. The probability that fair-coin flips contain at least one run of the given length of heads:

Probability of at least one run of heads in n fair flips
FlipsRun lengthProbability
205 or more25.0%
1005 or more81.0%
1007 or more31.7%
10010 or more4.4%
1,00010 or more38.5%

In 100 flips a run of five heads appears with probability 81%. People who write down "random-looking" flips by hand tend to avoid long runs, so a genuinely random sequence often looks artificial. Intuition expects randomness to be more even and alternating than it is.

The law of large numbers feeds the belief

The fallacy is plausible because it misapplies a true law. The law of large numbers says that with many trials the proportion of heads approaches 1/2. It does not say that an excess of heads is made up by tails. Suppose 100 flips gave 60 heads. Over the next 1,000 flips we expect 500 heads, so 560 of 1,100 flips are heads, a proportion of 50.9%. The 60–40 imbalance was never compensated, yet the proportion moved much closer to 50%. The gap remains; it is simply diluted by new trials. The coin does not remember the imbalance and correct it.

The psychologists Tversky and Kahneman called the expectation that even small samples must resemble their population a "belief in the law of small numbers" (1971). We checked only that paper's bibliographic details, so we do not report its specific experiments.

The error appears in the real world

It is not confined to the laboratory. Clotfelter and Cook (1993) analysed Maryland's numbers game and reported that the amount wagered on a number fell right after that number won, then recovered over several months, which they read as consistent with the gambler's fallacy. Chen, Moskowitz and Shue (2016, Quarterly Journal of Economics) reported that decisions by asylum judges, loan officers and baseball umpires lean against the previous decision. For both studies we checked bibliographic records and summaries but not the full text, so we report only their headline claims.

How to think about it

One limit: this page treats ideal independent trials. If a device is biased, or earlier results physically change later ones (for instance drawing cards without reshuffling), trials are not independent and probabilities change. Lottery draw machines are set up afresh for each draw, so this site assumes independence, and the 1,247 rounds above are consistent with that assumption.

Playing the same numbers versus changing them weekly

A common follow-up to the gambler's fallacy is: "Is it better to keep the same numbers or change them every time?" Mathematically the answer has two parts.

So the accurate answer to "should I change my numbers?" is: it makes no difference between rounds, and within a round non-overlapping tickets are better than overlapping ones. This is not a way to predict a win; it is the arithmetic of buying different combinations with the same money.

Practice questions

Three questions to check intuition. Answers follow.

  1. A coin has landed heads 6 times in a row. What is the probability the seventh flip is heads?
  2. What is the probability that 7 flips are all heads?
  3. In Lotto, a number has not appeared in the last 30 rounds. What is the chance it appears in this round?

Answers: (1) 1/2. The first six flips have already happened. (2) 1/128, about 0.78%. The difference between questions 1 and 2 is whether you are told that six flips have already occurred. Given that, the probability returns to 1/2; the 1/128 in question 2 applies before any flip has happened. (3) 6/45 = 13.33%. Having missed 30 rounds has no effect.

LottoFlick is independent and not an official lottery operator. Numbers are random and cannot be predicted.

Sources and verification