How to use the sample size calculator
- 1
Choose a confidence level
Pick 90%, 95% or 99%. A higher level needs more responses. - 2
Set the margin of error
This is how far your estimate may sit from the true value. A margin of 5 means plus or minus 5 percentage points. - 3
Keep the expected proportion at 50%
Change it only if earlier data gives you a better figure. A proportion of 50% gives the largest sample, so it is the safe choice when you do not know. - 4
Add a population and a response rate
Both are optional. A population size lowers the number when the group is small, and a response rate shows how many people to invite.
The formula behind the result
The calculator uses Cochran’s formula, n₀ = z² · p · (1 − p) / e². Here z comes from the confidence level, p is the expected proportion as a decimal, and e is the margin of error as a decimal. At 95% confidence, a margin of 5 points and a proportion of 50%, that is 1.96² · 0.5 · 0.5 / 0.05² = 384.16, rounded up to 385 responses.
With a known population N, the finite population correction n = n₀ / (1 + (n₀ − 1) / N) lowers the number. For a population of 1,000, 385 becomes 278. With an expected response rate of 30%, you would invite 278 / 0.3 = 926.67, rounded up to 927 people.
The z values are fixed at 1.645, 1.96 and 2.576. More decimals would move the answer by at most three responses at a margin of 1 point or wider.
What the result assumes
- Simple random sampling. Everyone in the population has the same chance of being picked. A convenience sample, such as a link shared in a course group, does not meet this.
- One proportion. The formula sizes a sample for estimating one share, such as the percentage who agree. It is not a power calculation for comparing groups, means or regression models.
- Random non-response. A response rate only tells you how many to invite. People who answer can differ from those who do not.
A sample of this size does not guarantee a representative result. It tells you how many responses the margin of error needs if the assumptions hold.
Interviews and privacy
This formula is for surveys. The number of participants in a qualitative interview study rests on other arguments, so do not use it there. If you interview people, Spirelight’s interview transcription turns a recording you upload into a text draft that you review against the audio.
The calculation runs only in your browser, and your numbers are not sent anywhere or saved.