Determine the sample size needed for a target margin of error.
Larger samples shrink the margin of error — this calculates how many observations you need to hit a target precision.
n = (z × stdev ÷ margin)²