👥 Sample Size Calculator
Plan a survey: find the sample size needed for your confidence level and margin of error, with finite-population correction.
Also known as: Survey Sample Size · Power Analysis Calculator
Loading calculator…
How to use the Sample Size Calculator
- Enter your values in the fields above — the defaults show a worked example.
- The result updates instantly as you type; change any input to compare scenarios.
- Copy or share the result, or open a related calculator below.
How it's calculated
n₀ = z² p(1 − p) ÷ E². With population N: n = n₀ ÷ (1 + (n₀ − 1)/N).
Frequently asked questions
Why use 50% as the proportion?
Is the Sample Size Calculator free?
How accurate is the Sample Size Calculator?
Can I use the Sample Size Calculator on my phone or offline?
Read more about the Sample Size Calculator
When to use the Sample Size Calculator
Use the Sample Size Calculator for how many survey responses you need for a given confidence level and margin of error. It is one of 18 free statistics & probability calculators, and pairs well with the Margin of Error Calculator, Confidence Interval Calculator, Mean, Median, Mode Calculator and Descriptive Statistics Calculator.
Tips for accurate results
Check that your input uses the expected format (decimals, fractions or one value per line), keep full precision until the final step, and use the worked formula below the result to verify the answer by hand or for homework.
More Statistics & Probability Calculators
Popular calculators
Results are estimates for information only. Calculations run privately in your browser.