GuideIntermediatePairs with Sample Size

How to Calculate Sample Size for an Audit or a Survey

Before you audit files, time a set of calls, or score a yes-or-no survey question, decide how many items you need. Sample too few and the answer is too uncertain; too many and you waste time. This guide shows the usual formulas for a percentage and for an average, works two office examples, and points you to a free calculator.

In plain English: You pick a confidence level (how sure you want to be) and a margin of error (how close you need to be). The formula then tells you the minimum number of randomly chosen items to review.

What you are estimating

The method depends on the kind of number you want:

Those are the two cases the free sample size calculator covers. The formulas are not a shortcut for every statistic. Net Promoter Score is built from three groups, not one percentage, so do not plug an NPS target into the proportion formula and treat the result as “how many NPS responses I need.”

Confidence and margin of error

Margin of error is the “plus or minus” you can live with. If you want an error rate within ±5 percentage points, the formula uses E = 0.05 (a calculator may instead ask for 5, meaning 5%). For an average, the margin is in the same units as the data: ±10 seconds, ±1 day, and so on.

Confidence is how often this method would come that close if you repeated the sample many times, from the same population, under the same assumptions. 95% is a common choice. 90% needs a smaller sample; 99% needs a larger one. The formula uses a z value that matches the confidence you pick:

z = 1.645 (90%), 1.960 (95%), 2.576 (99%)

Those are the usual rounded values of the standard normal cutoff. The worked examples below use 1.96 for 95% confidence (1.960 rounded to two decimals). Halving the margin of error — for example, from ±5 percentage points to ±2.5 — roughly quadruples the sample. If you do not have a prior estimate of the percentage, 50% is the conservative default: it produces the largest sample for a given margin of error.

The formulas

Proportion: n₀ = z² × p(1 − p) ÷ E² Mean: n₀ = (z × σ ÷ E)² Finite population (optional): n = n₀ ÷ (1 + (n₀ − 1) ÷ N) Always round up to the next whole number.

p is the expected proportion (use 0.50 if unknown), E is the margin of error as a proportion (0.05 for ±5 percentage points), σ is the standard deviation of the thing you are averaging, and N is the population size when it is finite and known. Use the finite-population step for a list of known size, such as 1,000 payments this quarter. Skip it when the population is large or the process is ongoing. Always round up: 384.16 means 385 items. For a mean, take σ from a short pilot or past data; do not invent it.

Worked example: a proportion

A back-office team wants the share of vendor payments with a missing PO number, within ±5 percentage points at 95% confidence. They have no prior estimate, so they use p = 50%.

n₀ = 1.96² × 0.5 × 0.5 ÷ 0.05² = 3.8416 × 0.25 ÷ 0.0025 = 384.16 → round up to 385 payments

If only 1,000 payments were made this quarter, the finite-population correction reduces this:

n = 384.16 ÷ (1 + (384.16 − 1) ÷ 1000) = 384.16 ÷ 1.38316 = 277.74 → round up to 278 payments

If past months suggest the missing-PO rate is about 10%, put p = 0.10 in the same formula (still ±5 points, 95% confidence, no population cap):

n₀ = 1.96² × 0.10 × 0.90 ÷ 0.05² = 138.30 → round up to 139 payments

That is much smaller than 385, and it is reasonable only if 10% is a fair expected rate. When you are unsure, 50% is the safer planning value.

Worked example: a mean

A call center wants the average after-call work time within ±10 seconds at 95% confidence. A pilot shows a standard deviation of about 45 seconds.

n₀ = (1.96 × 45 ÷ 10)² = 8.82² = 77.79 → round up to 78 calls

How to read the result

Common mistakes

Get the sample size from the free calculator
Choose a proportion or a mean, enter confidence, margin of error, and an optional population size. Same formulas as this guide, already rounded up. No sign-up.
Open the sample size calculator