Track 7 · Estimation and Confidence Intervals · Lesson 9 of 10

Planning sample size

Calculate the sample size needed for a target margin of error when estimating a mean or a proportion.

25 minIntermediate8 graded exercisesMembers

A city council wants to know the share of households that would use a recycling pickup service, to within 3 percentage points. Survey too few and the answer is too vague to act on; survey too many and money is wasted. A two-line calculation, done before any data are collected, gives the number to aim for.

The margin of error of an interval for a mean is E=zα/2 σ/nE = z_{\alpha/2}\,\sigma/\sqrt{n}. Planning reverses the question: choose the margin EE you need and solve for nn.

Included with a Formula Quest membership

It has 8 graded exercises with feedback, hints and worked solutions. After it you will be able to:

  • Calculate the sample size for a mean from a planning σ and a target margin
  • Calculate the sample size for a proportion, using p = 0.5 when nothing is known
  • Always round up, and adjust for non-response and small populations
  • Explain why sample size controls only random error, not bias