Sample size calculation

Calculate your sample size

Enter the population size and choose the confidence level and the margin of error. The result updates instantly.

Total number of people in the group you want to study. If you don't know it, leave it blank.

How sure you want to be that the sample reflects the population. 95% is the most common.

How much the sample result may differ from the population. 5% is typical.

Sample size

383

How is it calculated?

It uses the formula for estimating a proportion under simple random sampling:

n₀ = Z² · p · (1 − p) / e²

Where Z depends on the confidence level (1.96 for 95%), e is the margin of error as a decimal and p is the expected proportion. It uses p = 0.5, the most conservative option, which gives the largest possible sample.

When you enter the population size (N), the finite population correction is applied:

n = n₀ / (1 + (n₀ − 1) / N)

The result is rounded up. If you expect some people not to respond, increase the sample by that proportion.

How to cite this tool

AtheneaLab. (2026). Calculate your sample size [Web application]. https://athenealab.com/en/sample-size/precision/

Want to know more? Write to us at [email protected]