Skip to content

Central Limit Theorem Calculator

Find the sampling distribution of the mean, sum or proportion: standard error, z-scores, probabilities, the finite population correction and the sample size you need.

Calculator Details

P(95 < x̄ < 105):95.45%See results ↓

Sample mean, sample sum, or sample proportion

Average of the whole population

Spread of individual values in the population

Number of observations in each sample

Between two values, below one, above one, or outside a range

In the units of the statistic: a mean, a sum or a proportion

Used for "between", "above" and "outside"

Your Results

P(95 < x̄ < 105): 95.45%

P(95 < x̄ < 105)

95.45%

x̄ ~ N(100, SE 2.5)

Standard error

2.5

σ ÷ √n (no finite population correction)

z-scores

−2 to 2

n for SE ≤ 2

57

Smallest sample size that meets the target

With n = 36, the sample mean is approximately normal with mean 100 and standard error 2.5, so the probability it falls between 95 and 105 is 95.45%.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Population vs sampling distribution of the mean

Population vs sampling distribution of the mean

Detailed Breakdown

Sampling distribution
QuantityValue
Mean of x̄100
Standard error before correction2.5
Finite population correctionnone (N not given)
Standard error2.5
P(x̄ < a)2.27501%
P(a < x̄ < b)95.45%
P(x̄ > b)2.27501%
How the sample size changes the answer
nStandard errorP(95 < x̄ < 105)
9568.2689%
183.5355384.2701%
36 (you)2.595.45%
721.7677799.5322%
1441.2599.9937%

Quadrupling the sample size halves the standard error: precision grows with √n.

How This Calculator Works

How it's calculated

x̄ ~ N(μ, σ/√n) · Σx ~ N(nμ, σ√n) · p̂ ~ N(p, √(p(1 − p)/n))

z = (value − mean) ÷ SE, then P from the standard normal Φ(z)

Your numbers: mean of x̄ = 100. SE = σ ÷ √n = 15 ÷ √36 = 2.5. z for a = (95 − 100) ÷ 2.5 = −2. z for b = (105 − 100) ÷ 2.5 = 2. So P(95 < x̄ < 105) = 95.45%.

Sample size for SE ≤ 2: n = (σ ÷ E)² with σ = 15, rounded up to 57.

Frequently Asked Questions

What does the central limit theorem say?

If you take many random samples of size n from a population with mean μ and finite standard deviation σ, the distribution of the sample means is approximately normal with mean μ and standard deviation σ ÷ √n, and the approximation improves as n grows. It holds whatever the shape of the population, which is why the normal distribution appears in so many tests and confidence intervals.

What is the standard error of the mean?

It is the standard deviation of the sampling distribution of the mean: σ ÷ √n. With σ = 15 and n = 36, the standard error is 2.5. It measures how far a sample mean typically lands from the population mean, not how spread out individual values are.

How do I find the probability that a sample mean is between two values?

Turn each value into a z-score with z = (value − μ) ÷ (σ ÷ √n), then subtract the normal probabilities. For μ = 100, σ = 15, n = 36, the values 95 and 105 give z = -2 and 2, so the probability is 95.45%.

Is n = 30 always enough?

No. Thirty is a rule of thumb that works for populations that are roughly symmetric. Strongly skewed populations (incomes, insurance claims, waiting times) can need 50, 100 or more before the sample mean looks normal, while a population that is already normal gives a normal sample mean for any n. For proportions the usual check is np ≥ 10 and n(1 − p) ≥ 10.

When do I use the finite population correction?

When you sample without replacement and the sample is a noticeable share of the population, usually more than 5%. Multiply the standard error by √((N − n) ÷ (N − 1)). Sampling 40 students from a class of 200 shrinks the standard error by about 10%; sampling 40 from a city of a million changes almost nothing, so leave the population size at 0.

What is the distribution of a sample sum?

The sum of n independent values is approximately normal with mean nμ and standard deviation σ√n. It is the same theorem: the sum is n times the mean. Use it for totals such as the combined weight of 36 passengers or the total claims in a month.

Does the central limit theorem apply to proportions?

Yes. A proportion is the mean of 0/1 values, so p̂ is approximately normal with mean p and standard error √(p(1 − p) ÷ n) once np and n(1 − p) are both at least 10. For small samples or proportions near 0 or 1, use the exact binomial distribution instead.

How large a sample do I need for a given standard error?

Solve σ ÷ √n ≤ E for n: n = (σ ÷ E)², rounded up. Halving the standard error takes four times the sample. With a finite population the formula becomes n = σ²N ÷ (E²(N − 1) + σ²). The calculator’s advanced options do both.

Included: the normal approximation to the sampling distribution of the sample mean, sum and proportion (OpenStax Introductory Statistics 2e ch. 7), probabilities from the standard normal distribution, the finite population correction for sampling without replacement, and the sample size for a target standard error. Left out: the continuity correction for proportions, exact binomial or t-based probabilities, populations with infinite variance (where the theorem does not apply), and simulation of a skewed population. The population curve on the chart is drawn as a normal curve with the same mean and standard deviation; your real population may be skewed.

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.

  1. Mean of the sampling distribution: 100.
  2. Standard error: 15 ÷ √36 = 15 ÷ 6 = 2.5.
  3. z-scores: for 95, z = (95 − 100) ÷ 2.5 = −2; for 105, z = (105 − 100) ÷ 2.5 = 2.
  4. 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.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy