Skip to main content

Home  /  Tools  /  AQL calculator

Free tool · Quality inspection

AQL calculator and chart: how many units to inspect, and when to reject the lot

Sample size and accept/reject numbers for critical, major and minor defects from the standard AQL tables — plus a pass or fail verdict on an inspection you already ran.

ISO 2859-1 / ANSI Z1.4 tablesGeneral and special levelsPass / fail checkFull AQL chart

Most common setting

125

units sampled from a 3,000-unit lot at level II · reject at 8 major defects (AQL 2.5)

Your inputs

units

Several colours or SKUs in one order are one lot: the inspector spreads the sample across them in proportion.

Level II is the default for consumer goods; III for a new supplier or a problem product. Special levels are for checks that are slow, costly or destructive — function, drop or fitting tests — usually S-2 to S-4.

Critical defects
Judge an inspection you already ran

Enter the defects the inspector found to get a pass or fail on each class.

Result

Calculator by GetChinaSourcing

Book an inspectionFree · no sign-up · results stay in your browser
Copy this link — it reopens the tool with your inputs.

Reference

AQL chart: sample size and accept/reject numbers

The standard tables the calculator above uses — ISO 2859-1 (the same tables as ANSI/ASQ Z1.4), single sampling, normal inspection. Find your lot size, read across to your AQL.

34 accept with 3 or fewer defects in the sample, reject with 4 or more n = 80 the standard moves this AQL to a different sample size — inspect that many units for this class

Quick chart — general level II

Swipe the table sideways for more AQL levels.

Lot sizeCodeSampleAQL 1.0AQL 1.5AQL 2.5AQL 4.0AQL 6.5
2–8A201n = 1301n = 801n = 501n = 301
9–15B301n = 1301n = 801n = 50101n = 2
16–25C501n = 1301n = 80101n = 312n = 8
26–50D801n = 130101n = 512n = 1312
51–90E130101n = 812n = 201223
91–150F2001n = 1312n = 32122334
151–280G3212n = 5012233456
281–500H501223345678
501–1,200J80233456781011
1,201–3,200K12534567810111415
3,201–10,000L2005678101114152122
10,001–35,000M315781011141521222122n = 200
35,001–150,000N5001011141521222122n = 3152122n = 200
150,001–500,000P800141521222122n = 5002122n = 3152122n = 200
500,001+Q1,25021222122n = 8002122n = 5002122n = 3152122n = 200

The row for the lot size in the calculator is highlighted. If the sample size is larger than the lot, inspect every unit. Critical defects: usually zero accepted, judged on the largest sample.

Table 1 — code letters for every inspection level
Lot sizeSpecial levelsGeneral levels
S-1S-2S-3S-4IIIIII
2–8AAAAAAB
9–15AAAAABC
16–25AABBBCD
26–50ABBCCDE
51–90BBCCCEF
91–150BBCDDFG
151–280BCDEEGH
281–500BCDEFHJ
501–1,200CCEFGJK
1,201–3,200CDEGHKL
3,201–10,000CDFGJLM
10,001–35,000CDFHKMN
35,001–150,000DEGJLNP
150,001–500,000DEGJMPQ
500,001+DEHKNQR
Table 2-A — master table, every code letter (AQL 0.065 to 6.5)
CodeSample0.0650.100.150.250.400.651.01.52.54.06.5
A2↓↓↓↓↓↓↓↓↓↓01
B3↓↓↓↓↓↓↓↓↓01↑
C5↓↓↓↓↓↓↓↓01↑↓
D8↓↓↓↓↓↓↓01↑↓12
E13↓↓↓↓↓↓01↑↓1223
F20↓↓↓↓↓01↑↓122334
G32↓↓↓↓01↑↓12233456
H50↓↓↓01↑↓1223345678
J80↓↓01↑↓12233456781011
K125↓01↑↓122334567810111415
L20001↑↓1223345678101114152122
M315↑↓1223345678101114152122↑
N500↓1223345678101114152122↑↑
P8001223345678101114152122↑↑↑
Q1,25023345678101114152122↑↑↑↑
R2,000345678101114152122↑↑↑↑↑

An arrow means there is no plan in that cell: follow it to the first plan above or below and use that plan's sample size. The quick chart and the calculator already do this for you.

What the numbers mean

AQL — acceptance quality limit — is the worst average defect rate you are prepared to accept as a process average. It is not the defect rate of your shipment, and it is not a promise that only 2.5% of units are faulty. It sets two things: how many units the inspector pulls at random, and how many defects in that sample are allowed before the whole lot is rejected.

The calculator follows the standard tables (ISO 2859-1, which matches ANSI/ASQ Z1.4) — reproduced in the AQL chart above. Lot size and inspection level give a code letter; the code letter and your AQL give the sample size and the accept/reject numbers.

Picking the levels

Defect classTypical AQLExample
Critical0 — any one fails the lotSharp edge on a toy, exposed live wire, food-contact surface contamination
Major2.5 (1.0–1.5 for higher-value or regulated goods)Product does not work, wrong size, will generate a return
Minor4.0Small cosmetic mark, slightly uneven stitching, nothing a customer returns over

The levels only work if the defect list is agreed before the inspection. “Scratch on the visible face longer than 10 mm is major” gives an inspector something to judge; “good quality” does not.

Three things the table will not tell you

  • A pass is not zero defects. At AQL 2.5 on 3,000 units, seven major defects in the sample still passes. Defective units found during inspection should be removed or replaced regardless of the verdict.
  • The sample must be random. If the factory hands the inspector one pre-picked carton, the table is meaningless. Cartons should be drawn from across the lot, including the bottom of the stack.
  • Levels are not severities. General levels I, II and III change how large the sample is relative to the lot. “Normal”, “tightened” and “reduced” are something else: switching rules for a supplier with a run of results. Third-party inspections almost always use normal inspection at level II.
  • Arrows matter. At small sample sizes some AQLs have no plan and the standard points you to the next code letter up or down. That is why major and minor can end up with different sample sizes — the calculator applies this automatically and tells you when it has.

When the lot fails

Do not release the balance payment. The usual sequence is: the factory reworks or sorts the full lot, then a re-inspection is carried out on the reworked goods at the same AQL. Agree in the purchase order who pays for a re-inspection; the common arrangement is that the supplier does when the first one fails.

An inspection report you can act on lists every defect found with photographs, by class, against your defect list. A one-line “passed” email is not a report.

Sources and references

  • ISO 2859-1:1999 — Sampling procedures for inspection by attributes, Part 1: sampling schemes indexed by acceptance quality limit (AQL). The tables here follow this edition; a third edition, ISO 2859-1:2026, was published in January 2026 — check which edition your contract names
  • ANSI/ASQ Z1.4 — Sampling procedures and tables for inspection by attributes

Pre-shipment inspection

Want someone on the factory floor running this?

An inspector pulls the sample, checks it against your defect list and sends a photo report before you release the balance.

Book an inspection — $320