Margin of Error Calculator

When a poll says 52% ± 3%, the ± 3% is the margin of error. It depends mainly on the sample size, not the population size.

Use 50% if unknown: it gives the largest margin.
Leave blank for a very large population.
Results update as you type.

Margin of error

± 3.099%

at 95% confidence

Interval
46.9% to 53.1%
Critical z
1.95996

About this calculator

Add the population size when your sample is a noticeable share of it, such as surveying 500 of 2,000 employees.

How to use it

  1. Enter the sample size and result.
  2. Choose the confidence level.
  3. Optionally add the population size.

The formula

MOE = z × √(p(1 − p) ÷ n) × √((N − n) ÷ (N − 1))
z
critical value (1.96 at 95%)
p
sample proportion
n
sample size
N
population size

Worked example

1,000 people at 50%, 95% confidence

  1. MOE = 1.96 × √(0.25 ÷ 1,000) = 3.1%.

What the result means

The margin covers random sampling error only, not biased questions or who chose to respond.

Assumptions

  • A random sample.

Limitations

  • For very small samples or results near 0% or 100%, use the Wilson interval in the confidence interval calculator.

Frequently asked questions

Why use 50%?

It gives the largest margin, so it is the safe choice before you know the result.

Does a bigger population need a bigger sample?

Hardly, once the population is large. A sample of 1,000 gives about ± 3% for a city or a country.

What margin is acceptable?

± 5% is common for surveys; ± 3% for polls.

Last reviewed on 6 October 2026. Found a mistake? Tell us.