Survey sample size calculator
Find out how many people need to answer a survey for the results to be reliable. Choose a confidence level, usually 95%, and the margin of error you can accept, such as ±5%, and the calculator gives the number of responses needed using Cochran’s formula. Enter the population size when it is small, such as the employees of one company, to apply the finite population correction, which lowers the number needed. You can also work the other way and find the margin of error for the responses you already have.
Calculate
Confidence level
- Responses needed
- 385
- z value
- 1.960
Complete responses needed. Divide by your expected response rate to get the number to invite.
How to use the Sample Size Calculator
- 1
Pick the confidence level
95% is the usual choice.
- 2
Enter the margin of error
For example 5 for ±5 percentage points.
- 3
Set the expected proportion
Leave 50% if you do not know; it gives the safest, largest sample.
- 4
Add the population size
Only matters when the group you survey is small.
How the sample size is calculated
Cochran’s formula gives the responses needed for a very large population. The finite population correction reduces it when the population is small. The margin of error is the reverse: how precise a result from n responses is.
- n₀ = z² × p(1 − p) ÷ e²
- n = n₀ ÷ (1 + (n₀ − 1) ÷ N)
- margin = z × √(p(1 − p) ÷ n)
When to use it
- Plan how many customers or employees to survey.
- Check whether a poll’s sample is big enough for its claimed margin.
- Report the margin of error of survey results.
Limits
- Assumes a simple random sample; convenience samples and low response rates add bias that no sample size fixes.
- Gives responses needed, not invitations: divide by your expected response rate.
Privacy
Everything is calculated in your browser. Nothing you enter is sent anywhere or stored.
Frequently asked questions
Why is 385 so common?
It is the sample needed for 95% confidence and a ±5% margin with p = 50% in a large population.
Why use 50% as the proportion?
p(1 − p) is largest at 50%, so it gives a sample that is big enough whatever the true answer turns out to be.
Does a bigger population need a bigger sample?
Barely, once it is large. 385 responses give ±5% for a city or a whole country alike; only small populations need fewer.
How many people should I invite?
Divide the sample size by the response rate you expect. With 20% response, invite about 5 times as many.
What confidence level should I use?
95% is the standard; 99% needs about 70% more responses, 90% about 30% fewer.
Related tools
- Statistical Significance CalculatorP-value and confidence interval for an A/B test on conversion rates or on averages.
- A/B Test Sample Size CalculatorVisitors needed per variant to detect a change in conversion rate.
- Statistics CalculatorMean, median, mode, standard deviation, variance, quartiles and outliers from a list of numbers.
People also use
- Age CalculatorExact age in years, months and days, and days to your next birthday.
- Percentage CalculatorPercent of, percent change, increase, decrease and more.
- Scientific CalculatorTrig, logs, powers and roots with degrees or radians.
- Unit ConverterLength, weight, temperature, land area, data and more.
Last updated November 22, 2026 · How we build and test our tools