Margin of Error Calculator

Enter your population size, sample size, and confidence level to calculate your survey's margin of error. The Margin of Error Calculator shows you how precisely your sample represents the full population, giving you the margin as a ± percentage along with the confidence interval range.

The total number of people whose opinion or behavior your sample represents.

The number of people who participated in your survey.

The probability that your sample accurately reflects the population. 95% is the industry standard.

%

Expected proportion of respondents choosing a given answer. Use 50% if unknown — this gives the largest (most conservative) margin of error.

Results

Margin of Error

--

Confidence Interval — Lower Bound

--

Confidence Interval — Upper Bound

--

Z-Score Used

--

Effective Sample Size (FPC Applied)

--

Confidence Interval Range

Frequently Asked Questions

What is a margin of error?

The margin of error is a statistical measure that expresses the amount of random sampling error in a survey's results. It tells you how much the results from your sample might differ from what you would get if you surveyed the entire population. For example, a margin of error of ±3% means the true population value is likely within 3 percentage points of your survey result.

What is a confidence level and how does it affect margin of error?

The confidence level represents the probability that your survey results fall within the margin of error if the study were repeated multiple times. A 95% confidence level — the industry standard — means you can be 95% confident the true population value lies within your confidence interval. Higher confidence levels (e.g. 99%) produce a larger margin of error because a wider net must be cast to capture the true value with greater certainty.

What is the formula for calculating margin of error?

The standard formula is: MOE = z × √[(p × (1−p)) / n], where z is the z-score corresponding to your confidence level (e.g. 1.96 for 95%), p is the expected proportion (0.5 for maximum conservatism), and n is the sample size. When your sample is a significant fraction of the total population, a Finite Population Correction (FPC) is applied: MOE = z × √[(p(1−p)/n) × ((N−n)/(N−1))], where N is the population size.

What is a confidence interval?

A confidence interval is the range of values that likely contains the true population parameter. It is derived by applying the margin of error to your observed result. If 60% of your survey respondents chose option A with a ±3% margin of error at 95% confidence, the confidence interval is 57%–63%, meaning you can be 95% confident the true population percentage lies in that range.

How does sample size affect the margin of error?

Sample size is one of the most powerful factors influencing margin of error. Larger samples produce smaller margins of error, increasing precision. However, the relationship is not linear — you need to quadruple your sample size to halve the margin of error. Beyond a certain point, adding more respondents yields diminishing returns, especially when the sample already represents a large fraction of the population.

Why is 50% used as the default response distribution?

Using 50% (p = 0.5) for the response distribution yields the most conservative — i.e. largest — possible margin of error. This is recommended when you don't know in advance how respondents will answer, because it ensures your sample size will be large enough regardless of the actual outcome. If you have prior data suggesting a different proportion, entering that value will give you a more precise (smaller) margin of error.

When should I use a margin of error?

You should calculate and report a margin of error any time you are drawing conclusions about a large population based on a sample survey. It is especially important when results are close (e.g. election polling), when making business decisions based on survey data, or when presenting research findings to stakeholders who need to understand the level of uncertainty in the data.

How can I reduce my margin of error?

The most direct way to reduce your margin of error is to increase your sample size. You can also lower your required confidence level (e.g. from 99% to 95%), though this means accepting greater uncertainty. Targeting a more homogeneous population or using stratified sampling techniques can also improve precision without requiring a dramatically larger sample.

More Education & Academic Tools