Estimating Sample Sizes for Proportions
Use the margin of error formula for a one-proportion confidence interval to determine the minimum sample size needed to achieve a desired precision at a given confidence level. Covers the case where a prior estimate of the proportion is available, the conservative case where it is not, and the use of pilot studies.
Tutorial
Sample Size for a Proportion
A confidence interval for a population proportion has margin of error
where is the critical value for the chosen confidence level and is the sample proportion.
When planning a study, we fix the desired margin of error and solve for the required sample size :
Because must be a whole number and the margin of error must be at most , we always round up to the next integer.
The most common critical values are:
- confidence:
- confidence:
- confidence:
For example, suppose past data suggest and we want a margin of error of at confidence. Then
so we round up to .