Notes

Acceptance sampling explained: examples, AQL and the OC curve

One nonconforming item in a sample of fifty can still lead to lot acceptance. See what that decision means, and how sample size changes the risks on both sides.

Acceptance sampling uses a sample from a lot to make an accept-or-reject decision under a stated plan. Acceptance under that plan does not mean every uninspected unit is good.

Receiving checks fifty items from a delivery of a thousand. One fails the agreed requirement. The sampling rule allows at most one, so the lot passes.

That result can sound contradictory. A nonconforming item was found, yet the lot was accepted. The distinction is between a rule for deciding what to do with the lot and evidence about every item inside it.

NIST's introduction defines the purpose as deciding whether to accept a lot, rather than estimating its quality. The measurement method matters too. The Gage R&R note examines variation in numerical readings. Pass/fail classifications need their own agreement check before the counts can be trusted.

Acceptance sampling plan: sample size n and acceptance count c

Take a fictional, non-destructive inspection of 1,000 identical clips. Each clip either meets the stated dimensional requirement or does not. Count nonconforming units, not the number of faults found on each one.

Select fifty distinct clips randomly across the entire lot. The plan is written n = 50, c = 1: inspect fifty and accept the lot if the sample contains no more than one nonconforming clip.

Sample result Decision under this teaching plan What the result does not tell us
Zero nonconforming clips Accept the lot That the other 950 all conform
One nonconforming clip Accept the lot That exactly 2% of the whole lot is nonconforming
Two or more Reject the lot That every clip is unusable

The known failed clip still needs the agreed segregation and disposition. Lot acceptance does not authorise shipping a known nonconforming item. Rejection may lead to return, sorting or another approved response; it does not automatically mean scrapping every unit. The 8D report example follows a customer complaint through containment and a verified correction.

This is an invented plan for learning. It is not an ISO sampling table or a recommended release rule.

Acceptance sampling example: calculate lot acceptance

To examine the plan, imagine knowing the actual number of nonconforming clips in each 1,000-unit lot. That knowledge is available to our calculation, not to the receiving inspector.

A random sample can miss some or all of those clips. The chance of acceptance therefore changes gradually as the lot gets worse.

Actual nonconforming units in the lot Actual lot fraction Chance that n = 50, c = 1 accepts it
10 of 1,000 1% 91.47%
50 of 1,000 5% 27.17%
100 of 1,000 10% 3.08%

These are exact finite-lot probabilities for random sampling without replacement, calculated with the hypergeometric distribution. They assume the inspection classification is correct.

The 5% lot can pass even though it contains fifty nonconforming clips. Its 27.17% acceptance probability is not a 27.17% estimate that the delivery is good. It describes how often this plan would accept a lot with that known composition over repeated random selections.

OC curve: sample size and acceptance probability

An operating-characteristic curve, or OC curve, plots the chance of accepting a lot against its actual nonconforming fraction. NIST's sampling-plan guide defines it alongside the risks for the supplier and customer.

Compare samples of fifty and a hundred below. Both use the same selected acceptance count. The lot stays at 1,000 units.

Lot size 1,000 / random sample without replacement

A pass is possible at several quality levels

Choose a plan, then inspect its acceptance probability. The lot composition is known to this teaching model, not to the receiving inspector.

Acceptance at the inspected lot level27.17%n = 50, c = 1; actual lot 5.0%

Producer risk at 1% reference8.53%Chance of rejecting a lot with 10 nonconforming units

Consumer risk at 10% reference3.08%Chance of accepting a lot with 100 nonconforming units

Scroll sideways to inspect the curve. The range control and table provide the same values.

Chance of lot acceptance falls as nonconforming content risesSolid rust is sample size 50, dashed graphite is 100. Both accept at most 1 nonconforming unit. The horizontal axis is actual lot nonconforming percentage from zero to fifteen; the vertical axis is acceptance probability from zero to one hundred percent. Exact tabulated values follow.Chance of accepting the lot, %02550751000%5%10%15%Actual nonconforming units as % of the 1,000-unit lotLot 0% nonconforming: 100.00% acceptance, n=50, c=1Lot 0.5% nonconforming: 97.78% acceptance, n=50, c=1Lot 1% nonconforming: 91.47% acceptance, n=50, c=1Lot 1.5% nonconforming: 82.99% acceptance, n=50, c=1Lot 2% nonconforming: 73.60% acceptance, n=50, c=1Lot 2.5% nonconforming: 64.15% acceptance, n=50, c=1Lot 3% nonconforming: 55.12% acceptance, n=50, c=1Lot 3.5% nonconforming: 46.81% acceptance, n=50, c=1Lot 4% nonconforming: 39.37% acceptance, n=50, c=1Lot 4.5% nonconforming: 32.83% acceptance, n=50, c=1Lot 5% nonconforming: 27.17% acceptance, n=50, c=1Lot 5.5% nonconforming: 22.34% acceptance, n=50, c=1Lot 6% nonconforming: 18.26% acceptance, n=50, c=1Lot 6.5% nonconforming: 14.84% acceptance, n=50, c=1Lot 7% nonconforming: 12.00% acceptance, n=50, c=1Lot 7.5% nonconforming: 9.66% acceptance, n=50, c=1Lot 8% nonconforming: 7.75% acceptance, n=50, c=1Lot 8.5% nonconforming: 6.18% acceptance, n=50, c=1Lot 9% nonconforming: 4.92% acceptance, n=50, c=1Lot 9.5% nonconforming: 3.90% acceptance, n=50, c=1Lot 10% nonconforming: 3.08% acceptance, n=50, c=1Lot 10.5% nonconforming: 2.42% acceptance, n=50, c=1Lot 11% nonconforming: 1.90% acceptance, n=50, c=1Lot 11.5% nonconforming: 1.49% acceptance, n=50, c=1Lot 12% nonconforming: 1.16% acceptance, n=50, c=1Lot 12.5% nonconforming: 0.90% acceptance, n=50, c=1Lot 13% nonconforming: 0.70% acceptance, n=50, c=1Lot 13.5% nonconforming: 0.54% acceptance, n=50, c=1Lot 14% nonconforming: 0.42% acceptance, n=50, c=1Lot 14.5% nonconforming: 0.32% acceptance, n=50, c=1Lot 15% nonconforming: 0.24% acceptance, n=50, c=1

Solid rust: n = 50. Dashed graphite: n = 100. Both use c = 1. The cursor marks the inspected lot level. The 1% and 10% risk references stay fixed when the cursor moves.

All curve values and calculation
Both plans inspect the same sized lot; they use different random sample sizes. Percentages rounded to two decimals.
Nonconforming units / lot %n = 50, c = 1n = 100, c = 1
0 / 0%100.00%100.00%
5 / 0.5%97.78%91.90%
10 / 1%91.47%73.63%
15 / 1.5%82.99%54.80%
20 / 2%73.60%38.92%
25 / 2.5%64.15%26.74%
30 / 3%55.12%17.93%
35 / 3.5%46.81%11.79%
40 / 4%39.37%7.63%
45 / 4.5%32.83%4.87%
50 / 5%27.17%3.08%
55 / 5.5%22.34%1.92%
60 / 6%18.26%1.19%
65 / 6.5%14.84%0.73%
70 / 7%12.00%0.45%
75 / 7.5%9.66%0.27%
80 / 8%7.75%0.16%
85 / 8.5%6.18%0.10%
90 / 9%4.92%0.06%
95 / 9.5%3.90%0.03%
100 / 10%3.08%0.02%
105 / 10.5%2.42%0.01%
110 / 11%1.90%0.01%
115 / 11.5%1.49%0.00%
120 / 12%1.16%0.00%
125 / 12.5%0.90%0.00%
130 / 13%0.70%0.00%
135 / 13.5%0.54%0.00%
140 / 14%0.42%0.00%
145 / 14.5%0.32%0.00%
150 / 15%0.24%0.00%

For N=1,000 units with D nonconforming, sample n distinct units uniformly without replacement. P(accept)=sum, for k from zero to c, of C(D,k)×C(N−D,n−k)/C(N,n). Impossible combinations count as zero. C(a,b) counts ways to choose b items from a. Values are evaluated with logarithms to avoid large intermediate numbers; displayed curves join exact points at half-percentage increments.

The table includes every plotted half-percentage point. Producer risk is 1−P(accept) at D=10; consumer risk is P(accept) at D=100. These are chosen teaching references, not universal quality levels. All classifications are assumed correct. No switching rules, repeated-sample scheme, rectification or outgoing quality calculation is included.

Fictional 1,000-unit lots and example plans. Probabilities use exact random sampling without replacement and correct unit classification. The 1% and 10% lot levels are chosen teaching references. Use the applicable approved plan for an actual release decision.

With c = 1, increasing n from fifty to a hundred lowers the chance of accepting a 10% nonconforming lot from 3.08% to about 0.02%. It also lowers acceptance of the 1% lot from 91.47% to 73.63%.

That second change is important to the supplier. More inspection with the same acceptance count makes the rule stricter at both quality levels.

AQL, LTPD, producer's risk and consumer's risk

AQL, or acceptable quality level, is a reference quality level used when designing or selecting a sampling scheme. It is not permission to put that percentage of known faulty units into each shipment.

For the teaching comparison, use 1% as the AQL reference and 10% as the lot tolerance percent defective, or LTPD: a poor-quality reference the customer wants a low chance of accepting.

Risk Question at the chosen reference n = 50, c = 1
Producer's risk, alpha How often does the plan reject a lot at the 1% AQL reference? 8.53%
Consumer's risk, beta How often does the plan accept a lot at the 10% LTPD reference? 3.08%

Those risks apply at their stated quality levels. They do not tell the inspector the chance that this particular accepted delivery contains a faulty clip.

Set acceptable risks and follow the applicable customer agreement, specification and approved inspection scheme when choosing a real plan. Changing n while leaving c untouched is a different plan, not a harmless way to “check a few more”.

Use the inspection result for its intended decision

Random selection matters. Taking the top fifty clips from one carton does not give the same coverage as a random sample across a mixed delivery. Preserve lot identity and the sampling method in the inspection record.

Keep the unit requirement, n, c, observed count and lot disposition together. If the result is uncomfortable, follow the agreed escalation procedure. Repeating samples until one passes changes the decision rule and its risks.

Sampling answers a question about this lot. The control-chart note examines behaviour over time. Vrolen's manufacturing control-chart guide uses a separate reject-count example to show how to investigate a process signal.

Record “accepted under n = 50, c = 1; one nonconforming unit found”, so the next person can understand how the lot decision was made.

Sources and example notes

All lots, plans and quality levels are fictional. The calculation concerns incoming lot composition; it does not model sorting, replacements, outgoing quality or inspection errors.

NextAgile vs waterfall vs hybrid: differences and a project example

Working on something like this?

I work with operations and transformation teams on operational excellence, digital transformation programs, supply chains and industrial AI. If this sounds like your line, your program or your problem, I’d be glad to compare notes.

Abolfazl ShirkavandImage preview unavailable