Work Sampling Calculator
Work sampling calculator works out Recommended sample size and Unrounded requirement from Confidence level, Statistical power and Test sidedness. The default figures on this page give recommended sample size of 6,147; change any entry and the result, the working and the sources update together.
Your figures
Updates as you typeHow this is worked out
3 steps
- alpha = 1 - 95/100 = 0.05, two-sided, so z(alpha) = 1.959963985.
- z(beta) for 80% power = 0.841621234.
- Relative accuracy: n = z^2 (1 - p) / (p s^2) = 3.84145882 x 0.8 / (0.2 x 0.0025) = 6146.3341
Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed
Sources and references
9 sources
What the work sampling calculator calculates
Computes the sample size needed for a survey proportion, a mean, a comparison of two proportions or two means, a paired study, a correlation, a noninferiority or equivalence trial, a log-rank survival study, a diagnostic-accuracy study or a cluster-randomised trial, and works backwards to the margin of error or the power of a sample you already have.
How to use this work sampling calculator
Enter Confidence level, Statistical power, Test sidedness and Expected proportion (group 1). Recommended sample size updates as you type. Change one figure at a time to see what drives the result.
How the result is worked out
Open “How this is worked out” beside the result for the step-by-step calculation behind Recommended sample size, Unrounded requirement and Per group (group 1).
The method follows Cochran, W.G. (1977), Sampling Techniques, 3rd edition, Wiley, chapters 4 and 5, Raosoft Inc., Sample Size Calculator - stated formula, Fleiss, J.L., Levin, B. & Paik, M.C. (2003), Statistical Methods for Rates and Proportions, 3rd edition, Wiley, chapter 4, Chow, S.-C., Shao, J. & Wang, H. (2008), Sample Size Calculations in Clinical Research, 2nd edition, Chapman & Hall and Schoenfeld, D.A. (1983), "Sample-size formula for the proportional-hazards regression model", Biometrics 39(2), 499-503.
What you can compare
Change one input at a time to see how it affects Recommended sample size, Unrounded requirement and Per group (group 1). The inputs you can vary are Confidence level, Statistical power, Test sidedness, Expected proportion (group 1), Expected proportion (group 2) and Margin of error.
Understanding Recommended sample size, Unrounded requirement and Per group (group 1)
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.
Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.
See something wrong? Report a problem with this calculator
Frequently asked questions
What is the 10% rule in sampling?
On the figures this page opens with — confidence level 95%, expected proportion (group 1) 50%, margin of error 5% and population size 0 — the recommended sample size is 6,147. No single number fits everyone: change any figure above and the answer updates as you type, with each step of the arithmetic beside it.
What information do I need for the work sampling calculator?
You need Confidence level, Statistical power, Test sidedness, Expected proportion (group 1), Expected proportion (group 2), Margin of error, Standard deviation and Margin of error (mean scale). The page opens with default figures that give recommended sample size of 6,147, so you can see the scale before entering your own.
What does this work sampling calculator show?
It shows Recommended sample size, Unrounded requirement, Per group (group 1), Per group (group 2), Total across all groups, Recruit this many to allow for attrition, Required number of events and Design effect (DEFF), with the working and any warnings for your entries.
Can I check how the work sampling calculator result was calculated?
Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.
