Last updated: March 2026
Figure out exactly how many people you need to survey or find the margin of error for results you already have. This tool helps ensure your research data is reliable and accurate before you start collecting responses.
Running surveys takes time and resources. We built this calculator so you can find out the exact number of responses you need for trustworthy results. This prevents you from overspending on massive surveys or getting too little data to make confident decisions.
You enter your total population, how confident you want to be in the results, and your acceptable margin of error. The tool uses standard statistical formulas to instantly give you the exact number of survey responses you need to meet those criteria.
This calculator provides accurate targets based on math, but real world results depend heavily on how you collect your data. If your survey only goes out to a specific biased group, having the perfect sample size will not fix skewed answers. Always remember to factor in your expected response rate when deciding how many survey invites to send.
Whether you are a university student conducting a thesis, a market researcher analyzing consumer trends, or a business owner gauging customer satisfaction, understanding the mathematics behind surveys is crucial. The validity of any research project rests heavily on one critical question: How many people do I need to survey?
If your sample size is too small, your results may not be statistically significant, leading to erroneous conclusions. Conversely, if your sample size is unnecessarily large, you waste valuable time and resources. This guide dives deep into the definitions, formulas, and real world applications of sample size and margin of error to help you design better surveys.
In statistics, a "population" represents the entire group you want to study. For example, every adult in the United States or every customer who bought your product last year. However, it is rarely feasible to survey an entire population due to budget and time constraints. Instead, we select a subset of that group, known as a sample.
The goal of sampling is to select a group that accurately represents the larger population. If the sample is representative, the results of your survey can be generalized to the population with a known degree of accuracy. This accuracy is defined by two key metrics: the Confidence Level and the Margin of Error.
The population size is the total number of distinct individuals in the specific group you are studying.
No sample is perfect. The margin of error tells you how much sampling error is present in your results. It is expressed as a percentage. For example, if a poll shows that 60% of people prefer Brand A with a margin of error of 5%, the true percentage of the population who prefer Brand A is likely between 55% and 65%.
A smaller margin of error requires a larger sample size. Researchers typically aim for a margin of error between 3% and 5%.
The confidence level determines how certain you can be that the true population value falls within your margin of error. It is essentially a measure of reliability.
This metric represents the variance you expect in your responses. In a binary survey, a proportion of 50% yields the highest variance, meaning it requires the largest sample size to achieve significance.
Most researchers stick to 50% as a conservative estimate because it ensures the sample size is sufficient regardless of the actual outcome. If you have historical data showing that 90% of your audience answers favorably, you could use 90% as your proportion, which would reduce the required sample size.
Our calculator uses standard statistical formulas to derive the results. For large or infinite populations, we use Cochran's Formula.
Where:
Finite Population Correction: If the population is small and known, we apply a correction to reduce the sample size required.
As the population grows larger, this correction factor becomes negligible.
Calculating the sample size is only the first step. You must also consider your response rate. This is the percentage of people who will actually complete the survey. If you need 400 respondents but your typical email open rate is only 20%, you will need to send invitations to 2,000 people to hit your target.
The standard formulas assume a simple random sample, where every individual has an equal chance of being picked. If your sampling method is more complex, the Design Effect helps adjust the sample size to account for the loss of efficiency. A DEFF of 1.0 means simple random sampling. Values higher than 1.0 require larger sample sizes.
You are an HR manager at a company with 500 employees. You want to know how they feel about the new benefits package with 95% confidence and a 5% margin of error.
A news agency wants to predict the outcome of an election in a country with 300 million people. Because the population is so large, it is treated as infinite.
If you find that your margin of error is too high, your results may be too vague to be useful. To reduce this number: