Skip to main content
DigiCalcs

如何计算Sample Size

learn.whatIsHeading

Sample size is the number of observations needed in a study to achieve a specified margin of error and confidence level. Larger samples give more precise estimates but cost more to collect. The required n depends on confidence level, expected proportion, and acceptable error.

分步指南

  1. 1For proportions: n = z² × p(1-p) / E²
  2. 2z = 1.96 for 95% confidence · z = 2.576 for 99% confidence
  3. 3p = expected proportion (use 0.5 if unknown — gives maximum n)
  4. 4E = desired margin of error as a decimal (e.g. 0.05 for ±5%)

例题解析

输入
95% confidence · ±5% margin · p=0.5
结果
n = 384
1.96²×0.5×0.5/0.05²=384.16 → round up to 384
输入
99% confidence · ±3% margin · p=0.5
结果
n = 1,844
Tighter margin + higher confidence = far more observations

准备好计算了吗?尝试免费的 Sample Size 计算器

自己尝试一下 →

设置

隐私条款关于© 2026 DigiCalcs