Watch the video to see how to calculate a margin of error:
Can’t see the video? Click here.
A margin of error tells you how many percentage points your results will differ from the real population value. For example, a 95% confidence interval with a 4 percent margin of error means that your statistic will be within 4 percentage points of the real population value 95% of the time.
More technically, the margin of error is the range of values below and above the sample statistic in a confidence interval. The confidence interval is a way to show what the uncertainty is with a certain statistic (i.e. from a poll or survey).
For example, a poll might state that there is a 98% confidence interval of 4.88 and 5.26. That means if the poll is repeated using the same techniques, 98% of the time the true population parameter (parameter vs. statistic) will fall within the interval estimates (i.e. between 4.88 and 5.26) 98% of the time.
Statistics Aren’t Always Right!The idea behind confidence levels and margins of error is that any survey or poll will differ from the true population by a certain amount. However, confidence intervals and margins of error reflect the fact that there is room for error, so although 95% or 98% confidence with a 2 percent Margin of Error might sound like a very good statistic, room for error is built in, which means sometimes statistics are wrong. For example, a Gallup poll in 2012 (incorrectly) stated that Romney would win the 2012 election with Romney at 49% and Obama at 48%. The stated confidence level was 95% with a margin of error of +/- 2, which means that the results were calculated to be accurate to within 2 percentages points 95% of the time.
The real results from the election were: Obama 51%, Romney 47%, which was actually even outside the range of the Gallup poll’s margin of error (2 percent), showing that not only can statistics be wrong, but polls can be too.
Back to Top
The margin of error tells you the range of values above and below a confidence interval.
A poll might report that a certain candidate is going to win an election with 51 percent of the vote; The confidence level is 95 percent and the error is 4 percent. Let’s say the poll was repeated using the same techniques. The pollsters would expect the results to be within 4 percent of the stated result (51 percent) 95 percent of the time. In other words, 95 percent of the time they would expect the results to be between:
- 51 – 4 = 47 percent and
- 51 + 4 = 55 percent.
- Margin of error = Critical value x Standard deviation for the population.
- Margin of error = Critical value x Standard error of the sample.
How to Calculate Margin of Error: Steps
Step 1: Find the critical value. The critical value is either a t-score or a z-score. If you aren’t sure, see: T-score vs z-score. In general, for small sample sizes (under 30) or when you don’t know the population standard deviation, use a t-score. Otherwise, use a z-score.
Step 2: Find the Standard Deviation or the Standard Error. These are essentially the same thing, only you must know your population parameters in order to calculate standard deviation. Otherwise, calculate the standard error.
Example question: 900 students were surveyed and had an average GPA of 2.7 with a standard deviation of 0.4. Calculate the margin of error for a 90% confidence level:
- The critical value is 1.645 (see this video for the calculation)
- The standard deviation is 0.4 (from the question), but as this is a sample, we need the standard error for the mean. The formula for the SE of the mean is standard deviation / √(sample size), so: 0.4 / √(900) = 0.013.
- 1.645 * 0.013 = 0.021385
That’s how to calculate margin of error!
Back to Top
This example shows you how to calculate margin of error for unknown sigma:
Can’t see the video? Click here.
Example question: 1000 people were surveyed and 380 thought that climate change was not caused by human pollution. Find the MoE for a 90% confidence interval.
Step 1: Find P-hat by dividing the number of people who responded positively. “Positively” in this sense doesn’t mean that they gave a “Yes” answer; It means that they answered according to the statement in the question. In this case, 380/1000 people (38%) responded positively.
Step 2: Find the z-score that goes with the given confidence interval. You’ll need to reference this chart of common critical values. A 90% confidence interval has a z-score (a critical value) of 1.645.
= 1.645 * 0.0153
Step 4: Turn Step 3 into a percentage:
0.0252 = 2.52%
The margin of error is 2.52%.
Check out our Youtube channel for video tips on statistics!
Moore, D. S. and McCabe G. P. Introduction to the Practice of Statistics. New York: W. H. Freeman, p. 443, 1999.
Stephanie Glen. "Margin of Error: Definition, How to Calculate in Easy Steps" From StatisticsHowTo.com: Elementary Statistics for the rest of us! https://www.statisticshowto.com/probability-and-statistics/hypothesis-testing/margin-of-error/
Feel like “cheating” at Statistics? Check out our Practically Cheating Statistics Handbook, which gives you hundreds of easy-to-follow answers in a PDF format. Recommended reading at top universities!
Comments? Need to post a correction? Please post a comment on our Facebook page.