Margin of Error Calculator – Survey Results and Confidence Limits
Calculate the margin of error of a survey from its sample size and result, apply a finite population correction, and see the confidence interval, design effect and the sample size needed to hit a target.
Calculator InputsFormula v1.0
Leave large if the population is effectively unlimited.
Use 1 for a simple random sample; 1.5 to 3 for clustered designs.
Margin of error = z × √(p(1 − p) ÷ n) × √((N − n) ÷ (N − 1)); confidence interval = p ± margin of error; required n = z² p(1 − p) ÷ e²
Margin of error
95% confidence on 1,000 responses at 54.0%
• The expected number of successes and failures is at least 10, so the normal approximation used here is reasonable.
• A published poll usually reports the maximum margin, computed at p = 0.5, which is wider than the margin for any other result.
Step-by-Step Mathematical Working
Formula and method
Margin of error = z × √(p(1 − p) ÷ n) × √((N − n) ÷ (N − 1)); confidence interval = p ± margin of error; required n = z² p(1 − p) ÷ e²The margin of error describes sampling error only: it says how much the result would move if a different random sample had been drawn. An interval that includes 50% means the result is statistically too close to call, which is different from saying the two options are equal, and it says nothing about non-sampling problems such as question wording or non-response bias.
Variables
- Sample size
- Number of completed responses in the survey
- Proportion
- The result being measured, as a percentage or count of the sample
- Population
- Size of the population sampled, used for the finite population correction
- Confidence level
- How often the interval would contain the true value if the survey were repeated
Worked example
A poll of 1,000 people where 54% chose an option, at 95% confidence from a population of 100,000, has a margin of error of 1.96 × √(0.54 × 0.46 ÷ 1000) = 3.09%, narrowed to 3.07% by the finite population correction. The confidence interval is 50.93% to 57.07%.
Who this calculator is for
Market researchers reporting a poll, A/B testers checking whether a lift is real, students writing up survey data, and anyone reading a headline percentage and wondering how firm it is.
Complete guide to the margin of error calculator – survey results and confidence limits
Every figure below comes from this calculator itself. The method is Margin of error = z × √(p(1 − p) ÷ n) × √((N − n) ÷ (N − 1)); confidence interval = p ± margin of error; required n = z² p(1 − p) ÷ e², applied to the tool's default inputs and then stress-tested one input at a time.
What the Margin of Error Calculator – Survey Results and Confidence Limits works out
Margin of Error Calculator – Survey Results and Confidence Limits answers one specific question: Calculate the margin of error of a survey from its sample size and result, apply a finite population correction, and see the confidence interval, design effect and the sample size needed to hit a target. It is written for market researchers reporting a poll, A/B testers checking whether a lift is real, students writing up survey data, and anyone reading a headline percentage and wondering how firm it is.
The method is Margin of error = z × √(p(1 − p) ÷ n) × √((N − n) ÷ (N − 1)); confidence interval = p ± margin of error; required n = z² p(1 − p) ÷ e². The inputs are Sample size (completed responses) (respondents), Observed result (%), Population size (people), Confidence level (%), Design effect (×), Target margin of error (%). With the default values - Sample size (completed responses) = 1000 respondents, Observed result = 54%, Population size = 100000 people, Confidence level = 95%, Design effect = 1×, Target margin of error = 3% - the result is Margin of error: ±3.07 percentage points. Raising Sample size (completed responses) from 1000 respondents to 1100.00 respondents moves the headline result from ±3.07 percentage points to ±2.93 percentage points.
Reading the result, line by line
Alongside ±3.07 percentage points this method reports 13 supporting quantities: Confidence interval: 50.93% to 57.07%; z critical value: 1.9600; Standard error: 1.58%; Finite population correction: 0.9950 (population 100,000). Reading them side by side separates the effect of each assumption.
The arithmetic as executed: z for 95% confidence = 1.9600. Standard error = √(p(1 − p) ÷ n) = √(0.540 × 0.460 ÷ 1000) = 0.01576. Finite population correction = √((100000 − 1000) ÷ (100000 − 1)) = 0.9950. Margin = 1.9600 × 0.01576 × 0.9950 × √1.00 = 0.03074, or 3.07 percentage points. Interval = 54.0% ± 3.07 = 50.93% to 57.07%. Repeat the arithmetic on paper; agreement means the method was applied to the values you meant to enter.
How to interpret the answer
The margin of error describes sampling error only: it says how much the result would move if a different random sample had been drawn. An interval that includes 50% means the result is statistically too close to call, which is different from saying the two options are equal, and it says nothing about non-sampling problems such as question wording or non-response bias.
Applying that reading here: ±3.07 percentage points alongside confidence interval of 50.93% to 57.07% describes one specific scenario, not a range of possibilities. Adjust the quantity that is genuinely uncertain in your case, then read both figures again.
Common mistakes to avoid
Reporting a margin of error for a subgroup without recalculating it for the smaller sample size. Treating overlapping intervals as automatically meaning no difference, or non-overlapping intervals as the only evidence of one. Quoting a 95% interval as though there were a 95% chance the true value lies inside this particular interval. Applying a margin of error to a non-probability sample, where the formula's assumptions do not hold at all.
Before you act on the result, re-read Sample size (completed responses) (respondents), Observed result (%), Population size (people), Confidence level (%), Design effect (×), Target margin of error (%) and confirm each entry matches its label, including whether a percentage is entered as 8 for eight per cent or as 0.08. Change Sample size (completed responses) deliberately and check that the result moves the way the formula predicts - here ±3.07 percentage points should shift smoothly rather than jump.
Limitations and responsible use
Assumes a simple random sample. Cluster, stratified and quota samples need a design effect that this calculator accepts but cannot derive. Uses the normal approximation, which is unreliable when the expected number of successes or failures is below about 10. Covers sampling error only, not coverage, non-response or measurement bias.
Treat everything above as conditional on those limits. The arithmetic is fully exposed for you to re-derive, though whether the inputs reflect your real position is outside what any calculator can check. For a consequential decision, verify the operative figures against a primary source before relying on the answer.
Frequently asked questions
What is the margin of error for 1,000 respondents?
At 95% confidence with a 50% result, about 3.1 percentage points. A result closer to 0% or 100% has a smaller margin, because the variability of a proportion is largest at 50%.
How do I reduce the margin of error?
Increase the sample size: the margin scales with one over the square root of n, so cutting it in half needs four times the responses.
Does a large population need a bigger sample?
Hardly. Beyond a few thousand, the population size barely affects the margin; the finite population correction only matters when the sample is a large fraction of a small population.
Does a 95% confidence level mean a 95% chance the poll is right?
Not exactly. It means that if the same survey were repeated many times, about 95% of the calculated intervals would contain the true value. The statement describes the method's long-run behaviour, not the probability that this particular interval is correct.
Related searches for this calculator
People also look for margin of error calculator, survey margin of error, confidence interval for a proportion, polling margin of error, sample size and margin of error and moi calculator. Everything on this page is calculated in your browser from the formula shown above.
Related Statistics Calculators
Explore another calculator in this subject.
Sample Size Calculator – Margin of Error, Confidence Level and Population
Work out how many survey responses you need for a chosen margin of error and confidence level, with and without a finite-population correction.
Confidence Interval Calculator – Mean With Known or Estimated Sigma
Build a confidence interval for a mean or a proportion, using the normal or t distribution, and see the margin of error, standard error, and interval width.
Confidence Interval for a Mean Calculator
Calculate a normal-approximation confidence interval for a sample mean when population standard deviation is supplied or assumed.