Margin of Error Calculator

The ± of a survey or estimate — for means and proportions.

The formula behind it

MOE = z × SE, SE = σ/√n or √(p(1−p)/n)
z
critical value for the confidence level
n
sample size

The margin of error is the critical value times the standard error — the ± half-width of a confidence interval. It shrinks with the square root of the sample size.

How to use this calculator

  1. 1

    Choose mean-based or proportion-based.

  2. 2

    Enter the sample size and SD (or expected proportion).

  3. 3

    Pick a confidence level and press Calculate.

Worked examples

Poll

n = 1,000, p = 0.5, 95% → ±3.1% — the familiar poll margin.

Lab mean

s = 0.8, n = 25, 95% → ±0.313 units.

Frequently asked questions

Explore more categories

Command Palette

Search for a command to run...