Margin of Error for a Mean

E=zσnE = z \frac{\sigma}{\sqrt{n}}

Units aren’t used in this calculation: every value is a plain number.

sig figs

Worked example: 95% CI, sigma 10, n 100 → E = 1.96. Press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value.

Where Margin of Error for a Mean fits

Your answer feeds
In this toolkit

See also

Sample Size for a Mean: Both use margin of error and critical z-value.Margin of Error for a Proportion: Both use margin of error and critical z-value.Sample Size for a Proportion: Both use margin of error and critical z-value.Confidence Interval Lower Limit: Both use critical z-value and standard deviation.Confidence Interval Upper Limit: Both use critical z-value and standard deviation.
Learning zone

Margin of Error for a Mean explained

Eσz

The margin of error is the "plus or minus" you see quoted next to every poll: take the standard error σ/√n and stretch it by the critical value for your confidence level (1.645 for 90%, 1.96 for 95%, 2.576 for 99%). With σ = 10 and n = 100, a 95% interval reaches E = 1.96 × 10/10 = 1.96 units either side of the sample mean. The interval is the estimate ± E. George Gallup made this arithmetic famous in 1936, when his sample of a few thousand correctly called Roosevelt's landslide while the Literary Digest's two-million-response mail-in poll called it catastrophically wrong: proof that how you sample matters more than how much.

The trap hidden in that story is the one this formula cannot fix: E measures only sampling error. It says nothing about a biased frame, leading questions, or people who refuse to answer, which is exactly what sank the Digest. Note also that n appears under a square root, so halving your margin of error costs four times the data: going from E = 3 to E = 1.5 with σ = 12 and 95% confidence takes you from 62 observations to 246.

Margin of Error for a Mean formula

E=zσnE = z \frac{\sigma}{\sqrt{n}}
Where
  • EE= Margin of error
  • zz= Critical z-value
  • σ\sigma= Standard deviation
  • nn= Sample size
Revised 31 October 2026
Cite this page

formula.expert. (2026, October 31). Margin of Error for a Mean Formula & Calculator. https://formula.expert/solvers/margin-of-error-mean