Margin of Error Calculator

Enter how many people you surveyed, the share who gave an answer, and your confidence level. The result and the likely range update instantly.

Margin of error at 95% confidence

±3.1%

Low end
46.9%
High end
53.1%
Standard error = √(0.5 × 0.5 ÷ 1,000) = 0.0158
Margin = 1.96 × 0.0158 × 100 = 3.1%

Margin of error formula

Margin of error = z × √( p × (1 − p) ÷ n )

Here p is the sample proportion as a decimal, n is the sample size, and z comes from the confidence level (1.96 for 95%). A poll of 1,000 people where 50% agree has a margin of 1.96 × √(0.25 ÷ 1,000) ≈ ±3.1%, so the true figure is likely between 46.9% and 53.1%.

Why 50% is the safe default

The margin is largest when the proportion is 50%. If you are planning a survey and do not know the result yet, use 50% to get the most cautious estimate. A result of 20% or 80% from the same sample has a smaller margin, about ±2.5% for 1,000 people.

Sample size has diminishing returns

Quadrupling the sample only halves the margin. Going from 250 to 1,000 respondents cuts it from about ±6.2% to ±3.1%, but reaching ±1.5% takes roughly 4,300 people. That is why most national polls stop near 1,000 to 1,500.

What the margin of error does not cover

This formula assumes a simple random sample. It does not account for people who refuse to answer, poorly worded questions, or a sample that leans toward one group. Those problems can move a result far more than the margin of error suggests.

Example: a customer satisfaction survey

A coffee chain emails 400 customers and 72% say they would recommend the shop. At 95% confidence, the standard error is √(0.72 × 0.28 ÷ 400) ≈ 0.0224, and 1.96 × 0.0224 ≈ ±4.4%. So the real share of happy customers is most likely between about 67.6% and 76.4%.

If last quarter's survey showed 69%, the new 72% sits inside that range. The honest summary is that satisfaction looks steady, not that it rose by three points. Reading results this way keeps teams from celebrating, or panicking, over noise.

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

Sample size90% confidence95% confidence99% confidence
100±8.2%±9.8%±12.9%
250±5.2%±6.2%±8.1%
500±3.7%±4.4%±5.8%
1,000±2.6%±3.1%±4.1%
1,500±2.1%±2.5%±3.3%
2,500±1.6%±2.0%±2.6%

Questions people ask

What is a good margin of error?

Many published polls aim for ±3% to ±5% at 95% confidence. For small internal surveys, ±10% can still show the broad direction.

How do I make the margin smaller?

Survey more people, or accept a lower confidence level. Moving from 95% to 90% confidence shrinks the margin by about 16%.

Is margin of error the same as a confidence interval?

The confidence interval is the full range: the result plus or minus the margin of error. With 52% ± 3%, the interval is 49% to 55%.

Does population size matter?

Only when the sample is a large share of the population, roughly more than 5%. For a national poll of 1,000 people, the population size barely changes the answer.

More percentage calculators