Skip to content
RK Calculator
Menu

Margin of Error Calculator

Find the margin of error of a survey proportion from the sample size, proportion and confidence level, with an optional population size.

Change the values and press Calculate to work out your own figures.

Enter the confidence level, sample size, sample proportion and (optionally) the population size.

About confidence level (%)For example 90, 95 or 99.
About sample size (n)Number of observations.
About sample proportionThe proportion observed (use 50% if unsure).
About population size (optional)Leave blank for a very large or unknown population.
Result
Margin of error
± 9.601823353%
As a proportion
± 0.09601823353
z critical value
1.959963985

At 95% confidence the result is within ± 9.601823353% of the true value.

Show the working
  1. MOE = z × √(p(1 − p) ÷ n) = 0.09601823353

How to use it

Enter the confidence level, sample size, sample proportion and (optionally) the population size.

Probabilities can be typed as decimals, fractions or percentages. Show the working gives the formula with your numbers in it.

Key facts

MOE = z √(p(1 − p) ÷ n) × √((N − n) ÷ (N − 1))

Only sampling error

The margin of error covers random sampling error only; it doesn't account for biased questions or who chose to answer.

Questions

What is the margin of error for 1,000 responses?

About ±3.1% at 95% confidence.

Why does 50% give the largest margin?

p(1 − p) is largest at p = 0.5.

Formulas

MOE = z √(p(1 − p) ÷ n) × √((N − n) ÷ (N − 1))

Sources

Limitations

  • Probabilities can be typed as decimals (0.25), fractions (1/4) or percentages (25%).

Formula version 0.1.0Reviewed