Central limit theorem

Also known as: CLT

On this page 8

The central limit theorem (CLT) is the result in statistics stating that the sum or mean of many independent, identically distributed random variables with finite variance follows an approximately normal distribution, regardless of the shape of the original distribution. As the sample size grows, the distribution of the sample mean concentrates around the population mean with a spread equal to the standard error, sigma divided by the square root of n.

In data work, the CLT is the reason analysts can attach confidence intervals and run hypothesis tests on averages, conversion rates and totals without knowing the exact distribution of the underlying data. It connects messy, skewed raw measurements to the well-understood mathematics of the bell curve.

How the central limit theorem works

The theorem describes the sampling distribution of the mean, not the distribution of individual observations. Take a population with mean mu and finite standard deviation sigma, draw a random sample of n values, and compute the sample mean. Repeating that process many times produces a distribution of means, and the CLT says this distribution approaches the normal shape as n increases.

Formally, the standardized sample mean, computed as the sample mean minus mu, divided by sigma over the square root of n, converges in distribution to the standard normal. Intuitively, extreme values in individual draws tend to cancel out when many draws are averaged, so the irregular features of the source distribution are smoothed away while its center and variance survive.

Three ingredients carry the result, and each one matters when the theorem is applied to real data. The table below summarizes them.

ConditionMeaningWhat happens if it fails
IndependenceEach observation does not influence the othersEffective sample size shrinks and intervals become too narrow
Identical distributionAll observations come from the same populationRelaxed versions still work under extra conditions
Finite varianceThe spread of the population is boundedAverages may never settle; heavy-tailed limits apply
Core conditions of the classical theorem

Versions and generalizations of the CLT

The textbook statement is the Lindeberg-Levy theorem for independent and identically distributed variables, but several stronger versions exist. They matter because real datasets rarely satisfy the strict assumptions, and the generalizations explain when the normal approximation remains valid.

VersionKey assumptionTypical use
Lindeberg-LevyIndependent, identically distributed, finite varianceStandard sampling and survey averages
LyapunovIndependent, not identical, a bounded higher momentMixed populations and heterogeneous sources
Lindeberg-FellerNo single term dominates the total varianceSums of many small, unequal effects
Multivariate CLTVectors of variables with a covariance matrixRegression coefficients and joint estimates
Martingale CLTDependent sequences with controlled incrementsTime series and sequential experiments
Common versions of the central limit theorem

A closely related quantitative result, the Berry-Esseen theorem, bounds how far the true distribution of the standardized mean can be from the normal curve. The bound shrinks in proportion to one over the square root of n and grows with the skewness of the population, which is why strongly skewed data needs larger samples.

How large a sample the CLT needs

There is no universal minimum sample size for the central limit theorem; the required n depends on how far the population departs from normality. The popular rule of n of 30 or more is a rough heuristic for moderately shaped data and can fail badly for skewed or heavy-tailed variables.

Population shapeRough n for a usable approximationReason
Symmetric, light tails10 to 20Little skewness to average away
Moderately skewed30 to 50Asymmetry fades slowly with n
Strongly skewed (incomes, latencies)Several hundred or moreRare large values dominate the mean
Rare binary events (low conversion rates)Enough for at least 10 events and 10 non-eventsDiscreteness distorts the shape
Infinite variance (some power laws)Never sufficientThe classical theorem does not apply
Approximate sample sizes by population shape

Practitioners check adequacy by simulating or bootstrapping the sampling distribution, inspecting a histogram or quantile plot of resampled means, and comparing it with the normal curve. When the resampled means look visibly skewed, the normal approximation is not yet reliable.

The central limit theorem is often confused with neighboring concepts in the same toolkit. The comparison below separates what each idea actually claims.

ConceptWhat it statesRelation to the CLT
Law of large numbersThe sample mean converges to the population meanGives the target; the CLT gives the shape of the error
Normal distributionA specific symmetric probability distributionThe limiting shape the CLT predicts
Standard errorStandard deviation of an estimatorSets the width of the CLT approximation
BootstrapResampling to estimate a sampling distributionAn empirical alternative when the CLT is doubtful
Stable distributionsLimits of sums with infinite varianceReplace the normal limit for heavy tails
Related concepts and how they differ

A frequent misreading is that the CLT makes the raw data normal. It does not: a sample of 10,000 skewed incomes remains skewed. Only the distribution of the mean across repeated samples becomes approximately normal.

Where the CLT appears in data analysis

Most everyday inference on averages relies on the theorem, often without naming it. The CLT justifies z-tests and t-tests on means, the familiar plus or minus 1.96 standard errors for a 95 percent confidence interval, and the normal approximation to the binomial distribution used for proportions.

  • A/B testing: differences in conversion rates or revenue per user are compared with normal-based tests.
  • Survey estimation: margins of error for polls and sample surveys rely on the approximate normality of proportions.
  • Quality control: control charts for subgroup means assume the plotted averages are close to normal.
  • Regression analysis: coefficient standard errors and p-values rest on a multivariate version of the theorem.
  • Monte Carlo simulation: the error of a simulated average is reported with a CLT-based interval.

Limitations and common mistakes

The theorem is an asymptotic statement, so it promises accuracy only in the limit, and misuse produces intervals that look precise but are wrong. The most damaging errors come from ignored dependence and heavy tails, not from small departures from normality.

MistakeConsequenceBetter practice
Treating clustered or time-correlated data as independentOverconfident intervals and false positivesUse cluster-robust or time-series standard errors
Applying n of 30 to heavy-tailed metricsCoverage far below the nominal levelBootstrap, transform the data or trim outliers
Assuming the CLT makes individual values normalWrong outlier thresholds and z-scoresModel the raw distribution separately
Ignoring infinite-variance behaviorAverages that never stabilizeUse medians or robust estimators
Typical errors when applying the theorem

The CLT also says nothing about sampling bias. A perfectly normal sampling distribution centered on the wrong value still yields a misleading estimate, so representative sampling remains a separate requirement.

In plain words

Individual measurements can be wildly uneven. Some customers spend nothing, a few spend a fortune. Yet if you repeatedly take groups of customers and calculate each group’s average, those averages line up in a predictable bell-shaped pattern around the true average.

That is the central limit theorem. Averaging smooths out the extremes, so the averages behave nicely even when the raw numbers do not. This is why a reasonably large, fair sample lets you say how much you can trust an average, and why bigger samples give tighter answers.

A real-world example

An e-commerce analytics team runs an A/B test on a new checkout page. Revenue per visitor is extremely skewed: about 97 percent of visitors buy nothing, while a few orders exceed 2,000 dollars. Each variant receives roughly 40,000 visitors over two weeks.

Because each group mean averages tens of thousands of independent visits, the CLT lets the team model the difference in mean revenue as approximately normal and report a 95 percent confidence interval. Before trusting it, an analyst bootstraps 5,000 resamples and confirms that the resampled differences form a nearly symmetric histogram.

The interval for the uplift runs from 0.04 to 0.31 dollars per visitor, excluding zero. The team ships the new page, but caps single orders above 5,000 dollars in a sensitivity check to make sure one unusual buyer did not drive the result. The conclusion holds after capping, giving a defensible decision.