Central Limit Theorem Demo

Pick any distribution and watch the histogram of sample means settle into a Normal shape as we repeat the experiment.

5200
1003 000

Population Distribution

Histogram of the source population each sample is drawn from.

Iterations
0
of 500
Observed Mean
-
Expected: -
Observed Std Dev
-
Expected (sigma/sqrt(n)): -
Convergence
Not started
Ready - set parameters and press Start

How it works

For a population with mean mu and variance sigma^2, the Central Limit Theorem says the sample mean X-bar for independent draws tends toward N(mu, sigma^2 / n) as n grows, even when the original population is skewed, heavy-tailed, or multi-peaked.

Increase sample size and iterations to watch the sample-mean histogram tighten and line up with the dashed theoretical curve.