Margin of Error Calculator

Calculate the margin of error for a proportion from sample size and confidence level, with confidence interval bounds.

Share this calculator

Confidence level

±3.1%

Margin of error

46.9%

Lower bound

53.1%

Upper bound

Margin of error±3.1%
Confidence interval46.9% – 53.1%
Z-score1.96
Sample size1,000
Proportion50%

Also in Statistics

Survey & Sampling Statistics

Margin of error calculator — precision for survey results

The margin of error quantifies the uncertainty in a survey or poll result. A margin of error of ±3% at 95% confidence means that if you repeated the survey many times, 95% of the resulting confidence intervals would contain the true population proportion. It is the standard measure of polling precision.

What the margin of error means

When a poll reports "48% support, ±3% margin of error at 95% confidence", it means the 95% confidence interval is 45%–51%. The true population proportion is estimated to fall in this range 95% of the time under repeated sampling.

The margin of error does not capture non-sampling errors — biased questions, self-selection, non-response, or measurement errors. A technically correct margin of error on a flawed survey is still misleading. The MOE only quantifies random sampling uncertainty.

What affects the margin of error

Three inputs drive the margin of error: sample size (n), confidence level (z), and the expected proportion (p). Larger samples produce smaller margins of error — MOE shrinks by 1/√n, so quadrupling sample size halves the MOE. Higher confidence levels (e.g. 99% vs. 95%) produce larger MOEs because the interval must be wider to be more confident.

The proportion p = 50% produces the maximum margin of error for any given sample size and confidence level. Using 50% is conservative and common when the true proportion is unknown. If you know the proportion will be near 20%, the MOE will be smaller.

Margin of error vs. sample size

For n=100, p=50%, 95% confidence: MOE ≈ ±9.8%. For n=1,000: MOE ≈ ±3.1%. For n=10,000: MOE ≈ ±1.0%. National polls with n=1,000 are sufficient for ±3% precision, which is why major news polls typically use samples in the 800–1,500 range.

Frequently asked questions

What is the difference between margin of error and confidence interval?

The margin of error is the ± part of a confidence interval. If p̂ = 48% and MOE = 3%, the 95% confidence interval is [45%, 51%]. The confidence interval is the full range; the margin of error is its half-width.

Why does a larger sample not eliminate the margin of error entirely?

The margin of error shrinks at a rate of 1/√n — it decreases quickly at first but diminishes slowly for large n. Perfect precision requires surveying the entire population. In practice, a sample of ~1,000 gives ±3% precision, and the diminishing returns beyond that make larger samples costly relative to the benefit.

What proportion should I use?

Use 50% (the default) when you do not know the true proportion. This gives the maximum (most conservative) margin of error. If you have prior data suggesting the proportion is close to another value (e.g. 20%), you can use that to get a more precise (smaller) margin of error estimate.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.