Σ
SampleSizeCalculator
Clean. Fast. Free.
Survey sample size & A/B tests

Sample Size Calculator

Calculate the Right Sample Size for Your Survey. Enter your population size, confidence level, and margin of error to get an instant estimate for statistically meaningful results.

Share this page
Help others calculate sample size faster
Reliability
Better Confidence
Bias
Reduce Error
Efficiency
Avoid Oversampling
Calculator
Survey mode supports population correction + invite estimate.
Use 50% if unknown (most conservative).
Adds finite population correction when your audience is limited.
We estimate how many people you should invite to reach the target sample size.
Required responses
385
95% confidence · ±5% · p=50%
Invite estimate
1,281
Assuming 30% response rate
Baseline (no correction)
385
No population correction
Rounded up to whole respondents.
Start Your Survey After Calculating Sample Size

Start creating gorgeous surveys

Once you know the number of responses needed, the next step is collecting them. With SurveyLegend, you can create engaging surveys, distribute them across multiple channels, and analyze results in real time.

Calculate the Right Sample Size for Your Survey

Use our Sample Size Calculator to determine how many responses you need for reliable survey results. Using a sample size calculator helps you ensure you have a large enough sample for statistically valid results. It can also help researchers avoid enrolling too few or too many subjects in a study.

Use our Sample Size Calculator

Simply enter your population size, confidence level, and margin of error, and the calculator will instantly estimate the number of responses required for accurate insights.

Accurate sample sizes help you:

  • Increase survey reliability
  • Reduce research bias
  • Make data-driven decisions
  • Avoid collecting unnecessary responses

What Is Sample Size?

Sample size is the number of respondents who should respond to your survey in order to accurately represent a larger population.

Instead of surveying an entire population, which is often impractical, researchers collect responses from a sample group. When the survey sample size is calculated correctly, the results can reliably reflect the opinions or behaviors of the larger population. Survey sample size is determined by the goals of the study and the characteristics of the target group, and responses do not always need to represent the general population to provide valuable insights.

Population vs. Sample Size Examples

Example sample sizes at 95% confidence and 5% margin of error.

PopulationSample Size Needed
1,000 people278 responses
10,000 people370 responses
100,000 people383 responses

This shows that even very large populations require relatively manageable sample sizes. A sample size calculator helps you estimate the minimum number of subjects needed to reach adequate statistical power and avoid avoidable errors.

How the Sample Size Calculator Works

A sample size calculator estimates the number of responses needed using statistical formulas based on three key factors. Different equations may be used depending on the study design and statistical requirements. Expected variance in the population also affects the required sample size.

1. Population Size

Population size is the total number of people in the group you're studying.

  • All customers of a company
  • Employees in an organization
  • Website visitors
  • Residents of a specific region

If your population is very large or unknown, many studies assume a large population size. When comparing groups, it is important to make sure they come from the same population so your statistical inferences stay valid.

2. Confidence Level

The confidence level indicates how certain you want to be that the survey results represent the population. It expresses the probability that your sample reflects the true population parameter.

Confidence Level
Meaning
90%
Moderate confidence
95%
Standard for most surveys
99%
Very high statistical certainty

Most surveys and market research projects use 95% confidence. The significance level, alpha, is the probability of a false positive and is commonly set to 0.05.

3. Margin of Error

The margin of error, also called the confidence interval, measures how much the survey results might differ from the true population value. It is the percentage that shows how accurately survey results reflect the views of the whole population.

Margin of Error
Accuracy
±10%
Quick exploratory surveys
±5%
Standard research accuracy
±3%
High-precision studies

Lower margins of error require larger sample sizes. Smaller samples create wider confidence intervals and make results less reliable.

Sample Size Formula

n = (Z² × p(1 − p)) / e²

  • n = required sample size
  • Z = confidence level Z-score
  • p = estimated population proportion
  • e = margin of error

Most calculators assume p = 0.5, which produces the most conservative sample size estimate.

Why Sample Size Matters in Surveys

  • More Reliable Results: Too-small samples can produce misleading results.
  • Better Statistical Confidence: Larger samples reduce uncertainty and improve confidence.
  • Efficient Research: Avoid oversampling to save time and resources.
  • Complex Studies: When groups are compared, sample size calculations can include a minimum detectable difference so results stay meaningful and statistically valid.

Example: Sample Size for a Customer Survey

Imagine you have 20,000 customers and want to conduct a satisfaction survey to gather customer feedback with:

  • Confidence level: 95%
  • Margin of error: 5%

The required sample size is 377 responses. This means you only need 377 completed responses to accurately represent the opinions of all 20,000 customers. Repeated surveys conducted under similar conditions can help validate the result and support statistical significance.

Statistical Significance and Sample Size

Statistical significance is tightly linked to sample size. A larger sample size increases statistical power, which is your ability to detect a real difference or effect rather than random chance.

Confidence level, confidence interval, standard deviation, and the minimum detectable effect all influence how large your sample needs to be. Smaller margins of error and higher confidence levels require more responses.

Using a random sample from your target population makes it easier to generalize findings to the overall population, while a sample size calculator helps estimate the minimum number of subjects you need without wasting time or resources.

When you calculate the right sample size, your survey results are more precise, more reliable, and better suited for confident, data-driven decisions.

Sample Size for Common Survey Types

Different survey types benefit from statistically valid sampling, especially when results drive decisions.

Including open-ended questions in your survey can help gather more detailed responses and deeper insights, making your data more valuable for analysis.

Customer Satisfaction Surveys

Businesses use sample size calculations to determine how many customers must respond to measure satisfaction accurately.

Employee Feedback Surveys

Organizations use statistically valid samples to understand employee engagement and workplace culture.

Market Research

Researchers calculate sample sizes to ensure survey data represent the target market.

Net Promoter Score (NPS)

Accurate sample sizes help measure customer loyalty with higher statistical confidence.

Start Your Survey After Calculating Sample Size

Start creating gorgeous surveys

Once you know the number of responses needed, the next step is collecting them. With SurveyLegend, you can create engaging surveys, distribute them across multiple channels, and analyze results in real time.

Frequently Asked Questions

What is a good sample size for a survey?
A good sample size depends on your population, confidence level, and margin of error. Most surveys use 95% confidence and a 5% margin of error, which typically requires 350-400 responses for large populations.
What happens if the sample size is too small?
Small sample sizes increase the risk of bias and inaccurate results, making it harder to draw reliable conclusions.
Can I survey fewer people than the recommended sample size?
Yes, but doing so increases the margin of error and reduces confidence in the results.
What confidence level should I choose?
Most surveys use 95% confidence, which balances reliability and practicality.
Who created and maintains the sample size calculator website?
The website samplesizecalculator.net was created and is maintained by the team behind the online survey platform SurveyLegend. The project was built by SurveyLegend, a global online survey software company founded in Sweden that has provided tools for creating and analyzing surveys since 2010. SurveyLegend has a global presence with customers in more than 150 countries. SurveyLegend is often found among the top 10 online survey tool providers and is highly ranked by review platforms like , , , , and more. The team behind SurveyLegend decided to create the calculator because many existing sample-size calculators were either hard to use or unreliable, so they built a simpler and more accurate tool for researchers and survey creators. The site is a free utility project developed and maintained by SurveyLegend's team to help the survey and research community, while also giving a friendly reminder to visit the SurveyLegend website for more information.