Watch sample averages from flat, lumpy or heavily skewed populations pile up into a bell curve. Simulate 2,000 samples and compare the results with what the theorem predicts.
x̄ ≈ N(μ, σ ÷ √n) for large n
Population: Exponential, mean 1 minute: strongly right-skewed. μ = 1, σ = 1, skewness = 2.
The central limit theorem says that the average of many independent random values follows a roughly normal distribution, whatever the shape of the population they come from. The only requirement is that the population has a finite standard deviation.
That's why the bell curve turns up everywhere in statistics. Confidence intervals, t-tests and margins of error all rely on sample means being close to normal, even when individual values are lopsided.
How large n must be depends on the population. Symmetric populations converge within a handful of values. Skewed ones, like waiting times or rare events, need far more, because the skewness of x̄ only shrinks with √n.
As given in OpenStax Introductory Statistics, section 7.1, and the NIST/SEMATECH e-Handbook, section 1.3.5.11. See Sources.
This is the practical gauge of "large enough": once it is below about 0.25, the normal curve fits well.
The famous "n = 30" rule leaves skewness of 0.37 here, so tail probabilities from the normal curve will be a little off. Try the Waiting time population above at n = 30 and n = 100 to see the difference.
Skewness of the sample mean, population skewness ÷ √n. Symmetric populations start at 0, though their shape still changes.
| Population | n = 5 | n = 30 | n = 100 | n for skew < 0.25 |
|---|---|---|---|---|
| Waiting time | 0.89 | 0.37 | 0.2 | 64 |
| Rare event | 1.85 | 0.75 | 0.41 | 273 |
It uses 2,000 samples, not infinitely many. Its SD is typically within about 2% of σ ÷ √n; the skewness estimate is noisier.
Reruns the simulation with fresh random numbers. The histogram changes a little each time, but its shape and spread stay the same.
Yes. Sums are just n times the mean, so they’re approximately normal with centre nμ and spread σ√n.
It’s symmetric with no extreme values. Even the average of 2 dice is triangular, and of 5 dice is close to a bell.
It shows a population with no peak in the middle still gives averages that peak in the middle, once n is a few values.
Yes. A proportion is the mean of 0s and 1s, which is what the Rare event option simulates.
Sample medians are also approximately normal for large n, but with a different spread formula.
De Moivre showed it for coin tosses in 1733, Laplace extended it, and Lyapunov gave a general proof in 1901.
Related Tools
Required sample size.
Estimate population parameters.
Survey accuracy measure.
Single parameter value.
Sampling variability.
Sample statistic distribution.