GTMHelperFree Check

AQL Calculator and Sampling Table

Last reviewed November 2026

Short answer

Enter your lot size, inspection level, and AQL. The calculator gives the code letter, how many units to pull, and the most defects you can find and still accept the lot. For a lot of 1,000 at general level II, pull 80 units. At AQL 2.5, accept with 5 or fewer defects and reject with 6 or more.

AQL calculator

Single sampling, normal inspection. Results update as you type.

Units built and shipped together as one lot. Whole number, 2 or more.

A lot of 1,000 at general level II is code letter J, with a sample of 80 units.

  • CriticalAc 0 · Re 1

    Zero accepted. One critical defect in any unit rejects the lot. Test critical features on every unit where you can, instead of relying on the sample.

  • Major, AQL 2.5n 80 · Ac 5 · Re 6

    Accept the lot with 5 or fewer major defects in 80 units. Reject with 6 or more.

  • Minor, AQL 4.0n 80 · Ac 7 · Re 8

    Accept the lot with 7 or fewer minor defects in 80 units. Reject with 8 or more.

Agree whether you count defective units or individual defects. A unit with three scuffs is one defective unit but three defects.

How to use it

The example uses Northline, a fictional hardware startup. It ships its NL-100 fold-flat aluminum laptop stand in lots of 1,000 units.

  1. Enter the lot size. A lot is the units built and shipped together, ideally from one set of material lots. Northline enters 1,000.
  2. Keep general level II unless your agreement says otherwise. Northline keeps level II.
  3. Pick an AQL for major defects and another for minor defects. A lower number is stricter. Northline uses 2.5 for majors and 4.0 for minors.
  4. Read the result. A lot of 1,000 at level II is code letter J, so the inspector pulls 80 units at random from across all cartons.

For majors at AQL 2.5, Northline accepts the lot with 5 or fewer major defects in the 80 units and rejects it with 6 or more. For minors at AQL 4.0, it accepts with 7 or fewer and rejects with 8 or more. A hinge torque outside 1.2 to 1.6 N·m counts as a major. A scuff on an inside face counts as a minor. A stand that tips over or a hinge that breaks is critical, and one critical defect rejects the lot.

Rainwell, a fictional skincare serum brand, fills a lot of 6,300 units. At level II that is code letter L and a sample of 200. A pump that gives a short or uneven dose is a major, and Rainwell sets pump dose at AQL 1.0. It accepts with 5 or fewer failures and rejects at 6. A pump that does not dispense at all makes the product unusable, so Rainwell treats it as critical, and one in the sample rejects the lot. Batch tests such as pH, viscosity and micro go on the certificate of analysis. They are not part of the AQL sample.

Table I: sample size code letters

Find the row for your lot size, then read the code letter under your inspection level.

Sample size code letters by lot size and general inspection level
Lot sizeLevel ILevel IILevel III
2 to 8AAB
9 to 15ABC
16 to 25BCD
26 to 50CDE
51 to 90CEF
91 to 150DFG
151 to 280EGH
281 to 500FHJ
501 to 1,200GJK
1,201 to 3,200HKL
3,201 to 10,000JLM
10,001 to 35,000KMN
35,001 to 150,000LNP
150,001 to 500,000MPQ
500,001 and upNQR

Table II-A: single sampling plans, normal inspection

Find the row for your code letter. Move across to your AQL column. Each cell shows the acceptance number, then the rejection number (Ac/Re).

Accept and reject numbers by code letter and AQL, normal inspection
CodeSample sizeAQL 0.065AQL 0.10AQL 0.15AQL 0.25AQL 0.40AQL 0.65AQL 1.0AQL 1.5AQL 2.5AQL 4.0AQL 6.5
A20/1, arrow down, use the plan with n 2000/1, arrow down, use the plan with n 1250/1, arrow down, use the plan with n 800/1, arrow down, use the plan with n 500/1, arrow down, use the plan with n 320/1, arrow down, use the plan with n 200/1, arrow down, use the plan with n 130/1, arrow down, use the plan with n 80/1, arrow down, use the plan with n 50/1, arrow down, use the plan with n 30/1
B30/1, arrow down, use the plan with n 2000/1, arrow down, use the plan with n 1250/1, arrow down, use the plan with n 800/1, arrow down, use the plan with n 500/1, arrow down, use the plan with n 320/1, arrow down, use the plan with n 200/1, arrow down, use the plan with n 130/1, arrow down, use the plan with n 80/1, arrow down, use the plan with n 50/10/1, arrow up, use the plan with n 2
C50/1, arrow down, use the plan with n 2000/1, arrow down, use the plan with n 1250/1, arrow down, use the plan with n 800/1, arrow down, use the plan with n 500/1, arrow down, use the plan with n 320/1, arrow down, use the plan with n 200/1, arrow down, use the plan with n 130/1, arrow down, use the plan with n 80/10/1, arrow up, use the plan with n 31/2, arrow down, use the plan with n 8
D80/1, arrow down, use the plan with n 2000/1, arrow down, use the plan with n 1250/1, arrow down, use the plan with n 800/1, arrow down, use the plan with n 500/1, arrow down, use the plan with n 320/1, arrow down, use the plan with n 200/1, arrow down, use the plan with n 130/10/1, arrow up, use the plan with n 51/2, arrow down, use the plan with n 131/2
E130/1, arrow down, use the plan with n 2000/1, arrow down, use the plan with n 1250/1, arrow down, use the plan with n 800/1, arrow down, use the plan with n 500/1, arrow down, use the plan with n 320/1, arrow down, use the plan with n 200/10/1, arrow up, use the plan with n 81/2, arrow down, use the plan with n 201/22/3
F200/1, arrow down, use the plan with n 2000/1, arrow down, use the plan with n 1250/1, arrow down, use the plan with n 800/1, arrow down, use the plan with n 500/1, arrow down, use the plan with n 320/10/1, arrow up, use the plan with n 131/2, arrow down, use the plan with n 321/22/33/4
G320/1, arrow down, use the plan with n 2000/1, arrow down, use the plan with n 1250/1, arrow down, use the plan with n 800/1, arrow down, use the plan with n 500/10/1, arrow up, use the plan with n 201/2, arrow down, use the plan with n 501/22/33/45/6
H500/1, arrow down, use the plan with n 2000/1, arrow down, use the plan with n 1250/1, arrow down, use the plan with n 800/10/1, arrow up, use the plan with n 321/2, arrow down, use the plan with n 801/22/33/45/67/8
J800/1, arrow down, use the plan with n 2000/1, arrow down, use the plan with n 1250/10/1, arrow up, use the plan with n 501/2, arrow down, use the plan with n 1251/22/33/45/67/810/11
K1250/1, arrow down, use the plan with n 2000/10/1, arrow up, use the plan with n 801/2, arrow down, use the plan with n 2001/22/33/45/67/810/1114/15
L2000/10/1, arrow up, use the plan with n 1251/2, arrow down, use the plan with n 3151/22/33/45/67/810/1114/1521/22
M3150/1, arrow up, use the plan with n 2001/2, arrow down, use the plan with n 5001/22/33/45/67/810/1114/1521/2221/22, arrow up, use the plan with n 200
N5001/2, arrow down, use the plan with n 8001/22/33/45/67/810/1114/1521/2221/22, arrow up, use the plan with n 31521/22, arrow up, use the plan with n 200
P8001/22/33/45/67/810/1114/1521/2221/22, arrow up, use the plan with n 50021/22, arrow up, use the plan with n 31521/22, arrow up, use the plan with n 200
Q1,2502/33/45/67/810/1114/1521/2221/22, arrow up, use the plan with n 80021/22, arrow up, use the plan with n 50021/22, arrow up, use the plan with n 31521/22, arrow up, use the plan with n 200
R2,0003/45/67/810/1114/1521/2221/22, arrow up, use the plan with n 125021/22, arrow up, use the plan with n 80021/22, arrow up, use the plan with n 50021/22, arrow up, use the plan with n 31521/22, arrow up, use the plan with n 200

How to read the tables

Take Northline again. A lot of 1,000 falls in the 501 to 1,200 row of Table I. Under level II, that row says J. In Table II-A, row J has a sample size of 80. Under AQL 2.5 the cell reads 5/6. Accept with 5 or fewer defects. Reject with 6 or more.

The printed standard has arrows in some cells. An arrow means there is no plan for that letter at that AQL, so you use the first plan in the direction of the arrow, with that plan's sample size. The table above has already followed each arrow. Cells marked ↓ or ↑ show the plan the arrow leads to and its sample size. For example, J at AQL 0.40 points down to the K plan, so you inspect 125 units and accept with 1 or fewer.

If the sample size is as big as the lot or bigger, inspect every unit. This happens with small lots and strict AQLs.

What AQL 2.5 does and does not mean

AQL 2.5 does not mean an accepted lot has 2.5 percent or fewer defects. It means a process running at about 2.5 percent defective will pass most of the time. Some worse lots will pass too.

A sample of 80 will rarely catch a defect that happens once in a thousand units. That is why critical features should not depend on AQL. Test them on every unit, or prove the process is capable and keep it under control. AQL tells you whether to accept a lot. It does not prove the process is capable. For switching rules, defect classes and a full worked example, read AQL sampling explained.

What to agree with your manufacturer

Write the plan down before the first lot ships, so nobody argues about it on shipping day.

  • A defect list for each class, with photos or limit samples for cosmetic defects.
  • What counts as one lot, for example one production run from one set of material lots.
  • The inspection level and the AQL for majors and minors, and zero accepted for criticals.
  • Whether you count defective units or individual defects. A unit with three scuffs is one defective unit but three defects.
  • The standard and edition you are using, and that inspection starts at normal.
  • Who inspects, where, and how the sample is pulled. Random across all cartons is common.
  • How the inspector handles two classes that need different sample sizes.
  • What happens after a rejected lot, including who pays for sorting and re-inspection.

These points usually live in a quality agreement that sits beside your supply or manufacturing agreement. It is a contract document, so have a lawyer review it with the rest of your agreement. The Complete Kit has fuller templates, each blank and filled in for the fictional Northline.

About these values

The tables follow MIL-STD-105E single sampling for normal inspection. MIL-STD-105E is a US military standard canceled in 1995 that is still freely available. ANSI/ASQ Z1.4 and ISO 2859-1 use the same values for these tables, and most contracts name one of those. This page covers normal inspection only. Tightened and reduced inspection use other tables. If your contract names a standard or edition, check the plan against that document before you rely on it. This page is educational information, not legal, regulatory or engineering advice.

Frequently asked questions

What does an AQL calculator do?

It looks up a sampling plan in the standard tables for you. You give it the lot size, the inspection level, and the AQL for each defect class. It returns the code letter, the number of units to inspect, and the accept and reject numbers. It saves reading two tables by hand and following the arrows in the second one.

What does AQL 2.5 mean?

AQL 2.5 picks a plan that will usually accept lots from a process averaging about 2.5 percent defective. It does not promise that an accepted lot has 2.5 percent or fewer defects. Some worse lots will pass and some better lots will fail, because the decision rests on a sample.

What is the AQL table for level II?

At general inspection level II, a lot of 1,000 is code letter J with a sample of 80 units. A lot of 6,300 is code L with 200 units. A lot of 20,000 is code M with 315 units. At AQL 2.5, code J accepts with 5 or fewer defects, code L with 10 or fewer, and code M with 14 or fewer.

What are AQL inspection levels?

The general levels I, II and III set how big the sample is for a given lot size. Level II is the usual default. Level I samples fewer units and level III samples more. The standard also has special levels S-1 to S-4 for very small samples, such as destructive tests. This calculator covers the three general levels only.

Next steps

  1. See what yield loss and rework do to your unit cost in the product cost calculator.
  2. Check whether your defect classes and critical features are defined with the free manufacturer readiness check.
  3. The Contract Manufacturing Playbook covers first-lot control and validation in full, with worked numbers for Northline and Rainwell.