This sample size calculator tells you the minimum number of respondents you need for a valid survey, poll, A/B test, or clinical study. It is the same statistical sample size calculator used for survey research, political polling, UX experimentation, and academic studies. Enter four numbers and you get the exact count of responses required to hit your target precision.
- Enter the population size.This is the total group you are sampling from: 2,500 employees, 50,000 customers, 180 million registered voters. Check "Unknown / very large" if the population is huge or you genuinely do not know the figure. The calculator then uses the infinite population version of the Cochran formula.
- Choose the confidence level. 95% is the default for survey research, marketing studies, and almost all published polls. 99% is standard for clinical research and regulated studies where error is costly. 90% is common for exploratory A/B testing where speed matters more than strict precision.
- Set the margin of error. A ±5% margin of error means a reported 60% result sits somewhere between 55% and 65% in the true population. Political polls typically target ±3%. Academic survey research targets ±2% to ±3%. Tighter margins require much larger samples because error appears squared in the denominator.
- Enter the expected proportion.If prior research suggests roughly 30% of people will answer "yes" to your question, enter 30. If you have no prior data, leave it at 50%. That is the worst-case value and gives the largest, most conservative minimum sample size, so you cannot be wrong by under-sampling.
The result is the minimum sample size you need to hit your confidence and margin-of-error target. For online surveys, panel research, and email studies, divide that number by your expected response rate to get how many invitations to send. A 1,067-respondent target at a 20% response rate means mailing 5,335 invitations.