The standard Cochran formula
n = z²p(1 − p) ÷ e², the same formula behind the sample size tables you see quoted in research briefs.
Tools / Sample Size Calculator
Enter the margin of error you can live with, pick a confidence level, and get the number of completed responses you need before you start fielding.
n = z² × p(1 − p) ÷ e², with an optional finite population correction
Enter values to see the result
How many percentage points of swing you can accept. 5% is a common default, 3% is tighter and much more expensive.
95% is the standard. 90% needs fewer responses, 99% needs many more.
That is completed responses, not invitations. Divide by your expected response rate to plan the send.
Fielding a survey and then discovering the result swings by 8 points is an expensive way to learn this. Size the sample before the invitations go out.
n = z²p(1 − p) ÷ e², the same formula behind the sample size tables you see quoted in research briefs.
Surveying 200 employees rather than the open web? Enter the population and the required sample drops accordingly.
The expected proportion starts at 50%, which produces the largest sample requirement. Safe when you do not know the answer yet.
Decide how many invitations to send once you know your usual response rate.
Justify n with a stated confidence level and margin instead of a round number.
Use the population field when the group is known and small, so you do not over-collect.
n₀ = z² × p(1 − p) ÷ e² · n = n₀ ÷ (1 + (n₀ − 1) ÷ N)
z comes from the confidence level (1.96 at 95%), p is the expected proportion, and e is the margin of error as a decimal. The second step is the finite population correction, applied only when you enter a population size N.
±1%
9,604 responses
±3%
1,068 responses
±5%
385 responses
±7%
196 responses
Use the Cochran formula for a proportion:
n = z² × p(1 − p) ÷ e²
z is the critical value for your confidence level (1.96 at 95%), p is the expected proportion (use 0.5 when unknown), and e is the margin of error as a decimal (0.05 for ±5%).
At 95% confidence, ±5% margin, and p = 0.5, that gives 385 responses.
385 completed responses at 95% confidence, assuming a large population and a 50% expected proportion.
At 90% confidence the same margin needs about 271. At 99% it needs about 664. Tightening the margin costs far more than raising confidence: ±3% at 95% needs about 1,068.
It is what the formula returns for the most commonly quoted combination: 95% confidence, ±5% margin, and the conservative p = 0.5.
Because the population term drops out once the population is large, 385 is the answer whether you are surveying a city or a country. That is why the same figure shows up in so many research summaries.
Only when the population is small relative to the sample. Surveying 200 employees at ±5% needs about 132 responses, not 385, because the finite population correction applies.
Once the population is above roughly 20,000, the correction changes the answer by less than a response or two, so you can leave the field blank.
Leave it at 50% unless you have a solid prior. p(1 − p) is largest at 0.5, so that assumption gives the biggest sample requirement and never leaves you short.
If you already know the rate is near 10% or 90%, entering it will cut the required sample substantially.
No. It is the number of completed responses you need. Divide by your expected response rate to get the send size: 385 completes at a 25% response rate means roughly 1,540 invitations.
The response rate calculator has published rates by channel if you need a starting estimate.
Use the actual counts with the confidence interval calculator to get a Wilson interval around each percentage. Planning assumes p = 0.5; after fielding you know the real rate, so the interval is usually tighter than the plan.
No. Everything runs locally in your browser.
Any survey tool works. Formms builds the form from a prompt and gives you a short link and QR code to share, then you can bring the counts back to these calculators.
Collecting fresh survey responses? Try Formms for a form with a short link and QR.
Formms builds the survey from a prompt, then you can paste counts back into these calculators anytime.
View a demo form →