Money and Finance

AQL Sampling Plan Calculator: Sample Size and Ac/Re

Find the AQL sample size and accept and reject numbers by lot size, inspection level and AQL, with a pass or fail sheet for major and minor defects.

Saizul Amin
Saizul Amin6 Nov 2026 · 4 min read
AQL Sampling Plan Calculator: Sample Size and Ac/Re

A final inspection decides whether weeks of production ship or go back for rework, and it rests on reading the AQL tables correctly. The free AQL Inspection Sampling Plan Calculator finds the code letter, sample size and accept and reject numbers for your lot, then turns the defects you count into a clear pass or fail result.

It runs in your browser.

What AQL inspection is

Before a garments shipment leaves a factory in Bangladesh, the buyer's quality team or a third-party inspector checks a random sample of the packed goods and accepts or rejects the shipment by the defects found. The method is acceptance sampling by attributes under ISO 2859-1, which uses the same tables as ANSI/ASQ Z1.4.

It works in two steps:

  • lot size and inspection level give a code letter. The lot size is the number of pieces in the shipment. General inspection level II is the usual choice; level I samples fewer pieces and level III samples more.
  • the code letter gives the sample size, from two pieces for a tiny lot to 1,250 or more for a very large one. Then, for each AQL (acceptable quality limit), the table gives an accept number, the largest number of defects that still passes, and a reject number.

Why it matters

Garment buyers usually set:

Defect classAQLMeaning
Critical0None allowed, such as a broken needle
Major2.5A fault that would make a customer return the garment
Minor4.0A smaller fault

The hard part is the arrows. In some cells the table shows an arrow instead of numbers, and the inspector must use the plan above or below, with that plan's own sample size. Under time pressure, inspectors and QA teams often get this wrong, and a mistake can pass a bad lot or fail a good one.

The calculator is built for factory QA managers and final inspectors, buying house quality controllers, third-party inspectors and merchandisers.

How to use the calculator

  1. Enter the lot size, the number of pieces offered for inspection.
  2. Choose the inspection level: I, II or III. Level II is usual.
  3. Choose the AQLs for major and minor defects, for example 2.5 and 4.0.
  4. Inspect the sample and count the defects by class.
  5. Enter the defects found and read the pass or fail result sheet.

The tool follows the arrows automatically, so the plan you see is already the correct one, and it lists the plans for all AQLs for your lot. Pick a case from the Example dropdown and press Load example to see a filled-in inspection, and save buyers or lot sizes as Compare presets to view them side by side in the KPI cards and result tables.

A worked example

A lot of 5,000 pieces is inspected at level II, with AQL 2.5 for major and 4.0 for minor defects.

StepResult
Code letterL
Sample size200 pieces
Major, AQL 2.5Accept 10, reject 11
Minor, AQL 4.0Accept 14, reject 15

The inspector finds 6 major and 11 minor defects. Six is at or below the accept number of 10, and 11 is at or below 14, so both classes pass. With no critical defects, the lot is accepted. Eleven major defects would have failed the lot on majors alone.

The tables explained

StepWhat happens
Lot size + levelCode letter
Code letterSample size
AQLAccept and reject numbers
Defects foundPass if at or below the accept number

Example plans at level II

Lot sizeCodeSampleAQL 2.5 Ac/ReAQL 4.0 Ac/Re
501-1,200J805/67/8
3,201-10,000L20010/1114/15
10,001-35,000M31514/1521/22

The sample grows much more slowly than the lot: any lot from 3,201 to 10,000 pieces needs the same 200.

Arrows

When a cell points up or down, the plan of the row it points to is used, with that row's sample size.

Tips

  • Draw the sample at random from different cartons.
  • Classify each defect against the buyer's defect list before counting.
  • Run your own pre-final inspection with the same plan before the buyer's inspection.

Limits

The tables follow the structure of ISO 2859-1 for single sampling under normal inspection. Buyers may use their own variations, so check the plans against your buyer's quality manual before relying on them. This is an inspection aid, not a third-party certificate.

Frequently asked questions

What is AQL?

Acceptable quality limit: the defect level used to set the accept and reject numbers for a sample.

Which inspection level is usual?

General inspection level II.

What AQL do garment buyers use?

Often 2.5 for major and 4.0 for minor defects, with no critical defects allowed.

What do the arrows mean?

Use the plan above or below, with its own sample size. The tool follows them automatically.

How big is the sample for 5,000 pieces?

200 pieces at level II. Your data stays only in your browser.

Final thoughts

The AQL Inspection Sampling Plan Calculator takes the guesswork out of code letters, arrows and accept numbers, so inspectors can spend their time on the garments. Check the plans against your buyer's manual and run your own pre-final inspection before the buyer arrives.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages