Margin of Error Calculator

Margin of error calculator for polls and surveys from sample size, proportion and confidence level.

E = z · √(p(1 − p) / n)

How to use this calculator

  1. Choose the quantity you want under “Solve for”.
  2. Type the known values and pick their units: any combination works.
  3. The result updates as you type. Open “Show the steps” to see the substitution.

E = z·√(p(1 − p)/n). Use z = 1.645 for 90 %, 1.96 for 95 % and 2.576 for 99 % confidence.

Use p = 50 % when the proportion is unknown: it gives the largest, most cautious margin.

Formula

E = z · √(p(1 − p) / n)

SymbolQuantityUnits
zZ value (1.96 = 95 %)—
pSample proportion%, ×
nSample size—
EMargin of error%, ×

Worked example

Given: z = 1.96 · p = 30 % · n = 1 000

E = z √(p(1 − p)/n)

Result: E = 2.84031 %

Frequently asked questions

Margin of error for 1 000 respondents and 30 %?

1.96 × √(0.3 × 0.7 / 1000) ≈ ±2.84 points.

Related calculators

Report an error