Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Central limit theorem simulator

Paste population values and set sample size and repetitions.

Simulated SD of sample means: —

Fill in the fields above — the result is computed on this page.

Population mean
—
Population sample SD
—
Expected standard error
—
Mean of sample means
—
Repetitions
—

Histogram of sample means

From To Samples Share
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • Compare simulated SD of means with σ/√n.
  • Increase n and watch the histogram narrow.
  • Strongly skewed populations may require larger n.

Simulation does not prove normality for a particular small sample. Dependence, infinite-variance heavy tails and unrepresentative data violate the model.

How do I use this page?
  1. Paste a finite population or empirical distribution.
  2. Set n, repetitions and seed.
  3. Compare the histogram with theoretical and simulated standard errors.

What this page does not do: Simulation does not prove normality for a particular small sample. Dependence, infinite-variance heavy tails and unrepresentative data violate the model.

Further reading

Theory — what is the central limit theorem?

The central limit theorem states that the distribution of sample means approaches a normal distribution as sample size grows, even when the population itself is not normal. The mean of that distribution tends toward μ, while its standard deviation tends toward σ divided by the square root of sample size n. The simulator lets you paste population values and set sample size and the number of repetitions to see this effect on a chart. A fixed seed reproduces the same experiment, making it easy to compare settings.

Frequently asked questions

Why use a random seed?
The same seed reproduces the experiment, making settings comparable.
Is n = 30 always enough?
No. Required size depends on skewness, tails, dependence and the analysis goal.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.