Free Tool

AQL Sample Size Calculator

Enter your order quantity and quality limits to get the exact sample size and accept/reject numbers under ISO 2859-1 (ANSI/ASQ Z1.4) โ€” the sampling standard used by inspectors worldwide.

Your inspection

Uses normal inspection severity โ€” the standard for one-off inspections and new suppliers. More on severity โ†“

Criticalsafety / legal
Majorfunctional
Minorcosmetic

Dimensions, function, safety and destructive checks usually use a Special level on a smaller sub-sample.

Your sampling plan

Visual & cosmetic ยท General II
L
Sample-size code
200
Units to inspect
Defect classAQLSampleAccept ≤Reject ≥
Measurements & on-site tests ยท Special S-2
E
Sample-size code
13
Units to measure / test
CheckAQLSampleAccept ≤Reject ≥

Ac = maximum defects to still pass · Re = defects that fail the lot. Based on ISO 2859-1 / ANSI Z1.4 single-sampling plans, normal inspection. How AQL works →

Know your sample size โ€” now get it inspected.Compare free quotes from vetted providers in your factory's country.
Get Free Quotes →

How the calculation works

Two lookups turn your order quantity into an inspection plan.

1 Your lot size The total units in the production batch you're shipping โ€” e.g. 3,000. 2 Code letter Lot size × inspection level gives a letter (Aโ€“R) โ€” e.g. L. 3 Sample & Ac/Re Letter × AQL gives the sample size and the accept/reject numbers.

The AQL tables

These are the official ISO 2859-1 / ANSI Z1.4 tables. The highlighted cells update live to match the inputs in the calculator above.

Table 1 โ€” Sample-size code letters

Read across from your lot size to your inspection level โ€” the cell where they meet is your code letter.

Table 2 โ€” Single sampling plan (normal inspection)

Each cell shows Ac (accept) and Re (reject). A means step down to a larger sample; a means step up to a smaller one (the calculator resolves these for you).

How to use this calculator

Enter the total number of units in your production lot, choose an inspection level, and set an AQL (Acceptable Quality Limit) for each defect class. The calculator applies the ISO 2859-1 (ANSI/ASQ Z1.4) single-sampling tables to return three things: the sample-size code letter, the number of units the inspector should pull and check at random, and the accept/reject numbers for critical, major, and minor defects.

During the inspection, the inspector counts the defects found in the sample and sorts them by class. If the number of defects in any class reaches its reject number, the lot fails that class. If every class stays at or below its accept number, the lot passes.

What AQL means

The Acceptable Quality Limit is the maximum percentage of defective units that is still considered acceptable for a given defect class. A lower AQL is stricter โ€” it tolerates fewer defects and, all else equal, drives a larger sample and a lower accept number. Defects are graded into three classes, and each is usually assigned its own AQL:

The 0 / 2.5 / 4.0 combination is the most widely used default for general consumer goods, but you and your supplier should agree AQLs that match your product's risk profile. For what belongs in each class โ€” with worked examples across apparel, electronics, furniture and toys โ€” see our guide to critical, major and minor defects.

General vs special inspection levels

The inspection level sets how large a sample you draw relative to the lot. There are two families, and a typical inspection uses them for different checks:

This is why a single inspection usually runs more than one sampling plan at once. A common example for a 5,000-unit lot: General II (n=200) for visual defects, plus Level S-2 for dimensional measurements and on-site function tests โ€” a sub-sample of roughly 8โ€“13 units rather than all 200. Two plans, one booking. The calculator's optional "measurement & test plan" reflects exactly this: pick a Special level for the checks you can't run on all 200 pieces.

As a rule of thumb: use a General level (usually II) for the visual AQL, and a Special level (S-1 or S-2 are the most common) for measurements and tests. Your inspection provider will confirm the exact levels on the booking.

How to choose your inspection level

The level is a trade-off: a higher level draws a larger sample, so it catches more defects but takes more time and costs more. Start from the default and move up or down based on risk.

LevelWhat it's forSampleChoose it whenโ€ฆ
General IIVisual & cosmetic โ€” the standard defaultStandardMost inspections โ€” start here unless you have a specific reason not to.
General IIIVisual & cosmetic, tighter controlLargerHigh-value or safety-relevant goods, a new or unproven supplier, tight quality expectations, or a history of defects.
General IVisual & cosmetic, lower costSmallerLow-risk, low-value goods from a trusted supplier, where you'll accept weaker discrimination to save cost.
Special S-1 / S-2Slow, costly or destructive checks โ€” measurements, function, safetyVery smallOn-site tests you can't run on the whole visual sample. S-2 is the most common.
Special S-3 / S-4The same checks, with more confidenceSmall (larger than S-1/2)Higher-risk tests where you want a bigger test sub-sample.

In short: default to General II for the visual check; step up to III when a defect slipping through would be expensive โ€” safety, brand reputation, high unit value โ€” or when the supplier is unproven; drop to I only for low-risk goods from a supplier you trust. For measurements, function and safety tests, add a Special level (S-1 or S-2) on a small sub-sample. Try each level in the calculator above and watch how the sample size and accept/reject numbers change โ€” that's the trade-off you're making.

Inspection severity: normal, tightened, reduced

This calculator uses normal inspection severity, which is what nearly all one-off inspections and new-supplier checks use. The standard also defines two other severities, but you don't choose them freely โ€” you move between them based on a supplier's recent track record across a series of lots:

Because tightened and reduced only apply once you're running an ongoing AQL programme with switching rules, this tool sticks to normal severity. If you need a tightened or reduced plan for an established supplier, your inspection provider will apply it.

Where this fits in your inspection

AQL sampling is the backbone of a pre-shipment inspection, where an inspector pulls a random sample from finished, packed goods and checks it against your AQLs before you release the balance payment or ship. The same tables are used for in-process inspections and other product checks. For a full walkthrough of how the tables are built and how to read the code letters, see our AQL tables and sample size guide.

This calculator is provided for reference. Your inspection provider will confirm the exact plan on their report; if a value ever differs, follow the plan agreed in your booking.