Central Limit Theorem Calculator

Explore the Central Limit Theorem — compute standard error, z-scores, confidence intervals, and see how sample size affects the sampling distribution.

True population mean
Population standard deviation
n ≥ 30 recommended for CLT
Observed sample mean
Standard Error (SE)
0.311837
σ/√n = 1.71/√30
Z-Score
0.9620
(x̄ − μ) / SE = (3.80 − 3.50) / 0.3118
P(X̄ < x̄)
0.831986
83.199%
P(X̄ > x̄)
0.168014
16.801%
Margin of Error
±0.6112
z* × SE = 1.96 × 0.3118
95% CI for μ
3.1888 – 4.4112
x̄ ± 0.6112

Sampling Distribution Visualization

2.3μ = 3.504.7

Standard Error by Sample Size

nSE95% MoE95% Range WidthVisual SE
50.7638±1.49712.9943
100.5401±1.05862.1173
150.4410±0.86441.7287
200.3819±0.74861.4971
250.3416±0.66951.3391
300.3118±0.61121.2224
500.2415±0.47340.9469
1000.1708±0.33480.6695
2000.1208±0.23670.4734
5000.0764±0.14970.2994
10000.0540±0.10590.2117
Planning notes, formulas, and examples

About the Central Limit Theorem Calculator

The Central Limit Theorem (CLT) calculator demonstrates one of the most powerful results in statistics: regardless of the underlying population distribution, the sampling distribution of the sample mean approaches a normal distribution as sample size increases. This calculator computes standard errors, z-scores, confidence intervals, and visualizes how the sampling distribution narrows with larger samples.

The CLT is the theoretical foundation for most of inferential statistics. It justifies using normal-based methods (z-tests, confidence intervals) even when the population isn't normally distributed, as long as the sample size is large enough — typically n ≥ 30 is considered sufficient.

Enter your population parameters and sample details to see the exact sampling distribution characteristics, probability calculations, and a comparison table showing how standard error decreases with increasing sample size.

When This Page Helps

Understanding the CLT is essential for anyone working with data. It explains why normal-based methods dominate statistics, why larger samples are better, and how to properly interpret confidence intervals and hypothesis tests.

This calculator makes the abstract theorem concrete by showing exact numbers, visualizations, and comparisons across sample sizes — ideal for statistics coursework and practical research design.

How to Use the Inputs

  1. Enter the population mean (μ) and standard deviation (σ).
  2. Set the sample size (n) — the CLT works best when n ≥ 30.
  3. Enter an observed sample mean (x̄) to compute probabilities.
  4. Select a confidence level for the confidence interval calculation.
  5. Review the standard error, z-score, and probability outputs.
  6. Examine the sampling distribution visualization and the SE comparison table across sample sizes.
Formula used
Standard Error: SE = σ/√n. Z-score: z = (x̄ − μ)/SE. Margin of Error: MoE = z* × SE. Confidence Interval: x̄ ± MoE.

Example Calculation

Result: SE = 0.3119, z = 0.962, P(X̄ < 3.8) ≈ 83.2%

For die rolls (μ = 3.5, σ = 1.708) with n = 30, the standard error is 1.708/√30 ≈ 0.312. A sample mean of 3.8 gives z = (3.8 − 3.5)/0.312 ≈ 0.96, meaning about 83% of samples would have a mean below 3.8.

Tips & Best Practices

  • The standard error decreases as 1/√n — quadrupling the sample size halves the SE.
  • n ≥ 30 is a common rule of thumb, but highly skewed populations may need n ≥ 50 or more.
  • The CLT applies to means, not individual observations — don't confuse σ with SE.
  • When σ is unknown (common in practice), use the t-distribution instead of the z-distribution.
  • Larger samples give narrower confidence intervals — use the comparison table to plan your sample size.
  • The CLT doesn't require the population to be normal — it works for any distribution with finite variance.

Why the CLT Matters

The CLT is the reason we can perform t-tests, construct confidence intervals, and conduct z-tests even when the underlying data isn't normally distributed. Without the CLT, we'd need to know the exact population distribution before doing inference — which is rarely possible.

The Role of Sample Size

The CLT's convergence rate depends on the population's shape. Symmetric distributions converge quickly (n = 10 may suffice). Skewed distributions need larger n. The Berry-Esseen theorem provides a bound: the maximum error is proportional to E[|X − μ|³]/(σ³√n).

Connection to Confidence Intervals

A 95% confidence interval means: if we repeated our sampling procedure many times, about 95% of the resulting intervals would contain the true μ. The CLT justifies using x̄ ± 1.96 × SE as that interval, because the sampling distribution of x̄ is approximately N(μ, SE²).

Sources & Methodology

Last updated:

Frequently Asked Questions

  • For a population with mean μ and standard deviation σ, the distribution of sample means from samples of size n approaches N(μ, σ²/n) as n increases, regardless of the population's shape.