CalcWorldHub
Quality control · CalcWorldHub

Average Total Inspection: Estimate Inspection Work After Rejection

An acceptance sample may inspect only a fraction of each incoming lot, but a rejected lot can trigger a much larger screening effort. Average Total Inspection (ATI) combines those two paths: inspect the initial sample every time, and inspect the remainder only when the lot is rejected. The average total inspection calculator estimates the long-run average workload for the plan and incoming defect fraction you enter.

Open calculator
Flow diagram showing the initial sample branching to acceptance or screening of the remaining lot.

Share this article

Flow diagram showing Initial sample moving through the calculation to its result.
How the entered values lead to the Average Total Inspection result.

Separate the decision from the workload

The plan has a lot size N, initial sample size n, and acceptance number c. The incoming defect rate p is an assumed fraction for the scenario. A sample with no more than c defectives is accepted; a sample above c is rejected. The calculator uses a binomial probability of acceptance, so the assumption is that each sampled item behaves like an independent draw with the stated defect chance.

ATI is a workload measure, not an outgoing-quality estimate. It asks how many items are inspected per lot on average when every rejected lot is screened completely. It does not say how many defects remain after correction, how long an inspection takes, or what the labor cost will be.

Follow the two inspection paths

Let Pₐ be the probability that a lot is accepted from the initial sample. The expected inspection count is ATI = n + (1 − Pₐ)(N − n). The first term is always inspected. The second is the remainder of the lot multiplied by the probability of rejection. When every lot is accepted, ATI is n; when every lot is rejected, ATI is N.

Pₐ is calculated as the sum of binomial probabilities for zero through c defectives: Σᵈ₌₀ᶜ choose(n,d)pᵈ(1−p)ⁿ⁻ᵈ. Changing p, n, or c changes the chance of rejection and therefore the expected screening volume. A tighter acceptance number may increase rejection frequency even when the inspection sample stays the same.

Set feasible lot and sample values

Enter whole items for incoming lot size, initial sample size, and acceptance number; use a percentage from 0 to 100 for incoming fraction defective. The lot must have at least two items, the sample is a positive count, and the acceptance number cannot meaningfully exceed the sample. Make sure the sampling plan you enter is actually used for those lots.

The calculation uses a binomial model and does not apply a finite-lot correction, even though sampling without replacement from a small lot can change the exact acceptance probability. The stated model is most defensible when the lot is large relative to the sample or when a binomial approximation is intentionally being used.

Translate the result to operations

If ATI is 123 items per lot, that is an expected count across repeated lots under the stated assumptions; an individual lot is not inspected in a fractional amount. It is not a guaranteed average over a short run, because random sample outcomes can make actual workload vary. Multiply by expected lots only as a planning estimate and retain the per-lot assumption.

Inspection effort also depends on how screening is performed. Rework, replacement, destructive testing, test duration, and the cost of sorting are outside this calculation. A plan with a lower ATI is not automatically better if it accepts poor lots too often or creates unacceptable customer risk.

Use ATI alongside quality risk

ATI is one consequence of rectifying inspection; the operating-characteristic curve describes the chance of acceptance at different incoming quality levels. Evaluate both acceptable and poor-quality scenarios before setting c and n. A single assumed defect rate cannot represent the range of suppliers or periods that may occur.

If a rejected lot is not fully screened, or if inspected defects are not removed or corrected, this ATI equation does not describe the process. Document the sampling rule, reject disposition, inspection coverage, and defect definition. Revisit the model when lot size or inspection policy changes.

Worked examples

The binomial acceptance probability is computed first, then substituted into ATI = n + (1 − Pₐ)(N − n).

Mostly accepted lots

Inputs: N = 1,000 items; n = 80; c = 2; incoming defect rate = 1%.

Calculation: Pₐ = P(D ≤ 2), D ~ Binomial(80, 0.01) = 0.9534468; ATI = 80 + (1 − 0.9534468)(1,000 − 80) = 122.83 items per lot.

The estimate is close to the 80-item initial sample because this scenario rejects relatively few lots. Actual inspection counts remain whole-lot outcomes, not 122.83 items on one lot.

More frequent full screens

Inputs: N = 500 items; n = 50; c = 1; incoming defect rate = 4%.

Calculation: Pₐ = P(D ≤ 1), D ~ Binomial(50, 0.04) = 0.4004812; ATI = 50 + (1 − 0.4004812)(500 − 50) = 319.78 items per lot.

The higher assumed defect rate and tighter acceptance number lead to many more rejected lots and therefore more screening. This is expected workload, not the number of defects found.

Illustration of the assumptions and interpretation boundary for Average Total Inspection.
Separate the numerical output from the decision it may inform.

Sources and further reading

Share this article

Browse all articles · Calculator: Average Total Inspection Calculator