Audit sample size calculator for tests of controls.

How many items do I need to look at, and which ones?

Attribute sampling from your confidence level, tolerable deviation rate and expected deviation rate. Then evaluate what you found against the upper deviation limit.

  • Runs in your browser
  • Nothing stored or sent
  • Free, no sign-up
Plan the sample
Confidence level (1 − risk of overreliance)
Sample size
59
95% confidence, binomial
Deviations allowed
0
Rely on the control only if found ≤ this
Small-population size
—
Enter a population to see it
How this was worked out

Method: exact binomial. The sample size is the smallest n for which, if the sample shows the expected number of deviations k = ⌈n × expected rate⌉, the upper limit on the population deviation rate at 95% confidence is still no higher than the tolerable rate. This is how the AICPA Audit Sampling Guide builds its attribute sample size tables (A-1 for 5% risk, A-2 for 10% risk); at 95% it returns the same figures.

Work shownrecomputed as you type
P(X ≤ 0 | n = 59, p = 5%) ≤ 5% → n = 59
Poisson check: n ≈ R(0, 95%) ÷ 5% = 60
Sample sizes at 95% confidence (deviations allowed)
Expected ↓ / Tolerable →3%4%5%6%7%8%10%
0%99 (0)74 (0)59 (0)49 (0)42 (0)36 (0)29 (0)
0.25%157 (1)117 (1)93 (1)78 (1)66 (1)58 (1)46 (1)
0.5%157 (1)117 (1)93 (1)78 (1)66 (1)58 (1)46 (1)
1%257 (3)156 (2)93 (1)78 (1)66 (1)58 (1)46 (1)
1.5%392 (6)192 (3)124 (2)103 (2)66 (1)58 (1)46 (1)
2%846 (17)294 (6)181 (4)127 (3)88 (2)77 (2)46 (1)

— means the sample would exceed 2,000 items or the expected rate is not below tolerable; consider not relying on the control.

Evaluate the results
Work shownrecomputed as you type
Upper deviation limit = p where P(X ≤ 0 | n = 59, p) = 5% → 4.95%
Sample deviation rate = 0 ÷ 59 = 0% · allowance for sampling risk = 4.95%
OK
Upper limit 4.95% ≤ tolerable 5%
The sample supports the planned reliance on the control at 95% confidence. Still consider the nature and cause of every deviation found.

Exact binomial upper limit, the construction behind the AICPA evaluation tables.

How attribute sample sizes are set

AU-C 530 requires the auditor to set a sample size large enough to reduce sampling risk to an acceptably low level, but does not prescribe a formula. For statistical tests of controls, three inputs drive the size: the acceptable risk of overreliance (shown here as confidence, 1 − risk), the tolerable deviation rate, and the expected population deviation rate.

This calculator uses the exact binomial distribution: it finds the smallest sample n where, if you find ⌈n × expected rate⌉ deviations, the one-sided upper limit on the population rate is still within tolerable. That is the construction behind Tables A-1 and A-2 of the AICPA Audit Guide Audit Sampling, and at 95% confidence it returns the same sample sizes. A Poisson approximation (reliability factor ÷ tolerable rate) is shown for comparison; it runs a little larger (60 rather than 59 at 95% / 5% / 0%).

Evaluating the sample

After testing, the upper deviation limit is the highest population deviation rate consistent with what you found at the chosen confidence. If it is no more than the tolerable rate, the sample supports reliance. The gap between the sample rate and the upper limit is the allowance for sampling risk.

Common questions

How do I determine sample size for a test of controls?

Choose the risk of overreliance (confidence level), the tolerable deviation rate and the expected deviation rate. The sample size is the smallest number of items for which finding the expected number of deviations still leaves the upper limit on the deviation rate at or below tolerable. At 95% confidence, 5% tolerable and 0% expected that is 59 items.

What is attribute sampling in auditing?

Attribute sampling estimates the rate at which a control fails (a yes/no attribute) in a population. It is the usual statistical method for tests of controls under AU-C 530, as opposed to variables or monetary unit sampling, which estimate a dollar misstatement.

What tolerable deviation rate should I use?

Many firms use 5% when they plan substantial reliance on a control and up to 10% for moderate reliance. The lower the tolerable rate, the larger the sample. The rate is a judgment the auditor documents in the sampling plan.

Does population size change the sample size?

Hardly, once the population is more than a few thousand items. The AICPA tables assume a large population. For small populations a finite population correction reduces the sample; the calculator shows it when you enter a population.

What if I find more deviations than expected?

Recompute the upper deviation limit with the actual deviations. If it exceeds the tolerable rate, the sample does not support the planned reliance: reduce reliance on the control, test a compensating control, or extend substantive procedures. Always consider the nature and cause of each deviation, including whether it suggests fraud.

Runs in your browser. The figures you type are not sent to CORAA or stored. Check the result against your firm's methodology before relying on it.

Related audit calculators

For US CPA firms

Join the CORAA waitlist

CORAA AI drafts audit working papers from your client’s QuickBooks books and does the first pass: lead schedules, tie-out, memos, draft notes and letters. CORAA Network reviewers clear every finding. Your firm reviews and signs.

  • First audit free, so you can judge the quality on a real file
  • Flat fee by entity size; messy books included
  • We work only with CPA firms, never their clients
See how it works →

* required