What Is Margin of Error?

Written by Coursera Staff • Updated on

Learn how margin of error quantifies uncertainty, factors influencing it, and its significance in survey sampling and data analysis.

[Featured image] A data analyst explains the margin of error on a recent poll to two colleagues sitting at an office table.

Margin of error is a statistical term that represents the range of uncertainty or variability around an estimate or measurement. It quantifies the degree of confidence we can have in the estimate's accuracy. When conducting surveys or collecting data, surveying the entire population is often not feasible or practical. Instead, a sample is taken, and the results are used to make inferences about the larger population. The margin of error helps to account for the potential discrepancy between the sample and the population, leading to more accurate findings from your data analytics.

For example, you may want to know if your customers would support a new product release, so you poll a sampling of your existing customer base through an email survey. Since this sampling does not include all of your customers, the margin of error would account for the percentage of customers who may or may not agree with those surveyed.

The margin of error is typically expressed as a plus or minus value, indicating the range within which the true value is likely to fall. If a survey reports a margin of error of ±3 percent, the results are believed to be accurate within three percentage points in either direction. This means the true value could be three percent higher or three percent lower than the reported estimate.

For example, if your poll found that 80 percent of surveyed customers approved of a new product release with a margin of error of ±3 percent, your actual value could range from 77 to 83. This range of values is known as the confidence interval and represents the degree of uncertainty or certainty in your estimate.

Data with a lower margin of error is more accurate and reliable than data with a higher margin of error. All data chosen as a random sample will have some uncertainty; the margin of error explains how much.

How to calculate margin of error

You can calculate your margin of error in two ways, depending on whether you are using population parameters or sample statistics. Depending on your sample size and whether you know the population standard deviation, you will either use a z-score or t-score as your critical value.

For a population parameters:

Margin of error = Critical value x Standard deviation of the population

For sample statistics:

Margin of error = Critical value x Standard error of the sample

Placeholder

What impacts the margin of error?  

Three main factors will usually impact your margin of error: sample size, standard deviation, and confidence level. If any of those change, the margin of error will change with them. 

  • Sample size: Your sample size refers to the number of people or other entities you include in your survey. A larger population sample is a more realistic representation of that population, so it's more likely to be accurate. 

  • Standard deviation: The population's standard deviation, or variability, measures how far apart data points are from one another. Larger deviations mean a larger margin of error, while smaller ones usually make for a smaller margin. 

  • Confidence level: Confidence level is a percentage that shows how certain you are that your sample is representative of your entire population. Commonly used confidence levels are 90 percent, 95 percent, and 99 percent. As the confidence level increases, the margin of error becomes wider to capture a higher level of certainty. Conversely, if a lower confidence level is chosen, the margin of error will be narrower, indicating a lower level of certainty.

Are margin of error and sampling error the same?

The margin of error is a summary of the sampling error, quantifying the uncertainty of your measurement. This sampling error accounts for the difference between our sample findings and the true population parameter. 

Typically, you represent this sampling error as the margin of error, denoted as “+/-” your margin of error. When you combine this margin of error with your sample statistic, you create a confidence interval. This interval, presented alongside an associated level of confidence, shows how “certain” you are that the true population value is captured in this range.

Placeholder

Related terms 

Learn data analytics with Google. 

The margin of error is an important component of many statistical studies. It shows how much variability you expect around your measurement. As a data analyst, this is an important tool for accurately representing your findings and portraying the certainty of your measurements. 

If you’re ready to start exploring a career as a data analyst, build job-ready skills in less than six months with the Google Data Analytics Professional Certificate on Coursera. Learn how to clean, organize, analyze, visualize, and present data from data professionals at Google. Consider the Google Advanced Data Analytics Professional Certificate if you're ready to build on your existing data science skills to qualify for in-demand job titles like junior data scientist and data science analyst.

Keep reading

Updated on
Written by:

Editorial Team

Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...

This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.