400 respondents
- Input
- n = 400, p = 50%, 95%
- Expected output
- ±4,90 pontos
Almost the 5% of a sample of 385.
how to calculate the margin of error of a survey
In the Margin of error tab, type the number of respondents, the observed proportion (50% for the worst case) and the confidence level. The result comes in percentage points, with the range of plausible values and the formula.
Almost the 5% of a sample of 385.
The standard of many polls.
Double the sample, only 30% less margin.
p(1 − p) = 0.16.
3.10 · √1.5.
For a proportion, use n₀ = z² · p · (1 − p) / E². At 95% confidence (z = 1.96), a 5% margin and p = 50%, n₀ = 384.15, so 385 people. If the population is finite, apply n = n₀ / (1 + (n₀ − 1) / N). Then multiply by the design effect, if any, and divide by the expected response rate to learn how many to invite.
Hardly at all, if the population is large. A survey of 1,000 people has a similar margin in a city of 500,000 and in the whole country. It only matters when the sample is a relevant part of the population.
No. The margin is the width of the interval, ±3 points, and the confidence (95%) is the chance the method captures the real value. The remaining 5% is the chance the interval misses the real value.
For a subgroup with smaller n, the margin is larger. In a survey of 1,000 people, the 200 young people aged 18 to 24 have a margin of ±6.9 points. Compute the margin with the subgroup's n.
When unsure, use 50%: it is the case that needs the largest sample.
1 means simple random sampling. Cluster surveys use values above 1.
How many of those invited should answer. 100% means everyone answers.
With 385 respondents, the estimate of a proportion around 50% will have a margin of error of ±5 percentage points, at 95% confidence.
z = 1.96 (95%)n₀ = z² · p · (1 − p) / E² = 1.96² · 0.5 · 0.5 / 0.05² = 384.15⌈384.15⌉ = 385| Margin | 90% | 95% | 99% |
|---|---|---|---|
| ±1% | 6,764 | 9,604 | 16,588 |
| ±2% | 1,691 | 2,401 | 4,147 |
| ±3% | 752 | 1,068 | 1,844 |
| ±4% | 423 | 601 | 1,037 |
| ±5% | 271 | 385 | 664 |
| ±7% | 139 | 196 | 339 |
| ±10% | 68 | 97 | 166 |