Controls testing

Audit sampling: how many samples do you need?

Sample size follows from confidence, tolerable deviation, and expected deviation. This guide gives an illustrative sampling table and a worked example.

Ola Duduyemi, CBAP, CIA · Co-founder and CEO, CoAuditor

Attribute sample sizes, zero expected deviations
3% tolerable rate, 95% confidence99
5% tolerable rate, 95% confidence59
5% tolerable rate, 90% confidence45
10% tolerable rate, 95% confidence29
In items
Source: AICPA Audit Guide, Audit Sampling, Tables A-1 and A-2CoAuditor

Short answer

It depends on three choices made before selection: how confident you need to be, what deviation rate you can tolerate and still rely on the control, and what rate you expect to find. For a large population, at 95% confidence, 5% tolerable, and zero expected deviations, the illustrative size is 59 items.

Key facts

  • At 95% confidence, a 5% tolerable rate, and zero expected deviations, the attribute sample size for a large population is 59 items, and at 90% confidence it is 45 items. AICPA Audit Guide, Audit Sampling, Tables A-1 and A-2
  • The same method gives 99 items at 95% confidence when the tolerable rate falls to 3%, and 29 items when it rises to 10%, with zero expected deviations. That spread is why a fixed sample of 25 cannot fit every control. AICPA Audit Guide, Audit Sampling
  • AU-C 530 requires a sample large enough to reduce sampling risk to an acceptably low level, but it does not prescribe a single formula or a universal size. AICPA AU-C 530, Audit Sampling
  • PCAOB AS 2315 sets the same principle: sample size must reflect the objective, the tolerable rate, and the risk of incorrect acceptance. PCAOB AS 2315, Audit Sampling
  • The PCAOB staff update on 2025 inspections, published October 22, 2026, reported that the share of integrated audits with at least one ICFR deficiency fell from 27% to 14%, while identifying and selecting controls remained a recurring problem area. PCAOB Staff Update on 2025 Inspections

Why is there no single right sample size?

Because a sample is a bet about risk, and the bet changes with the control.

A key control that supports a SOX conclusion needs more confidence than a low risk control with strong compensating controls. A control you expect to be clean needs a smaller sample than one where you already suspect deviations. A population of 10,000 purchase orders is not the same as a population of 40 monthly reconciliations, even if the control description looks similar.

Teams get into trouble in two opposite ways. Some pick 25 for everything, because 25 is familiar. That number may be too small for a key control and too large for a monthly control that only ran 12 times. Others pick a large sample for everything, because large feels safe. That wastes hours that could have gone to judgment, follow up, and coverage of other risks.

The right question is not "how many do we usually pick?" It is "what do we need this sample to prove, and how sure do we need to be?"

What three inputs set the sample size?

1. How confident do you need to be?

Confidence is one minus the risk of overreliance, the risk that you conclude a control works when it does not. At 95% confidence, you accept a 5% risk. At 90%, you accept a 10% risk. Use 95% for key controls you plan to rely on, including ICFR controls. Use 90% where reliance is lower, where compensating controls exist, or where the work is advisory. Do not use 90% to save time on a key control. The saving is real and the reliance is weaker, and that trade should be explicit.

2. What deviation rate can you tolerate?

The tolerable deviation rate is the highest population deviation rate you can accept and still rely on the control. It is set before you test, not after you see the results. A common setting is 5% for a key control. A rate of 8% or 10% is used where reliance is lower or a compensating control covers the same risk. A rate of 2% or 3% is used where the control is critical. Lower tolerable rates mean larger samples. That is the price of stronger reliance.

3. What deviation rate do you expect?

The expected deviation rate is your honest estimate before testing, based on prior year results, walkthroughs, and known issues. If you expect zero deviations, the sample is smaller. If you expect 1%, the sample is larger, because you need room to find that deviation and still conclude. If you expect deviations at or above the tolerable rate, no sample size can support reliance. Fix the control first.

What does the sample size table show?

The table below is illustrative for a large population. It assumes zero expected deviations and follows the exact binomial method behind Tables A-1 and A-2 in the AICPA Audit Guide, Audit Sampling.

Tolerable deviation rateSample size at 90% confidenceSample size at 95% confidence
2%114149
3%7699
4%5774
5%4559
6%3849
7%3242
8%2836
10%2229

Read the table from the decision, not from habit. Start with the tolerable rate your reliance requires, then read across to the confidence level. That cell is your starting size. Moving from 5% to 3% at 95% confidence raises the size from 59 to 99. Dropping confidence to 90% cuts it to 45, but that is a higher risk of overreliance and should be documented.

When you expect deviations, the size rises. At 95% confidence, 5% tolerable, and 1% expected, the illustrative size is 93 items, with 1 deviation allowed, compared with 59 when zero are expected. Confirm the exact size against the AICPA tables or your methodology. Do not interpolate the table above for expected rates above zero.

For small populations, the table overstates the size. If a control runs monthly, the population is 12. Test the full population or a large share and document why. If it runs weekly, the population is about 52. Apply a finite population adjustment from your methodology, and record it.

How do you set a sample size in six steps?

  1. Write the control and its attributes, including who did it, when, and what evidence was kept.
  2. Define the population precisely, by system, period, and inclusion criteria. A vague population produces a vague conclusion.
  3. Choose confidence, tolerable rate, and expected rate, and record why, linking tolerable rate to reliance and expected rate to prior evidence.
  4. Read the starting size from the table, then adjust for expected deviations and population size using your methodology.
  5. Select items by a method that can be defended, using random selection for a statistical sample so every item had a chance of selection. Do not select the tidy files.
  6. Plan the evaluation before you test, including what counts as a deviation and what you will do if you find one. That prevents deciding after the fact that a deviation "did not really count."

What is the difference between statistical sampling, non-statistical sampling, and full population testing?

ApproachWhat it gives youWhen to use itWhat to watch
Statistical samplingA quantified upper limit on the deviation rate, at stated confidenceKey controls, ICFR reliance, large populationsInputs must be set before testing, selection must be random
Non-statistical samplingA judgmental conclusion, without a quantified confidence levelSmall populations, low risk controls, exploratory workThe size is still a judgment and must be documented
Full population testingNo sampling risk, because every item is testedAutomated controls, system data, populations where AI can test all itemsAttributes and exception evaluation still matter

Full population testing is changing the sampling conversation. Where a control leaves system data, AI can test every item against the attributes and present only the exceptions for human review. That does not remove sampling judgment. It moves it. The auditor still decides the population, the attributes, the threshold, and what an exception means, and spends time on exceptions, not on pulling the sample.

How does sample size follow from reliance?

  1. 1How much do you need to rely on this control?
  2. 2What tolerable rate does that reliance allow?
  3. 3How confident do you need to be, and what rate do you expect?
  4. 4Sample size, selection method, and evaluation plan

    Recorded before testing starts.

Sample size is the output of a reliance decision, not the input to it.

What happens when you find a deviation?

A deviation is not automatically a failed control, but it is never nothing. First, confirm it, checking attribute, evidence, and timing. A late approval is a deviation even if the amount was correct. Second, find the cause. Third, check the extent, by testing more items or the full population where the cause applied. Fourth, evaluate against the tolerable rate. If you found 1 deviation in 59 items at 95% confidence and 5% tolerable, the upper limit exceeds tolerable and planned reliance is not supported. That evaluation belongs to the auditor.

What are the limits of sampling?

Sampling gives you a conclusion about a population from a part of it, with stated risk. It does not give you certainty, and it does not test the control you did not select. A clean sample from a well defined population is strong evidence. A clean sample from a poorly defined population, or from items selected by convenience, is weak evidence, whatever the size. Sampling also cannot fix a badly designed control.

How CoAuditor helps

CoAuditor lets auditors define the population, attributes, and sampling inputs once, then test the sample or the full population in one place, with AI checking every item and surfacing exceptions for human review, while auditors own the sampling judgment, the deviation evaluation, and the conclusion.

Sources

Frequently asked questions

Is 25 a safe sample size for a test of controls?
Not as a rule. For a large population, 25 items at 95% confidence supports a tolerable rate of about 11% with zero deviations, higher than most teams accept for a key control.
Can I use the same sample size for every control in an audit?
You can, but you should not, unless every control carries the same reliance, tolerable rate, and expected rate. In most audits they do not.
What if the population is only 12 items?
Test all 12, or a large share, and document why the remainder were not tested. A table built for a large population does not apply here.
Does full population testing remove the need for sampling?
It removes sampling risk for that control, because every item is tested. It does not remove the need to define attributes, set thresholds, and evaluate exceptions. Those judgments remain.

Watch the 3-minute film

How internal audit keeps pace with AI-era risk, and what MJ does in a real audit, start to finish.

About the author

Ola Duduyemi

Ola Duduyemi is the co-founder and CEO of CoAuditor, a Certified Business Analysis Professional (CBAP) and a member of the IIA Toronto Chapter. Ola studied economics and built a career in internal audit.

Your seat is waiting.

Speak on our shows, bring an outside view, co-author an article or open doors. Pick a program:

See MJ work on your own audit in 30 minutes.