Sample Size for a Proportion

5%
50%

Results shown here

Fill out the form and click "Calculate" to see the calculation results.

Formula

Sample Size for a Proportion

n=Z2Γ—pΓ—(1βˆ’p)d2Γ—(Nβˆ’1)+Z2Γ—p(1βˆ’p)n = \frac{Z^2 \times p \times (1 - p)}{d^2 \times (N - 1) + Z^2 \times p(1 - p)}

Where:

  • n = required sample size
  • N = population size
  • Z = Z-score (e.g., 1.96 for 95% confidence)
  • p = estimated proportion
  • d = margin of error