Margin of Error Calculator

Margin of Error Calculator

Calculate margin of error for a sample proportion or sample mean, apply optional finite population correction, and estimate the sample size needed for a target precision.

📌Margin presets

Load a realistic polling, survey, research, or measurement scenario, then adjust confidence level, sample size, population size, and target margin.

Margin of error -- critical value x standard error
Confidence interval -- estimate +/- margin
Sample size needed -- for target margin
FPC effect -- finite population correction

Enter sample details to calculate margin of error.

Calculator inputs
Use proportion mode for polls, yes/no responses, conversion rates, or shares.
This label appears in the result summary and breakdown.
Higher confidence widens the margin of error.
Use completed responses or valid measured observations.
Leave blank for a very large or unknown population.
FPC reduces margin when sampling without replacement from a known finite population.
Enter percent form. Use 50 when unknown because p(1 - p) is largest.
Percent estimate used to display the interval around your result.
Mean mode uses margin = critical value * s / sqrt(n).
Mean estimate used to display lower and upper bounds.
Percent points in proportion mode; measurement units in mean mode.
Used to estimate invitations needed to reach the target sample size.
Used only in mean mode. Examples: points, minutes, mm, mg/L.
Controls display precision; internal math keeps full precision.
🧮Live precision grid
1.960 Critical value
From the selected confidence level.
-- Standard error
Before the critical value multiplier.
1.0000 FPC factor
Equals 1 when no correction applies.
N blank Sampling fraction
n divided by known population size.
-- Interval width
Lower to upper span.
-- Invitations
Target n divided by response rate.
📋Current calculation table
Item Symbol Current value Formula role Result note
Enter inputs to see the current calculation.
🗂Confidence level reference
Confidence Alpha Two-sided z Relative width Typical use
80%0.201.2820.65x of 95%Fast directional screening
85%0.151.4400.73x of 95%Exploratory internal checks
90%0.101.6450.84x of 95%Business surveys and pilots
95%0.051.960BaselineCommon public reporting level
98%0.022.3261.19x of 95%More conservative reporting
99%0.012.5761.31x of 95%High-confidence decisions
99.5%0.0052.8071.43x of 95%Strict confirmation work
99.9%0.0013.2911.68x of 95%Very conservative estimates
📐Formula and method reference
Mode Margin formula Sample size formula Best inputs Caution
ProportionMOE = z * sqrt(p(1 - p) / n)n0 = z^2 p(1 - p) / e^2Survey share, response rate, conversion rateUse p = 0.50 when planning with no prior estimate
MeanMOE = critical * s / sqrt(n)n0 = (critical * s / e)^2Sample SD, mean, units, completed observationsSmall samples may need a t critical value from a separate table
FPC factorsqrt((N - n) / (N - 1))n = n0 / (1 + (n0 - 1) / N)Known population, sampled without replacementDo not use for open-ended or replacement sampling
IntervalEstimate +/- MOEWidth = 2 * MOEObserved proportion or mean estimateMargin does not include nonresponse or weighting error
Response planInvites = target n / response rateRound invitations upExpected response rate from past fieldingLow response rates can add bias beyond sampling error
Worst case pp(1 - p) is largest at 0.50Produces maximum required nEarly survey planningKnown p far from 0.50 can need fewer responses
📊Sample size planning grid
Scenario
Target n
Achieved MOE
FPC
Invites
Precision note
🔎Proportion planning benchmarks
Target margin 90% confidence 95% confidence 99% confidence Planning note
+/- 10%6897166Rough screening sample at p = 50%
+/- 7.5%121171295Useful for early internal reads
+/- 5%271385664Common survey planning target
+/- 4%4236011037Narrower poll or segment estimate
+/- 3%75210681844Typical national poll precision
+/- 2%169124014148High precision for key tracking
+/- 1%6765960416588Large-scale measurement work
Margin of error tips
Plan proportions with p = 50% unless you know better. The p(1 - p) term is largest at 0.50, so it gives the most conservative sample size for yes/no survey results.
Use FPC only for a real finite frame. A known population size reduces the margin only when you sample without replacement from that same population; it does not fix bias, weighting, or nonresponse.

Take as an example: A national poll say that a candidate is ahead by five percentage points, while the poll has a three percent margin of error. You see it in headlines but what’s really true is in fine print. Those three percent don’t tell us anything about potential bias; nor do they tells us anything about which one is likely to win.

Instead, those three percent reflect a limit of doubt. That is, the maximum amount by which the outcome might differ if you were to repeat the survey on another random Tuesday.

Understanding the Margin of Error

That’s the difference between being read by stats vs reading stats. Once you enter your confidence level and sample size into calculator above, it do the math for you. No need to guess at whether your results represent something real, or simply noise.

The margin of error is often treated by most readers as some sort of inherent characteristic of the survey, like color of ink used on the ballot. It’s not. How large the margin is depend directly on number of people you actualy ask, and on your confidence level in final result.

Bigger samples reduce the margin, but they don’t do so in a linear fashion. For instance, the margin halve with a four times larger sample. That’s a pretty steep tradeoff… And one that traps a lot of researcher. They assume that double the interviews means half the error. The math doesn’t work more better than that way.

The calculator makes this tradeoff clear (see how many more respondents you’ll have to include for that additional precision). But also note their confidence level setting. This determine what proportion of the time they expect the interval to contain actual population value.

Most public polls is reported at a 95% confidence level, which is about as good a compromise between practicality and precision as you can get. Go up to 99%, though, and the margin of error is going to spread dramaticly. This is the tradeoff; we are giving up precision for certainty.

When you’re talking about razor-thin leads, it matter when decisions depend on these results. Look down the page at reference table which shows all of this, explaining how much the critical value jumps as you push for more assurance. Do you want greater assurance you’re right or do you want to know the number closer?

There’s another layer to this: the size of the population itself. When doing big polling of the whole country, the population is so huge that the finite population correction factor are unimportant. Suppose you are polling a smaller pool, like your company with its two hundred employee. That number matters. That factor show that after interviewing half the sample, you know a good deal about the remainder. It shows that ignoring the factor overstate the error. And using it where inappropriate understate the amount of uncertainty.

When you specify a known population, this tool will apply the correction for you and report results in line with how much of your sample frame you’ve actualy sampled from.

How it works: When calculating how many people are needed (a process called “sample size calculation“), planners assumes worst case: A 50-50 split, where variance is highest and uncertainty is at its peak. That’s why they always plug in half into their formulas. But if an issue is one where everyone agree, or is very polarizing, then you don’t need as big a sample. The math takes all that into account. You can also specify your own baseline percentage, which will help refine the answer.

Generic calculators will always tell you the same thing based off the 50% input. And lastly, keep in mind that this margin of error is just for random sampling error. It doesn’t correct for other types of errors such as non-random sampling (meaning the sample isn’t representative), leading questions, and poor response rates.

You might get a really small margin of error on a survey, yet still be entirely incorrect because your respondents aren’t similar to those who didn’t respond. Your method determines what you’re measuring; the math puts a bound around it. You should of known that distinction when reading about the latest poll in the headlines. The number will tell you how precisely they measured it, not whether it was accurate.

That three percent margin isn’t a map boundary… It’s merely the edge.

Margin of Error Calculator