Understanding the Law of Large Numbers in Probability
The law of large numbers states that as a random experiment is repeated many times under the same conditions, its experimental relative frequency tends to get closer to the theoretical probability. It explains why long-term outcomes are predictable even when individual events are completely random.
What is the law of large numbers?
The law of large numbers is a principle indicating that the long-run average of a randomly generated sequence will approach the expected mathematical outcome. While a single trial is unpredictable, the overall pattern becomes highly stable as the number of trials increases.
The long-run average of a random experiment approaches its theoretical expectation.

The true mathematical probability of an event remains hidden beneath the chaotic results of short-term trials. The law of large numbers guarantees that if you continue running the experiment forever, the average result will match the theoretical value perfectly.
Compare short runs and long runs
In a short run, the outcomes of a random experiment can fluctuate wildly and often deviate from expectations. In a long run, however, the relative frequency of an outcome closely matches what the mathematics predicts.
Consider flipping a fair coin. If you flip it just times, getting heads and tails is entirely possible. This short run has an experimental relative frequency of for heads, which is far from the expected .
If you flip that same coin times, getting heads is extremely unlikely. The total number of heads will generally fall very close to , aligning the relative frequency closely with .

Connect relative frequency to theoretical probability
The law of large numbers bridges the gap between what mathematics predicts and what happens in reality. The theoretical probability calculates the exact mathematical likelihood of an event occurring in a perfect model without needing any trials.
By contrast, the experimental probability records the actual relative frequency observed during a real-world trial.
When an experiment is performed only a few times, the experimental results may not resemble the theoretical model at all. However, as the number of trials grows into the hundreds or thousands, the experimental results consistently converge toward the theoretical probability. This predictable convergence allows mathematicians to calculate the expected frequency for any long-run event confidently.
Avoid the gambler's fallacy
The gambler's fallacy is the incorrect belief that past outcomes affect independent future events. The law of large numbers operates over massive sample sizes; it does not force short runs to balance out quickly.
If you flip a fair coin and land on heads five times in a row, you might feel that a tail is extremely likely on the sixth flip to correct the streak. However, the coin has no memory of the previous flips. The probability of landing on tails remains exactly for the next flip, regardless of the recent outcomes.

The law of large numbers works because an enormous number of subsequent trials simply dilutes the initial short-run streak. It never dictates that an opposite outcome is strictly due.
Interpret simulations and data
Because performing thousands of trials manually is time-consuming, mathematicians often use computer simulations to observe the law of large numbers in action.
By analyzing data tables generated from a simulation, you can track how the relative frequency stabilizes. Consider a computer program simulating the roll of a fair six-sided die to track how often a appears. The theoretical probability is , or approximately .
Number of Rolls | Number of Sixes | Relative Frequency |
The table shows that at rolls, the relative frequency is far from the expected value. However, as the sample size expands to rolls, the relative frequency steadily approaches the theoretical expectation of .
Worked examples
Applying the law of large numbers involves comparing the behavior of experimental data to theoretical expectations across varying sample sizes.
Example 1: Estimating theoretical probability from a long run
Question: A weighted coin is flipped times. The coin lands on tails times. Based on the law of large numbers, what is the best estimate for the theoretical probability of the coin landing on tails on the next flip?
Method:
- Identify the number of trials and the successful outcomes.
- Calculate the relative frequency of the event by dividing the successes by the trials.
- Use the law of large numbers to estimate the true probability from this extensive long-run sequence.
Answer: The estimated theoretical probability is , or .
Check: Multiply the probability by the number of trials: , which matches the experimental data perfectly.
Example 2: Analyzing short-run fluctuations
Question: A standard six-sided die is rolled times, and the number appears times. The mathematically expected frequency for rolling a in rolls is times. Does this result violate the law of large numbers?
Method:
- Determine the length of the run based on the number of trials.
- Recall the condition required for the law of large numbers to apply.
- Compare the small sample size to the expected stabilizing behavior of a large sample.
Answer: No. Twelve rolls is a short run, and short runs frequently deviate significantly from theoretical expectations. The law of large numbers only guarantees convergence over many trials.
Check: Since is a very small number of trials, a wide variance is completely normal and does not contradict long-run principles.
Example 3: Independent events and future outcomes
Question: A fair coin is flipped times and lands on heads every time. A student claims that a tail must be extremely likely on the fifth flip to balance out the results. Is the student correct?
Method:
- Identify the theoretical probability of landing on tails for any single flip of a fair coin.
- Determine if consecutive coin flips are independent events.
- Evaluate the student's claim against the definition of the gambler's fallacy.
Answer: The student is incorrect. The probability of landing on a tail on the fifth flip remains strictly . The coin has no memory of past flips.
Check: The law of large numbers guarantees the long-run average through massive volume, not by forcefully correcting short-term streaks. Therefore, the chance of tails remains .
Common mistakes
Assuming short runs must look random
Many people expect a small sample, such as coin flips, to yield exactly heads and tails to match the probabilities. In reality, short runs frequently produce uneven results and unexpected streaks, which is perfectly normal probabilistic behavior.
Confusing raw totals with relative frequency
The law of large numbers states that the relative frequency (the percentage or proportion) approaches the theoretical probability. It does not state that the raw numerical difference between expected successes and actual successes will shrink to zero. In fact, that raw difference often grows.
Applying the law to dependent events
The law of large numbers applies only to independent events repeated under identical conditions. If an experiment changes—such as drawing cards from a deck without replacing them—the theoretical probability shifts entirely, and simple long-run convergence no longer applies in the same way.
Frequently asked questions
Does the law of large numbers guarantee an exact match?
No. The experimental probability will approach the theoretical probability very closely, but it is rarely a perfect, identical match even after a massive number of trials.
How many trials are considered a large number?
There is no strict fixed boundary. In general, significant stabilization begins to appear after several hundred trials, while thousands of trials provide highly stable convergence. The required number of trials always depends on the natural variance and complexity of the experiment.
Why is the law of large numbers important in real life?
It is the foundation of statistical forecasting and risk assessment. Insurance companies, financial analysts, and safety researchers use long-run data to confidently predict outcomes, set policies, and understand systemic risks despite the completely random nature of individual events.
Practice questions

Based on the graph, what is the best estimate for the theoretical probability of the event?
What does the law of large numbers mathematically state about a random experiment?
Short runs will always match the theoretical probability exactly.
The theoretical probability changes as the number of trials increases.
The experimental relative frequency approaches the theoretical probability over many trials.
A streak of one outcome makes the opposite outcome more likely to happen next.
The experimental relative frequency approaches the theoretical probability over many trials.

A wheel lands on black times in a row. What does the law of large numbers suggest about the next spin?
Red is guaranteed to happen next to balance the outcomes.
Red is slightly more likely to happen next because of the long streak.
Black is more likely to happen next because it is on a hot streak.
The probability of landing on black or red remains completely unchanged.
The probability of landing on black or red remains completely unchanged.
A software program flips a virtual fair coin. Which of the following sample sizes is most likely to produce a relative frequency between and ?
flips
flips
flips
flips
flips

A bag contains red marbles and blue marble. The theoretical probability of drawing a blue marble is . If a student draws a marble times, replacing it each time, and gets blue marbles, what mathematically explains this result?
The theoretical probability was calculated incorrectly.
Short runs often deviate widely from the theoretical probability.
The law of large numbers guarantees exactly blue marble in draws.
The experiment must have been performed unfairly.
Short runs often deviate widely from the theoretical probability.
