SOLVETUTORMATH SOLVER

Instrument MI-07-097 · Statistics

Margin of Error Calculator

The margin of error is the plus-or-minus you attach to a sample mean: how far the true population value could plausibly sit from what you actually measured.

Instrument MI-07-097
Sheet 1 OF 1
Rev A
Verified
Type 07 — Inferential Statistics SER. 2026-07097

Margin of error

5.8800

ME = z x s / sqrt(n)

The working Every figure verified twice
  1. me = 1.96·15 ⁄ √(25) = 5.8800
Worksheet log
  1. No entries yet — change an input to log a scenario.

How this instrument works

The margin of error (ME) is the half-width of a confidence interval — the plus-or-minus figure attached to a sample mean, such as '52 ± 3 points.' It answers a specific question: given how much your sample varies and how many observations you collected, how far could the true population mean realistically sit from the number you calculated? A smaller margin of error means the interval around your estimate is tighter and your sample has pinned the true value down more precisely; a larger one means there's more room for the true value to differ from what you measured.

Three ingredients set the margin of error: the sample standard deviation (s), which is how much your raw measurements naturally vary; the sample size (n), where a larger n divides the spread down by a bigger square root and tightens the estimate; and the confidence level, expressed as a critical value z, where demanding more confidence (say 99% instead of 90%) widens the interval because you're asking to be right more often. These three trade off directly in the formula — you can't shrink the margin of error without either collecting more data or accepting a lower confidence level.

This is the number behind every poll's 'margin of error is plus or minus 3 percentage points' disclosure and every scientific confidence interval reported alongside a mean. It assumes your sample standard deviation is a reasonable stand-in for the population's spread and that your sampling was random — a margin of error calculated from a biased or non-random sample describes precision, not accuracy, and can't fix a flawed sampling method. For proportions specifically, like poll percentages, this site's sampling error instrument computes the matching standard error built on p-hat instead of s.

ME=zsnME = z \cdot \frac{s}{\sqrt{n}}
ME — margin of error, the half-width of the confidence interval · z — the critical value for your chosen confidence level (e.g. 1.96 for 95%) · s — sample standard deviation · n — sample size. The full confidence interval is the sample mean plus or minus ME.
  • Enter your data's spread into Sample standard deviation (s) — how much individual measurements vary.
  • Enter your sample count into Sample size (n) — more observations narrow the margin of error.
  • Pick your desired confidence from Confidence level — higher confidence (99%) widens the margin; lower confidence (80%) narrows it.
  • Read Margin of error — report your result as 'estimate ± margin of error' at the confidence level you selected.
  • Need to work backwards from a target margin of error to find the sample size you'd need? Use this site's sample size instrument instead.

Worked example — s = 15, n = 25, 95% confidence

Enter 15 into Sample standard deviation (s), 25 into Sample size (n), and select 95% (z = 1.96) from Confidence level. The instrument first computes the standard error, 15 / sqrt(25) = 15 / 5 = 3, then multiplies by the critical value: Margin of error reads 1.96 x 3 = 5.88.

If the sample mean were, say, 100, you would report the result as '100 ± 5.88 at 95% confidence' — meaning that if you repeated this sampling process many times, about 95% of the intervals built this way would contain the true population mean. Switching to 99% confidence (z = 2.5758) with the same s and n would widen that margin to roughly 7.73, since asking for more confidence always costs precision.

Questions

What does a margin of error of 5.88 actually mean?

It means the true population mean is estimated to lie within 5.88 units of your sample mean, at the confidence level you selected (95% in the worked example). If your sample mean was 100, the reported interval would be 94.12 to 105.88 — and if you repeated the sampling process many times, about 95% of such intervals would capture the true population value, not that there's a 95% chance the true value sits in this one specific interval.

Why does a higher confidence level widen the margin of error?

Because a wider interval is more likely to capture the true value. Demanding 99% confidence instead of 95% means you need to be right more often across repeated samples, and the only way to do that with the same data is to cast a wider net — a bigger z multiplier. That's why the 99% critical value (2.5758) is larger than the 95% value (1.96): more certainty costs precision.

How much does doubling my sample size shrink the margin of error?

It shrinks the margin of error by a factor of about 1.41 (the square root of 2), not by half. Because n sits under a square root in the formula, you need to quadruple your sample size to cut the margin of error in half. This diminishing-returns relationship is exactly why very large surveys still report a small but nonzero margin of error.

What's the difference between margin of error and standard error?

Standard error (SE = s / sqrt(n)) measures the raw precision of your sample mean with no confidence level attached. Margin of error multiplies that standard error by a critical z value tied to a specific confidence level, so ME is always SE scaled up — a 95% margin of error is 1.96 times the standard error. This site's standard error instrument computes SE alone if that's all you need.

How do I find the sample size needed for a target margin of error?

Solve the margin of error formula for n instead of ME: n = (z x s / target ME)^2, rounded up to the next whole number since you can't survey a fractional respondent. This site's sample size instrument performs exactly that calculation — feed it your desired margin of error and it returns the n you'd need to collect.

Does this formula work for percentages and poll results too?

Not directly — polls report proportions (like 52% support), and a proportion's spread depends on p-hat(1-p-hat) rather than a sample standard deviation. This instrument is for a margin of error around a mean; use this site's sampling error instrument, which computes the standard error of a proportion, for the proportion version.

References