Cochran Formula for Sample Size: Worked Examples and Finite Population Correction

Cochran's formula for sample size with step-by-step examples, the finite population correction, one rounding rule, and what to do when you need precision for each district.

Cochran's formula gives the number of completed interviews needed to estimate a proportion within a chosen margin of error: n0 = Z² x p x (1 - p) / e². Use it for a simple random survey, correct it when the population is small, and round once. This page shows how, with three fictional examples. Before you size anything, settle the design with sampling methods, and ask whether a census rather than a sample is cheaper for a small population.

The Formula in Plain Terms

Three choices drive the answer.

SymbolMeaningCommon value
ZScore for your confidence level1.645 (90%), 1.96 (95%), 2.576 (99%)
pExpected proportion with the characteristic0.5 when unknown (largest sample)
eMargin of error you accept, as a proportion0.05 for plus or minus 5 points

n0 = Z² x p x (1 - p) / e²

How n0 moves with the margin of error (95% confidence, p = 0.5, large population):

Margin of errorn0 (full decimals)Rounded up
plus or minus 10 points96.0497
plus or minus 7 points196.00196
plus or minus 5 points384.16385
plus or minus 3 points1,067.111,068
plus or minus 2 points2,401.002,401

Halving the margin roughly quadruples the sample. Choose the margin for the decision you will make, not from habit.

Worked Example 1: Large Population

A fictional agricultural extension program wants the share of farmers using an improved seed, with 95% confidence and a 5-point margin. Nobody knows the current rate, so p = 0.5.

n0 = 1.96² x 0.5 x 0.5 / 0.05² = 3.8416 x 0.25 / 0.0025 = 384.16, so 385 completed interviews.

If an earlier survey suggests about 20% use it, and you want plus or minus 3 points: n0 = 3.8416 x 0.2 x 0.8 / 0.03² = 0.614656 / 0.0009 = 682.95, so 683. A p far from 0.5 lowers the sample, but only use it when the earlier figure is credible for the same population.

Frequently Asked Questions

What is Cochran's formula for sample size?

For estimating a proportion in a large population, n0 = Z squared x p x (1 - p) / e squared, where Z is the confidence-level score, p is the expected proportion and e is the margin of error. At 95% confidence, p = 0.5 and e = 0.05, n0 is 384.16, which rounds up to 385.

When do I apply the finite population correction?

Apply n = n0 / (1 + (n0 - 1) / N) when you sample without replacement from a population of N and the sample is more than about 5% of it. It does not apply with a design effect above 1 unless you have stage-specific selection fractions.

When should I round?

Keep full decimals through the formula, the finite population correction and the design effect. Round up once to get completed interviews, then divide by the response rate and round up again to get contacts.