VotePredictor
Explainer

What “margin of error” really means

“Within the margin of error” gets read as “too close to call”, and “outside the margin of error” as “safe”. Neither is right. We checked 16,897 final polls and 2,147 elections from 1998 to 2024 to see how often the candidate who was ahead lost.

The short version

What the number measures

A pollster can't ask every voter, so it asks a sample, usually 500 to 1,500 people. Even a perfectly drawn sample won't match the whole electorate exactly, just by the luck of who was picked. The margin of error says how far that luck could plausibly move a number: in 95 samples out of 100, a candidate's share lands within that many points of the truth.

It shrinks slowly as the sample grows, with the square root of its size. A poll of 400 people has a margin of about ±4.9 points, 600 people ±4.0, 1,000 people ±3.1, and 2,000 people ±2.2. Quadrupling the sample only halves the margin. The typical poll in our data asked 643 people, for a margin of ±3.9.

The lead's margin is about twice as big

Here is the catch most coverage misses. Say a poll of 600 people has Smith at 48% and Jones at 44%, with a margin of error of ±4. That ±4 applies to each number. If the sample happened to run 2 points too high for Smith, it probably ran about 2 points too low for Jones, because those people were counted in one column instead of the other. The errors move in opposite directions, so the error on the gapis roughly double: Smith's 4-point lead is really 4 ± 8. That lead is “outside the margin of error” the way it's usually reported, and it still includes Jones winning.

What it leaves out

The margin of error assumes the only problem is random sampling. Real polls have others: guessing who will actually vote, people who won't answer the phone (and differ from those who do), how the question is worded, and voters changing their minds after the poll. None of that is in the ± figure, and it doesn't shrink with a bigger sample.

That shows up in the record. If the stated margin captured all the uncertainty, the result would land outside a poll's 95% range for the lead about 5% of the time. Across 16,897 polls taken in the final three weeks, it landed outside 26% of the time. The typical poll missed the final margin by 4.3 points. In practice, a poll's real uncertainty is about double what it says.

Within the margin of error is not a tie

If “within the margin of error” meant “anyone's guess”, the leader would lose about half the time. They don't. Of the 4,998 final polls with a lead inside their margin of error, the leader went on to lose 39%. Being ahead still tells you something; it just tells you less than it seems. And even a lead of one to two margins of error, comfortably “outside” it, was wrong about the winner 23% of the time.

How often the poll leader lost, by the size of the lead (single polls)
Under half the margin of error42%
Half to one margin of error37%
One to two margins of error23%
More than two margins of error5%

under half the margin of error: 967 of 2,317 · half to one margin of error: 981 of 2,681 · one to two margins of error: 939 of 4,119 · more than two margins of error: 366 of 7,780

Who won and lost on the margin of error

Single polls are noisy, so we also averaged each election's final-three-week polls, the way most coverage summarizes a race, and compared the average lead with the typical margin of error of those polls.

In 546 elections the average lead was inside the margin of error. The leader won 363 of them and lost 183, one in three. In the other 1,601 elections the lead was bigger than the margin of error, and the leader lost 76 (5%). Altogether the poll leader lost 259 of 2,147 elections.

How often the leader in the final poll average lost, by the size of the lead
Under 1 point41%
1–2 points37%
2–3 points34%
3–5 points20%
5–7 points16%
7–10 points5%
Over 10 points1%

under 1 point: 57 of 140 · 1–2 points: 60 of 161 · 2–3 points: 40 of 118 · 3–5 points: 43 of 219 · 5–7 points: 32 of 207 · 7–10 points: 14 of 268 · over 10 points: 13 of 1,034

The pattern is steady: under 3 points, the trailing candidate wins about a third of the time or more; from 3 to 7 points, about one time in six; past 10 points, almost never.

Do the polls predict the result?

Yes, strongly, which is easy to forget in a piece about misses. Across all 2,147 elections, the final poll average and the result have a correlation of r = 0.93 (1 would be perfect). The fitted line is nearly the diagonal, shifted about 1.0 points toward the Republicans: a poll average of D+10 became D+9.1 on average, and R+10 became R+11.1. Over these 26 years, the polls leaned slightly Democratic. The chart zooms in on the close elections, where the question matters.

The close elections: final poll average vs. the result

1,484 elections where both were within 20 points · leader won · leader lost (255)

R+20R+20R+10R+10TieTieD+10D+10D+20D+20Polls had the Republican ahead,the Democrat wonPolls had the Democrat ahead,the Republican wonpolls exactly rightMaine Senate 2020Wisconsin 2016Pennsylvania Senate 2024Hawaii governor 1998Final poll averageActual result

Each dot is one election. The closer a dot is to the dashed line, the closer the polls were. The other 663 elections, with a poll average or result beyond 20 points, are off the chart; the poll leader lost 4 of them.

Much of that strength comes from landslides, where nobody needed a poll. Among the 1,082 competitive elections, with the poll average inside 10 points, the correlation falls to r = 0.66: still a real signal, with a lot of scatter around it. Most red dots sit near the middle, where the polls said the race was close, but some are well out from it: Maine in 2020 had the Democrat up 5.6 and the Republican won by 8.6.

One more correlation says a lot about the margin of error itself. If it measured how wrong a poll is likely to be, polls with bigger margins would miss by more. Across all 16,897 polls, the correlation between a poll's stated margin of error and how far it actually missed is r = 0.14, close to none. A bigger sample makes a poll a little steadier, but most of what decides a poll's miss isn't in the number.

Ahead inside the margin, and lost

These candidates led in the final polls by less than the margin of error and lost, mostly by less than a point. The polls weren't badly wrong in any of them. The leads were never as solid as they looked.

Led within the margin of error, lost
ElectionFinal polls
2024 Pennsylvania Senate
Bob Casey (D) vs. Dave McCormick (R)
Casey +3.2
±3.2 · 36 polls
Result: McCormick +0.2
2024 Wisconsin President
Kamala Harris (D) vs. Donald Trump (R)
Harris +0.9
±3.5 · 34 polls
Result: Trump +0.9
2018 Florida Senate
Bill Nelson (D) vs. Rick Scott (R)
Nelson +1.5
±3.5 · 48 polls
Result: Scott +0.1
2018 Florida Governor
Andrew Gillum (D) vs. Ron DeSantis (R)
Gillum +3.2
±3.5 · 51 polls
Result: DeSantis +0.4
2014 North Carolina Senate
Kay Hagan (D) vs. Thom Tillis (R)
Hagan +2.0
±3.8 · 36 polls
Result: Tillis +1.6
2022 Arizona Governor
Katie Hobbs (D) vs. Kari Lake (R)
Lake +2.4
±3.5 · 36 polls
Result: Hobbs +0.7
2022 Nevada Senate
Catherine Cortez Masto (D) vs. Adam Laxalt (R)
Laxalt +0.9
±4.0 · 29 polls
Result: Cortez Masto +0.8

Ahead inside the margin, and held on

The same kind of lead often holds. Every one of these was “within the margin of error”, and the leader won, some by even less than the polls showed.

Led within the margin of error, won
ElectionFinal polls
2024 Michigan Senate
Elissa Slotkin (D) vs. Mike Rogers (R)
Slotkin +3.5
±3.5 · 36 polls
Result: Slotkin +0.3
2024 Wisconsin Senate
Tammy Baldwin (D) vs. Eric Hovde (R)
Baldwin +1.9
±3.5 · 32 polls
Result: Baldwin +0.8
2020 Georgia President
Joe Biden (D) vs. Donald Trump (R)
Biden +1.1
±3.6 · 38 polls
Result: Biden +0.2
2020 Arizona President
Joe Biden (D) vs. Donald Trump (R)
Biden +3.2
±3.8 · 66 polls
Result: Biden +0.3
2018 Arizona Senate
Kyrsten Sinema (D) vs. Martha McSally (R)
Sinema +1.1
±3.7 · 31 polls
Result: Sinema +2.3
2012 Florida President
Barack Obama (D) vs. Mitt Romney (R)
Obama +0.2
±3.5 · 60 polls
Result: Obama +0.9

Ahead outside the margin, and still lost

These are the famous misses. Each leader was ahead by more than the margin of error in an average of many polls, which should have washed out sampling luck. What it can't wash out is an error that every poll shares: in 2016 and 2020, polls across the Midwest and in Maine and North Carolina understated Republican support together.

Led outside the margin of error, lost
ElectionFinal polls
2016 Wisconsin President
Hillary Clinton (D) vs. Donald Trump (R)
Clinton +5.3
±3.3 · 27 polls
Result: Trump +0.8
2016 Michigan President
Hillary Clinton (D) vs. Donald Trump (R)
Clinton +5.6
±3.4 · 36 polls
Result: Trump +0.2
2016 Pennsylvania President
Hillary Clinton (D) vs. Donald Trump (R)
Clinton +4.5
±3.5 · 55 polls
Result: Trump +0.7
2020 Maine Senate
Sara Gideon (D) vs. Susan Collins (R)
Gideon +5.6
±3.7 · 12 polls
Result: Collins +8.6
2020 North Carolina Senate
Cal Cunningham (D) vs. Thom Tillis (R)
Cunningham +4.5
±3.6 · 63 polls
Result: Tillis +1.7
1998 Hawaii Governor
Ben Cayetano (D) vs. Linda Lingle (R)
Lingle +11.5
±4.7 · 4 polls
Result: Cayetano +1.3

How to read a poll

How VotePredictor handles it

That last point is what a forecast is for. VotePredictor doesn't use the stated margin of error. Its win probabilities come from how far polls and models have actually missed in past elections, including the misses every poll shares. That's why a race can show a clear polling lead and still be close to a toss-up. See the methodology, and how the forecast has done against everyone else who calls elections.

About the data. Polls taken in the final three weeks of general elections for president (by state), Senate, governor and House, 1998–2024: FiveThirtyEight's archive through 2022, and its 2024 poll feeds for president, Senate and governor (no House) scored against the official results. In all, 16,897 polls with a sample size, in 2,147 elections where the Democrat and the Republican together won at least 80% of the vote (so races an independent won are left out). Margin of error is the standard 95% figure for one candidate's share, 98 divided by the square root of the sample size; an election's figure is the median of its polls'. The analysis is aielect/margin_of_error.pyin the project's repository.