Sample size calculator (surveys & prevalence)
How many respondents do you need? Choose your confidence level and margin of error — and, for small populations, apply the finite population correction. Includes a copy-ready methods sentence.
Or skip the manual work
In the app, you chat with your data — the AI runs the analysis and writes it up.
Free accounts include AI chat, data analysis, and every tool on this site.
When to use this
Use this before fielding a survey, poll, or prevalence study whose key result is a proportion — the share of students who report burnout, the fraction of samples testing positive, the percentage of customers who would switch. It answers the budgeting question every proposal and ethics application asks: how many respondents are enough for the precision you claim? If your key outcome is a difference between two groups rather than a single proportion, use the two-group sample size calculator instead.
Key assumptions
- Simple random sampling (or something close to it) — quota and convenience samples have no valid margin of error.
- The outcome is a proportion; 50% is the worst case and therefore the safe default.
- The finite population correction only matters when the sample would exceed roughly 5% of the population.
Common mistakes
- Forgetting non-response: n is completed questionnaires, not invitations sent.
- Reporting the margin of error of a convenience sample as if it were probability-based.
- Using this for group comparisons — detecting a difference needs a power analysis, not a precision calculation.
Frequently asked questions
Why is 385 such a common answer?
When does population size matter?
What margin of error should I choose?
Related free tools
Stop copying numbers between tools
Inside Kahubi, the AI agent runs this analysis directly on your uploaded dataset — then writes the results section in your own writing style, with the statistics reported correctly.