CalcWorldHub
Quality control · CalcWorldHub

Average Outgoing Quality: What a Rectified Sampling Plan Delivers

A sampling plan does not inspect every item in every accepted lot, so some incoming defects can pass. Average outgoing quality (AOQ) estimates the long-run outgoing fraction when rejected lots are fully screened and defective items are corrected or replaced. Enter the incoming defect fraction, sample size, acceptance number, and lot size in the average outgoing quality calculator.

Open calculator
A lot of boxed components with a small sample tray, an accept-or-screen decision, and an outgoing quality gauge labeled AOQ.

Share this article

Flow diagram showing Incoming p moving through the calculation to its result.
How the entered values lead to the Average Outgoing Quality result.

What AOQ measures

AOQ is an average across repeated lots at one assumed incoming quality level. It combines two events: a lot is accepted after its sample, and the unsampled portion of an accepted lot may contain defects. Rejected lots are assumed to be screened completely, leaving no outgoing defectives from that path in the simplified model.

This is why AOQ differs from the incoming defect fraction. If the plan rejects more lots, full screening reduces the share of unscreened product but increases inspection work. The answer describes quality after rectification under the model; it is not the probability that a particular delivered lot contains a defect.

Calculate acceptance probability first

For a large lot with independent items and a common defect probability p, the sample defect count follows a binomial model. The acceptance probability is Pₐ = Σ from d = 0 to c of C(n,d) pᵈ (1−p)ⁿ⁻ᵈ. Here n is the sample size and c is the maximum number of defective items allowed for acceptance.

The calculator then uses AOQ = p × Pₐ × (N−n)/N and displays the result as a percentage. The finite-lot factor removes the portion already sampled from the potential outgoing defect count. The calculation assumes that every item in a rejected lot is screened and that defective units found in screening do not leave as defects.

Enter fractions, counts, and lot size correctly

The incoming defective fraction is entered from 0 to 1: 2% is 0.02, not 2. The sample size and acceptance number are whole counts, with c no greater than n. Lot size N must be larger than n because the formula describes unsampled items remaining in the lot. Use one consistent definition of a defective item across supplier records and inspection.

Do not enter defects per item where the plan counts defective items. A single item can contain multiple defects but still be one defective unit. The calculator’s binomial assumption treats each unit as an independent Bernoulli outcome; clustering, finite-lot depletion, changing defect rates, or stratified inspection can change the appropriate probability model.

Interpret the number beside the plan

A smaller AOQ means a lower modeled average fraction defective leaving the process under the stated incoming p and rectification rule. It does not say that every accepted lot meets that fraction. For a quality guarantee, use the full operating-characteristic and AOQ curves across plausible incoming quality, not a single point chosen after seeing the result.

The maximum of an AOQ curve is often called the average outgoing quality limit, or AOQL. This calculator evaluates one input point; it does not search for the maximum or select an inspection plan. If a contract specifies AQL, lot-tolerance quality, sample code, or switching rules, use that governing plan rather than substituting a point estimate.

When rectifying assumptions do not fit

Full screening can be expensive, destructive, or impossible for some products. Rework may not restore the original quality, replacement may bring new defects, and rejected lots may be returned rather than screened by the receiver. In those cases the assumed zero-defect outgoing path for rejected lots is not a faithful description of operations.

The result also omits screening accuracy, measurement error, inspection cost, and the possibility that the true defect fraction varies between lots. Use the AOQ calculation to make the assumptions visible, then compare them with the actual disposition process and the sampling standard used by the organization.

Worked examples

The first example follows the calculator’s binomial acceptance probability and finite-lot adjustment. Percent displays are rounded only after the underlying calculations.

A 2% incoming defect fraction

Inputs: p = 0.02; sample n = 50; accept at c = 1; lot size N = 1,000.

Calculation: Pₐ = P(D≤1) = 0.7357714; AOQ = 0.02 × 0.7357714 × (1,000−50)/1,000 = 0.0139797 = 1.39797%.

Across repeated lots under rectifying inspection, the model estimates about 1.398% outgoing defectives at this incoming-quality point.

A larger incoming defect fraction

Inputs: p = 0.04; sample n = 40; accept at c = 2; lot size N = 800.

Calculation: Pₐ = Σ[d=0…2] C(40,d)(0.04)ᵈ(0.96)⁴⁰⁻ᵈ = 0.7855347; AOQ = 0.04 × 0.7855347 × 760/800 = 0.0298503 = 2.98503%.

The higher incoming defect fraction produces a higher modeled outgoing fraction for this different sample rule.

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

Sources and further reading

Share this article

Browse all articles · Calculator: Acceptance sampling average outgoing quality calculator