Skip to main content
ExamExplained
SA · Math Methods
Math Methods study scene
§-Syllabus dot point
SAMath MethodsSyllabus dot point

How large a sample do we need to achieve a required level of precision?

The margin of error sets the precision of an estimate; rearranging it determines the sample size needed for a target margin.

What the margin of error is, how it depends on confidence level and sample size, and how to rearrange the formula to find the sample size needed for a required precision.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. What the margin of error depends on
  3. Finding the required sample size
  4. Margin of error for a proportion
  5. Reading the precision requirement
  6. Common errors
  7. Why it matters

What this dot point is asking

The margin of error EE is how far the confidence interval extends each side of the sample mean - it measures the precision of the estimate. A small margin means a precise estimate; a large margin means a vague one.

What the margin of error depends on

Three levers control it:

  • Confidence level (zz^*): higher confidence ⇒ larger zz^* ⇒ larger EE.
  • Population spread (σ\sigma): more variable data ⇒ larger EE.
  • Sample size (nn): bigger sample ⇒ smaller EE (via n\sqrt{n}).

Only nn is usually under your control, so questions ask: how big must nn be to get a margin no larger than some target?

Finding the required sample size

Rearrange E=zσnE=z^*\dfrac{\sigma}{\sqrt{n}} to make nn the subject:

Margin of error for a proportion

The same logic applies when estimating a population proportion rather than a mean. The margin of error becomes E=zp(1p)nE=z^*\sqrt{\dfrac{p^*(1-p^*)}{n}}, where pp^* is the sample proportion. Rearranging for nn gives n=(zE)2p(1p)n=\left(\dfrac{z^*}{E}\right)^2 p^*(1-p^*). The structure is identical: the required sample size depends on the square of zE\dfrac{z^*}{E}, so halving the margin again quadruples the sample. When no estimate of pp^* is available, using p=0.5p^*=0.5 maximises p(1p)p^*(1-p^*) and therefore gives the safest (largest) sample size, a worst-case planning value examiners often expect.

Reading the precision requirement

Exam questions express the precision target in different words: "to within 55 units" means E=5E=5; "an interval of width 1010" means 2E=102E=10, so E=5E=5; and "accurate to one decimal place" usually means E=0.05E=0.05. Translating the wording into a value of EE before substituting is the step most often fumbled. Always write down EE explicitly, halving the width when the question gives a full interval width rather than a one-sided margin.

Common errors

Why it matters

Sample-size planning is the practical pay-off of Topic 6 - it answers the real-world question "how much data do I need?" and is a reliable exam item. It also reinforces the inverse-square relationship between precision and sample size, a key insight for designing the data collection in your Mathematical Investigation.

Exam-style practice questions

Practice questions written in the style of SACE Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SACE 20223 marksCalculator-free. Given an estimate pp^*, show that the sample size nn required for a 95%95\% confidence interval of width ww for a population proportion is n=(2×1.96w)2p(1p)n = \left(\dfrac{2 \times 1.96}{w}\right)^2 p^*(1 - p^*).
Show worked answer →

A 95%95\% interval for a proportion is p±Ep^* \pm E where E=1.96p(1p)nE = 1.96\sqrt{\dfrac{p^*(1 - p^*)}{n}}.

The full width is twice the margin: w=2E=2×1.96p(1p)nw = 2E = 2 \times 1.96\sqrt{\dfrac{p^*(1 - p^*)}{n}}.

Divide by 2×1.962 \times 1.96: w2×1.96=p(1p)n\dfrac{w}{2 \times 1.96} = \sqrt{\dfrac{p^*(1 - p^*)}{n}}.

Square: (w2×1.96)2=p(1p)n\left(\dfrac{w}{2 \times 1.96}\right)^2 = \dfrac{p^*(1 - p^*)}{n}.

Rearrange: n=(2×1.96w)2p(1p)n = \left(\dfrac{2 \times 1.96}{w}\right)^2 p^*(1 - p^*), as required.

Marks: one for width =2E= 2E, one for substituting EE, one for the algebra isolating nn.

SACE 20222 marksCalculator-assumed. A farmer planted 100 seeds and observed 53 viable, giving p=0.53p^* = 0.53. Using n=(2×1.96w)2p(1p)n = \left(\dfrac{2 \times 1.96}{w}\right)^2 p^*(1 - p^*), calculate the smallest number of seeds needed for a 95%95\% confidence interval of width 0.10.1.
Show worked answer →

Substitute p=0.53p^* = 0.53 and w=0.1w = 0.1.

Bracket: 2×1.960.1=39.2\dfrac{2 \times 1.96}{0.1} = 39.2, and 39.22=1536.6439.2^2 = 1536.64.

Then p(1p)=0.53×0.47=0.2491p^*(1 - p^*) = 0.53 \times 0.47 = 0.2491.

n=1536.64×0.2491382.8.n = 1536.64 \times 0.2491 \approx 382.8.

Round up to guarantee the interval is no wider than required: n=383n = 383 seeds.

Marks: one for n382.8n \approx 382.8, one for rounding up to 383383. Rounding down would give an interval wider than 0.10.1.

SACE 20213 marksCalculator-assumed. A population has standard deviation σ=24\sigma = 24. Find the smallest sample size needed to estimate the mean to within a margin of error E=4E = 4 with 99%99\% confidence.
Show worked answer →

Use n=(zσE)2n = \left(\dfrac{z^*\sigma}{E}\right)^2 with z=2.576z^* = 2.576, σ=24\sigma = 24, E=4E = 4:

n=(2.576×244)2=(61.8244)2=(15.456)2238.9.n = \left(\frac{2.576 \times 24}{4}\right)^2 = \left(\frac{61.824}{4}\right)^2 = (15.456)^2 \approx 238.9.

Round up: n=239n = 239.

Marks: one for the formula with z=2.576z^* = 2.576, one for the value 238.9238.9, one for rounding up to 239239.

ExamExplained