A team with 240,000 supplier records cannot inspect every row before making a decision. That does not mean it should check 50 records, find nothing alarming, and call the file clean.
The useful question is not, “What percentage should we review?” It is, “What conclusion must this review support?”
That distinction changes the sample size, the way records are selected, and the language used to report the result. A defensible sample is a documented answer to a business question, with its remaining uncertainty made clear.
Start with the claim, not the row count
Different review goals call for different designs.
An estimation question asks: “How common is this problem?” A team might need to estimate the share of customer records with an invalid tax-status field, within plus or minus five percentage points.
A threshold question asks: “Is the problem likely below the rate we can accept?” For example: “Can we support the claim that required approval fields have an exception rate below 5%?”
A discovery question asks: “Where are likely failures?” This may focus on new imports, recent records, unusual values, or high-dollar transactions. It can find issues quickly, but it does not automatically estimate the population-wide error rate.
There is also a separate question for high-consequence items. If one incorrect record among the ten largest invoices could matter more than hundreds of low-value records, inspect those major items directly. Then design a random sample for the rest of the population.
A familiar round number cannot serve all of these purposes.
Define the review before selecting records
Write down what one row represents and what counts as an error. Is an error a missing required field, an invalid value, a mismatch against a source document, or something else?
This sounds elementary, but vague pass/fail rules can make the reported rate measure reviewer inconsistency as much as underlying data quality. Decide in advance how to handle ambiguous cases, such as a name variation, an old address, or an unavailable field.
Also define the population precisely: the snapshot date, inclusion rules, exclusions, and the source extract used to create the sample. A perfectly random sample from an incomplete export is not representative of the population the team intended to assess.
The inputs that actually drive sample size
For a probability-based review, four choices usually matter more than the total number of rows:
- Confidence: How much risk of a wrong conclusion can the organization accept? A 95% confidence target is common for estimation; some control-testing decisions use other levels.
- Precision or tolerable error: How much uncertainty is acceptable? Estimating an error rate within ±3 percentage points requires more evidence than ±5 points.
- Expected error rate: If prior evidence suggests a likely rate, it can inform planning. If it does not, a 50% assumption is conservative for a binary pass/fail measure because it produces the largest standard planning sample.
- Sampling design: Simple random, stratified, clustered, and certainty selections do not carry the same assumptions or efficiency.
For a large population and a simple random sample, a conservative planning calculation for estimating a binary error rate at roughly 95% confidence and ±5 percentage-point precision is about 385 records. Tighten the precision target to ±3 percentage points and the starting point rises to roughly 1,068 records.
Those figures are planning benchmarks, not universal rules. They assume a well-defined population, random selection, and independent observations. Repeated records from the same customer, account, source file, or processing batch can make a nominal sample look more informative than it is.
“No errors found” has a narrower meaning than it seems
A threshold decision needs its own calculation. Audit guidance offers a useful illustration: for a population above 5,000 items, a random sample of 45 items with zero deviations can support a narrowly defined conclusion about a 5% tolerable deviation rate at 90% confidence, under the guidance’s stated assumptions.
That does not mean 45 records is a default business-data sample. It does show why the design matters. The claim is bounded: a specified test, tolerance, confidence level, sample method, and observed result. It is not proof that the dataset contains no errors.
When samples are small or observed errors are rare, avoid casual, symmetric “plus or minus” intervals. Exact binomial methods or another calculation suited to the design can provide a more reliable statement of uncertainty.
Selection matters as much as size
A convenience sample can be valuable for a quick diagnostic. Reviewing the first 50 rows, the newest records, or items a manager suspects are problematic may uncover important defects.
It cannot honestly support the same population-level statistical claim as a probability sample. To generalize from sample to population, every eligible record needs a known chance of selection.
Where risk differs across meaningful groups, stratified random sampling is often more useful than one undifferentiated draw. A file may combine legacy migration records, web-form submissions, and manually maintained enterprise accounts. Sample randomly within each group, then report results by group and calculate any overall result appropriately.
If high-risk groups are deliberately oversampled to find problems, say so. An overall error-rate estimate may require weighting, or a separately designed population sample.
Population size still matters for smaller datasets. Once a population is large relative to the sample, adding rows has little effect on the needed count. But when the sample is a meaningful share of the population—often more than about 10%—finite-population effects can materially change the calculation.
Make the decision explainable later
Before selecting records, preserve a short sampling plan. Record the population snapshot date, row definition, exclusion rules, pass/fail criteria, decision threshold or precision target, confidence target, expected error assumption, selection method, strata, planned and achieved counts, and how exceptions were resolved.
Keep the results by stratum as well as in total. Note limitations, including missing source records, reviewer disagreement, clustered data, or changes made after the plan began.
A sample becomes defensible when another reasonable person can see what population it represented, why it was that size, how records were selected, what was counted as an error, and how much uncertainty remains.
Morrow Creek Data Services handles paid research, cleanup, verification, and structured delivery projects.
Start a data project