Margin of Error Calculator
StatisticsCalculate the margin of error for a survey or sample estimate in seconds. Enter confidence level, standard deviation, and sample size to get the exact margin instantly.
Margin of Error
What is a Margin of Error?
The Margin of Error Calculator computes the ± precision range around a sample estimate, based on your chosen confidence level, standard deviation, and sample size. It answers the question: "given my sample, how far off could my estimate realistically be from the true population value?"
Margin of error is the single most-cited (and most-misunderstood) statistic in survey research and polling. This calculator computes it directly from three inputs, showing the exact z-score used and the resulting standard error, so you can verify and explain the number with confidence.
Once you have your margin of error, pair it with your sample mean using the Confidence Interval Calculator to get the full lower and upper bounds of your estimate.
How to use this Margin of Error calculator
Select your confidence level — 90%, 95% (most common in research), or 99%.
Enter your standard deviation — from your sample data, a prior study, or a reasonable estimate of variability.
Enter your sample size — the number of observations you collected or plan to collect.
Read the margin of error — this is the ± precision of your estimate at the chosen confidence level.
Build a full confidence interval — take your sample mean and this margin of error to the Confidence Interval Calculator for the complete lower and upper bounds.
Plan ahead if the margin is too wide — if the resulting margin of error is larger than you need, use the Sample Size Calculator to find out how many more observations would tighten it.
Formula & Methodology
Margin of error: E = z × (σ / √n) Variable definitions: - z — z-score for the chosen confidence level (1.645 for 90%, 1.96 for 95%, 2.576 for 99%) - σ — standard deviation - n — sample size Worked example: A satisfaction survey of 150 customers has a standard deviation of 12 (on a 100-point scale), at 95% confidence. Step 1 — Standard error: 12 / √150 = 12 / 12.247 ≈ 0.9798 Step 2 — Margin of error: 1.96 × 0.9798 ≈ 1.92 If the sample mean satisfaction score was 78, the result would be reported as 78 ± 1.92, or a confidence interval of approximately [76.08, 79.92]. Assumption: This formula assumes the sampling distribution is approximately normal, which holds for sample sizes of roughly 30 or more, or when the underlying population itself is close to normally distributed.
Frequently Asked Questions