• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar
  • My Store
  • Glossary
  • Home
  • About Me
  • Contact Me

Statistics By Jim

Making statistics intuitive

  • Graphs
  • Basics
  • Hypothesis Testing
  • Regression
  • ANOVA
  • Probability
  • Time Series
  • Fun
  • Calculators

Margin of Error: Formula and Interpreting

By Jim Frost 4 Comments

What is the Margin of Error?

The margin of error (MOE) for a survey tells you how near you can expect the survey results to be to the correct population value. For example, a survey indicates that 72% of respondents favor Brand A over Brand B with a 3% margin of error. In this case, the actual population percentage that prefers Brand A likely falls within the range of 72% ± 3%, or 69 – 75%.

The margin of error calculates a distance from the survey’s value in which the actual population value is likely to occur. It assesses the precision of a survey’s estimates. A smaller margin of error suggests that the survey’s results will tend to be close to the correct values. Conversely, larger MOEs indicate that the survey’s estimates can be further away from the population values.

Surveys frequently use random samples to estimate population percentages. These population values, also known as parameters, are almost always unknown because it is infeasible to measure entire populations. Instead, surveys use samples to estimate them. Unfortunately, these estimates seldom equal the correct value exactly due to random sampling error. The MOE is an inferential statistics procedure related to confidence intervals that evaluates the uncertainty involved when using random samples to estimate a population’s characteristics.

In this post, learn about the margin of error formula and how to calculate and interpret them.

Related posts: Populations and Samples, Parameters vs. Statistics, and Populations, Parameters, and Samples in Inferential Statistics

Confidence Levels

Like confidence intervals, the margin of error has a confidence level. Different random samples drawn from the same population are likely to produce slightly different estimates. If you draw many random samples and calculate a margin of error around each estimate, a percentage of those ranges will contain the population value.

Confidence levels are the long-run percentage of times that the population value falls within the MOE. Standard confidence levels are 90, 95, and 99%. 95% is the most common. For surveys that use a 95% confidence level, you’d expect 95% of their results to have margins of error that contain the population value.

For the image below, imagine that you draw 20 random samples and administer the same survey to all of them. Then you calculate the margin of error for an item on all 20 surveys. If you use a 95% confidence level, you’d expect that 19 out of the 20 intervals will contain the correct population value.

Interval plot that displays 20 confidence intervals. 19 of them contain the population parameter.

Related posts: Confidence Intervals and Sample Estimates Are Always Wrong (to Some Extent)!

Maximum Margin of Error for a Survey

In a survey, the size of the margin of error varies depending on the percentage. Surveys frequently cite its maximum MOE. That’s the value you’ll see in the media when they report a survey’s margin of error. Knowing this value is beneficial because the margins of error for all percentages in a survey will not exceed this value.

The largest margin of error for a given sample size occurs when the percentage is 50%. For example, 50% of the respondents prefer Candidate Smith. As the percentage for an item moves away from 50%, either higher or lower, the MOE decreases.

Let’s see this phenomenon in action graphically! The graph below displays the 95% margin of error for a sample size of 1,000. The vertical axis represents the MOE, while the horizontal axis indicates percentages in the survey. The highest margin of error occurs at the red line where the survey result is 50%, and it diminishes in both directions from that peak.

Graph showing how the MOE changes by percentage.

In the margin of error formula section, I’ll show you how to find the maximum and other MOEs.

Download the Excel file I made to create this graph: Margin Of Error. In this file, you can change the sample size to see how it affects the MOE for all percentages.

Margin of Error Formula

Surveys frequently use proportions and percentages in their results. For example, 92% agree with a particular decision. Consequently, the margin of error formula for surveys relates to percentages. When you add and subtract the MOE from the survey proportion, you obtain a confidence interval of the proportion.

In statistics, most margin of error/confidence interval calculations involve multiplying a critical value by a standard error. In the following formula, the square root is the standard error of the proportion, and you multiply it by a critical Z-value. Learn more about standard errors.

The margin of error formula is the following:

Margin of error formula

Where:

  • The Z-value is the critical Z-value that corresponds to your confidence level.
  • p is the sample proportion or percentage.
  • n is the sample size.

You set the confidence level by choosing the critical Z-value. Below are the Z-values for the standard confidence levels.

Confidence Level Z-value
90% 1.64
95% 1.96
99% 2.58

Related posts: Critical Values, Z-scores, and Z-table

Finding the Maximum Margin of Error Formula

To find the maximum MOE that surveys typically report, we need to set p to 0.5 and use the Z-value for our confidence level. 95% is the standard confidence level. Consequently, I’ll use the corresponding Z-value of 1.96. Because we’re setting the values of these two inputs (Z and p), the maximum margin of error formula becomes a direct transformation of the survey’s sample size, as shown below.

Formula for finding the maximum margin of error.

For any survey, all we need to enter into the formula is the sample size to find its maximum margin of error. Each sample size has its own maximum value. For example, if our sample size is 1000, our maximum MOE is the following:

Worked example of finding the margin of error.

This maximum MOE corresponds to the peak in the chart above.

Finding the Margin of Error for Other Percentages

It’s easy to use the margin of error formula for other percentages. Simply enter the percentage as a proportion (i.e., 75% = 0.75), sample size, and Z-score into the formula.

For example, a survey item finds that 75% of the respondents agree with the governor’s policy. 1000 individuals responded to this survey. To find the 95% margin of error for this percentage, we do the following:

Worked example of calculating the margin of error.

We can be 95% confident that the population percentage for this survey item is within 75% ± 2.684%, or 72.316 – 77.684%.

Additionally, notice that the MOE for this specific percentage (75%) is 2.684% versus the maximum MOE of 3.099% for 50% when you have a sample size of 1,000. You can find both of these points on the earlier chart.

Caveats and Cautions for MOEs

The margin of error only accounts for random sampling error. It cannot factor in wording biases, non-representative samples, difficulties that exclude particular types of respondents, etc.

Additionally, these MOEs are for individual percentages and not the differences between responses. For example, suppose 51% of respondents prefer Candidate A and 48% prefer Candidate B. If the margin of error is 4%, the media will often state that it’s a statistical dead heat or tie because the difference between the two candidates (3%) is smaller than the margin of error (4%). Learn more about the Challenges of Political Polling.

While that is true, it’s an overly simplistic method because it doesn’t indicate how large the difference between two percentages must be to be statistically significant. To evaluate the differences between two percentages, you need to calculate a different type of interval—the confidence interval of the difference between two proportions. I use that type of test in my post about the effectiveness of flu vaccines.

However, when you only know the reported margin of error for individual percentages, you might still be able to draw some conclusions. If the difference between the two percentages is twice the MOE, it is statistically significant. Additionally, differences slightly smaller than 2 * MOE can also be significant, but you’d need to perform the correct test to know for sure.

I write about a similar phenomenon when comparing group means using confidence intervals of the differences rather than the individual means.

Share this:

  • Tweet

Like this:

Like Loading…

Related

Filed Under: Hypothesis Testing Tagged With: conceptual, interpreting results

Reader Interactions

Comments

  1. Anthony Houston says

    June 11, 2024 at 4:13 pm

    Hi Jim, is it recommended to report and use multiple margins of Errors when your sample is knowingly divided into two categories? For example, if the overall population is 500 and I have a confidence level of 95% and MOE of 3%, and I know I need around 340 in a sample. However, do I break that down further if I know that there will be an unequal number of who will be the control group vs treatment group of that 340, let’s say 30% got the treatment and 70% remained control group, should this MOE calculation be done for this as well?

    Loading...
    Reply
    • Jim Frost says

      June 12, 2024 at 8:46 pm

      Hi Anthony,

      When dealing with a small population like 500 and sampling a significant portion of it (340), you are in a special scenario where the sample size approaches the total population size. In such cases, it is beneficial to apply the finite population correction (FPC) to adjust the standard error and consequently the margin of error. The FPC adjusts for the increase in accuracy that occurs when a large proportion of the population is sampled.

      Regarding your specific question about whether to report multiple margins of error for different subgroups within your sample: yes, it is advisable to calculate and report separate margins of error for each subgroup if they are meaningfully different in size or if the treatment effects are expected to differ. This is because the variability and the confidence with which you can estimate population parameters can differ substantially between subgroups. For example, with 30% receiving treatment and 70% in the control group, the subgroup sizes are uneven, which can affect the precision of your estimates within each subgroup.

      I hope that helps!

      Loading...
      Reply
  2. SA says

    July 26, 2023 at 7:16 pm

    Thank you for the excellent breakdown on how to determine the MOE for proportions/percentages. How does the formula differ for a count? And what additional considerations need to be made if the sample is stratified?

    I’ve read elsewhere that the formula for MoE of a count is Z*SQRT(n*p*(1-p)) but this doesn’t seem right…

    Loading...
    Reply
    • Jim Frost says

      July 31, 2023 at 10:25 pm

      Hi SA,

      The method I’m familiar with is to first calculate the MOE for the proportion. Then multiply the upper and lower bounds by the size of the population. But you do need to know the population size to do this.

      Loading...
      Reply

Comments and QuestionsCancel reply

Primary Sidebar

Meet Jim

Iโ€™ll help you intuitively understand statistics by focusing on concepts and using plain English so you can concentrate on understanding your results.

Read More...

Buy My Introduction to Statistics Book!

Cover of my Introduction to Statistics: An Intuitive Guide ebook.

Buy My Hypothesis Testing Book!

Cover image of my Hypothesis Testing: An Intuitive Guide ebook.

Buy My Regression Book!

Cover for my ebook, Regression Analysis: An Intuitive Guide for Using and Interpreting Linear Models.

Subscribe by Email

Enter your email address to receive notifications of new posts by email.

    I won't send you spam. Unsubscribe at any time.

    Buy My Thinking Analytically Book!

    Cover for my book, Thinking Analytically: An Guide for Making Data-Driven Decisions.

    Top Posts

    • F-table
    • Cronbachโ€™s Alpha: Definition, Calculations & Example
    • Z-table
    • How To Interpret R-squared in Regression Analysis
    • Cohens D: Definition, Using & Examples
    • Box Plot Explained with Examples
    • How to Interpret P-values and Coefficients in Regression Analysis
    • Multicollinearity in Regression Analysis: Problems, Detection, and Solutions
    • Interpreting Correlation Coefficients
    • T-Distribution Table of Critical Values

    Recent Posts

    • Data Collection Methods: Step-By-Step Guide with Examples
    • ANOVA Calculator
    • Positive Predictive Value: Meaning, Formula, and Interpretation
    • Median Absolute Deviation Calculator
    • Median Absolute Deviation: Definition, Finding & Formula
    • Outlier Calculator

    Recent Comments

    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Pareto Chart: Making, Reading & Examples

    Copyright © 2026 · Jim Frost · Privacy Policy

    %d