How does sample size change the margin of error for a mean?
With confidence level and population spread fixed, the margin of error falls in proportion to one divided by the square root of sample size.
Use the square-root relationship
Doubling sample size does not halve the margin. To halve it, multiply sample size by four. This relationship assumes the same sampling model and a constant population standard deviation; it does not account for changes in study design or data quality.
Worked example
For known spread 20 at 95% confidence, n = 100 gives a margin of 1.96 × 20 ÷ 10 = 3.92. At n = 400, the margin becomes 1.96 × 20 ÷ 20 = 1.96. Four times as many observations halves this modeled sampling margin.
A larger sample cannot remove systematic error
Biased selection, dependence, measurement problems and a mismatch with the target population can persist as n grows. The calculator’s smaller numerical margin does not quantify those effects. Keep the sampling plan and the type of statistic separate from the arithmetic sample-size comparison.
Use the square-root relationship in the margin
The standard error for this mean model is population SD divided by √n. With the confidence level and population spread held fixed, margin of error follows the same inverse-square-root pattern. Doubling sample size does not halve the margin; it multiplies it by 1/√2, about 0.7071. To halve the margin, multiply sample size by four. This relationship helps evaluate a proposed sampling increase before collecting data, provided the observations and sampling design meet the method’s assumptions.
Check a fourfold increase with one original example
With known SD 20, a 95% z multiplier of 1.96 and n = 100, standard error is 2 and margin is 3.92. Increasing n to 400 gives standard error 1 and margin 1.96. If the sample mean stays at 80 for this comparison, the interval changes from 76.08–83.92 to 78.04–81.96. In actual new data, the sample mean may change as well. Holding it fixed here isolates the effect of sample size on width rather than predicting the next sample result.
Separate precision gains from sampling quality
More observations can reduce random sampling variability under a suitable model, but they do not automatically remove selection bias, recording errors or dependence. Repeating the same flawed collection process at a larger scale may produce a narrow interval around an unrepresentative estimate. Calculator ForEver uses the numeric sample size you supply and cannot inspect the data collection. If observations are clustered or repeatedly measured from the same subject, a different standard-error calculation may be required. Do not replace that design question with a larger n solely to obtain a narrower display.
Work backward only within the chosen mean model
If you need a target margin E with known SD σ, the planning relationship is n ≥ (zσ/E)², rounded upward. For z = 1.96, σ = 20 and E = 2, this gives 384.16, so at least 385 observations under the stated assumptions. This is planning for a population mean. Calculator ForEver’s separate sample-size tool plans a proportion and uses a different formula, so do not transfer these inputs directly into that form. State the parameter being estimated before selecting a sample-size calculator.
Questions about this calculation
Is the margin the same as the full interval width?
No. The interval extends one margin below and one above the sample mean, so the full width is twice the margin.
Try these values in the calculator
Estimate a z interval for a mean with known population spread.
Use the confidence interval calculator