Skip to content
D DocNectar

Free Margin of Error Calculator

Calculate the margin of error for a survey or poll result at a given confidence level.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

Every survey or poll based on a sample (not the entire population) carries some uncertainty — the margin of error quantifies how far the true population value could realistically differ from the sample result, at a chosen confidence level.

How it works

Choose a confidence level (90%, 95%, or 99%), enter the sample proportion (use 0.5 if unknown, since that produces the most conservative/largest margin of error), and the sample size. The calculator applies MOE = z√(p(1−p)/n), using the standard z-score for your chosen confidence level.

  1. Enter confidence level.
  2. Enter sample proportion (0-1, use 0.5 if unknown for the most conservative estimate).
  3. Enter sample size.
  4. Click Calculate to see your results.

Examples

A typical political poll

A poll of 1,000 people at 95% confidence (with an unknown true proportion, so p = 0.5) has a margin of error of about ±3.1% — the commonly cited "margin of error" figure in news coverage of polls this size.

Who should use it

  • Interpreting or designing surveys and polls.
  • Statistics coursework on confidence intervals and sampling.

Industry applications

  • Market research and survey design
  • Political polling and social science research

Advantages

  • Standard, widely-used formula matching how most reported survey margins of error are calculated.
  • Supports the three most commonly used confidence levels.

Limitations

  • Only accounts for random sampling error — not sampling bias, question wording effects, or non-response bias.

Common mistakes to avoid

  • Forgetting that margin of error only accounts for sampling error — it doesn't capture bias from a poorly designed survey, non-response, or a non-representative sample.
  • Assuming a bigger sample always meaningfully shrinks the margin of error — due to the square root relationship, gains shrink quickly past a certain sample size.

Best practices

  • Use p = 0.5 when you have no prior estimate of the true proportion, for the most conservative (largest) margin of error.
  • Remember margin of error addresses sampling error only — a biased sampling method has separate, un-quantified error this calculation doesn't capture.

Tips

  • If you need a specific margin of error for a planned survey, work backward from this formula to find the minimum sample size required.

Frequently asked questions

Yes, with no signup and no limit on how many calculations you run.
The term p(1−p) is maximized at p = 0.5, so using 0.5 gives the largest, most conservative possible margin of error when the true proportion isn't known in advance — a standard, safe default.
The formula divides by n inside a square root, so quadrupling the sample size only halves the margin of error — a classic example of diminishing returns from simply surveying more people.
It means that if the same survey were repeated many times, about 95% of the resulting margins of error would contain the true population value — it's a statement about the reliability of the method, not a guarantee about this one specific sample.

Get new calculators and guides in your inbox

No spam — just new tools like Margin of Error Calculator and practical guides.

Favorites