Survey precision

Margin of Error Calculator

Estimate the margin of error for a sample proportion, with an optional finite-population correction when the population size is known.

Sample assumptions

Enter confidence and sample details

MOE
%
Precision summary

Margin and estimated interval

Your margin of error will appear here

Choose a confidence level, enter the sample proportion and size, and optionally provide a population larger than the sample.

What Does Margin of Error Mean in a Survey?

A survey margin of error describes estimated random sampling uncertainty around a sample proportion under a specified model. A margin of 3.92 percentage points around a 60% estimate gives an approximate interval from 56.08% to 63.92%.

This margin of error calculator uses a normal approximation for one proportion and a selected confidence-level z value. You can optionally apply a finite-population correction by entering a population larger than the sample. It does not estimate the margin for a mean, assess survey bias or choose a sample design.

How to Estimate Margin of Error for a Proportion

  1. Choose Confidence level from the supplied list, from 70% through 99.99%. The selected value determines a fixed, rounded z multiplier.
  2. Enter Sample proportion as a percentage from 0 to 100. For example, enter 60 for 60%, not 0.60.
  3. Enter a whole Sample size from 1 through 1 billion, representing the observations behind that estimate.
  4. Leave Population size blank for no correction, or enter a whole population strictly larger than the sample and no greater than 1 trillion.
  5. Select Calculate margin of error. Read the margin in percentage points, the estimate, interval bounds and correction status.

The optional population field is blank unless you type a value; its example placeholder is not a selected population. The tool applies the correction whenever a valid population is supplied rather than testing a sampling-fraction threshold. Use it only when the sampling design supports that correction, such as a simple random sample without replacement.

Numerical acceptance is not evidence that the normal approximation is suitable. Small samples or proportions near 0% or 100% can make this interval unreliable. The calculator does not check expected success/failure counts, weighting, clustering, nonresponse or sample representativeness.

Margin of Error and Population Correction Formulas

Proportion fraction p = entered percentage P/100

Standard error SE = √[p(1−p)/n]

Uncorrected margin E = z × SE

With finite population N: corrected E = z × SE × √[(N−n)/(N−1)]

Margin in percentage points M = 100E

Displayed bounds = max(0, P−rounded M) and min(100, P+rounded M)

The calculator rounds the margin to two decimals before constructing its displayed bounds, then limits those bounds to 0%–100%. The chart uses the resulting lower bound, estimate and upper bound. Clipping does not convert a weak approximation into an exact interval.

At a fixed sample size and z value, p = 0.5 gives the largest p(1−p) and therefore the largest modeled margin. At p = 0 or 1 the expression returns zero, but this is a known limitation of the basic normal approximation, not proof of complete certainty. A finite-population correction also does not remove measurement or selection bias.

For background on the underlying concepts, see OpenStax: a population proportion. The formulas above describe this tool’s stated assumptions.

Confidence, Sample Proportion and Population Size

Confidence level and z
Selected two-sided normal-reference confidence level and its fixed rounded multiplier.
Sample proportion P
Percentage estimate; the formula converts it to a decimal fraction.
Sample size n
Whole observation count, not the population or confidence percentage.
Optional population N
Whole population strictly above n; supplying it applies the correction.
Margin of error
Featured display uses a percent symbol; interpret its size as percentage points around P.
Interval bounds
Estimate plus/minus rounded margin, limited to the valid percentage range.
Correction status
Whether a population multiplier was used, not whether the study design was validated.

Survey Margin of Error Worked Example

Illustrative example. A hypothetical simple random survey estimates 60% from 600 observations at 95% confidence. Leave population size blank initially.

Use z = 1.96 and p = 0.60. The standard error is √(0.60 × 0.40/600) = 0.02. Margin is 1.96 × 0.02 × 100 = 3.92 percentage points, giving displayed bounds 56.08% and 63.92%.

If the design instead samples without replacement from a known population of 3000, the multiplier is √[(3000−600)/(3000−1)] ≈ 0.894576. Corrected margin is about 3.506739 percentage points, rounded to 3.51. The displayed interval becomes 56.49%–63.51%. The smaller number does not correct biased selection.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Survey Margin of Error Worked Example
MeasureNo population correctionPopulation 3000
Sample estimate60%60%
Sample size600600
Margin, percentage points3.923.51
Displayed lower bound56.08%56.49%
Displayed upper bound63.92%63.51%

Sampling Error, Confidence and Survey Bias

A narrow model-based interval does not validate a study. Review both sampling assumptions and how the information was collected.

Sampling Error, Confidence and Survey Bias
IssueEffect on interpretationHandled here?
Sample sizeLarger n generally narrows modeled errorYes, through the formula
Confidence levelHigher confidence widens the intervalYes, using fixed z values
Finite populationCan reduce sampling variance without replacementOptional stated correction
Selection or response biasCan shift the estimate systematicallyNo
Weights and clustersCan change effective precisionNo design-effect adjustment

How to Interpret the Estimated Confidence Interval

A 95% confidence procedure aims to produce intervals that contain the fixed population proportion in about 95% of repeated comparable samples, when its assumptions hold. It does not mean 95% of respondents gave the answer or that the result has a 95% chance of being free from every survey error.

Increasing sample size reduces the modeled margin roughly with the square root of n when other assumptions stay fixed. A higher confidence level widens it. The finite-population adjustment reduces random sampling uncertainty when sampling without replacement from a known finite population.

Treat an interval cautiously when the sample is small, the estimate is near an endpoint or the sample is not random. Bias and design effects can dominate the number shown. This form is not a Wilson or exact binomial interval calculator, and it does not adjust a weighted survey’s effective sample size.

Common Margin of Error Mistakes

  • Entering 0.60 when the percentage input means 60%.
  • Calling percentage points a relative percentage change.
  • Supplying a population smaller than or equal to the sample.
  • Applying finite-population correction to an unsuitable sampling design.
  • Treating a zero endpoint margin as certainty about a rare outcome.
  • Using the proportion formula for a mean or ignoring bias and clustering.

Frequently Asked Questions

How is margin of error calculated for a proportion?

Multiply the selected z value by the square root of p(1−p)/n, using p as a decimal. Multiply by 100 for percentage points and apply the optional population factor only when appropriate.

Should I enter 60 or 0.60 for a 60% estimate?

Enter 60. The form expects a percentage and converts it to 0.60 internally. The sample size is a separate whole count.

Why does 50% give the largest modeled margin?

For a fixed sample size and confidence value, p(1−p) reaches its maximum at p = 0.5. This is an arithmetic property of this proportion model.

When should I enter a finite population size?

Only when a known finite population and the sampling design justify that correction, such as simple random sampling without replacement. The population must exceed the sample; leave it blank otherwise.

Does a 95% confidence level mean the result is 95% accurate?

No. It describes the long-run interval procedure under its assumptions, not a percentage of accuracy or protection from bias, nonresponse and measurement error.

Why does 0% or 100% return zero margin?

The basic expression p(1−p) becomes zero. This does not establish certainty; normal-approximation intervals can fail near endpoints or with small samples.

Can this estimate the margin for a mean or a weighted survey?

No. There is no standard-deviation input for means or weighting/design-effect adjustment. Use an appropriate method for that estimate and study design.

Are the interval limits exact?

No. They use fixed rounded z values and the rounded margin, then clip bounds to 0%–100%. Clipping is a display boundary, not an exact binomial or Wilson method.

Sources and References