Margin of error calculator
How much sample results may differ from the true value
Parameters
Number of respondents who completed the survey
Total size of target audience. Leave empty if unknown or very large
Probability that the true value falls within the confidence interval
If unknown, use 50% — gives maximum (conservative) margin of error
Assumptions and limitations
- Formula is for proportion, not mean
- p = 50% gives maximum (conservative) margin of error
- For small samples (n < 30) use the result with caution
- FPC (finite population correction) applied when N is given
In SurveyNinja, NPS, CSAT and more are calculated automatically. Create a survey in 5 minutes and get real-time analytics.
Start freeData is not stored — calculation runs in your browser.
How margin of error is calculated
Margin of error formula
MOE = z × √(p(1−p)/n) × FPC, where z is the z-value for confidence level (1.645/1.96/2.576), p = proportion, n = sample size, FPC = finite population correction.
Z-values
90% confidence → z = 1.645. 95% confidence → z = 1.96 (standard). 99% confidence → z = 2.576. Higher confidence means wider interval and larger MOE.
FPC correction
FPC = √((N−n)/(N−1)). Used when the sample is a significant part of the population (n/N > 5%). Reduces MOE. For infinite population FPC = 1.
Why p = 50%
At p = 50% the product p(1−p) is maximum (0.25), giving the largest MOE. If the true proportion differs from 50%, the actual MOE will be smaller.
Typical margin of error values
* At p = 50% and infinite population
Frequently asked questions about margin of error
What is margin of error?
What margin of error is acceptable?
How to reduce margin of error?
What is FPC (finite population correction)?
Why is MOE maximum at p = 50%?
How are margin of error and sample size related?
What formula is used for margin of error?
Why use a margin of error calculator after a survey?
Automate your metrics
In SurveyNinja, NPS, CSAT and more are calculated automatically. Create a survey in 5 minutes and get real-time analytics.
Start free