Math

Margin of Error Calculator

Calculate margin of error for a sample.

CALCULATOR

Enter your numbers

Instant results

THE NUMORIX GUIDE

How to use the Margin of Error Calculator

Last reviewed September 14, 2026

What this calculator does

Use standard error = standard deviation/sqrt(n), select a z critical value for the requested confidence level, and calculate margin of error = z*standard error.

Formula and method

Use standard error = standard deviation/sqrt(n), select a z critical value for the requested confidence level, and calculate margin of error = z*standard error. This route reports an interval centered at zero because it has no mean input.

Variables and inputs

Sample Size defaults to 1000, Standard Deviation to 15, and confidence selector to 95%. Supported z values are 80, 85, 90, 95, 99, and 99.9 percent.

Worked example

For n=1000, SD=15, and 95% confidence: SE=15/sqrt(1000)=0.4743; z=1.960; MOE=1.960*0.4743=0.9295; the engine displays [-0.9295, 0.9295] as bounds around zero.

How to interpret the result

The margin is the estimated half-width of a normal-approximation interval when the supplied standard deviation and sample size are appropriate.

Common mistakes to avoid

Do not use 1.96 for every confidence level, and do not treat the margin as a guaranteed maximum error. A larger sample reduces standard error by the square root of n, not linearly.

Assumptions and limitations

The UI has no sample mean, so its lower and upper fields are +/- margin rather than a complete mean-centered interval. The method uses z values rather than t critical values and assumes a suitable sampling model.

Practical use and checks

Margin of Error estimates a half-width from a standard deviation, sample size, and selected confidence level. Enter standard deviation 15, sample size 1,000, and confidence 95% as a check. The standard error is about 0.4743 and the margin is about 0.9295 using z = 1.96. This page has no sample-mean field, so its displayed bounds are approximately -0.9295 to +0.9295 around zero; to form a mean-centered interval, add and subtract the margin from the actual mean separately. Use a higher confidence setting when missing the parameter is more costly, but expect a wider interval. Increasing sample size narrows the margin by the square root of n, so quadrupling n roughly halves it under the same variability and model. The formula assumes a suitable sampling design, a meaningful standard deviation, and a normal approximation. It does not switch to a t critical value for small samples, correct for finite populations, account for clustering or weighting, or detect response bias. A margin is not a guarantee that an individual observation lies within the interval, and it is not a maximum measurement error. Check the units of the standard deviation and write the confidence procedure beside the number before using it in a survey or quality report.

Sources and references

COMMON QUESTIONS

Frequently asked questions

Why does higher confidence make the margin larger?

A wider interval is needed to capture the parameter more often under the model, so the critical z value increases.

How can I reduce the margin?

Reduce variability when possible or increase sample size; increasing n has a square-root effect.