Sample Size Calculator

Find the sample size or margin of error for a survey proportion with an optional finite population correction.

Result
—

How to calculate

Read the normal critical value at your confidence level. Multiply its square by the expected proportion times one minus that proportion, then divide by the square of the target error. For a finite population, apply the correction for sampling without replacement before rounding up.

Worked example

Use Calculate Required sample size · Confidence level 95% · Expected proportion 50% · Target margin of error 5%. The result is 385.

Input and result notes

Assumes simple random sampling and a normal approximation. Use 50% when the expected proportion is unknown to get the largest sample size for these inputs.

Penn State on confidence intervals for a proportion

Related calculators