WordGPT

Sample size for ±1% margin of error at 95% confidence

For a margin of error of ±1% at 95% confidence you need a sample of 9,604 (using the worst case p = 0.5 and rounding up). If you expect a proportion nearer 0 or 1, fewer are enough.

How to work it out

  1. 1

    The margin of error for a proportion is E = z*·√(p(1−p)/n). Solve it for n.

    n=(z∗)2 p(1−p)E2n = \frac{(z^{*})^{2}\,p(1-p)}{E^{2}}
  2. 2

    The critical value for 95% confidence is z* = 1.960. The margin of error is E = 1% = 0.01.

    z∗=1.960,E=0.01z^{*} = 1.960,\qquad E = 0.01
  3. 3

    Without a prior estimate use p = 0.5, the worst case, which gives the largest n.

    n=1.9602×0.5×0.50.012=9603.65n = \frac{1.960^2 \times 0.5 \times 0.5}{0.01^2} = 9603.65
  4. 4

    Always round up to the next whole person.

    n=9,604n = 9,604
LaTeX source of the formulas on this page
\[ n = \frac{z^{*2}\,p(1-p)}{E^2} = 9,604 \]
\[ n = \frac{(z^{*})^{2}\,p(1-p)}{E^{2}} \]
\[ z^{*} = 1.960,\qquad E = 0.01 \]
\[ n = \frac{1.960^2 \times 0.5 \times 0.5}{0.01^2} = 9603.65 \]
\[ n = 9,604 \]

Sample size for ±1% at 95% confidence, by expected proportion

Expected proportion pSample size n
0.59,604
0.49,220
0.38,068
0.26,147
0.13,458
0.051,825

Sample size for ±1% at other confidence levels

ConfidenceSample size n (p = 0.5)
80%4,106
90%6,764
95%9,604
98%13,530
99%16,588

Questions

How many people do I need for a margin of error of 1% at 95% confidence?

9,604 (worst case p = 0.5).

Why use p = 0.5?

Because p(1 − p) is largest at 0.5, so the sample size is large enough whatever the true proportion turns out to be.

What if the population is small?

If the sample is more than about 5% of the population, apply the finite population correction n′ = n / (1 + (n − 1)/N), which lowers the number needed.

Other margins of error

Other confidence levels

    Sample size for a margin of error of 1% at 95% confidence: 9,604 | WordGPT