Sample Size Calculator
Estimate how many participants or survey responses you need. Set your confidence level, margin of error, population size, and study assumptions to calculate a practical target sample size.
Study details
This is a planning estimate based on common normal-approximation formulas. It does not replace a power analysis for hypothesis testing or specialist advice for complex survey designs.
Recommended sample size
Calculation steps
- Use Z = 1.96 for 95% confidence.
- Calculate the initial sample size using the selected assumptions.
- Apply population correction and design effect if entered.
- Adjust for expected nonresponse and round up to a whole person.
How to use the Sample Size Calculator
- Choose whether you are estimating a proportion or a mean.
- Select a confidence level and set the acceptable margin of error.
- For a proportion, enter an expected percentage. For a mean, enter the estimated standard deviation.
- Optionally enter population size, design effect, and expected nonresponse rate.
- Click Calculate sample size to see the completed-response target and how many people to invite.
Sample size formulas
For a proportion in a large population, the initial sample size is calculated using the confidence-level Z score, expected proportion, and margin of error.
For a mean, the approximate initial sample size is:
When a finite population size N is known, a finite population correction can be applied: n = n₀ / [1 + (n₀ − 1) / N]. The estimate is then adjusted for design effect and expected nonresponse. Final sample sizes are rounded up because a fraction of a participant is not possible.
Example
For a large population, a 95% confidence level, a 5% margin of error, and an expected proportion of 50%, the standard estimate is about 385 completed responses. If 10% of invitees are expected not to respond, invite approximately 428 people (rounded up).
Frequently asked questions
What is sample size?
Sample size is the number of observations, participants, or completed responses included in a study. The required number depends on the study objective, variability, confidence level, precision, and sampling design.
What confidence level should I use?
95% is a common default for surveys. A 90% confidence level usually needs fewer responses, while 99% usually needs more, assuming other inputs stay the same.
What does margin of error mean?
Margin of error describes the desired precision around an estimate. A smaller margin requires a larger sample. In proportion mode it is entered as a percentage; in mean mode it is entered in the same units as the standard deviation.
Why use 50% for the expected proportion?
When the true proportion is unknown, 50% maximizes p(1 − p) and therefore gives a conservative sample size for the same confidence level and margin of error.
What is finite population correction?
When sampling a meaningful fraction of a known, finite population without replacement, correction can reduce the required sample size compared with assuming an unlimited population.
Does this calculator perform statistical power analysis?
No. It estimates sample size for a proportion or mean with a target margin of error. Power analysis for comparing groups, detecting effects, or testing hypotheses requires additional inputs such as effect size, statistical power, and significance level.
How many people should I invite if some will not respond?
Divide the required completed sample by the expected response rate. For example, if 385 completed responses are needed and 90% are expected to respond, invite at least 385 ÷ 0.90, rounded up.
Results are approximate planning values. Complex sampling, clustering, weighting, subgroup analysis, or non-normal data may require a more specialized method.