Understand the idea
A fictional research team wants to estimate the average weight of small manufactured pieces. Its target population is very large, and it plans to select pieces randomly and independently in an approximately simple-random design. The team has a defensible planning estimate that the population standard deviation is about 12 grams. It wants an approximate 95% confidence interval with intended margin of error at most 3 grams.
What are we trying to estimate?
Imagine the research team measured only a sample and obtained a sample average of 50 grams. Suppose its estimation method gave a hypothetical interval from 47 g to 53 g.
First learner choice, before more notation: Does this interval stretch 3 g or 6 g in each direction from the estimate 50 g? Point to the centre, then to one end. What is the whole width?
Hint if stuck: From 50 to 53 is one side; from 47 to 53 runs across both sides.
Reveal after choice: The whole interval is 6 g wide, but its margin of error is 3 g, the distance from the estimated mean to either endpoint. We abbreviate that intended half-width by E. The interval is a statement about where the unknown population average might lie under a statistical method, not about where every individual piece weighs. The separate 12 g planning standard deviation, abbreviated σ, describes how much individual piece weights tend to vary, not the margin around the estimated mean.
Diagram: 3 parts. Swipe sideways, or focus and use left/right arrow keys. Every part is explained below.
What each part shows
- Left endpoint47 grams is 3 grams below the estimated centre.
- Centre50 grams is the estimated mean.
- Right endpoint53 grams is 3 grams above the estimated centre; total width is 6 grams.
Read the complete concept diagram in words
For the lesson's hypothetical estimate of average piece weight, the centre is 50 grams and the interval extends from 47 to 53 grams. The margin of error is the half-width from 50 to either endpoint: 3 grams. The full interval width from 47 to 53 is 6 grams, not the margin of error. This illustrates uncertainty about the population mean under a specified confidence procedure, not the range containing each individual piece weight.
A 95% confidence procedure means that if we repeated the stated sampling-and-interval method many times under its assumptions, approximately 95% of the resulting intervals would contain the one fixed population mean. It does not mean 95% of individual pieces are in this particular interval, or that a calculated single interval is guaranteed to contain the mean.
Predict before calculating: Would reducing the intended margin from 3 grams to 1.5 grams, while keeping confidence and variability the same, require twice as many observations, four times as many, or fewer? Choose and explain in everyday language before seeing a formula.
Identify assumptions before using a formula
For the mean of a large defined population and an approximately independent simple-random sample, a common normal-approximation planning formula is
n₀ = (z* × σ / E)².
It uses three quantities already named: E = planned half-width in grams (not the full 6 g width); σ = a defensible planning estimate of individual-weight spread, here 12 g; and z* = the multiplier for the desired confidence level, here 1.96 for a conventional two-sided 95% normal interval. n₀ is the calculated unrounded number of observations. Squaring means multiplying the result by itself. E and σ must use the same units.
This is a planning approximation, not a guarantee. It depends on the stated sampling method, confidence model, population size and planning spread. A study of a small population, strongly dependent observations, nonresponse or a systematically biased selection needs additional methods. If the mean-versus-individual-spread distinction is new, revisit the interval 47 to 53 and the difference between 3 g and 12 g before continuing.
Work through an actual number
Using z*=1.96, σ=12 g and E=3 g,
n₀=(1.96×12/3)²=(7.84)²=61.4656.
Sample size is a count of distinct observations, so round UP to 62, not 61, for this simplified model. Rounding to nearest could leave the intended half-width above 3 g.
Now require E=1.5 g with the same confidence and σ:
n₀=(1.96×12/1.5)²=(15.68)²=245.8624, so round up to 246.
Why four times? Halving E from 3 to 1.5 doubles the fraction (1.96×12)/E; then squaring twice as much gives four times as much unrounded n₀. This is why reducing intended error takes disproportionately more observations. Because whole counts are rounded up, 246 need not equal exactly four times 62 (248). This is a property of the approximation, not a universal empirical promise.
Guided calculation and small retry
Try before reveal: Keep 95% confidence and σ=12 g, but choose a margin E=2 g. First identify the margin as a half-width, then compute 1.96×12/2, square the result, and decide whether to round 138.2976 up or down. Write the count and why.
Optional hint if you chose 2 as a full width: The interval has the form estimate ± E. The full width would be 4 g when E is 2 g. Optional hint if you round down: Try the target half-width with n=138 and n=139: 1.96×12/√n. Which n gives a result no greater than 2 g?
Explanation: (1.96×12/2)²=11.76²=138.2976, so plan for 139 observations in this model. The approximation gives an achieved half-width of about 1.995 g at n=139, versus about 2.002 g at n=138. Rounding down would miss the stated target, even though the count is close.
Another guided example: For the same hypothetical mean study and 95% confidence, set E=4 g and keep σ=12 g. Work out (1.96×12/4)² and choose a valid integer count; explain why it can be smaller than for E=2 g. Hint: (5.88)² is between 34 and 35, so decide which whole count meets the maximum error. Explanation: n₀=34.5744; round up to 35. A larger acceptable margin needs fewer observations under the same assumptions.
Common mistakes
- Rounding down an unrounded requirement when a maximum intended margin is specified.
- Using a standard deviation and margin measured in inconsistent units.
- Thinking an increased confidence level requires a smaller sample when other factors stay fixed.
- Treating this formula as appropriate for any qualitative survey, small finite population, cluster design or a proportion without adjustment.
- Claiming 95% confidence means “95% of all individual items lie inside the interval”. The confidence level concerns the long-run coverage of the procedure for the true mean, not where individual measurements fall.
Independent transfer: different fictional measurement task
A separate fictional sensor project anticipates population standard deviation 10 units and wants a two-sided 95% mean interval with intended margin of error 2 units, still under the same large-population/approximate independent design. Determine the required whole-number sample size using 1.96 and justify the direction of rounding.
Try the independent task in notes or on paper. This public reading does not submit, save, grade or reveal an answer.
Key ideas
Sample-size planning connects confidence, population variability and desired precision. With confidence and variability fixed, halving desired margin roughly quadruples the unrounded required sample size. The proper choice must additionally consider sampling strategy, frame coverage, feasible response rates, practical resources and ethical collection. Next: sample proportions, finite-population adjustments and nonresponse planning. No live registration or school-grade claims accompany this lesson.