Cochran's Sample Size Formula: Why Everyone Keeps Getting 384
Cochran's formula is commonly used to calculate an initial sample size when estimating a population proportion with a specified confidence level and absolute precision under a simple random-sampling framework. With 95% confidence, 5% precision and p = 0.50, the result is about 384.16, usually rounded up to 385. The number changes when the assumptions change.
You need a sample size.
Someone says:
“Use Cochran.”
You enter:
95% confidence.
5% margin of error.
50% prevalence.
And out comes:
384.16
Again.
At this point, 384 has appeared in enough research proposals to qualify as a supporting character.
Here is where it actually comes from.
What is Cochran's sample size formula?
For estimating a single proportion in a large population, the familiar formula is:
Where:
- n₀ = initial sample size;
- Z = critical value for the selected confidence level;
- p = expected population proportion;
- 1 - p = the complementary proportion;
- e = desired absolute precision, commonly called the margin of error.
For 95% confidence:
Z ≈ 1.96
The formula is a planning tool for a specific estimation problem.
It is not a universal sample-size formula for every study.
where does 384 come from?
Suppose you want to estimate a prevalence and choose:
- 95% confidence;
- ±5 percentage-point precision;
- expected proportion = 50%.
Substitute:
The result is approximately:
If participants must be whole people, and they generally insist on this, round upward:
385
That is the famous 384/385.
384 is not a standard sample size. It is the answer to a particular set of assumptions.
Change the assumptions and the number changes.
Why use p = 0.50?
For a binary proportion, p(1-p) is largest when p = 0.50.
That means using 50% gives the largest initial sample size for a fixed confidence level and precision.
This makes it a common conservative planning value when the expected proportion is genuinely uncertain.
But if credible prior information exists, you may justify another expected proportion.
Do not write:
“50% was used because Cochran recommends 50%.”
Explain the actual reason:
uncertainty about the expected proportion and the conservative variance assumption.
Worked example: expected prevalence is 20%
Suppose previous credible research suggests:
p = 0.20
Use:
- p = 0.20
- 1 - p = 0.80
- Z = 1.96
- e = 0.05
This gives approximately:
246 participants
Same confidence level.
Same precision.
Different assumed proportion.
Different sample size.
That alone should make one thing clear:
“Cochran = 384” is not the method.
What happens if I want more precision?
Suppose you change your desired precision from ±5 percentage points to ±3 percentage points while keeping 95% confidence and p = 0.50.
Because precision appears in the denominator as , tightening the margin of error substantially increases the required sample.
More precision costs sample size.
This is one reason sample-size planning is not simply about finding the smallest defensible number.
It is about deciding how much uncertainty you can tolerate for the study objective.
What if my total population is only 1,000?
If the eligible population is finite and not very large relative to the initial sample, a finite population correction can reduce the sample requirement.
Use:
Where:
- n₀ = initial large-population estimate;
- N = finite population size.
If:
- n₀ ≈ 385;
- N = 1,000;
then:
n ≈ 278
Why?
Sampling 278 people from a population of only 1,000 captures a much larger fraction of the population than sampling 278 people from a population of several million.
You used the finite population correction because the study was conducted in one district.
That is not enough.
The relevant issue is the size of the defined eligible population relative to the required sample, not the geographic size of the study area.
How do I account for non-response?
Suppose the corrected sample requirement is:
278 completed participants
and you expect:
90% response
Calculate the number to approach as:
So you would plan to approach approximately:
309 people
to obtain about 278 completed observations if the response-rate assumption is correct.
This is more precise than casually saying:
“We added 10%.”
The required analysis sample and the number approached are different quantities.
What about cluster sampling?
The basic formula corresponds to a simple random-sampling framework.
But many real studies sample:
- villages;
- schools;
- health facilities;
- enumeration areas;
- households within clusters.
People within the same cluster can be more similar than independently selected people.
That can reduce statistical efficiency.
A planning adjustment called the design effect is therefore often used for clustered designs.
If:
- simple-random requirement = 385;
- justified design effect = 1.5;
then:
You would then consider non-response and other relevant adjustments.
But do not invent a design effect simply to complete the formula.
It should come from credible prior evidence or a defensible planning assumption.
And remember:
Adjusting the sample size for clustering does not remove the need to account for clustering in the analysis.
Does Cochran's formula work for every cross-sectional study?
No.
This is where Day 10 differs from the broader Day 2 guide.
Cochran's single-proportion formula is useful when your primary objective is something like:
To estimate the proportion of women using modern contraception with specified absolute precision.
It is not automatically the correct approach if your objective is:
To compare contraceptive use between urban and rural participants.
Or:
To estimate an adjusted association between service access and contraceptive use.
Or:
To estimate a mean knowledge score.
Or:
To detect a specified difference between intervention and comparison groups.
Those require sample-size approaches aligned with those estimands and designs.
The correct formula follows the primary analysis. “Cochran” is not a synonym for “sample size.”
Why do some sources say 384 and others 385?
Because the raw calculation with the common assumptions is approximately:
384.16
Some texts refer to this as approximately 384.
For planning recruitment, rounding upward produces:
385
The difference is arithmetic, not a methodological controversy.
What matters much more is whether the assumptions fit your study.
What do I actually write in my proposal?
Avoid:
The sample size was 384 according to Cochran's formula.
A stronger version is:
The sample size was calculated for estimation of a single population proportion using 95% confidence, 5-percentage-point absolute precision and an anticipated proportion of 50%. This produced an initial sample size of approximately 385 participants under a simple random-sampling assumption. The sample was subsequently adjusted for [finite population/design effect/non-response, where applicable].
If you used another expected proportion, state and justify it.
If your design was not simple random, describe the actual design.
If your objective was not estimation of a single proportion, use the calculation that fits that objective.
If the number 384 appears in your protocol, add a comment beside it:
Why exactly 384?
Then answer, in one line each:
- What parameter am I estimating?
- Why this confidence level?
- Why this margin of error?
- Why this value of p?
- What sampling design am I using?
- Is a finite population correction appropriate?
- Have I accounted for non-response?
- Does clustering matter?
If those answers are not explicit, the number arrived before the reasoning.
Frequently asked questions
- Why does Cochran's formula give 384?
With 95% confidence, 5% absolute precision and p = 0.50, the formula gives approximately 384.16.
- Should I round 384.16 up or down?
For sample-size planning, it is generally safer to round upward to 385 before applying relevant adjustments.
- Should I always use p = 0.50?
No. It is useful when the expected proportion is uncertain because it maximizes variance and therefore the required sample for the other inputs held constant. Relevant prior evidence may justify another proportion.
- Does Cochran's formula include non-response?
Not in the basic formula. Plan separately for the number of completed observations required and the number of people you need to approach.
- Can I use Cochran's formula for qualitative research?
No. Qualitative sample adequacy is justified using different methodological reasoning.
- Can I use Cochran's formula for an RCT?
Not as a universal trial calculation. Randomized trials require sample-size planning tied to the trial outcome, expected effect, variance/event rate, power, allocation and other design features.
Use the Methods Bench Sample Size Calculator to reproduce the 385 example, then change one assumption at a time.
Try:
- p = 20%;
- precision = 3%;
- finite population = 1,000;
- design effect > 1;
- expected response < 100%.
The point is not merely to get a number.
It is to see which assumptions are producing it.
References and further reading
- 1.OpenEpi. Sample Size for a Proportion or Descriptive Study. https://www.openepi.com/SampleSize/SSPropor.htm
- 2.OpenEpi. Sample Size for Proportions, documentation. https://www.openepi.com/PDFDocs/SSProporDoc.pdf
- 3.World Health Organization. WHO STEPS Surveillance Manual: Preparing the Sample. https://cdn.who.int/media/docs/default-source/ncds/ncd-surveillance/steps/part2-section2.pdf
- 4.CDC/NCHS. Complex survey design overview. https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/overviewbrief.aspx
- 5.Methods Bench. Sample Size Calculator. `/tools/sample-size-calculator` --- # Cross-linking instructions for Lovable, Batch 2
Take it further
Better research, once a week.
Practical methods guidance, research tools and funding opportunities from Methods Bench.
Get practical research notes and new opportunities
Short, useful emails for researchers in Uganda and East Africa. No spam.