Black FridayUp to 50% off--d--h--m--sSee prices →
tezkeys

Sample Size Calculator

Work out how many participants your survey or scale study needs with Cochran’s and Yamane’s formulas. Leave the population size empty if you don’t know it; the result comes with a referenced sentence for your methods section.

  • Free · no sign-up
  • The calculation runs in your browser; your values are not sent to our server.
Confidence level

How is it calculated?

Cochran’s formula

Cochran (1977) first finds the sample for an infinite population: n₀ = z² · p · (1 − p) / e², where z corresponds to the confidence level (1.96 for 95%), p is the expected proportion and e the margin of error.

If the population size (N) is known, the finite population correction is applied: n = n₀ / (1 + (n₀ − 1) / N), rounded up. Example: with 95% confidence, ±5% margin and p = 0.5, n₀ = 385; for N = 2,000 the required sample is 323.

Yamane’s formula

Yamane’s (1967) formula n = N / (1 + N · e²) uses only the population size and the margin of error; it assumes roughly 95% confidence and p = 0.5. In the same example (N = 2,000, e = 0.05) the result is 334.

Which values should I choose?

The social sciences most often use 95% confidence and a ±5% margin of error. If earlier studies don’t give you an expected proportion, use 0.5: it gives the largest, safest sample.

This calculation assumes simple random sampling. With stratified or cluster sampling, or if you will compare groups, the number you need may differ; talk to your supervisor.

Frequently asked questions

What if I don’t know the population size?
Leave the field empty. The calculator assumes an infinite population and gives Cochran’s uncorrected result: 385 at 95% confidence and ±5% margin.
Should I use Cochran or Yamane?
Both are used when the population is known. Yamane is simpler but doesn’t let you change the confidence level or proportion; for 99% confidence or a different proportion use Cochran. State which one you used, with its reference, in your methods.
Is the result a hard limit?
No, it’s the minimum. Researchers usually reach a few more people to cover unreturned or incomplete questionnaires.

Other free calculators