Cochran's Formula Sample Size Calculator
Use Cochran's formula to estimate the required sample size for your study. Optionally apply the finite population correction for smaller populations.
What is Cochran's Formula?
Cochran's formula is a widely used sample size determination formula for estimating a population proportion. It was developed by William Gemmell Cochran and is especially popular when the population is large or infinite (unknown size).
Cochran's Sample Size Formula
The core Cochran formula for an infinite (or very large) population is:
Where:
- z = the Z-score for your desired confidence level (e.g., 1.96 for 95%)
- p = the estimated proportion of the attribute in the population (use 0.5 if unknown)
- q = 1 - p
- e = the desired margin of error (e.g., 0.05 for ±5%)
Where Should You Use Cochran's Formula?
- When you want to estimate a population proportion (e.g., percentage agreement, prevalence).
- When the population size is large or unknown (infinite population assumption).
- You can also apply the finite population correction (FPC) when the population size (N) is known and smaller relative to the initial sample size estimate (n₀).
How to Calculate Sample Size Using Cochran's Formula: Example
Suppose a researcher wants to estimate the proportion of employees in a large company who prefer remote work, with a 95% confidence level and a 5% margin of error. Using p = 0.5 (maximum variability):
The required sample size is 385.
Frequently Asked Questions (FAQs)
Why use p = 0.5?
Using p = 0.5 gives the maximum sample size estimate. This is the most conservative choice and is recommended when you have no prior knowledge of the population proportion.
What is the finite population correction (FPC)?
If the population size N is known and relatively small, the initial estimate n₀ may be larger than necessary. The FPC reduces n₀ accordingly: