Margin of Error Calculator
A margin of error calculator is a statistical utility that computes the maximum expected difference between a sample result and the true population value. It uses the sample size, the standard deviation or sample proportion, and the desired confidence level (typically ninety-five percent) to calculate the margin. The resulting value expresses the precision of a survey or poll, indicating the range within which the true population parameters likely fall. Researchers, pollsters, and students use this tool to evaluate data reliability.
Pick a confidence level, enter the sample size and observed proportion, and the calculator returns the margin of error plus the standard error and z-score used. Add a population size for the finite-population correction.
Quick Answer
Calculate the margin of error for your survey or poll. Enter your sample size, population size, and confidence level to determine statistical precision.
Confidence level
Number of respondents in the sample. · e.g. 1000
Use 50% when the true proportion is unknown. · e.g. 50
Apply a finite-population correction. Leave blank for large or unknown populations. · e.g. 50000
Margin of error shrinks with bigger samples and grows with higher confidence. Defaulting the proportion to 50% gives the most conservative (largest) margin of error.
95% confidence on 1,000 respondents
±3.1%
Range: 46.9% to 53.1%
Examples
1,000 respondents, 95% confidence, p = 50%
≈ ±3.10% (range 46.90% to 53.10%)
400 respondents, 95% confidence, p = 60%
≈ ±4.80%
1,000 respondents, 99% confidence, p = 50%
≈ ±4.07%
How it works
The standard error of a sample proportion is the square root of p(1 − p) ÷ n. Multiplying by the z-score for the chosen confidence level gives the margin of error. Adding a population size brings in a finite-population correction that shrinks the margin when the sample is a meaningful fraction of the population.
Standard error · SE = √(p(1 − p) ÷ n)
Margin of error · MoE = z × SE
FPC · √((N − n) ÷ (N − 1))
Z-scores: 90% = 1.645 · 95% = 1.96 · 99% = 2.576
Related statistics calculators
- Confidence interval calculator builds the full lower and upper bounds for a mean or proportion.
- Z-score calculator for the critical values used here, and for any standard-normal score.
- Standard deviation calculator for the spread underlying the standard error.
- P-value calculator for converting a z-score into a tail probability.
- Normal distribution calculator for the CDF that produces the z-criticals used here.
- Percentage calculator for converting raw counts into percentages.
- All education calculators.
Related Calculators
More tools from Education



