TL;DR: The margin of error is the "plus or minus" around a survey result. A poll saying 52% with a margin of error of ±3% means the true value is probably between 49% and 55%. It shrinks as the sample grows — roughly, quadrupling the sample halves it. It covers only random sampling error, never bias. Check any sample with our free Margin of Error Calculator.
You have seen it a hundred times: "Candidate A leads with 52% of the vote, plus or minus 3%." That little "plus or minus" is the margin of error, and it is the most important part of the sentence. Without it, 52% sounds like a fact. With it, you know the truth is probably somewhere between 49% and 55% — and a 4-point lead can easily be no lead at all.
Every survey, poll and study that samples only part of a population carries a margin of error, because a sample is never a perfect copy of the whole group. This guide explains what margin of error means, how it is calculated, what makes it bigger or smaller, and what it does not cover — with worked examples you can check against the free calculator.
What is margin of error?
Margin of error is the range around a survey result within which the true value for the whole population is likely to fall. If a survey of 1,000 voters finds 52% support for a candidate and the margin of error is 3%, the honest way to report it is "52%, plus or minus 3%" — the true support in the whole population is probably between 49% and 55%.
The word "probably" matters. The margin of error is always tied to a confidence level, usually 95%. A 95% confidence level means that if you repeated the same survey 100 times with different random samples, about 95 of those surveys would produce an interval that contains the true value — and about 5 would miss. It does not mean there is a 95% chance that this particular interval is right; it is a statement about the method, repeated many times. News reports usually drop the confidence level and just say "plus or minus 3%", but the 95% is almost always the level behind the number.
Why does any error exist at all? Because a sample is a subset. Ask 1,000 random voters and you will get a slightly different mix than the millions who will actually vote, just by chance. Ask a different 1,000 and the result shifts a little. The margin of error measures how much that random wobble is expected to be. It is not a mistake anyone made — it is the price of sampling instead of asking everyone.
What is the margin of error formula?
For a survey result expressed as a percentage or proportion, the formula is:
Margin of error = z × √(p × (1 − p) / n)
Each part has a plain meaning. The z-score, z, comes from the confidence level: 1.645 for 90% confidence, 1.96 for 95% confidence, and 2.576 for 99% confidence. A higher confidence level means a larger z-score and a wider margin of error — you pay for extra certainty with extra width. The proportion, p, is the survey result as a decimal (0.52 for 52%). The sample size, n, is how many people answered. The term p × (1 − p) is largest when p is 0.5, which is why pollsters often quote the margin of error for a 50/50 split — it is the worst case, and any other result has a slightly smaller margin of error.
| Confidence level | z-score | What it means |
|---|---|---|
| 90% | 1.645 | Narrower interval, less certainty |
| 95% | 1.96 | The standard choice for surveys and polls |
| 99% | 2.576 | Wider interval, more certainty |
For a result expressed as an average rather than a percentage — say, the average time people spend on a website — the formula is margin of error = z × σ / √n, where σ is the standard deviation of the measurements. The structure is the same: a z-score times a measure of spread, divided by the square root of the sample size. If you need the standard deviation first, our standard deviation calculator works it out step by step.
Worked example: a poll of 1,000 voters
Suppose a poll asks 1,000 voters a yes/no question and 52% say yes. What is the margin of error at 95% confidence? Work through the formula with p = 0.52, n = 1,000 and z = 1.96.
- Find p × (1 − p). 0.52 × 0.48 = 0.2496.
- Divide by the sample size. 0.2496 / 1,000 = 0.0002496.
- Take the square root. √0.0002496 ≈ 0.0158.
- Multiply by the z-score. 1.96 × 0.0158 ≈ 0.031, or ±3.1%.
So the result is reported as 52% ± 3.1%, meaning the true value is probably between 48.9% and 55.1%. Now suppose the other candidate is at 48%. Their interval is 44.9% to 51.1% — and the two intervals overlap. That overlap is the key insight: a 4-point lead with a 3.1% margin of error is not a clear lead at all. The race is, in the usual phrase, a statistical tie. This is why poll reports that trumpet a small lead without mentioning the margin of error are misleading — the lead may be entirely inside the noise. Try the same numbers in the margin of error calculator and you will get the same answer.
How does sample size change the margin of error?
Sample size is the one factor you control most directly, and its effect follows a square-root rule: to halve the margin of error, you must quadruple the sample. That is why going from 100 to 400 respondents buys a big improvement, while going from 10,000 to 40,000 buys almost nothing a reader would notice.
| Sample size | Margin of error (95% confidence, p = 0.5) |
|---|---|
| 100 | ±9.8% |
| 400 | ±4.9% |
| 1,000 | ±3.1% |
| 2,400 | ±2.0% |
The table also explains why most serious polls interview around 1,000 people: it is the sweet spot where the margin of error drops to about 3%, and each extra respondent after that buys less and less precision. Pushing to ±1% would need roughly 10,000 interviews — ten times the cost for a gain most readers would not value. If you are planning a survey rather than reading one, our sample size calculator works the trade-off in the other direction: tell it the margin of error you want, and it tells you how many responses that takes.
What margin of error does NOT cover
This is the part most people miss. The margin of error covers only random sampling error — the luck of who happened to be picked. It says nothing about the other ways a survey can go wrong, and those are often larger than the margin of error itself.
It does not cover a biased sample. If a poll only calls landlines, or only surveys people who visit one website, the result can be far off even with a tiny margin of error — the error it reports assumes a genuinely random sample, and a non-random sample breaks that assumption. It does not cover people who refuse to answer: if one group answers at much lower rates than another, the result skews. It does not cover badly worded or leading questions, which can push answers in a direction no sample size can correct. And it does not cover people changing their minds, lying, or misunderstanding the question.
So when you read "plus or minus 3%", treat it as a lower bound on the total uncertainty, not the whole story. A poll with a 3% margin of error and a badly biased sample can easily be 10 points wrong. The margin of error is honest about randomness and silent about everything else — which is exactly why reputable pollsters describe their sampling method alongside the number.
Margin of error and confidence level
The margin of error and the confidence level move together. Raise the confidence level from 95% to 99% and the margin of error grows: for the 1,000-person poll above, 99% confidence gives ±4.1% instead of ±3.1%, because the z-score rises from 1.96 to 2.576. Lower it to 90% and the margin shrinks to ±2.6%. You cannot have both a narrow interval and near-certainty — the maths forces a choice.
That trade-off is why 95% became the default: it balances a reasonably narrow interval against a reasonably high level of confidence. When you see a margin of error quoted without a confidence level, 95% is almost certainly the level behind it. And when you plan a survey, pick the confidence level first, then the margin of error — the two together decide your sample size, as explained in our guide to sample size vs margin of error.
Frequently Asked Questions
What is margin of error?
Margin of error is the range around a survey result within which the true value for the whole population is likely to fall. A result of 52% with a margin of error of 3% means the true value is probably between 49% and 55%.
How do you calculate margin of error?
For a proportion, margin of error = z x square root of (p x (1 - p) / n), where z is the z-score for your confidence level (1.96 for 95%), p is the sample proportion, and n is the sample size. For a mean, use z x standard deviation / square root of n.
What is a good margin of error?
For most surveys, plus or minus 3% to 5% at 95% confidence is considered good. Election polls usually aim for about plus or minus 3%. Smaller is more precise, but it needs a larger sample and costs more.
What margin of error do you get with 1,000 respondents?
About plus or minus 3.1% at 95% confidence, assuming a 50% proportion. With 400 respondents it is about plus or minus 4.9%, and with 100 respondents it is about plus or minus 9.8%.
Does margin of error include bias?
No. Margin of error only covers random sampling error — the luck of which people happened to be picked. It does not cover biased questions, people who refuse to answer, or a sample that does not represent the population.