Hubinx
Tools

AQL sampling plan calculator

Enter the lot size, inspection level and AQL. You get the code letter, how many parts to inspect and how many defectives accept or reject the lot.

Code letterJ
Sample size80
Accept up to (Ac)2
Reject at (Re)3

Inspect 80 parts. Accept the lot with up to 2 defectives; reject it at 3 or more.

Single sampling, normal inspection. Tightened and reduced inspection (with the switching rules), double and multiple sampling and AQLs above 10 are not covered here.

How to use it

  1. Pick the inspection level. Level II is the default; I gives a smaller sample and III more rigor. The special levels (S-1 to S-4) are for costly or destructive tests.
  2. Set the AQL for each characteristic class (see below).
  3. Draw the sample at random from the whole lot, without picking parts, and check each one against the drawing.
  4. Count the defectives: up to Ac the lot is accepted; from Re on, rejected.

AQL table: general level II, single sampling, normal inspection

Ac/Re by lot size and AQL. When the letter's cell is an arrow, another plan applies and the sample size changes (shown as n=).

Lot sizeCode lettern0.65%1.0%1.5%2.5%4.0%6.5%
2–8A20/1 · n=200/1 · n=130/1 · n=80/1 · n=50/1 · n=30/1
9–15B30/1 · n=200/1 · n=130/1 · n=80/1 · n=50/10/1 · n=2
16–25C50/1 · n=200/1 · n=130/1 · n=80/10/1 · n=31/2 · n=8
26–50D80/1 · n=200/1 · n=130/10/1 · n=51/2 · n=131/2
51–90E130/1 · n=200/10/1 · n=81/2 · n=201/22/3
91–150F200/10/1 · n=131/2 · n=321/22/33/4
151–280G320/1 · n=201/2 · n=501/22/33/45/6
281–500H501/2 · n=801/22/33/45/67/8
501–1,200J801/22/33/45/67/810/11
1,201–3,200K1252/33/45/67/810/1114/15
3,201–10,000L2003/45/67/810/1114/1521/22
10,001–35,000M3155/67/810/1114/1521/2221/22 · n=200
35,001–150,000N5007/810/1114/1521/2221/22 · n=31521/22 · n=200
150,001–500,000P80010/1114/1521/2221/22 · n=50021/22 · n=31521/22 · n=200
500,001+Q125014/1521/2221/22 · n=80021/22 · n=50021/22 · n=31521/22 · n=200

Source: tables I and II-A of MIL-STD-105E (public domain), which follow the same logic as ANSI/ASQ Z1.4, ISO 2859-1 and Brazil's NBR 5426 for single normal sampling. The standard named in your contract governs.

AQL by characteristic class

  • Critical: safety or legal requirement. Zero acceptance: one defective part in the sample rejects the lot.
  • Major: function and assembly. AQL 1.0 is common.
  • Minor: appearance and finish. AQL 2.5 is common.

Frequently asked questions

Are ANSI Z1.4, ISO 2859-1 and MIL-STD-105E the same thing?

They follow the same logic (code letter from lot size and level, plan from letter and AQL) and the same single sampling tables. Z1.4 is the US civilian version, ISO 2859-1 the international one and MIL-STD-105E the public-domain military original. Use the one your contract names.

What is the AQL?

Acceptable quality level: the worst average percent defective still considered satisfactory for the process. It is not a guarantee for each lot: it is the point at which the plan accepts most lots from a process at that level.

Which inspection level should I use?

General level II unless there is a reason not to. Level I reduces the sample when history is good; III increases it when risk is high. The special levels (S-1 to S-4) are for costly or destructive tests, with much smaller samples.

What if the sample is larger than the lot?

Inspect every part in the lot, with the same acceptance number. The calculator tells you when that happens.

Need an inspection plan, a measured first article and checked lots? At Hubinx that's part of every project, from drawing to lot.

Start with Discovery