Skip to content
Margin Calculator
Menu

Margin of Error Calculator

How precise is your survey? Enter the number of responses and confidence level to get the margin of error, or work backward from the margin you want to the sample size you need.

Updated · Industry data: NYU Stern, January 2026

Find

Number of responses.

%

Use 50% if unsure; it gives the widest margin.

Leave blank for a large population.

Margin of error

±3.10%

At 95% confidence with 1,000 responses

100 responses
±9.8%
400 responses
±4.9%
1,000 responses
±3.1%
2,500 responses
±2.0%

Quadrupling the sample only halves the margin of error, because it shrinks with the square root of the sample size.

Margin of error by sample size (95% confidence)

ResponsesMargin of error
100±9.8%
250±6.2%
400±4.9%
600±4.0%
1,000±3.1%
2,500±2.0%

z-scores for common confidence levels

80%1.282
90%1.645
95%1.960
98%2.326
99%2.576

Small populations

When you survey a large share of a small group, say 400 of 1,000 employees, the finite population correction shrinks the margin: multiply by √((N − n) ÷ (N − 1)). For that example ±4.9% becomes about ±3.8%. Enter the population size above to apply it.

What it doesn't cover

Margin of error only measures random sampling error. It says nothing about a biased sample, leading questions or people who chose not to answer, which often matter more.

How to calculate margin of error by hand

  1. Pick a confidence level and find its z-score (1.96 for 95%).
  2. Use the proportion from your results, or 0.5 if you don't have one yet.
  3. Compute √(p × (1 − p) ÷ n). For 400 responses at p = 0.5: √(0.25 ÷ 400) = 0.025.
  4. Multiply by z: 1.96 × 0.025 = 0.049, or ±4.9%.

Looking for profit margins instead? That's a different kind of margin: try the margin calculator or the profit margin calculator.

Questions people ask

What is the margin of error formula?

MOE = z × √(p(1 − p) ÷ n)

z = 1.96 at 95% confidence, p = 0.5 if unknown, n = sample size. For 1,000 responses: 1.96 × √(0.25 ÷ 1,000) = ±3.1%.

What sample size do I need for a 5% margin of error?

About 385 at 95% confidence (large population). ±3% needs 1,068. From a group of just 1,000 people, ±5% needs about 278.

What does a margin of error of 3 points mean?

A 52% result with ±3 points at 95% confidence means the real figure is likely between 49% and 55%. The margin on the gap between two options is roughly double.

Sources

More margin calculators