Cochran’s Formula Calculator
Enter the confidence level, margin of error and expected proportion (or standard deviation) to get Cochran’s sample size n₀, and add the population size to apply the finite population correction. The page shows each step, a sentence for your methods section and tables for common settings. Calculations run in your browser; nothing you enter is sent or stored.
Cochran sample size, n₀
completed responses
- n₀ before rounding
- 384.16
- n₀ rounded up
- 385
- n₀ = 1.96² × 0.5 × 0.5 ÷ 0.05² = 384.16
- Round up: 385
To add a response rate, use the survey sample size calculator. To compare groups, use the power analysis calculator.
Methods statement
The sample size was calculated with Cochran’s (1977) formula, n₀ = z²p(1 − p)/e², with z = 1.96 (95% confidence), an expected proportion p = 0.5 and a margin of error e = 0.05, giving n₀ = 384.16. A minimum of 385 completed responses was therefore required.
Cochran sample size tables
For a proportion with p = 0.5, all values rounded up. The first table is n₀ for a large or unknown population; the second applies the finite population correction at 95% confidence.
Large or unknown population (n₀)
| Confidence | ±1% | ±2% | ±3% | ±4% | ±5% | ±10% |
|---|---|---|---|---|---|---|
| 90% (z = 1.645) | 6,766 | 1,692 | 752 | 423 | 271 | 68 |
| 95% (z = 1.96) | 9,604 | 2,401 | 1,068 | 601 | 385 | 97 |
| 99% (z = 2.576) | 16,590 | 4,148 | 1,844 | 1,037 | 664 | 166 |
Finite population, 95% confidence
| Population N | ±3% | ±5% | ±10% |
|---|---|---|---|
| 50 | 48 | 45 | 34 |
| 100 | 92 | 80 | 50 |
| 150 | 132 | 109 | 59 |
| 200 | 169 | 132 | 66 |
| 250 | 203 | 152 | 70 |
| 300 | 235 | 169 | 73 |
| 350 | 264 | 184 | 76 |
| 400 | 292 | 197 | 78 |
| 450 | 317 | 208 | 80 |
| 500 | 341 | 218 | 81 |
| 600 | 385 | 235 | 83 |
| 700 | 423 | 249 | 85 |
| 800 | 458 | 260 | 86 |
| 900 | 489 | 270 | 87 |
| 1,000 | 517 | 278 | 88 |
| 1,500 | 624 | 306 | 91 |
| 2,000 | 697 | 323 | 92 |
| 2,500 | 749 | 334 | 93 |
| 3,000 | 788 | 341 | 94 |
| 3,500 | 818 | 347 | 94 |
| 4,000 | 843 | 351 | 94 |
| 4,500 | 863 | 355 | 95 |
| 5,000 | 880 | 357 | 95 |
| 6,000 | 907 | 362 | 95 |
| 7,000 | 927 | 365 | 95 |
| 8,000 | 942 | 367 | 95 |
| 9,000 | 955 | 369 | 96 |
| 10,000 | 965 | 370 | 96 |
| 15,000 | 997 | 375 | 96 |
| 20,000 | 1,014 | 377 | 96 |
| 25,000 | 1,024 | 379 | 96 |
| 50,000 | 1,045 | 382 | 96 |
| 100,000 | 1,056 | 383 | 96 |
| 500,000 | 1,065 | 384 | 97 |
| 1,000,000 | 1,066 | 385 | 97 |
Cochran’s formula
For a proportion, such as the percentage of respondents who agree with a statement:
n₀ = z² p(1 − p) / e²
For a mean, such as an average score or blood pressure:
n₀ = z² σ² / e²
- z is the critical value for the confidence level: 1.645 for 90%, 1.96 for 95%, 2.576 for 99%.
- p is the expected proportion as a decimal; 0.5 gives the largest sample. q = 1 − p.
- σ is the expected standard deviation of the outcome, from a pilot or earlier study.
- e is the margin of error: a decimal such as 0.05 for a proportion, or a value in the outcome’s units for a mean.
Cochran wrote the formula with t for the normal deviate and d for the margin; the symbols differ between textbooks but the calculation is the same.
Worked examples
A proportion in a large population. At 95% confidence, p = 0.5 and ±5%:
n₀ = 1.96² × 0.5 × 0.5 / 0.05² n₀ = 3.8416 × 0.25 / 0.0025 n₀ = 384.16 → 385 respondents
The same survey in a population of 1,000:
n = n₀ / (1 + (n₀ − 1) / N) n = 384.16 / (1 + 383.16 / 1,000) n = 384.16 / 1.38316 n = 277.74 → 278 respondents
A mean. To estimate mean systolic blood pressure within ±2 mmHg when the standard deviation is about 15 mmHg, at 95% confidence:
n₀ = (1.96 × 15 / 2)² n₀ = 14.7² n₀ = 216.09 → 217 participants
The finite population correction
n = n₀ / (1 + (n₀ − 1) / N)
n₀ assumes the population is so large that sampling a few hundred people barely dents it. When the sample would be a sizeable share of the population, the correction lowers the number needed. Cochran’s rule of thumb is that it can be ignored when n₀ is less than about 5% of N; applying it anyway does no harm, because for large N it changes the answer by less than one person.
Some sources write the correction as n₀ / (1 + n₀/N), without the −1. The two differ by at most one respondent. The Krejcie and Morgan table is this corrected formula at 95% and ±5%, and Slovin’s formula is a simplified version with z = 2 and p = 0.5.
When Cochran’s formula fits
- Use it for descriptive surveys and prevalence studies that estimate one percentage or one mean from a random sample, with a precision you choose.
- Plan for subgroups: if you will report results separately for men and women, each subgroup needs its own sample for the same precision.
- Do not use it to compare groups, test hypotheses, or fit regression models; use a power analysis. Cluster samples need the result multiplied by a design effect.
- Add for non-response: divide n by the response rate you expect; the sample size calculator does this.
How to report it
The sample size was calculated with Cochran’s (1977) formula, n₀ = z²p(1 − p)/e², with z = 1.96 (95% confidence), p = 0.5 and e = 0.05, giving n₀ = 384.16. With the finite population correction for N = 1,000, n = 277.74, so a minimum of 278 completed responses was required.
Reference: Cochran, W. G. (1977). Sampling techniques (3rd ed.). John Wiley & Sons.
Frequently asked questions
- What is Cochran’s formula?
- Cochran’s formula gives the sample size needed to estimate a proportion within a chosen margin of error: n₀ = z²p(1 − p) / e², where z is the critical value for the confidence level (1.96 for 95%), p the expected proportion and e the margin of error as a decimal. It comes from William G. Cochran’s textbook Sampling Techniques.
- Why does Cochran’s formula give 385?
- At 95% confidence (z = 1.96), p = 0.5 and a ±5% margin, n₀ = 1.96² × 0.5 × 0.5 / 0.05² = 3.8416 × 0.25 / 0.0025 = 384.16, which rounds up to 385. This is the sample size for a large or unknown population.
- What is the finite population correction?
- When the population is small, fewer respondents give the same precision. Cochran’s correction is n = n₀ / (1 + (n₀ − 1) / N). For N = 1,000, n = 384.16 / (1 + 383.16 / 1,000) = 277.7, so 278 respondents. Cochran suggests the correction can be ignored when n₀ is less than about 5% of N.
- What value of p should I use?
- Use p = 0.5 (50%) unless earlier studies or a pilot give a reliable estimate. p = 0.5 makes p(1 − p) as large as possible, so it gives the largest, safest sample. If a similar survey found 20%, p = 0.2 gives n₀ = 246 instead of 385 at 95% and ±5%.
- How do I use Cochran’s formula for a mean?
- For a continuous outcome use n₀ = z²σ² / e², where σ is the expected standard deviation and e the margin of error in the same units. To estimate mean blood pressure within ±2 mmHg with σ = 15 at 95% confidence, n₀ = (1.96 × 15 / 2)² = 216.1, so 217 participants.
- Which z value goes with which confidence level?
- The usual two-sided values are 1.645 for 90%, 1.96 for 95%, 2.326 for 98% and 2.576 for 99% confidence. Higher confidence means a larger z and a larger sample: at ±5% and p = 0.5, n₀ is 271 at 90%, 385 at 95% and 664 at 99%.
- Is Cochran’s formula the same as Krejcie and Morgan?
- In substance, yes. The Krejcie and Morgan (1970) formula is Cochran’s proportion formula with the finite population correction, written with chi-square = 3.841 instead of z² = 1.96². Both give 278 for N = 1,000 at 95% and ±5%. Differences of one come from rounding.
- How is Cochran’s formula different from Slovin’s?
- Slovin’s formula, n = N / (1 + Ne²), is Cochran’s formula with z = 2 and p = 0.5 built in, so you cannot change the confidence level or the proportion. It gives slightly larger samples, for example 286 instead of 278 for N = 1,000.
- Why do some calculators give 384 and others 385?
- Because of rounding. n₀ is 384.16 at 95% and ±5%. Cochran’s convention, and this calculator, round up to 385 so the margin is not exceeded. Tables that round to the nearest whole number print 384.
- Does Cochran’s formula work for comparing two groups?
- No. It sizes a study that estimates one proportion or one mean with a given precision. To compare groups or test a hypothesis you need a power analysis, which also takes the effect size and the power (usually 80%) into account.
- How many people should I invite?
- Cochran’s n is the number of completed responses. Divide it by the response rate you expect: 385 completed responses at a 60% response rate means inviting about 642 people. The sample size calculator on this site does this step for you.
- How do I cite Cochran’s formula?
- Cochran, W. G. (1977). Sampling techniques (3rd ed.). John Wiley & Sons. In the text: the sample size was calculated with Cochran’s (1977) formula.
Sources
- Cochran WG. Sampling Techniques. 3rd ed. New York: John Wiley & Sons; 1977. Chapter 4 gives the sample size formulas and the finite population correction.
- Israel GD. Determining Sample Size (PEOD6). University of Florida IFAS Extension.
- Krejcie RV, Morgan DW. Determining sample size for research activities. Educ Psychol Meas. 1970;30(3):607–610.
Content updated 3 December 2026. The tables are computed from the formulas and rounded up; our tests check them against an independent calculation.