Free Calculator

    Margin of error calculator

    Find out how precise your survey results really are — enter the sample you actually collected and get the confidence interval around it.

    How many completed responses you actually collected.

    Everyone you could have surveyed. Leave blank if unknown or very large.

    %

    The percentage you want an interval around. 50% gives the widest, safest margin.

    Margin of error

    ±4.98%

    at 95% confidence

    Confidence interval

    45.0% — 55.0%

    50% measured45.0%55.0%

    the range the true value most likely falls in

    Z-score

    1.9600

    Population correction

    Applied

    finite population

    How this was calculated

    MoE = 1.9600 × √(0.50 × 0.50 ÷ 385) × √((100,000 − 385) ÷ 99,999)
    = ±4.98%

    What is the margin of error?

    The margin of error tells you how far your survey result might sit from the truth, purely because you surveyed a sample rather than everyone. It's the "give or take" attached to every percentage you report.

    If 62% of your respondents say they'd renew and your margin of error is ±4%, the honest statement is that somewhere between 58% and 66% of your whole customer base would say the same. The single number 62% is your best estimate, not a measurement.

    What it does and doesn't cover

    Margin of error only accounts for random sampling error — the luck of which people happened to answer. It says nothing about leading questions, a skewed respondent mix, people misremembering, or anyone who ignored your survey entirely. Those are usually the bigger threats to accuracy, and no formula will surface them.

    Confidence intervals and confidence levels

    These three terms get used interchangeably and shouldn't be.

    Margin of error

    The ± figure. How wide the uncertainty is, in percentage points.

    Confidence interval

    The range you get from applying the margin to your result. A result of 62% with a ±4% margin gives a confidence interval of 58% to 66%.

    Confidence level

    How reliable the method is. At a 95% confidence level, if you repeated the same survey 100 times with fresh samples, about 95 of the intervals you produced would contain the true population value.

    That last definition is subtly different from how people usually read it. "95% confident" describes the long-run reliability of the procedure, not the probability that this particular interval is correct.

    The margin of error formula

    MoE = Z × √( p(1 − p) ÷ n )

    Z = z-score for your confidence level, p = the proportion measured, n = sample size

    SymbolMeaningTypical value
    ZZ-score for the confidence level1.96 at 95%
    pProportion giving the answer you're measuring0.5 when unknown
    nNumber of completed responsesYour sample

    The finite population correction

    When your sample makes up a meaningful share of a countable population, the basic formula overstates your uncertainty. Surveying 90 of 100 customers leaves far less room for sampling error than surveying 90 out of a million. The correction accounts for that:

    × √( (N − n) ÷ (N − 1) )

    N = population size. As N grows, this term approaches 1 and stops mattering.

    The calculator applies it automatically whenever you supply a population. It's also why this calculator and the sample size calculator are exact inverses of each other — put one's output into the other and you get your original input back.

    A worked example

    You survey 400 of your 5,000 customers and find that 62% are satisfied. You want the margin at 95% confidence.

    Step 1 — z-score. 95% confidence gives Z = 1.96.

    Step 2 — the base calculation. With p = 0.62:

    1.96 × √(0.62 × 0.38 ÷ 400) = 1.96 × 0.02427 = 0.04757

    Step 3 — apply the population correction.

    0.04757 × √((5,000 − 400) ÷ 4,999) = 0.04757 × 0.9593 = 0.04563

    Result: a margin of error of ±4.56%, giving a confidence interval of roughly 57.4% to 66.6%.

    Note that using p = 0.5 instead would have given ±4.70% — slightly wider. That's the conservative default, and it's what to use when you're planning rather than reporting.

    What changes your margin of error

    Sample size — the big one

    More responses narrow the margin, but with diminishing returns, because n sits under a square root. Quadrupling your sample only halves the margin.

    Sample sizeMargin at 95% confidence
    50±13.9%
    100±9.8%
    250±6.2%
    500±4.4%
    1,000±3.1%
    2,500±2.0%

    Confidence level

    Demanding more certainty widens the interval. The same 1,000 responses give ±2.6% at 90% confidence, ±3.1% at 95%, and ±4.1% at 99%. You are not gaining accuracy by raising the confidence level — you are asking for a wider net.

    How split the answers are

    Uncertainty peaks when a population is evenly divided. A 50/50 split produces the widest margin; lopsided results like 90/10 produce narrower ones. This is why p = 0.5 is the safe planning assumption.

    Population size — mostly irrelevant

    Counter-intuitively, population size barely matters once it's large. A sample of 1,000 gives roughly ±3.1% whether your population is 100,000 or 100 million. It only starts to matter when your sample is a large fraction of the whole.

    How to reduce your margin of error

    1. Collect more responses. The most direct lever, but remember the square root — plan for it before fielding rather than after.
    2. Accept a lower confidence level. Moving from 95% to 90% narrows the interval immediately. Legitimate for internal, directional work; say so when reporting.
    3. Survey a defined, countable population. The finite population correction genuinely helps when you're covering a large share of a small group.
    4. Use stratified sampling. Deliberately sampling within known segments, in proportion, reduces variance compared with a simple random draw.
    5. Improve your response rate. Shorter surveys and better timing raise completions from the same list, which shrinks the margin and reduces non-response bias at the same time.

    Reporting results honestly

    The most common failure isn't miscalculating the margin — it's calculating it and then reporting as though it didn't exist.

    • Always state it. "62% satisfied (±4.6%, 95% confidence, n=400)" is a complete result. "62% satisfied" is a headline.
    • Don't call overlapping intervals a difference. If satisfaction moved from 62% to 65% with a ±4.6% margin, you have not measured an improvement.
    • Recalculate for every segment. A subgroup of 60 responses inside a 400-response survey carries its own, much wider margin.
    • Round sensibly. Reporting 62.37% when your margin is ±4.6% implies a precision you don't have.

    Frequently asked questions

    Other free calculators

    Stop calculating this by hand

    SurveyKar tracks these metrics automatically as responses come in — live scores, trends over time, and segment breakdowns, with no spreadsheet in the middle.