Pro Tier Module

SOX 404 Control Testing Sample Size Calculator

Attribute-sampling sizes from published binomial and Poisson formulas, derived at runtime, not from a table.

Worked example: Daily control, 5% tol, 95% conf (n~59)
Inputs
Population size (N) - number of times the control operated in the period250
Expected population deviation rate (%)0
Tolerable deviation rate (%)5
Confidence (%) = 100 - acceptable risk of overreliance95
Methodauto
Result

Sample size n = 59, allow <= 0 deviations (Binomial closed form (exact, 0% expected), 5% tolerable, 95% confidence).

Required sample size (n)59
Allowable deviations0
MethodBinomial closed form (exact, 0% expected)
Tolerable deviation rate5%
Expected deviation rate0%
Confidence (risk of overreliance)95% (5% risk)
Rule-of-thumb sample (Daily)25
Reduction agreement (Kahan-referenced)PRECISE - binomial n = ceil(ln(risk)/ln(1-tolerable)): two f64 logarithms and one division, well-conditioned (<= a few ULP); no summation to accumulate drift

Computed by SOX 404 Control Testing Sample Size Calculator v1.0.0, the same plugin code the GDBS app runs, when this page was built. To run it on your own figures, open it in GDBS Pro.

The problem

Internal-audit and SOX teams sizing control tests must defend the sample size and the allowable-deviation count against PCAOB inspection. Pasting reliability factors from a table invites transcription error and offers no checkable derivation.

The local-first solution

This plugin returns the required sample size and allowable deviations by exact closed-form attribute sampling, deriving the Poisson reliability factors at runtime by inverting the Poisson CDF so they reproduce the published AICPA tables and stay checkable, all in your browser.

What it does

Binomial exact sample size n = ceil(ln(risk)/ln(1 - tolerable)) for a zero expected deviation rate
Poisson reliability-factor sizing for nonzero expected deviation rates, with the factor derived by bisection on the exact Poisson CDF
Allowable-deviation count returned alongside the sample size
Reliability factors that reproduce the published AICPA Audit Sampling Guide values to the displayed precision
Optional cited finite-population correction shown beside the uncorrected size so nothing is hidden
Control-frequency rule-of-thumb minimum-sample reference table surfaced for context

Honest scope

Not auditing, accounting, or legal advice: the acceptable risk of overreliance and the tolerable rate are professional judgments under PCAOB AS 2315 / AICPA AU-C 530 that the engagement team sets. The binomial and Poisson formulas, the derived reliability factor, and the finite-population correction are exact; the control-frequency rule-of-thumb counts are practice conventions you confirm against your firm's methodology, and variables/MUS sampling, stop-or-go and discovery sampling, and the evaluation of deviations actually found are not modeled.

Authorities cited

Get an email when these rules change

Tables, thresholds and deadlines in Compliance & Risk change every year. Leave your email and we will tell you when the ones behind tools like this one move, at most once a month.

We email you once to confirm. After that, unsubscribe from any issue in one click. Your address goes to VaultSync only (privacy).

Related tools

Size a control test

Compute the sample size in your browser and route the result into a Sandbox workspace, a Worklog case file, or a Gate client portal. Nothing is uploaded to anyone's cloud.

GDBS by VaultSync Solutions Inc. - Verifiable Computation. gdbs.getvaultsync.com