Labor Day starts with $70+ in savings on Coursera Plus. Save 40% for 3 months.

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.

Key takeaways

  • Margin of error is a statistical term that represents the range of uncertainty or variability around an estimate or measurement, quantifying the degree of confidence in the estimate's accuracy.

  • The margin of error formula for population parameters is margin of error = critical value x standard deviation of the population.

  • To find the margin of error, you can use either a z-score or a t-score as your critical value, depending on your sample size and whether you know the population standard deviation.

You can calculate the margin of error in two ways, depending on whether you are using sample statistics or population parameters. Discover more about margin of error, including what it is, how to calculate it, and what impacts it.

If you’re ready to sharpen your data analytics skills, enroll in the Google Data Analytics Professional Certificate. In as little as three months, you can learn about sampling (statistics), interactive data visualization, data validation, spreadsheet software, data ethics, and more.

What is margin of error?

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 find 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 a t-score as your critical value.

For 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

Read more: What Is Statistical Analytics? Definition, Types, and Jobs

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.

[Video thumbnail] 3 Innovative Ways to Use AI in Daily Work Tasks

Discover more with our free resources

Subscribe to Career Chat on LinkedIn to stay current with the latest trends in your career field. Continue your learning journey about statistics and data analytics with our other free digital resources:

Whether you want to develop a new skill, get comfortable with an in-demand technology, or advance your abilities, keep growing with a Coursera Plus subscription. You’ll get access to over 10,000 flexible courses.

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.