Skip to main content
KalkuNet

Sample Size Calculator (Slovin & Cochran)

The minimum research sample by Slovin's and Cochran's formulas.

Calculated in your browserStatistics
The number of members in the whole population studied.
%
%
Use 50% without prior data; it gives the largest sample.
Minimum sample (Slovin)
345 respondents
exactly 344.8276, rounded up
Minimum sample (Cochran)
334 respondents
exactly 333.0961, rounded up
Cochran without the population correction (n₀)
384.1459
z value
1.96
Sample share of the population (Slovin)
13.8%

Working

  1. 1.Slovin: n = N ÷ (1 + N·e²) = 2500 ÷ (1 + 2500 × 0.05²) = 344.8276
  2. 2.Cochran: n₀ = z²·p·(1 − p) ÷ e² = 1.96² × 0.5 × 0.5 ÷ 0.05² = 384.1459
  3. 3.n = n₀ ÷ (1 + (n₀ − 1) ÷ N) = 333.0961

Formula and sources

Slovin: n = N ÷ (1 + N·e²) Cochran: n₀ = z²·p·(1 − p) ÷ e²; with a finite population n = n₀ ÷ (1 + (n₀ − 1) ÷ N) z = 1.645 (90%), 1.960 (95%), 2.576 (99%); round the result up

  • Cochran WG (1977), Sampling Techniques, 3rd ed., Wiley
  • Slovin's formula — widely used in Indonesian social research

When to use the Sample Size (Slovin & Cochran)

  • Slovin's formula for theses

    Many Indonesian theses use Slovin's formula because it only needs the population size and margin of error. A population of 2,500 with e = 5% gives a minimum of 345 respondents.

  • Cochran for proportion surveys

    Cochran's formula accounts for the confidence level and the expected proportion, such as the share of satisfied customers, then corrects for a finite population.

  • Comparing the two formulas

    At 95% confidence and p = 50%, the two formulas give similar numbers. For 99% confidence or a proportion far from 50%, Cochran fits better.

  • Allowing for non-response

    If you expect an 80% response rate, divide the sample size by 0.8 so that enough completed questionnaires come back.

Frequently asked questions

Which margin of error is common?

5% is the most common for student research, 10% for pilot studies and 1–3% for large national surveys.

Why round up?

Rounding down leaves the sample slightly short of what is needed for the chosen precision.

What if the population size is unknown?

Enter a very large number; Cochran then approaches n₀, for example 385 respondents for e = 5%, p = 50% and 95% confidence.

How do I split the sample across groups?

Use proportional sampling: multiply the sample size by each group's share of the population. If 40% of the population lives in towns, 40% of the sample comes from towns too.

Do these formulas suit experiments?

Not entirely. Slovin and Cochran are meant for descriptive surveys. Experiments and tests of differences need a power analysis that accounts for the size of the effect you want to detect.

Related calculators