Estimating Sample Sizes for Means

Determine the minimum sample size needed to estimate a population mean within a specified margin of error at a chosen confidence level. Use the formula n=(zα/2σ/E)2n = (z_{\alpha/2}\sigma/E)^2, estimate σ\sigma from the range via the empirical rule when necessary, and analyze how nn scales with changes in precision and confidence.

Step 1 of 157%

Tutorial

The Sample Size Formula

When estimating a population mean μ\mu with a confidence interval, the margin of error is

E=zα/2σn.E = z_{\alpha/2} \cdot \dfrac{\sigma}{\sqrt{n}}.

To guarantee a margin of error no larger than a target value EE, solve for nn:

n=(zα/2σE) ⁣2.n = \left(\dfrac{z_{\alpha/2}\,\sigma}{E}\right)^{\!2}.

Since nn must be a whole number, we always round up to the next integer. Rounding down would let the margin of error exceed EE.

The critical values for the most common confidence levels are:

Confidencezα/2z_{\alpha/2}
90%90\%1.6451.645
95%95\%1.961.96
99%99\%2.5762.576

For example, with σ=5\sigma = 5, target E=1E = 1, and 95%95\% confidence:

n=(1.9651) ⁣2=(9.8)2=96.04    n=97.n = \left(\dfrac{1.96 \cdot 5}{1}\right)^{\!2} = (9.8)^2 = 96.04 \;\longrightarrow\; n = 97.
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle