Margin of error calculator

Updated 30 November 2026 · ClearCost USA · 4 min read

For a survey proportion, MOE = z x √(p(1 − p)/n). A poll of 1,000 people at 50% has a margin of about ±3.1 points at 95% confidence.
Advertisement

How is margin of error calculated?

Multiply the z value for your confidence level by the standard error of the proportion √(p(1 − p)/n). It is largest at p = 50%, so pollsters quote that worst case.

What is the margin of error for 400 people at 40%?

MOE = 1.96 x √(0.4 x 0.6 / 400) = ±4.8%, so the result is 35.2% to 44.8%.

Advertisement

How does sample size change the margin of error?

The table below gives ready answers for common values; the calculator above works for any value.

Margin of error by sample size (p = 50%)

Sample sizeMOE at 95%MOE at 99%
1009.8%12.88%
2506.2%8.15%
4004.9%6.44%
6004%5.26%
1,0003.1%4.07%
1,5002.53%3.33%
2,5001.96%2.58%
10,0000.98%1.29%

How does this calculator work?

It uses MOE = z √(p(1 − p)/n). Results update as you type and are rounded for display; the maths runs in your browser and nothing is stored.

For more, see the math, statistics and date calculators page, standard error of the mean calculator, Z-score calculator with percentile, binomial distribution calculator and mean absolute deviation (MAD) calculator.

Advertisement

Related searches

People who use this page also search for the terms below; the calculator, tables and answers above cover each of them.

  • margin of error calculator
  • margin of error formula ap stats
  • how to calculate margin of error in excel
  • margin of error formula excel

Sources and further reading

Questions people ask

What sample size gives ±3%?
About 1,067 at 95% confidence.
Does population size matter?
Barely, unless the sample is a large share of the population.
What does ±3% mean?
The true value is likely within 3 points of the result.
Why is 50% the worst case?
p(1 − p) is largest at 0.5.
Does MOE cover bias?
No, only random sampling error.
What is the z for 90%?
1.645; you can check it with the margin of error tool above.

Results are estimates for information only, not financial advice. Read the full disclaimer.

More free calculators

Advertisement