Sample Size Calculator (Cochran Finite Population Correction)

Find required respondents for a target margin of error and population size.

Required Finite Sample Size (n) 370 respondents
Infinite Population Sample (n₀) 385 respondents
Sampling Fraction (n / N) 3.7 %
Margin of Error 5 %
Inputs
Try:
Z-score for confidence level (1.96 = 95% confidence).
%
Estimated population proportion p (%) — 50% maximizes variance.
%
Acceptable margin of error e (%).
Total target population size N.
Results & Graph
Required Finite Sample Size (n)
370 respondents
Infinite Population Sample (n₀)
385 respondents
Sampling Fraction (n / N)
3.7 %
Margin of Error
5 %

Required Finite Sample Size (n)

Graph 1 • How the inputs feed Sample Size
Sample Size Calculator (Cochran Finite Population Correction) • Custom Domain Schematic (Inferential Statistics) zCriticalproportionPct Z Critical: 1.96 • Proportion Pct: 50 % REQUIRED FINITE SAMPLE SIZ 370 respondents • Infinite Population Sa: 385 respondents • Sampling Fraction (n /: 3.7 % Eq: n_0 = (Z² × p(1 − p)) / e²; n =
Graph 2 • Required Finite Sample Size (n) as Z Critical changes (40% to 160% of current)
0 respon 492.8 respon 985.6 respon 62 0.784 137 1.18 240 1.57 370 1.96 525 2.35 701 2.74 896 3.14
Graph 3 • Z Critical and Proportion Pct together Compares Required Finite Sample Size (n) when Proportion Pct is shifted +25% (solid) vs. −25% (dashed).
0 respon 315.7 respon 631.4 respon --- Proportion Pct @ 75% 174 -30% 254 -15% 348 +0% 455 +15% 574 +30%
Summary: Cochran infinite sample size is 385; after finite population correction for N = 10,000, minimum sample size is 370.
Summary: Cochran infinite sample size is 385; after finite population correction for N = 10,000, minimum sample size is 370.
Interactive chart & math engine powered by CalculatorGraph

Formula: Sample Size Mathematical Identity

n0 = (Z² × p(1 − p)) / e²
n = n0 / (1 + (n0 − 1) / N)
n_0 = (Z² × p(1 − p)) / e²; n = n_0 / (1 + (n_0 − 1) / N)
  • zCritical: Z Critical (numeric parameter)
  • proportionPct: Proportion Pct (%)
  • marginErrorPct: Margin Error Pct (%)
  • populationSize: Population Size (numeric parameter)

Frequently Asked Questions

My textbook rounds to one fewer for a 5% margin at 95% confidence. Why does this page round up?

Both start from the same raw value, 1.96 squared times 0.25 divided by 0.0025, which falls just short of 385 exactly. Some texts round that to the nearest whole number. This calculator always rounds a sample size up, because rounding down would leave you slightly short of the margin you asked for. The difference is one respondent, so it does not matter in practice.

What should I type if I want 90% or 99% confidence?

Enter the Z value, not the percentage. For 90% confidence use 1.645, for 95% use 1.96 and for 99% use 2.576. These are two-sided values, which is what a plus or minus margin needs. At the default margin and population, 99% confidence needs roughly two hundred and fifty more completes than 95% does.

I do not know my population size. What should I enter?

If the population is large, any big number gives nearly the same answer, because the correction fades away. With N at a million the page returns 385, the uncorrected figure. Overestimating N is safe. Underestimating it shrinks the sample, so if you are torn between two guesses, enter the larger one.

Can I use this page to size a survey that measures an average rather than a percentage?

Not directly. Cochran's proportion formula uses p(1 − p) as its measure of spread. For an average such as weekly spend, the spread is the standard deviation of that quantity, and the required sample is Z squared times the variance divided by the squared margin. You would need a pilot study or past data to estimate that standard deviation first.

I collected fewer responses than planned. How wide is my margin now?

The margin grows with one over the square root of the sample size. Getting only a quarter of the planned completes doubles it, so a planned 5 points becomes about 10. You can check a specific case here by changing the margin box until the required sample matches what you actually collected. The margin that produces your real count is roughly your achieved margin.

How do I plan for results broken down by region or age group?

Run the page once for each group you plan to report on, using that group's own population as N. Each subgroup needs its own sample for its own margin. Adding the subgroup samples together gives the total you need, which is usually far more than a single whole population estimate would ask for. Decide which breakdowns really matter before you price the fieldwork.

What is the sampling fraction line telling me?

It is the corrected sample divided by the population. At the defaults it is 3.7%, meaning the correction makes little difference. When the fraction grows large, as it does at 43.6% for a population of five hundred, the correction is doing real work and you should make sure N is accurate, because an error there now moves the answer noticeably.

Does this sample size work for an online opt-in panel?

The arithmetic will run, but the margin it promises assumes random selection. Opt-in panels and social media polls are not random samples of anyone, so the 5 points describes the sampling noise only. Differences between people who volunteer and people who do not can be much larger than that, and no sample size calculation measures them.

Why do 30% and 70% give exactly the same sample size?

The formula uses p times (1 − p), and swapping 30% for 70% just swaps the two factors. Both give 0.21. The uncertainty in a yes or no estimate depends on how evenly the answers are split, so a question where 30% say yes is exactly as hard to pin down as one where 70% say yes.

Should I add extra respondents on top of the result?

Usually yes. The figure is the minimum number of clean, complete answers. Surveys lose cases to speeders, straight-liners, duplicate entries and people who skip key questions. Look at how many cases earlier waves or similar studies lost in cleaning, and set your fieldwork target that much above 370 so the precision you planned for survives the cleaning.

Why does the page ask for population size at all if large populations barely change the answer?

Because small ones change it a lot. A department of 100 needs 80 respondents at the default targets, not 385, and asking 385 people from a group of 100 is impossible. The correction keeps the advice sensible for staff surveys, class surveys and member surveys, where the population is small enough that the sample takes a big share of it.

How the default arrives at 370 respondents

The starting inputs describe the most common survey brief there is. You want a percentage that lands within 5 points of the true figure at 95% confidence, and the group you are studying has 10,000 people in it. The answer is 370 completed responses.

There are two steps behind that number. First comes Cochran's formula for a population with no upper limit. Z is 1.96, the proportion p is 0.5, so p(1 − p) is 0.25. The margin e is 0.05, which squares to 0.0025. So n₀ is 1.96 squared (3.8416) times 0.25, divided by 0.0025. That lands a fraction below 385, and the calculator always rounds a sample size up, never to the nearest whole person, so the n₀ line reads 385 respondents.

The second step is the finite population correction. The raw n₀ is divided by 1 plus (n₀ − 1) / N. With N at 10,000 the divisor is about 1.0383, and the result sits a whisker under 370. Rounded up, that is the headline 370.

One detail trips people who check the page by hand. The engine feeds the unrounded n₀ into the correction. If you take the rounded 385 and correct that instead, you get a result just above 370 and round it up to one more person than the page shows. Neither is wrong. The page's figure is the cleaner one, because rounding twice adds a respondent you did not need.

Z is the confidence level in disguise

The page asks for a Z critical value rather than a confidence percentage. The usual pairs are 1.645 for 90%, 1.96 for 95% and 2.576 for 99%. Type the Z, not the percentage. Entering 95 in this box asks for a confidence level no survey uses, and the corrected sample comes back as nearly the whole population.

Because Z is squared in the formula, the sample grows with the square of Z, not in step with it. The preset at Z = 1.2 shows this from the low side. 1.2 squared is 1.44, so n₀ falls to exactly 144 and the corrected sample to 142. That Z corresponds to roughly 77% two-sided confidence, which is weaker than most published surveys accept. The preset at Z = 2.9 runs the other way: 2.9 squared is 8.41, so n₀ becomes exactly 841 and the corrected figure 776. That is a confidence level above 99%.

In practical terms, moving from 95% to 99% confidence at the default settings adds roughly two hundred and fifty completes. Moving down to 90% saves around a hundred. Decide which level your readers expect before fieldwork, not after, because changing it later changes the margin you can honestly report.

Why the proportion box starts at 50%

The proportion p is your best guess at the answer you are about to measure. It sits in the formula as p(1 − p), and that product peaks at 0.25 when p is 50%. Any other guess gives a smaller product and therefore a smaller sample. Starting at 50% is the cautious choice: it plans for the worst case.

If earlier research says about 20% of people do the thing you are asking about, p(1 − p) becomes 0.16. The sample shrinks to 64% of the default, which on 10,000 people takes you from 370 to about two hundred and forty. At 10% the product is 0.09 and the sample is just over a third of the default.

The product is symmetric, so 20% and 80% give the same answer. That surprises people, but the uncertainty of a yes or no question depends on how split the answers are, not which side wins.

Only lower p when you have real evidence for it. A survey usually asks many questions, and the sample has to work for the most evenly split one. If you plan on 20% and the answer turns out to be 45%, your realised margin will be wider than the 5 points you promised. The page needs p above 0% and below 100%. Enter 0 or 100 and it asks you to correct the box rather than returning a sample, since a proportion you are sure of needs no survey at all.

Halving the margin of error quadruples the work

The margin e sits squared in the denominator. Cut it in half and n₀ grows fourfold. This is the input with the biggest effect on cost, and it is worth testing a few values before committing.

At a 10% margin the default population needs only 96 respondents, from an n₀ of 97. That is fine for a quick pulse check but too loose to compare two groups. At 3% the requirement jumps to a little under a thousand completes after correction, from an n₀ just over a thousand. The 5% default sits between those, at 370.

The margin is in percentage points of the answer, not a percentage of it. A 5% margin around a result of 40% means 35% to 45%, not 38% to 42%. Enter 5 for five points. Typing 0.05 here asks for a twentieth of a point, and the sample comes back as almost the whole population.

A margin of 0 is rejected with a message, because no finite sample gives zero error. A very small margin is accepted, though, and pushes the answer close to N. If you see a sample close to the whole population, check this box first for a misplaced decimal point.

Small populations are where the correction matters

With N at 10,000 the correction trims the sample from 385 to 370, a saving of fifteen people. The sampling fraction line shows why so little changes: 3.7% of the population is in the sample, so drawing without replacement barely differs from drawing from an endless pool.

Shrink the population and the correction starts doing real work. With five hundred people in the population, the same 5% and 95% targets need a little over two hundred respondents, and the sampling fraction rises to 43.6%. At N = 100 you need 80 of them, an 80% sampling fraction. In a staff survey of a team that size, that is close to a census, and many organisations simply ask everyone.

At the other end, a population of a million gives back 385, the uncorrected figure, with a sampling fraction well under a tenth of a percent. Beyond a certain size N stops mattering at all. That is why national polls and city polls often end up with similar sample sizes.

If you do not know N but know it is large, entering any big number is fine. Guessing too small is the riskier mistake, because it shrinks the sample you collect.

370 completes, not 370 invitations

The answer counts usable, completed responses. It says nothing about how many people you need to approach. If you expect one in four invitations to turn into a finished questionnaire, you need to send four times 370 invitations, and more if partial responses get dropped during cleaning.

Response rate also brings in a problem no sample size formula can fix. If the people who reply differ from those who do not, 370 replies give a precise estimate of the wrong thing. Cochran's formula only covers random sampling error. Bias from who answers, how questions are worded and who was on your contact list sits outside it entirely.

So treat the number as a floor. Plan fieldwork so you finish comfortably above it, and keep a record of how many were invited so you can report the response rate alongside the results.

Checking a sample size someone else quoted you

Run the page backwards when an agency, a supervisor or a paper hands you a figure. Leave the population and proportion as they are and change one target at a time until the required sample matches what you were offered. The setting that reproduces it tells you what was really being promised.

Say a supplier proposes 142 completes for a customer base of 10,000 and describes the result as accurate to within 5 points. The page reaches 142 only when Z drops to 1.2, which is roughly 77% confidence. Held at 95%, those same 142 people give a margin closer to 8 points. Neither claim is dishonest on its own, but the two together are, and the page lets you spot that in a few seconds.

The same check works for academic work. If a thesis reports 370 respondents from a population of 10,000, the default settings show that is exactly the 95% and 5 point standard, and you can say so in the methods section with the formula on the page as your citation of the arithmetic.

Assumptions built into Cochran's formula

The calculation assumes a simple random sample: every member of the population had the same chance of being picked, independently of everyone else. Stratified samples usually do a little better than this. Cluster samples, such as picking ten schools and surveying every pupil in them, usually do worse, and survey statisticians inflate the sample by a design effect to compensate. The page does not ask for one, so if your design is clustered, the 370 is an underestimate.

It also assumes you are estimating a single proportion for the whole population. If you plan to report results separately for, say, men and women, each group needs its own sample of roughly this size for the same margin. Splitting 370 in half gives each half a margin of about seven points, not five.

Finally, the formula is for proportions. If the main result is an average, such as mean spend or mean hours, the sample size depends on the standard deviation of that quantity, which this page does not take as an input.