Central Limit Theorem Calculator: Standard Error, Probabilities and Sample Size
By FindMySum · Last reviewed
A central limit theorem calculator answers one question: if you take a random sample of n values, where is the sample mean likely to land? The theorem says the answer is a normal distribution centred on the population mean, with a spread that shrinks as the sample grows. This page finds that sampling distribution for a sample mean, a sample sum or a sample proportion, gives the probability that the statistic falls below, above, between or outside the values you choose, applies the finite population correction when you sample a large share of a small population, and finds the sample size that reaches a target standard error.
The theorem in one paragraph
Take a population with mean μ and standard deviation σ. Draw a random sample of n values and compute the mean x̄. Do it again and again. The collection of all those sample means has its own distribution, the sampling distribution of the mean. The central limit theorem says that, for large enough n:
- its mean is μ (sample means are unbiased);
- its standard deviation, the standard error, is σ ÷ √n;
- its shape is approximately normal, whatever the shape of the population.
The same holds for the sample sum (mean nμ, standard deviation σ√n), because the sum is n times the mean, and for a sample proportion p̂, which is the mean of values that are 1 or 0 (mean p, standard error √(p(1 − p) ÷ n)).
Worked example with the default numbers
IQ scores are scaled to a mean of 100 and a standard deviation of 15. Take samples of n = 36 people.
- Mean of the sampling distribution: 100.
- Standard error: 15 ÷ √36 = 15 ÷ 6 = 2.5.
- z-scores: for 95, z = (95 − 100) ÷ 2.5 = −2; for 105, z = (105 − 100) ÷ 2.5 = 2.
- Probability: Φ(2) − Φ(−2) = 0.97725 − 0.02275 = 0.9545.
So about 95.45% of samples of 36 people have a mean IQ between 95 and 105, even though individual IQs are spread from below 70 to above 130. The chart shows both curves: the wide population and the narrow sampling distribution, six times narrower because √36 = 6.
Mean, sum or proportion: which to choose
Sample mean is the usual choice: average weight in a sample, average delivery time, average test score.
Sample sum answers questions about totals. An elevator rated for 2,700 kg carries 36 people whose weights have mean 75 kg and standard deviation 15 kg. The total has mean 36 × 75 = 2,700 kg and standard deviation 15 × √36 = 90 kg. The chance of an overload is the chance the total exceeds 2,700, which is 50%: the rating is right at the average, which is why real limits leave a margin.
Sample proportion is for yes/no data. If 40% of voters support a policy and a poll samples 100 people, the sample proportion has mean 0.40 and standard error √(0.40 × 0.60 ÷ 100) ≈ 0.049. The chance the poll lands between 35% and 45% is about 69%. Pollsters quote a margin of error of about two standard errors, roughly ±10 points for a sample this small.
The finite population correction
The formula σ ÷ √n assumes each draw is independent, which is true when you sample with replacement or when the population is huge. When you sample without replacement from a small population, each value drawn changes what is left, and the sample mean varies less. Multiply the standard error by
√((N − n) ÷ (N − 1))
where N is the population size. Sampling 40 students from 200 gives √(160 ÷ 199) ≈ 0.897, so the standard error is about 10% smaller. A common rule is to apply the correction when n is more than 5% of N. Leave the population size at 0 for a large population.
How big must n be?
The theorem is a limit: it gets closer to exact as n grows. Textbooks often quote n ≥ 30, and the calculator flags smaller samples. The real requirement depends on the population:
- Normal population: the sample mean is exactly normal for any n.
- Roughly symmetric population: 15 to 30 is usually enough.
- Strongly skewed population (incomes, claim sizes, time to failure): 50 to several hundred.
- Proportions: np ≥ 10 and n(1 − p) ≥ 10, so a rare event with p = 0.02 needs n ≥ 500.
If the population has no finite variance, as with some heavy-tailed distributions, the theorem does not apply at all.
Sample size for a target standard error
Precision grows with the square root of n. To bring the standard error of the mean down to E, solve σ ÷ √n ≤ E:
n = (σ ÷ E)², rounded up.
With σ = 15 and a target of 2, n = 7.5² = 56.25, so 57 people. Halving the standard error needs four times the sample, which is why very precise surveys are expensive. With a finite population, n = σ²N ÷ (E²(N − 1) + σ²). For a proportion, use σ² = p(1 − p); with no prior estimate, p = 0.5 gives the largest, safest sample.
Common mistakes
- Using σ instead of σ ÷ √n. A z-score for one person uses σ; a z-score for a sample mean uses the standard error.
- Forgetting the theorem is about means, not individuals. Averages of 36 IQs are rarely below 95; individual IQs below 95 are common.
- Treating 30 as magic. Check the shape of your data, especially for skewed or rare-event data.
- Ignoring dependence. People sampled from the same household or classroom are not independent; the true standard error is larger.
Related calculators
Use the z-score calculator for a single value, the standard deviation calculator to get σ from data, the point estimate calculator for a confidence interval around a sample proportion or mean, and the t-test calculator when σ is unknown and the sample is small.
More questions
Why does the sample mean become normal even when the population is not?
Each sample mean averages many independent values. Unusually high and unusually low values tend to cancel, and the sum of many small independent effects settles into the bell shape. Mathematically, the theorem shows that the standardised mean converges to the standard normal distribution for any population with a finite variance.
Is the standard error the same as the standard deviation?
No. The standard deviation describes individual values in the population or sample. The standard error describes the sample mean, and it is the standard deviation divided by the square root of the sample size. A population with σ = 15 has a standard error of 2.5 for samples of 36.
What if I only know the sample standard deviation?
For large samples you can use s in place of σ and the result is close. For small samples with an unknown σ, the standardised mean follows Student's t distribution with n − 1 degrees of freedom, so use the t-test or point estimate calculator instead of the normal probabilities here.
Does the theorem need the observations to be independent?
Yes. The standard result assumes independent, identically distributed observations. Clustered samples, time series with autocorrelation and samples taken without replacement from a small population all change the standard error. The finite population correction handles the last case; the others need other methods.
Where is the central limit theorem used in practice?
Opinion polls report a margin of error built on the standard error of a proportion. Quality control charts set limits at the process mean plus or minus three standard errors. A/B tests, confidence intervals and most z and t tests rely on the sampling distribution being close to normal.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.