Skip to content
K Knidox Search…
Statistics · Sampling

Margin of Error Calculator

Find the ± margin of error for a survey proportion at your chosen confidence level.

Number of people surveyed.
%
Share answering a given way. 50% is the worst case.
Confidence levelHow sure you want to be about the interval.
Try a scenario
Margin of error
±3.1%

95% confidence interval: 46.9% to 53.1% (50% ± 3.1%).

Margin of error shrinks with sample size (diminishing returns)
Margin of error falling as the sample size increases±13.9%±1.8%n = 50n = 3000

The margin of error for a proportion is MOE = z × √(p(1 − p) ÷ n). For a poll of n = 1000 with p = 0.5 at 95% confidence (z = 1.96), MOE = 1.96 × √(0.25 ÷ 1000) = 1.96 × 0.0158 = ±3.1%, so the result is 50% ± 3.1%.

What the margin of error measures

The margin of error is the ± cushion around a survey percentage that accounts for random sampling. Because you polled a sample rather than everyone, the true population figure is likely — but not certain — to sit within that band. A reported “52% ± 3%” means the plausible range is roughly 49% to 55% at the stated confidence level. It captures sampling error only; it does not fix a biased sample, leading questions, or non-response.

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

critical z times the standard error of the proportion

Worked example

A poll of 1000 people where 50% pick option A, reported at 95% confidence.

  1. 1
    Pick the critical z for your confidence level. At 95% confidence, z = 1.96 (the two-tailed normal critical value).
  2. 2
    Write the proportion as a decimal. p = 50% ÷ 100 = 0.5, so p(1 − p) = 0.5 × 0.5 = 0.25.
  3. 3
    Divide by the sample size and take the root. √(0.25 ÷ 1000) = √0.00025 = 0.0158 — the standard error.
  4. 4
    Multiply by z and convert to a percentage. 1.96 × 0.0158 = 0.031 = ±3.1%, giving an interval of 46.9% to 53.1%.

Critical z-values by confidence level

The two-tailed normal critical value used in the margin of error.

ConfidenceCritical z
80%1.282
90%1.645
95%1.960
99%2.576

Margin of error at 95% confidence (p = 0.5)

How the ± margin shrinks as the sample grows — with diminishing returns.

Sample size (n)Margin of error
100±9.8%
400±4.9%
1000±3.1%
2000±2.2%

Reading the result and its limits

Bigger samples help, but with diminishing returns. Because the margin scales with 1 ÷ √n, quadrupling the sample only halves the margin — going from n = 400 to n = 1600 takes you from ±4.9% to ±2.5%, not to zero. Doubling from 1000 to 2000 barely moves it from ±3.1% to ±2.2%.

p = 0.5 is the worst case. The quantity p(1 − p) peaks at 0.25 when p = 0.5, so a 50/50 split produces the widest margin. Lopsided results (say p = 0.1) have a smaller margin, which is why 0.5 is the safe, conservative default when you do not yet know the proportion.

Finite populations. When your sample is a large fraction of a small population, you can multiply the margin by the finite population correction √((N − n) ÷ (N − 1)), which shrinks it. For big populations relative to the sample the correction is near 1 and can be ignored.

Planning ahead. To find the sample size that hits a target margin before you collect data, rearrange the formula or use the sample size calculator.

Why use 50% for the proportion when I don’t know it?
The term p(1 − p) is largest at p = 0.5, so it produces the biggest possible margin of error. Using 0.5 is the conservative choice — it guarantees your margin is not underestimated for any true proportion.
How big a sample do I need for a given margin?
Solve n = z²p(1 − p) ÷ MOE². For a ±3% margin at 95% with p = 0.5, that is 1.96² × 0.25 ÷ 0.03² ≈ 1068 people. Halving the margin roughly quadruples the required sample.
What does “95% confidence” actually mean here?
If you repeated the survey many times, about 95% of the intervals built this way would contain the true population proportion. It describes the long-run reliability of the method, not the probability for your single interval.
Why does a higher confidence level widen the margin?
A higher confidence uses a larger critical z (1.645 for 90%, 1.96 for 95%, 2.576 for 99%). Multiplying by a bigger z produces a wider ± band from the same sample.
Does the margin of error account for a biased sample?
No. It only measures random sampling error. Selection bias, leading questions, and non-response are separate problems that a larger sample will not fix.
How do I turn the margin into an interval?
Add and subtract it from the reported percentage. A result of 52% with a ±3% margin gives a confidence interval of 49% to 55%.