INPUTS
Your sample
Use 50% if you do not know the expected percentage: it gives the largest, safest margin of error.
MARGIN OF ERROR CALCULATOR
INPUTS
Use 50% if you do not know the expected percentage: it gives the largest, safest margin of error.
METHOD
The margin of error is how far a survey result could be from the true population value at a chosen confidence level. If 60% of respondents agree with a ±5% margin at 95% confidence, the true figure is probably between 55% and 65%. Larger samples give smaller margins of error.
MOE = z × √(p(1 − p) ÷ n) × √((N − n) ÷ (N − 1))z is 1.645 for 90%, 1.960 for 95% and 2.576 for 99% confidence. The last part is the finite population correction; leave it out when the population is large or unknown. For a mean, replace √(p(1 − p) ÷ n) with SD ÷ √n.
n = 385, 95% confidence, p = 0.5 (unknown proportion).
“With 385 respondents, the survey has a margin of error of ±5.0 percentage points at the 95% confidence level, assuming maximum variability (p = 0.5).”
ABOUT THIS TOOL
Work out the margin of error of a survey from the sample size and confidence level, for a percentage or a mean, with an optional finite population correction for small populations.
KEY FUNCTIONS
USE IN YOUR THESIS
APA 7 reference for software or an online tool. Cite the statistical method in your text as well.
SolveGrid. (2026). Margin of Error Calculator [Online calculator]. https://solvegrid.online/margin-of-error-calculator
LEARN THE METHOD
Find the minimum sample size for a survey or thesis using Slovin/Yamane or Cochran's formula, with confidence level, margin of error, population size, response-rate adjustment, and a copy-ready methods sentence.
Calculate a 90%, 95% or 99% confidence interval for a mean from M, SD and n, or for a proportion with the Wilson score and Wald methods, with every step shown.
Justify your sample size the way supervisors expect: choose the test, set the expected effect size, alpha, and power, and get the required N, a power curve, and a methodology sentence.