Sampling Distribution of the Mean Calculator

Find the standard error σ/√n and the probabilities P(x̄ < a), P(x̄ > a) and P(a < x̄ < b) for a sample mean, using the central limit theorem.

Must be greater than 0.
A whole number, 1 or more. The normal model for x̄ is reliable when n is about 30 or more, or when the population itself is roughly normal.
If b is smaller than a the two are swapped.

Results

Standard error of the mean (σ ÷ √n)
3.00
P(x̄ < 97)
0.158655
P(x̄ > 97)
0.841345
P(97 < x̄ < 106)
0.818595
z-score of a, (a − μ) ÷ SE
-1.00
z-score of b
2.00
Mean of the sample means (μ)
100
Middle 95% of sample means
94.120108 to 105.87989

How it’s calculated

If you take many random samples of size n from a population with mean μ and standard deviation σ, the sample means x̄ form their own distribution. The central limit theorem says that distribution is approximately normal when n is large (about 30 or more), whatever the population's shape. It is centered on μ and is narrower than the population because averaging smooths out extremes.

mean of x̄ = μ standard error = σ ÷ √n z = (x̄ − μ) ÷ (σ ÷ √n) P(x̄ < a) = Φ(za) P(a < x̄ < b) = Φ(zb) − Φ(za)

Worked example: scores have μ = 100 and σ = 15, and you average a sample of n = 25. The standard error is 15 ÷ √25 = 3. Then P(x̄ < 97) has z = (97 − 100) ÷ 3 = −1, so the probability is Φ(−1) = 0.158655; P(x̄ > 97) = 0.841345. For b = 106, z = 2 and P(97 < x̄ < 106) = Φ(2) − Φ(−1) = 0.977250 − 0.158655 = 0.818595. About 95% of sample means fall within 100 ± 1.96 × 3, i.e. 94.12 to 105.88.

This page uses the population standard deviation σ. If you only have a sample standard deviation and a small n, the Student t distribution is more appropriate; see the confidence interval and t-test calculators.

Frequently asked questions

What is the difference between standard deviation and standard error?

The standard deviation σ measures the spread of individual values. The standard error σ ÷ √n measures the spread of sample means, and it shrinks as the sample gets bigger.

When can I use the normal model for x̄?

If the population is normal, it works for any n. If not, a common rule is n of about 30 or more; very skewed populations may need more.

Why does the probability for x̄ differ from the probability for a single value?

A single value varies by σ, but an average of n values varies by only σ ÷ √n, so it is much less likely to be far from μ.

Does it apply to sums as well as means?

The sum of n values has mean nμ and standard deviation σ√n. This page is for the mean; for sums, use the normal distribution calculator with those two numbers.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator