**Contents (click to skip to that section)**:

- What is a Margin of Error?
- How to Calculate Margin of Error (video)
- Margin of Error for a Proportion

## What is a Margin of Error?

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. 4.88 and 5.26) 98% of the time.

## Margin of Error Percentage

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.

The Margin of Error can be calculated in two ways:

- Margin of error = Critical value x
**Standard deviation** - Margin of error = Critical value x
**Standard error**of the statistic

### 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

## How to Calculate Margin of Error

Watch the video or read the steps below:

The margin of error tells you the **range of values** above and below a confidence interval.

51 – 4 = 47 percent and

51 + 4 = 55 percent.

**The margin of error can be calculated in two ways, depending on whether you have parameters from a population or statistics from a sample**:

- 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.

Click here for a minute video that shows you how to find a critical value.

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 (see: What is the Standard Error?).

Click here for a short video on how to calculate the standard error.

Step 3: **Multiply the critical value **from Step 1** by the standard deviation** or standard error from Step 2. For example, if your CV is 1.95 and your SE is 0.019, then:

1.95 * 0.019 = 0.03705

**Sample 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

**Second example**: Click here to view a second video on YouTube showing calculations for a 95% and 99% Confidence Interval.

**Tip**: You can use the t-distribution calculator on this site to find the t-score and the variance and standard deviation calculator will calculate the standard deviation from a sample.

## Margin of Error for a Proportion

The formula is a little different for proportions:

Where:

= sample proportion (“P-hat”).

n = sample size

z = z-score

**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.

Step 3: **Insert the values into the formula and solve:**

= 1.645 * 0.0153

= 0.0252

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!

------------------------------------------------------------------------------**Confused and have questions?** Head over to Chegg and use code “CS5OFFBTS18” (exp. 11/30/2018) to get $5 off your first month of Chegg Study, so you can understand any concept by asking a subject expert and getting an in-depth explanation online 24/7.

**Comments? Need to post a correction?** Please post a comment on our *Facebook page*.