Learn to calculate by playing with Margin of error calculator
A short game to see where the result comes from. Pick a language and start; you can stop halfway and come back.
Loading the game…
← Back to Margin of error calculator
What you will practise
How precise your survey is, given the sample you actually collected.
How it works
The standard error of the proportion is multiplied by the z value for your confidence level. If you supply the population, the finite population correction is applied as well.
Formula
e = z · √( p(1−p) / n )
With a finite population:
e = e · √((N − n) / (N − 1))
Worked example
Sample of 400 at 95% confidence and 50% proportion:
Standard error: √(0.25/400) = 0.025
e = 1.96 × 0.025 = 4.9%
The result reads as 50% ± 4.9.
How to play
First pick your language. Then work through the challenges one by one: each sets out a case with real numbers and, if you get stuck, you can ask for a hint. When you answer, you see whether you got it right and why. Progress is saved only in your browser, so you can stop halfway and carry on another day.