Work Sampling Calculator

50% is the most conservative choice for a survey because p(1-p) is largest there.
Half-width of the confidence interval, in percentage points.
The smallest difference in means that the study should be able to detect.
Used to turn a required number of events into a number of participants, and as the outcome rate for the events-per-variable rule.
Leave at 0 for a very large or unknown population (no finite-population correction).
Used by the margin-of-error, power, design-effect and finite-population-correction modes.
Recommended sample size
6,147
Sample Size Calculator
Unrounded requirement
6,146.334113
Total across all groups
6,147
Recruit this many to allow for attrition
6,147
z for the confidence level
1.959964
z for the power
0.841621
Significance level (alpha)
0.05
Formula used
n = z^2 (1 - p) / (p s^2)
Worked out from Cochran, W.G. (1977), Sampling Techniques, 3rd edition, Wiley, chapters 4 and 5 and 8 other sources.
Sample-size calculations for clinical, regulatory or published research should be confirmed by a qualified statistician against the actual analysis plan before a study is registered or a protocol is finalised.

How this is worked out

3 steps
  1. alpha = 1 - 95/100 = 0.05, two-sided, so z(alpha) = 1.959963985.
  2. z(beta) for 80% power = 0.841621234.
  3. Relative accuracy: n = z^2 (1 - p) / (p s^2) = 3.84145882 x 0.8 / (0.2 x 0.0025) = 6146.3341

Results are general information, not financial, tax, legal, medical or engineering advice.