📏 Margin of Error Calculator
Calculate the margin of error, confidence interval, and required sample size for different margin of error targets. Supports finite population correction.
Use 0.5 for maximum (most conservative) MOE
Required sample size for target MOE:
What is Margin of Error?
Margin of error (MOE) is a statistical measure that quantifies the uncertainty in a survey or poll result due to random sampling. When a pollster surveys 1,000 people instead of an entire population of millions, the result is an estimate — not a precise measurement. The margin of error expresses how far the true population value is likely to be from the sample result, at a given confidence level. A poll showing "Candidate A at 52% ± 3%" means the true support is likely between 49% and 55%, with 95% confidence.
MOE is calculated as z × √(p(1−p)/n), where z is the critical value for the chosen confidence level (1.96 for 95%, 2.576 for 99%), p is the observed proportion, and n is the sample size. The most common convention in political polling is 95% confidence with p = 0.5 (which gives the largest possible MOE for any proportion — a conservative worst-case). This is why "±3 points" is standard for a poll of about 1,000 respondents: 1.96 × √(0.25/1000) ≈ 0.031.
Critically, margin of error only accounts for random sampling error — the chance variation that results from surveying a random subset of the population. It does not account for systematic errors such as non-response bias, question wording effects, undercoverage of certain demographic groups, or the Bradley effect in political polls. A technically correct MOE reported alongside a poorly designed survey can give a false sense of precision. Understanding MOE is essential for critically interpreting any survey-based claim in the media, business, or research.
Margin of Error Formulas
How the Margin of Error Calculator Works
Formula, assumptions, and calculation steps for this statistics tool.
Methodology
Statistics calculators organize sample data, apply the selected descriptive or inferential formula, and report the statistic with interpretation.
Calculation Steps
- Enter raw values or summary statistics.
- Clean separators and count the sample size.
- Apply the relevant statistic, probability, or confidence formula.
- Display the result with context such as degrees of freedom, percentile, or strength.
Assumptions and Limits
- Samples should be representative of the population being studied.
- Normality or independence assumptions apply only where the selected method requires them.
- Rounded results may differ slightly from spreadsheet software.
Frequently Asked Questions
The margin of error quantifies the maximum expected difference between the true population proportion and a sample estimate. A ±3% MOE with 95% confidence means: if you ran the survey 100 times, 95 of those would produce results within 3% of the true value.
When the true proportion is unknown, p = 0.5 maximises p(1−p) = 0.25, giving the largest (most conservative) MOE. Any other value of p will produce a smaller MOE, so p = 0.5 guarantees your sample is large enough regardless of the outcome.
The standard MOE formula assumes an infinite population. When sampling from a finite population of size N, the FPC factor √((N−n)/(N−1)) reduces the MOE, reflecting the fact that you are sampling a large fraction of the population.
The 95% confidence level is the most common in research and polling. A higher confidence level (99%) gives a wider interval (larger MOE) but more certainty. A lower level (90%) gives a narrower interval but less certainty.
MOE decreases as sample size increases (roughly proportional to 1/√n). Increasing your sample from 400 to 1600 halves your MOE. Using a lower confidence level or a proportion estimate different from 0.5 also reduces MOE.
Real-World Applications
Common Mistakes
Margin of Error by Sample Size (p=0.5, 95% CI)
| Sample Size (n) | MOE (95%) | Typical Use |
|---|---|---|
| 100 | ±9.8% | Small pilot study |
| 400 | ±4.9% | Local survey |
| 600 | ±4.0% | Regional poll |
| 1,000 | ±3.1% | National poll (standard) |
| 1,500 | ±2.5% | Large national survey |
| 2,400 | ±2.0% | High-precision research |
References
- Cochran, W.G. Sampling Techniques. Wiley, 1977.
- Lohr, Sharon. Sampling: Design and Analysis. CRC Press, 2021.
- AAPOR. Standard Definitions: Final Dispositions of Case Codes and Outcome Rates. AAPOR, 2023.
- Moore, D.S., McCabe, G.P., and Craig, B.A. Introduction to the Practice of Statistics. Freeman, 2017.
- Pew Research Center. Explaining Our Polling Methodology. Pew Research, 2024.
Related Calculators
Browse all Statistics calculators →Sample Size Calculator
Calculate the required sample size for surveys and statistical studies.
Confidence Interval Calculator
Calculate confidence intervals for means and proportions.
Z-score Calculator
Calculate z-score (standard score) and find corresponding probabilities.