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.

See it run - a worked example, 100% in this browser tab

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

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