Roll one die and every face is equally likely. The picture is flat. Now roll it 30 times and take the average. Do this thousands of times and plot the averages. A bell shaped curve appears, centred on 3.5. Nothing about the die changed. What changed is that you looked at averages. This is the central limit theorem.
It is one of the most useful ideas in statistics, because it lets you use the normal curve for problems where the data are not normal. Confidence intervals, margins of error and most hypothesis tests rest on it. It is also the reason why large samples are trusted.
This tutorial explains what the theorem says, its formulas for the sum and for the mean, a corrected dice example, a step by step method with a full worked question, how large a sample you need, and a Python simulation.
Take a population with a finite mean and variance. Draw many random samples of the same size n. As n grows large enough, the distribution of the sample means gets close to a normal distribution, whatever the shape of the population.
In symbols, for independent random variables X1 to Xn with the same distribution, mean mu and variance sigma squared:
| Quantity | Distribution for large n |
|---|---|
| Sum of the values | Close to normal with mean n times mu and variance n times sigma squared |
| Sample mean | Close to normal with mean mu and variance sigma squared divided by n |
Two effects as n increases:
The live page says that the spread decreases, without saying that this applies to the mean only.
The conditions: the samples must be random and independent, and the population needs a finite variance. The population does not have to be normal.

A fair die gives each face, 1 to 6, a probability of one in six. The mean is 3.5 and the standard deviation is 1.708.
The live page says that if about 1,000 students each roll the die, the histogram of the results moves toward a normal curve. It does not. I ran this: 1,000 students rolled once, and the counts for faces 1 to 6 were 172, 165, 172, 171, 169 and 151. The histogram is flat, which is the uniform distribution.
Now let each student roll 30 times and write down the average. I ran this too. The 1,000 averages had a mean of 3.483, a standard deviation of 0.314 (theory: 1.708 divided by the square root of 30 = 0.312), and a skew of minus 0.141, which is nearly symmetric. A histogram of these averages is bell shaped.
The sum of 30 rolls has a mean of 30 times 3.5 = 105 and a standard deviation of 9.354. The chance that the sum goes above 120, from a simulation of 200,000 trials, is 0.0488. The normal approximation gives the same, 0.0488.
A typical word problem gives a population mean, a standard deviation and a sample size, and asks for the probability that the sample mean falls in some range. The steps below show how to solve it.


The live page replaces steps 3 to 6 with a subtraction from 0.75, which is not a valid method.
The live page mentions 64 children and sigma = 6, but never completes the question. Here is a full version with made up numbers. A population has a mean of 20 and a standard deviation of 6. You take a sample of 64. What is the probability that the sample mean is above 21? And between 19 and 21?
Meaning: if you take many samples of 64, about 9 percent will have an average above 21, and about 82 percent will fall between 19 and 21. The sample mean tends to stay close to 20, because the standard error is only 0.75.
A common rule of thumb is n of 30 or more. It is only a guide. The more skewed the population, the bigger n you need. I tested a strongly skewed population (waiting times) with 5,000 samples for each size, and measured the skew of the sample means. A skew near 0 means a symmetric shape.
| Sample size n | Skew of the sample means | Shape |
|---|---|---|
| 2 | 1.43 | Still clearly skewed |
| 10 | 0.63 | Less skewed |
| 30 | 0.37 | Close, but not perfect |
| 100 | 0.24 | Close to normal |
So for a very skewed population, n = 30 is not enough for a perfect bell, though it is often good enough for a rough answer. If the population is already close to normal, even a small n works. This also means that small samples, such as 17 males or 11 seniors in the live page’s list, need a nearly normal population.
I ran the code below, and the output is real.
| Mistake | Fix |
|---|---|
| Thinking the data become normal | The distribution of the sample mean becomes normal. The data stay as they are |
| Applying it to a single roll or a single value | It applies to sums and averages |
| Saying the population must be normal | It does not, for a large enough n |
| Using sigma instead of sigma divided by the square root of n | For a sample mean, divide by the square root of n |
| Subtracting the z score from a number | Read the probability from the z table |
| Saying the spread of the sum shrinks | Only the spread of the mean shrinks |
| Trusting n = 30 for a very skewed population | Check the shape, and use a bigger n |
| Using it for dependent or biased samples | It needs random, independent samples |
Answers: 1) The mean is 50. The standard error is 10 divided by 5 = 2. 2) z = (53 minus 50) divided by 2 = 1.5. 3) The mean is 105 and the variance is 30 times 2.9167 = 87.5. 4) No. The data keep their own shape. It is the distribution of the sample mean that becomes normal. These are my own answers, so please recheck them before publishing.
The central limit theorem is the reason that one curve, the normal curve, can handle so many different problems. The data keep their own shape. It is the average that becomes bell shaped, and its spread shrinks with the square root of n. Remember that, and most of inference follows.