Margin of Error Calculator

Margin of Error Calculator — Know How Precise Your Survey Is

Enter your sample size, confidence level, and (optionally) population size. We'll compute the ± margin of error with finite population correction applied automatically, show the formula step-by-step, and visualize your confidence interval.

Calculator Inputs
Result
Margin of Error
±4.99%
at 95% confidence, n = 385
Step-by-step:
E = z × √(p(1−p) / n)
z = 1.96
p(1−p) = 0.5 × 0.5 = 0.25
√(p(1−p)/n) = √(0.25 / 385) = 0.02548
E = 1.96 × 0.02548 = ±4.995%
Confidence Interval Visualization
0%50%100%
Lower: 45.01%Estimate: 50.0%Upper: 54.99%
In repeated sampling, 95% of intervals constructed this way would contain the true population value.
How does sample size affect margin of error?

Drag the slider to see how adding (or removing) respondents changes your margin of error — all other inputs held constant.

Sample Size: 385
Margin of Error: ±4.99%
101,0002,000
Notice how MOE shrinks quickly at first but flattens out — doubling sample size from 1,000 to 2,000 barely moves the needle. Most surveys hit diminishing returns past n ≈ 1,000.

Ready to run your survey?

GenZform turns your research plan into a branded, mobile-ready survey in minutes — AI-assisted questions, logic, and analytics included. Free forever plan.

Create a Survey

What is Margin of Error?

The plus-or-minus number that tells you how much sampling could move your result.

Margin of error (MOE) is the range above and below a survey estimate that likely contains the true population value. If a political poll reports 52% support with a ±3% margin at 95% confidence, the true support is most likely between 49% and 55%. Run the same poll 100 times with 100 fresh samples, and roughly 95 of those intervals would capture the real answer.

MOE matters because you almost never survey the whole population. You survey a sample — and samples disagree with the truth purely by chance. The margin quantifies how much disagreement to expect. A headline that says "63% of customers prefer option A" is meaningless without a margin attached. ±2% and ±15% both fit that headline and imply wildly different decisions.

What MOE does not capture: it's strictly random sampling error. It can't detect a leading question, a biased panel, or a 5% response rate. A tight ±2% on a broken survey is still junk. MOE answers "how precise" — not "how accurate."

Why Margin of Error Matters for Surveys

Three reasons MOE should appear on every chart you publish.

It prevents overclaiming
A 2-point lead in a poll isn't really a lead if your MOE is ±3. Reporting the margin keeps you honest about what the data can and can't support.
It sizes your sample right
Before launch, MOE tells you whether 200 responses are enough or whether you need to push harder for 1,000. Saves money and re-launches.
It exposes fake trends
Wave-over-wave tracking with wide MOEs can show "movement" that's pure noise. Overlap the intervals and you'll separate real shifts from random wiggle.

The Formula, Broken Down

Standard textbook margin of error — with finite population correction when it applies.

Margin of Error Formula
E = z × √(p(1−p) / n) × √((N−n)/(N−1))
The rightmost factor (FPC) drops to ≈ 1 when N is very large or unknown, giving the simpler E = z × √(p(1−p)/n).
z
Z-score (critical value)
Determined by your confidence level. 95% → 1.96, 99% → 2.576. Higher confidence, wider interval.
p
Sample proportion
The expected share of respondents giving a particular answer (0 to 1). Use 0.5 when unknown — it's the worst case and produces the largest MOE.
n
Sample size
The number of respondents in your sample. MOE decreases with √n — so quadrupling the sample halves the margin.
N
Population size (optional)
The total number of people the sample is drawn from. When provided, we apply the finite population correction √((N−n)/(N−1)) to shrink the MOE.

Worked Example: A Customer Satisfaction Survey

Real-world context with numbers you can audit step-by-step.

Scenario

You run a SaaS company with 8,000 active customers. You email a CSAT survey; 600 respond. 72% rate you "satisfied" or "very satisfied." Your CEO asks: "Can we confidently claim 70%+ satisfaction in the investor deck?"

Plug into the formula (95% confidence)
z = 1.96, p = 0.72, n = 600, N = 8000
p(1−p) = 0.72 × 0.28 = 0.2016
√(0.2016 / 600) = 0.01833
FPC = √((8000 − 600)/(8000 − 1)) = 0.9613
E = 1.96 × 0.01833 × 0.9613 = 0.0345 → ±3.45%
Interpretation

The 95% confidence interval is 68.55% to 75.45%. The investor claim holds: "We have 95% confidence that customer satisfaction is between 68.5% and 75.5%." Note that 70% is inside the interval — so "70%+" is plausible but not guaranteed. A stricter phrasing ("at least 68%") would be defensible at 95% confidence.

What if you skip FPC? Without it, MOE = 1.96 × 0.01833 = ±3.59%. The 8,000-customer population is large enough that FPC barely moves the answer. But for a 200-person team survey with 100 responses, FPC would shave your MOE by over 30% — enough to change your sample plan.

6 Ways to Reduce Margin of Error

Tighten your survey precision without tripling your sample budget.

1
Aim for n = 385 at minimum
For a large/unknown population at 95% confidence, 385 responses give you ±5%. This is the de-facto floor for publishable business surveys.
2
Push to n = 1,067 for ±3%
Academic polling and national surveys typically target ±3%, which requires ~1,067 responses at 95% confidence. Budget for drop-off — target 2× your completion goal.
3
Stratify when you have subgroups
If you need MOE per segment (e.g. by region, age group), size each stratum to your target MOE — don't rely on the overall sample to carry subgroup precision.
4
Use FPC for bounded populations
For internal surveys of finite groups (a 200-person team, 1,000 active users), FPC can meaningfully shrink your required sample. Enter the population size above.
5
Watch out for non-response bias
A 10% response rate on 5,000 invites gives you the same MOE as a 100% response rate on 500 — but the first sample is almost certainly biased. Prioritize response rate over raw sample size.
6
Pilot first, then scale
Run a small pilot (n = 30–50) to test question clarity and estimate actual proportions. Use those proportions in the MOE formula to refine your full-launch sample target.

Popular Use Cases

Pre-survey planning: verify whether your target sample size will deliver decision-grade precision before you launch.

Results reporting: attach a credible ± range to every stat in your post-survey report or stakeholder deck.

Academic research: meet IRB and publication requirements for documented sampling error in methods sections.

Customer insights: quantify uncertainty in NPS, CSAT, or product-fit surveys before making roadmap decisions.

Political & market polling: benchmark your MOE against industry standards (±3% at 95% confidence).

Employee surveys: apply finite population correction for small, bounded populations like a 500-person company.

Related Tools

QR Code Generator
Create professional QR codes for any URL. Customize colors, add logos, and download instantly.Generate QR code
Receipt Generator
Create branded receipts for sales, rent, donations, and payments. Live preview, one-click PDF download.Create receipt
Quote Generator
Create branded price quotations with line items, tax, discounts, signature, and validity.Create quote

Frequently Asked Questions

Everything about margin of error for surveys.

Margin of error (MOE) is the range above and below your survey result that likely contains the true population value. If 60% of respondents say yes and your MOE is ±3% at 95% confidence, the true value is most likely between 57% and 63%. It quantifies random sampling error — not bias from bad questions or non-response.

Most professional surveys target ±3% to ±5% at 95% confidence. Academic and political polling usually aims for ±3% (requires ~1,100 responses). Internal business surveys often accept ±5% (~385 responses). Margins above ±10% are considered directional only — useful for exploration, not decisions.

Four levers: (1) increase sample size — biggest practical lever, though with diminishing returns past n=1,000; (2) lower your confidence level (95% → 90% shrinks MOE ~16%); (3) use stratified sampling if your population has distinct subgroups; (4) when you genuinely know the expected split isn't 50/50, use the actual proportion — p=0.1 or p=0.9 yields a smaller MOE than p=0.5.

FPC shrinks the margin of error when your sample is a large fraction of the population. It's the factor √((N−n)/(N−1)). For infinite or very large populations, FPC ≈ 1 and is usually ignored. But for a 500-person company, a sample of 200 gives FPC ≈ 0.775 — cutting the MOE by 22.5%. This calculator applies FPC automatically whenever you enter a population size.

A 50/50 split is the most conservative estimate — it produces the largest possible margin of error. If you don't know what distribution of answers to expect, using 50% guarantees your sample is big enough. Once you have pilot data or prior knowledge, plug in the actual expected proportion for a tighter (smaller) MOE.

No — MOE only captures random sampling error. It ignores coverage error (who you could reach), non-response error (who chose to answer), and measurement error (badly worded questions, social desirability bias). A tight ±3% MOE on a biased sample is still misleading. Margin of error answers 'how precise' — not 'how accurate.'

Yes — higher confidence means a wider interval. 90% confidence uses z = 1.645, 95% uses z = 1.96, and 99% uses z = 2.576. Jumping from 95% to 99% increases the margin of error by about 31%, so you'd need ~70% more respondents to keep the same MOE. For most business decisions, 95% is the sweet spot.

Now that you know your sample plan, run the survey

GenZform turns your research plan into a branded, mobile-ready survey in minutes. AI-assisted questions, conditional logic, and built-in analytics so you can spot whether movement is real or just inside your margin of error. Free forever plan.