Why Does Luck Even Out? The Law of Large Numbers | How It Works

12 min read

On this page

What is the short answer?

A few coin tosses can easily lean one way: seven heads in ten is unremarkable. Over many thousands of tosses, though, the share of heads almost always sits very close to one half.

The law of large numbers explains why. When a chance process is repeated many times, independently and with the same probability each time, the share of outcomes tends to get closer to that probability.

Yet the raw count of "extra" heads does not shrink. It tends to grow. The share settles because the gap is divided by ever more tosses, not because the coin corrects itself.

Definition: The law of large numbers states that in repeated independent trials, each with the same probability p of success, the chance that the share of successes lies close to p grows towards certainty as trials are added.

What does the law of large numbers say?

Philip B. Stark, a statistician at the University of California, Berkeley, in the United States, states it in his online textbook SticiGui. With repeated independent trials and the same probability p each time, the chance that the share of successes lands near p keeps rising as trials are added.

Two conditions sit inside that sentence. Trials are independent when one result does not change the chances of another, as Penn State's Department of Statistics puts it in its STAT 100 notes. The probability must also be fixed, the same p every time.

The MacTutor History of Mathematics archive at the University of St Andrews, in the United Kingdom, calls the law a mathematical interpretation of the relative frequency view: repeat an experiment many times and an event's share matches its probability.

Stark adds that the law is a mathematical theorem, while what he calls the Empirical Law of Averages is an assumption about how the world works.

Why can the share settle while the gap keeps growing?

Penn State's notes say that with more trials, averages and proportions are likely to be more stable, while sums and counts are likely to be more variable.

Stark makes the point with the count gap: the number of heads minus half the tosses. He says this gap tends to grow as trials are added, roughly like the square root of the number of trials, while the gap as a share of all trials tends to shrink.

Division ties the two together. The share's distance from one half is the gap divided by the tosses. If tosses grow a hundredfold and the gap only tenfold, the share moves ten times closer to half.

In an illustrative case, a gap of 100 heads in 1,000 tosses is 10 points off half. The same gap in 1,000,000 tosses is 0.01 points off. Nothing stops the gap itself being large in some sequences.

Why does a coin have no memory?

The commonest misreading has a name. The American Psychological Association's Dictionary of Psychology, in an entry updated on 19 April 2018, defines the gambler's fallacy as failing to see that chance events are independent.

Its example is a coin. After a run of heads, a person may feel tails is more likely. But each toss is independent, and the chance of heads stays 0.5.

Penn State's notes say the law does not work by compensation, since independent trials have no memory. Stark explains that an early surplus, say an illustrative 25 extra heads, is diluted rather than wiped out: it becomes a tiny fraction of the total. Luck evens out in the share through dilution, not because later tosses cancel the extra heads.

Who first proved the law, and what came later?

MacTutor says Jacob Bernoulli became professor of mathematics at Basel, in Switzerland, in 1687. His Ars Conjectandi ("The Art of Conjecturing") was published there in 1713, eight years after his death. Though unfinished, MacTutor calls it a work of the greatest significance in probability theory.

In a 2018 history paper, Glenn Shafer of Rutgers University and Vladimir Vovk of Royal Holloway, University of London, explain the result. Bernoulli proved that over a long enough run of independent trials, an event's share is very probably close to its probability. Results of this kind are now called weak laws.

  • Siméon Denis Poisson, in France, introduced the name "law of large numbers", say MacTutor and Shafer and Vovk, who date it to 1837.
  • Pafnuty Chebyshev, in Russia, used Bienaymé's inequality in an 1867 paper to give a generalised law, MacTutor says.
  • Émile Borel published the strong law in 1909, Shafer and Vovk write: the share of heads in an endless run of independent fair tosses converges to one half with probability one. Khinchin coined the name in 1928.

Where is the law put to work?

Insurance pooling. HM Revenue and Customs (HMRC), the United Kingdom's tax authority, gives an example in its General Insurance Manual, updated on 6 October 2023. Suppose that, on average, one car in ten is stolen each year, and thefts are independent. Insuring only ten cars brings about a one in four chance that two or more are stolen.

The more cars insured, HMRC says, the more accurately the share stolen can be predicted, and it calls this the operation of the law of large numbers.

Surveys. The Office for National Statistics (ONS), the United Kingdom's statistics office, says survey results are estimates, and that a sample large enough and well designed can lead to accurate statistics. How pollsters turn this into a margin of error is a separate story.

Quality control. The NIST/SEMATECH e-Handbook of Statistical Methods, from the United States' National Institute of Standards and Technology (NIST), describes acceptance sampling: a random sample decides the fate of a whole lot. For a large lot, it treats the number of defectives in the sample as approximately binomial, the coin-toss model. By the law of large numbers, the larger the sample, the likelier its share of defectives is to sit near the lot's.

Repeated measurements. NIST's uncertainty guide says that a quantity observed n times independently, under the same conditions, is usually estimated by the mean. Penn State's STAT 500 notes give the mean's standard error as σ ÷ √n, where σ is the spread of single readings, so it falls as repeats are added.

What does the law not promise?

Nothing about the next trial. Penn State's notes say that after 10 cars in a row pass a toll with an electronic tag, the next 10 are no less likely to carry one, because the cars are independent.

Independence. Weather records often fail this test. Penn State's notes point out that snow on the ground at an airport on 27 February and on 28 February are not independent: knowing one day raises the chance for the next.

A fixed probability. The share settles on the true probability, which may differ from the one assumed. A team led by František Bartoš at the University of Amsterdam, in the Netherlands, reports in a paper revised on 17 April 2025 that coins landed on the same side they started about 50.8 per cent of the time.

Averages that never settle. With heavy tails, extreme values are far more common than in a normal, bell-shaped distribution. The NIST handbook says the Cauchy distribution has no defined mean, and that the average of 1,000 observations is no more accurate than a single one.

How can the student picture the law with a simulation?

Penn State's notes suggest simulation: a computer repeats a chance process, and with enough repetitions, the law says, the pattern will emerge. The counts below are illustrative.

Table: One illustrative run of a fair coin

TossesHeadsShareGap from half
10770%2 above
1005454%4 above
1,00049149.1%9 below
10,0005,04250.42%42 above

Real records settle too. Bartoš and colleagues note that Karl Pearson got 12,012 tails in 24,000 tosses (50.05 per cent) and John Kerrich 5,067 heads in 10,000 (50.67 per cent). Their own 350,757 flips gave 175,421 heads, 50.01 per cent.

How does this work with real numbers?

Both examples use illustrative numbers.

How can the share move closer to half while the gap grows?

  • 10,000 tosses, 5,080 heads: share = 5,080 ÷ 10,000 = 0.508, or 50.8 per cent, 0.8 points from half. Gap = 5,080 − 5,000 = 80.
  • 1,000,000 tosses, 500,600 heads: share = 500,600 ÷ 1,000,000 = 0.5006, or 50.06 per cent, 0.06 points from half. Gap = 500,600 − 500,000 = 600.

The share is about 13 times closer to half (0.8 ÷ 0.06 ≈ 13.3), while the gap is 7.5 times larger (600 ÷ 80 = 7.5).

How far does a share usually stray from half?

Penn State's STAT 500 notes give the standard error of a proportion as √(p(1 − p) ÷ n). For a fair coin, p = 0.5, so p(1 − p) = 0.25. The values of n are illustrative.

Table: Standard error of the share of heads

Tosses (n)CalculationStandard errorTypical gap (n × error)
100√(0.25 ÷ 100) = √0.00250.055
10,000√(0.25 ÷ 10,000) = √0.0000250.00550
1,000,000√(0.25 ÷ 1,000,000) = √0.000000250.0005500

Multiplying the trials by 100 divides the standard error by 10, because √100 = 10. The typical count gap grows tenfold at each step, as Stark's square-root law predicts.

Where can the student go deeper in World 101?

This page follows one idea: why shares settle over many independent trials while counts keep wandering, and why a coin keeps no score. The World 101 subject Probability, Risk & Uncertainty takes the wider view, from the basic rules of chance to the ways people and institutions measure and manage risk.

Three related subjects carry these ideas further. Statistics & Data shows how samples are drawn and summarised, and why a standard error shrinks as a sample grows. Causal Inference & Experiments explains how repeated, randomised trials separate a real effect from chance. The Scientific Method sets repeated measurement inside the wider work of testing ideas against evidence, where a single result is rarely enough.

Sources

  • J. J. O'Connor and E. F. Robertson, MacTutor History of Mathematics, University of St Andrews: "Jacob (Jacques) Bernoulli", updated September 1998 (Basel, 1687; Ars Conjectandi, 1713); "Siméon Denis Poisson", updated August 2002 (1837); "Pafnuty Lvovich Chebyshev", updated November 2002 (1867).
  • G. Shafer and V. Vovk, "The origins and legacy of Kolmogorov's Grundbegriffe", arXiv, 5 February 2018 (1713, 1837, Borel 1909, Khinchin 1928).
  • P. B. Stark, SticiGui, Department of Statistics, University of California, Berkeley, "The Long Run and the Expected Value", "Standard Error" and "Probability: Philosophy and Mathematical Background", with the glossary entries "Law of Large Numbers" and "Empirical Law of Averages", read 16 November 2026.
  • Penn State Department of Statistics, STAT 100, Lesson 7, and STAT 500, Lesson 4, read 16 November 2026.
  • American Psychological Association, APA Dictionary of Psychology, "gambler's fallacy", updated 19 April 2018.
  • HM Revenue and Customs, General Insurance Manual, GIM1130, published 15 April 2016, updated 6 October 2023.
  • Office for National Statistics, "Uncertainty and how we measure it for our surveys", read 16 November 2026.
  • NIST/SEMATECH e-Handbook of Statistical Methods, sections 6.2.1, 6.2.3.2 and 1.3.6.6.3; NIST, "Evaluating uncertainty components: Type A"; both read 16 November 2026.
  • F. Bartoš and others, University of Amsterdam and partners, "Fair coins tend to land on the same side they started: Evidence from 350,757 flips", arXiv version 4, 17 April 2025.

Common errors and misconceptions

  • Misconception: After a run of heads, tails is due. Correct: Each toss is independent and heads stays at 0.5; the APA calls this belief the gambler's fallacy.
  • Misconception: The number of heads gets ever closer to half the tosses. Correct: Only the share settles; Stark notes the count gap tends to grow.
  • Misconception: Later results correct earlier ones. Correct: Penn State says the law does not work by compensation; early runs are diluted.
  • Misconception: Any average settles with enough data. Correct: The law needs independence and a fixed probability, and NIST notes the Cauchy distribution has no defined mean.
  • Misconception: The law is just the "law of averages". Correct: Stark separates the proved theorem from the Empirical Law of Averages, an assumption about the world.

Key takeaways

  • Over many independent trials with a fixed probability, the share of outcomes tends to get closer to that probability: the law of large numbers.
  • The share settles but the count gap tends to grow, roughly with the square root of the trials, because the gap is divided by ever more trials.
  • A coin has no memory, so a run of heads makes tails no more likely; believing otherwise is the gambler's fallacy.
  • Bernoulli's proof appeared in Ars Conjectandi in 1713; Poisson named the law, Chebyshev generalised it in 1867 and Borel published the strong law in 1909.
  • Insurers pool independent risks, statistics offices and factories use random samples, and scientists average repeated measurements, all relying on this settling.
  • The standard error of a proportion, √(p(1 − p) ÷ n), falls tenfold when trials rise a hundredfold: 0.05 at 100 tosses, 0.0005 at 1,000,000.

Test yourself

What two conditions does the law of large numbers need?

Independent trials, so one result does not change another's chances, and the same fixed probability every time.

An illustrative 10,000 tosses give 5,080 heads. What are the share and the count gap?

The share is 5,080 ÷ 10,000 = 50.8 per cent; the gap is 5,080 − 5,000 = 80 heads.

Why can the count gap grow while the share settles?

The share's distance from half is the gap divided by the tosses, and the tosses grow faster than the gap.

What is the gambler's fallacy?

The mistaken belief that past results of independent chance events change the next one, such as expecting tails after many heads.

What is the standard error of the share for an illustrative 10,000 fair tosses?

√(0.25 ÷ 10,000) = √0.000025 = 0.005, or 0.5 percentage points.

Who first proved the law, and where was it published?

Jacob Bernoulli; his proof appeared in Ars Conjectandi, published in Basel in 1713, eight years after his death.

Go deeper in World 101: Probability, Risk & Uncertainty

Write about it

Turn a question from this chapter into a paper.

The Writing Studio has a structure guide, a rubric and citation tools for 15 formats, from essays to research papers. A free account keeps up to five drafts. Learnacy Essential adds feedback from an AI writing coach and submission to the Learnacy Review.

Publication depends on review and is not guaranteed.