Margin of Error
& Sample Size
Learn how to quantify uncertainty in survey results and plan the right sample size for reliable business decisions.
What Is Margin of Error?
The margin of error (MOE) tells you how far your sample statistic might be from the true population parameter. It creates a range: your estimate \(\pm\) a buffer zone.
In business, this is how we communicate precision: every survey, quality check, and market study depends on understanding this range.
Visualizing the Confidence Interval
Why Does MOE Matter in Business?
The MOE Formula for Proportions
MOE for Means
When estimating a population mean (e.g., average customer spending), we use the population standard deviation \(\sigma\) instead of the proportion formula.
MOE vs Standard Error
| Margin of Error | Standard Error | |
|---|---|---|
| Formula (proportion) | \( z^* \sqrt{\frac{\hat{p}(1-\hat{p})}{n}} \) | \( \sqrt{\frac{\hat{p}(1-\hat{p})}{n}} \) |
| Includes confidence? | Yes: multiplied by \(z^*\) | No: pure variability measure |
| Interpretation | Half-width of confidence interval | Typical distance of \(\hat{p}\) from \(p\) |
| Relationship | \( E = z^* \times \text{SE} \) | |
How Sample Size Affects MOE
Planning Sample Size
To achieve a desired margin of error \(E\) for a proportion, solve the MOE formula for \(n\):
For estimating a mean, the formula is:
How to Apply in Practice
Example 1: Computing MOE
A company surveys 400 customers and finds 60% prefer Brand A. Find the 95% margin of error.
Example 2: Finding Sample Size
A marketing team wants a \(\pm 3\%\) margin of error at 95% confidence for a customer satisfaction survey. No prior data is available. How many people should they survey?
Example 3: Sample Size for a Mean
A retailer wants to estimate average order value within \(\pm\$5\) at 95% confidence. Historical data shows \(\sigma = \$40\).
Common \(z^*\) Values
| Confidence Level | \(z^*\) Value | Typical Use |
|---|---|---|
| 90% | 1.645 | Quick pilot studies |
| 95% | 1.960 | Industry standard |
| 99% | 2.576 | High-stakes decisions |
Common Mistakes to Avoid
Summary: Proportions vs Means
| Proportion \(\hat{p}\) | Mean \(\bar{x}\) | |
|---|---|---|
| MOE Formula | \(z^*\sqrt{\frac{\hat{p}(1-\hat{p})}{n}}\) | \(z^*\frac{\sigma}{\sqrt{n}}\) |
| Sample Size | \(\left(\frac{z^*}{E}\right)^2\hat{p}(1-\hat{p})\) | \(\left(\frac{z^*\sigma}{E}\right)^2\) |
| Variability source | \(\hat{p}(1-\hat{p})\): max at 0.5 | \(\sigma\): from population |
| Conservative default | \(\hat{p} = 0.5\) | Use largest reasonable \(\sigma\) |
| Small sample? | Use exact binomial methods | Use \(t^*\) with \(s\) |
Question 1 of 5
A 95% confidence interval has a margin of error of \(\pm 4\%\). If you want to cut the MOE to \(\pm 2\%\) at the same confidence level, how must you change the sample size?
Question 2 of 5
When no prior estimate of \(\hat{p}\) exists, which value should you use for the most conservative sample size calculation?
Question 3 of 5
A poll of \(n = 900\) respondents finds \(\hat{p} = 0.45\). What is the 95% margin of error?
Question 4 of 5
A company wants to estimate average customer spending within \(\pm\$10\) at 99% confidence. Historical \(\sigma = \$50\). How many customers should they sample?
Question 5 of 5
Which of the following will decrease the margin of error, holding all else constant?