Sample Size Calculator for Surveys
For a survey of a large population, 385 responses give a 5% margin of error at 95% confidence. That comes from Cochran's formula, n = z² × p(1 − p) / e², using z = 1.95996, an expected answer of 50% and e = 0.05. Enter your confidence level, margin of error and population size to get your own sample size, or switch to estimating an average.
Type a number and the answer appears straight away.
Sample size needed385for a large population
- Before rounding up
- 384.146
- Critical value (z)
- 1.95996
Assumes a simple random sample. The formula sets the sample needed for the margin of error you chose; it cannot correct for a biased sample or for people who choose not to answer.
The math behind it: Sample Size
Percentage: n₀ = z² × p(1 − p) / e²; average: n₀ = (z × σ / E)²; finite population: n = n₀ / (1 + (n₀ − 1) / N), rounded up
The calculator follows the method in William Cochran's textbook Sampling Techniques (3rd edition, 1977). For a percentage, it multiplies the square of the critical value by p(1 − p) and divides by the square of the margin of error. With 95% confidence, a 5% margin and p = 50%, that is 384.146, rounded up to 385 because you cannot survey part of a person. Using 50% when you have no idea of the answer is the cautious choice, since p(1 − p) is largest there. If you expect about 20%, the sample falls to 246.
The margin of error has the biggest effect. Tightening it from 5% to 3% raises the sample from 385 to 1,068, because the sample grows with the square of 1 / e. Confidence matters too: at 90% confidence you need 271, and at 99% you need 664.
For a small population, the finite population correction trims the number. Surveying a company of 1,000 people needs 278 responses, 27.8% of the staff, not 385. For 10,000 people it is 370, and beyond about 100,000 the correction barely changes the answer. If only a quarter of the people you ask are likely to reply, you would need to invite 1,540 to collect 385 responses.
To estimate an average, such as a mean test score or weight, enter the standard deviation and the margin of error in the same units. A standard deviation of 15 and a margin of ±3 need 97 measurements at 95% confidence. Once you have your data, the confidence interval calculator puts a range around the result and the standard deviation calculator measures the spread. The z-score calculator shows where the critical values come from.
Common questions
How many survey responses do I need?
For a large population, 385 responses give a 5% margin of error at 95% confidence. For a 3% margin you need 1,068. A smaller population needs fewer: 278 for a group of 1,000.
How do you calculate sample size?
Use Cochran's formula: n = z² × p(1 − p) / e². At 95% confidence z is 1.95996; with p = 0.5 and a 5% margin, n = 384.146, which rounds up to 385. For a known population N, divide by 1 + (n − 1) / N.
Why is 385 the magic number for surveys?
It is the sample that gives a 5% margin of error at 95% confidence when you assume a 50% answer and a very large population. Because the population size hardly matters once it is large, 385 works for a city or a whole country alike.
Does population size affect sample size?
Only when the population is small. For 1,000 people you need 278, for 10,000 you need 370, and for very large populations the number levels off at 385 for a 5% margin at 95% confidence.
What sample size do I need for 99% confidence?
With a 5% margin of error and a large population, 664 responses. Raising confidence from 95% to 99% increases the critical value from 1.95996 to 2.57583.
You might also need
Checked and updated: