Skip to content

Margin of error calculator

Find the margin of error and confidence interval for any survey result. Enter your sample size, confidence level and, if you know it, the population size.

Enter the share of respondents who gave an answer (for example 62% said “Yes”). Leave it at 50% for the most conservative, worst-case margin of error. Everything runs in your browser; nothing is sent or stored.

Margin of error

±4.9%

at 95% confidence (z = 1.96) with n = 400.

95% confidence interval

45.1% to 54.9%

An observed result of 50.0% means the true population value is likely between 45.1% and 54.9%.

Exact value
±4.90%
Margin of error by sample size and confidence level, p = 50%
Responses (n)90%95%99%
100±8.2%±9.8%±12.9%
200±5.8%±6.9%±9.1%
300±4.7%±5.7%±7.4%
400±4.1%±4.9%±6.4%
500±3.7%±4.4%±5.8%
1,000±2.6%±3.1%±4.1%
1,500±2.1%±2.5%±3.3%
2,000±1.8%±2.2%±2.9%
5,000±1.2%±1.4%±1.8%

Margin of error calculator FAQ

What is the margin of error in a survey?

The margin of error tells you how far a survey result may be from the true value in the whole population because you only asked a sample. A result of 62% with a ±4.8% margin of error at 95% confidence means the true share is likely between 57.2% and 66.8%.

How do you calculate the margin of error?

Multiply the z-score for your confidence level by the standard error of the proportion: MOE = z × √(p × (1 − p) ÷ n). For a known, limited population N, multiply the result by the finite population correction √((N − n) ÷ (N − 1)).

What is the margin of error for 400 responses?

About ±4.9% at 95% confidence, assuming a 50% result and a large population: 1.96 × √(0.5 × 0.5 ÷ 400) = 0.049. At 90% confidence it is ±4.1%, and at 99% it is ±6.4%.

What is the difference between a margin of error and a confidence interval?

The margin of error is the ± amount. The confidence interval is the range it creates around your result: observed percentage minus the margin of error to observed percentage plus the margin of error. The lower and upper ends are called confidence limits.

Why does the calculator use 50% by default?

p × (1 − p) is largest when p is 50%, so 50% gives the widest, most conservative margin of error. Polls usually report this worst-case figure. If you know the observed percentage, enter it to get the exact interval for that answer.

Does a bigger population need a bigger sample?

Only up to a point. Once the population is much larger than the sample, its size barely matters: 400 responses give about ±4.9% whether the population is 100,000 or 100 million. The finite population correction only makes a noticeable difference when you survey a sizable share of a small group.

What does the margin of error not cover?

It only covers random sampling error. It does not account for biased question wording, people who chose not to respond, or a sample that doesn’t represent the population. A well-designed questionnaire matters as much as the number of responses.

Does this calculator store my data?

No. All calculations run in your browser. Nothing you enter is sent to Florm or stored.

Know your margin? Build the survey.

Create a survey in Florm’s visual editor and watch completions and drop-off as responses come in.