In-depth learning guide

How to Calculate Margin of Error for a Proportion

The familiar survey margin-of-error formula depends on sample size, estimated proportion and confidence level. It represents modelled sampling uncertainty, not every source of survey error.

2 min readStep-by-step methodReviewed 1 Oct 2026Published by LynaraOpen Margin of Error Calculator →

Method

  1. Enter the sample size.
  2. Enter the estimated proportion as a percentage.
  3. Choose 90%, 95% or 99% confidence.
  4. Calculate the proportion standard error and multiply by the matching z critical value.

Worked example

n = 1000 and p = 50% at 95% gives about ±3.10 percentage points.

Using p = 50% is conservative when no prior proportion estimate is available.

Notes

Open Margin of Error Calculator

Margin of error depends on the estimated proportion and sample size

For a normal approximation, the standard error of a proportion uses p(1-p) divided by sample size under a square root, then multiplies by the critical value for the selected confidence level. Proportions near 0.5 produce the largest variance for a fixed sample size.

A larger sample reduces margin of error, but again the relationship follows the square root. Cutting the margin of error in half generally requires about four times the sample size under similar assumptions.

Check whether the normal approximation and sampling design are reasonable

Very small samples or proportions close to 0 or 1 can make the simple normal approximation poor. Survey design, clustering, weighting and finite populations can also require adjustments beyond the basic formula.

The numerical margin of error addresses sampling variability under the model. It does not include nonresponse bias, measurement error, question wording effects or an unrepresentative sampling frame.

Editorial review and limitations

Review status: reviewed under Lynara's editorial policy on 1 Oct 2026. Institution-specific grading rules, assignment instructions and publisher requirements can override a general example.
Verification: see the methodology and sources & verification pages. To report a reproducible error, use the contact page with the page URL, inputs and expected result.

Continue with the related tools

Use the linked tools for your own inputs and scenarios.

Browse all statistics calculators →

Keep learning

Related guides