Learn to calculate by playing with Confidence interval 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 Confidence interval calculator
What you will practise
The range the true mean is likely to fall in at your chosen confidence level.
How it works
The standard error is obtained by dividing the deviation by the square root of the sample size, then multiplied by the z value for your confidence level to get the margin.
Formula
Standard error = s / √n
Margin = z × standard error
CI = mean ± margin
Worked example
Mean 25.4 with deviation 4.2 and n = 120 at 95%:
Standard error: 4.2 / √120 = 0.3834
Margin: 1.96 × 0.3834 = 0.7515
CI: [24.65 ; 26.15]
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.