Sample Size Calculator
Work out how many people to survey for a given confidence level, margin of error and population size.
Made with ā¤ļø By Latticedigital.co for š
Use the Sample Size Calculator
Calculated on your device ā nothing is uploaded.
How it works
- Enter your Population size, Confidence level and Margin of error (%).
- Press Calculate. The result updates as you type, so you can try different values.
- Read your result. The answer appears below the buttons, with the working shown where it helps.
Sample size nā = z² Ć p Ć (1 ā p) Ć· e², where z is the z-score for the confidence level (1.96 for 95%), p is 0.5 (the most conservative guess) and e is the margin of error as a decimal. With a known population N, the corrected size is n = nā Ć· (1 + (nā ā 1) Ć· N).
Worked example
Population 10,000, 95% confidence, 5% margin of error: you need 370 people.
Frequently asked questions
What is margin of error?
How far the survey result might be from the true value. A 5% margin means the true value is probably within 5 points of the survey result.
Why use p = 0.5?
It gives the biggest sample size, so it is the safe choice when you do not know the true proportion in advance.
Is this calculator free?
Yes ā it is free to use, with no sign-up and no limits. Every calculation runs in your own browser.
Last updated: 8 November 2026
Estimates only ā not financial, tax, medical or legal advice. Check with a professional before making a big decision.
The short version
That is the Sample Size Calculator in a nutshell: enter your numbers above and read the result ā no sign-up, and nothing you type ever leaves your device. Looking for another tool? Browse all 204 free calculators or try the Scientific Calculator next.