Margin of Error Formula

The margin of error is the plus-or-minus distance that the gap between a sample statistic and the true population parameter stays within in a stated share of samples, usually 95%.

The Formula

margin of error=z∗×standard error

Ask yourself: Do you need just the plus-or-minus amount that says how far a reported estimate could be from the truth by chance?

Quick example

1000-person survey: 60% prefer A, margin of error ±3%. True preference likely 57%-63%.

Notation

E is the margin of error. The confidence interval is θ^±E, where θ^ is the sample estimate.

What this formula means

The margin of error is the plus-or-minus distance that the gap between a sample statistic and the true population parameter stays within in a stated share of samples, usually 95%. It equals half the width of a confidence interval and decreases as sample size increases.

A phone map shows your location as a dot inside a shaded circle: you are probably somewhere in the circle. More satellite signals shrink the circle, as a bigger sample shrinks the margin, and asking for more certainty would widen it. Like the margin, the circle covers random jitter only; if the map itself is wrong, the circle cannot warn you.

Formal view

The margin of error for a mean is E=zα/2⋅σn. For a proportion, E=zα/2⋅p^(1−p^)n. Doubling n reduces E by a factor of 2.

Worked examples

Example 1

medium
A sample of n=400 has p^=0.5. Compute the MOE for a 95% CI using z∗=1.96.
Show solution

Answer

0.049

First step

1.
SE =p^(1−p^)/n=0.25/400=0.025.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

medium
A poll's 95% CI is (0.42,0.50). What is the margin of error?

Example 3

medium
Two polls report 48%±3% and 51%±3%. Do their 95% CIs overlap?

Common mistakes

  • Ignoring margin of error in close races
  • Thinking larger margin means bad survey
  • Not understanding relationship to sample size

Why this formula matters

The margin of error decides whether a headline is news: "52% support, ±3 points" and "52% support, ±8 points" say very different things. Knowing how it depends on n lets you plan a survey: to get within 3 points on a proportion near 50% at 95% confidence you need about 1,070 people, and halving the margin takes four times as many. Ignore it and you will read noise as a trend.

Frequently asked questions

What is the Margin of Error formula?

The margin of error is the plus-or-minus distance that the gap between a sample statistic and the true population parameter stays within in a stated share of samples, usually 95%. It equals half the width of a confidence interval and decreases as sample size increases.

How do you use the Margin of Error formula?

Use the margin of error when a result comes with a plus-or-minus, when you must decide whether a lead or a change is bigger than sampling noise, or when you plan the sample size a survey needs. Compute it as z∗×SE. For the full range, add and subtract it to get the confidence interval; for raw precision with no confidence level attached, stop at the standard error. When the worry is who was sampled, the fix is a better design, not a margin.

What do the symbols mean in the Margin of Error formula?

E is the margin of error. The confidence interval is θ^±E, where θ^ is the sample estimate.

Why is the Margin of Error formula important in Statistics?

The margin of error decides whether a headline is news: "52% support, ±3 points" and "52% support, ±8 points" say very different things. Knowing how it depends on n lets you plan a survey: to get within 3 points on a proportion near 50% at 95% confidence you need about 1,070 people, and halving the margin takes four times as many. Ignore it and you will read noise as a trend.

What do students get wrong about Margin of Error?

Students often know a procedure related to margin of error but skip the recognition step: Do you need just the plus-or-minus amount that says how far a reported estimate could be from the truth by chance? That leads to a calculation or graph that looks reasonable but answers a different question.

What should I learn before the Margin of Error formula?

Before studying the Margin of Error formula, you should understand: confidence interval, standard error.