AQL Calculator: Sample Size & Allowed Defects Guide (2026)
Home
Yiwu, Zhejiang, China
Mon – Fri 9:00 AM – 6:00 PM · Sat 9:00 AM – 4:00 PM
[email protected]

AQL Calculator: How to Determine Sample Size and Maximum Allowed Defects (2026 Guide)

Alan Xiao, Founder of Sourcing Pioneer
Alan XiaoFounder, Sourcing Pioneer
· Updated September 29, 2026 · 17 min read
AQL Calculator Sample Size and Defect Limits Guide Cover

Direct Answer: An AQL Calculator (Acceptable Quality Limit) is a statistical quality control tool based on international standards (ISO 2859-1 and ANSI/ASQ Z1.4) that tells you exactly how many units to randomly sample from a production batch and the maximum number of defective units allowed before the entire shipment must be rejected. For consumer goods sourced from China, the global industry default is General Inspection Level II with limits set at Critical 0 / Major 2.5 / Minor 4.0. For example, in a batch of 5,000 units, an inspector checks exactly 200 units; the batch passes only if there are 0 Critical, ≤10 Major, and ≤14 Minor defects.

Many first-time importers mistakenly believe that a quality inspector checks 100% of the products before shipment. In reality, inspecting every single item in a 10,000-unit order is cost-prohibitive and impractical. That is why professional sourcing agents and third-party inspection companies rely on AQL statistical sampling to achieve 95% statistical confidence with minimal inspection costs.

In this guide, we break down how to read the ISO 2859-1 AQL tables, explain the differences between Critical, Major, and Minor defects, compare General vs. Special inspection levels, and share an actionable 4-step SOP to calculate your sample size and defect limits.

Table 1: How to Find Your Sample Size Code Letter (ISO 2859-1)

Governed by the International Organization for Standardization (ISO 2859-1), the first step in any AQL calculation is mapping your total batch size to a Sample Size Code Letter:

ISO 2859-1 AQL Sample Size Code Letters Table Infographic
Sample size lookup: Total lot size mapped to General Inspection Levels I, II, and III, determining code letters A through R.
Batch / Lot Size Range Special Level S-1 Special Level S-2 Special Level S-3 Special Level S-4 General Level I General Level II (DEFAULT) General Level III
2 to 8AAAAAA (2 units)B
9 to 15AAAAAB (3 units)C
16 to 25AABBBC (5 units)D
26 to 50ABBCCD (8 units)E
51 to 90BBCCCE (13 units)F
91 to 150BBCDDF (20 units)G
151 to 280BCDEEG (31 units)H
281 to 500BCDEFH (50 units)J
501 to 1,200CCEFGJ (80 units)K
1,201 to 3,200CDEGHK (125 units)L
3,201 to 10,000CDFGJL (200 units)M
10,001 to 35,000CDFHKM (315 units)N
35,001 to 150,000DEGJLN (500 units)P

Standard Rule: For 95% of consumer product inspections in China, always use General Inspection Level II. Only use Level I for trusted suppliers with flawless track records, and Level III for brand-new factories with high risk.

Table 2: Single Normal Sampling Plan & Defect Limits

Supported by the American Society for Quality (ASQ / ANSI Z1.4), once you know your Code Letter and sample size, look up the Acceptance (Ac) and Rejection (Re) numbers:

AQL Single Normal Sampling Plan Matrix Infographic
AQL acceptance matrix: Sample sizes paired with Critical 0, Major 2.5, and Minor 4.0 pass/fail thresholds (Ac/Re).
Code Letter Sample Size (Units Checked) Critical Defects (AQL 0) Major Defects (AQL 2.5) Minor Defects (AQL 4.0)
Code G 31 units Ac: 0 | Re: 1 Ac: 2 | Re: 3 Ac: 3 | Re: 4
Code H 50 units Ac: 0 | Re: 1 Ac: 3 | Re: 4 Ac: 5 | Re: 6
Code J 80 units Ac: 0 | Re: 1 Ac: 5 | Re: 6 Ac: 7 | Re: 8
Code K 125 units Ac: 0 | Re: 1 Ac: 7 | Re: 8 Ac: 10 | Re: 11
Code L 200 units Ac: 0 | Re: 1 Ac: 10 | Re: 11 Ac: 14 | Re: 15
Code M 315 units Ac: 0 | Re: 1 Ac: 14 | Re: 15 Ac: 21 | Re: 22
Code N 500 units Ac: 0 | Re: 1 Ac: 21 | Re: 22 Ac: 21 | Re: 22

How to Read the Limits: If you inspect 200 units (Code L) and find 8 Major defects (below Ac 10) and 12 Minor defects (below Ac 14) with 0 Critical defects, the inspection report is a PASS. If you find 11 Major defects (matching Re 11), the entire shipment FAILS.

Understanding Defect Classifications: Critical vs. Major vs. Minor

Setting proper defect categories in your quality checklist prevents arguments with your Chinese supplier:

1. Critical Defects (AQL 0.0 — Zero Tolerance)
Defects that pose safety hazards, create legal liability, or violate government import regulations. Examples: exposed sharp metal burrs, broken needle tips in apparel, electrical shock hazards, or missing legal origin markings that violate export carton shipping mark regulations.
2. Major Defects (AQL 2.5 — Functional Failure)
Defects that affect product performance, usability, or salability, causing customers to return the item. Examples: non-working zipper, cracked plastic housing, wrong product color, missing key accessories, or significant dimensional errors.
3. Minor Defects (AQL 4.0 — Cosmetic Flaws)
Minor visual imperfections that do not affect functionality or safety. Examples: small removable dirt smudges, slight stitching misalignment, minor packaging scratches, or untrimmed thread ends.

General Levels vs. Special Levels (S-1 to S-4)

While General Level II covers the main visual check, specific tests require Special Inspection Levels:

General vs Special Inspection Levels Comparison Infographic
Inspection hierarchy: General levels for main visual audits; Special levels (S-1 to S-4) for destructive tests and carton drop tests.

4-Step SOP: How to Calculate AQL in 60 Seconds

Follow this 4-step workflow when drafting inspection orders for your China shipments:

4-Step AQL Inspection and Defect Calculation SOP Flowchart
Calculation SOP: Define batch size, look up code letter, establish defect thresholds, and record final audit verdict.
  1. Determine Finished Batch Quantity: Ensure at least 80% of the total order is produced and 100% packed in master export cartons before dispatching the inspector.
  2. Find Code Letter in Table 1: Match your batch size to General Level II (e.g., 3,000 units = Code K; 5,000 units = Code L).
  3. Extract Sample Size & Ac/Re Limits from Table 2: Note the exact sample count and thresholds (e.g., for Code L = 200 samples, Major Ac:10/Re:11, Minor Ac:14/Re:15).
  4. Execute Physical Inspection & Count Defects: Tally the discovered defects against the Ac/Re thresholds to issue the final official PASS or FAIL verdict before making your balance payment or booking FCL container shipping.

How to Select Cartons: The Square Root Sampling Rule

Knowing that you need 200 product samples is only half the battle. If your shipment consists of 500 master cartons stored at a China warehouse cargo consolidation facility, from how many cartons should the inspector draw those 200 units?

The Golden Formula: Number of Cartons to Open = √Total Master Cartons

Professional quality inspectors apply the mathematical square root rule to select boxes across the entire warehouse lot:

  • Formula: Sample Cartons = √N (where N is the total number of export cartons).
  • Worked Example: If your order has 500 cartons, √500 ≈ 23 cartons. The inspector randomly pulls 23 boxes from the front, middle, bottom, and back of the pallet stacks, drawing approximately 9 units per carton (23 × 9 ≈ 200 samples).
  • Preventing Factory Cherry-Picking: Never let the factory present “pre-selected” inspection boxes on a table. The inspector must personally climb the pallet stacks to pull random cartons from all layers.

ISO 2859-1 vs. ANSI/ASQ Z1.4 vs. MIL-STD-105E

Importers often encounter different standard acronyms on third-party inspection reports. They all share the same statistical root defined in U.S. Military Standard (MIL-STD-105E):

Standard Code Publishing Body Current Status Equivalence
MIL-STD-105E US Department of Defense (DoD) Original military standard (created in 1950, canceled in 1995). The historical foundation for all commercial acceptance sampling.
ANSI/ASQ Z1.4 American Society for Quality (ASQ) / ANSI Active US commercial standard. 100% mathematically identical to ISO 2859-1 tables.
ISO 2859-1 International Organization for Standardization Active global standard (widely recognized worldwide). Global benchmark used by 95% of international inspection companies in China.

Real Case Study: Catching 14 Defective Frying Pans in Yongkang

In November 2025, a European cookware brand imported 10,000 non-stick ceramic frying pans (Code M = 315 samples) from a hardware factory in Yongkang, Zhejiang.

During the pre-shipment AQL inspection, the inspector tallied 14 Major defects (small coating scratches and loose handle rivets). Under Code M Level II, the major defect limit was Ac 14 / Re 15. While mathematically on the borderline of a PASS, our inspector performed a cross-hatch coating adhesion tape test on 5 units (Special Level S-2), discovering that the non-stick coating peeled off under heat testing.

Working with the importer’s licensed customs clearance team, we took immediate action:

  1. Shipment Hold: We issued a pending quality alert, freezing the final balance payment before export container loading.
  2. Factory Re-Curing: The factory stripped and re-baked the ceramic coating across the entire batch in high-temperature curing ovens.
  3. Passing Re-Audit: A second AQL inspection showed only 2 minor cosmetic blemishes, ensuring the product launched on Amazon Europe with 4.8-star customer ratings.

What to Do When Your China Shipment Fails an AQL Audit

If your quality inspection report returns a FAIL, follow this 3-step action plan:

Frequently Asked Questions (FAQ)

What is an AQL (Acceptable Quality Limit) in manufacturing?

Acceptable Quality Limit (AQL), defined under ISO 2859-1 and ANSI/ASQ Z1.4, is the maximum percentage of defective units considered acceptable in a random sampling inspection of a mass production batch.

What are the standard AQL defect limits for consumer products from China?

The international standard for consumer products is Critical 0, Major 2.5, and Minor 4.0. This means zero critical safety defects are allowed, while major functional flaws and minor cosmetic blemishes have strict mathematical acceptance thresholds.

How many samples should be inspected for a 5,000-unit batch under Level II?

According to the ISO 2859-1 table, a batch size of 5,000 units under General Inspection Level II corresponds to Sample Size Code Letter L, requiring an inspector to randomly draw and check exactly 200 units.

What is the difference between General Inspection Levels and Special Levels?

General Inspection Levels (I, II, III) are used for general non-destructive visual and functional checks across the main production batch. Special Levels (S-1 to S-4) use much smaller sample sizes for expensive or destructive testing, such as drop tests, barcode scans, and salt spray testing.

What should an importer do if an inspection fails the AQL standard?

When an AQL inspection fails, the buyer should freeze the final balance payment, require the factory to perform a 100% full sorting and rework of defective units at the factory’s expense, and mandate a second re-inspection before releasing the shipment.

What is the difference between Single Sampling and Double Sampling in AQL?

A Single Sampling Plan requires drawing one fixed sample size (e.g., 200 units) to make a definitive pass/fail decision. A Double Sampling Plan allows the inspector to draw a smaller initial sample (e.g., 125 units); if the defect count falls into an intermediate gray zone, a second sample is drawn before reaching the final verdict, reducing average inspection time for high-quality batches.

How can an overseas buyer prevent factory bribery and fake inspection reports?

To eliminate corruption, always hire established third-party inspection firms that enforce rotating inspector schedules, GPS geofenced check-ins, unannounced supervisory spot-checks, and mandatory real-time digital photo uploads directly from the factory floor.

How much does a third-party AQL factory inspection cost in China?

A professional on-site AQL inspection in major manufacturing regions (Guangdong, Zhejiang, Jiangsu, Fujian) typically costs an all-inclusive rate of \$250 to \$300 per man-day. This includes on-site travel, sampling, visual and functional defect testing, carton drop checks, and a comprehensive digital photo report delivered within 24 hours.

Before you wire the 70% final balance payment

Stop shipping defective goods with on-site AQL audits

Our professional QC inspectors in Yiwu, Ningbo, Shenzhen, and Guangzhou perform ISO 2859-1 Level II sampling inspections, delivering comprehensive photo and defect reports within 24 hours.

Book a factory AQL inspection today

Questions & Comments

We read every one and reply within 24 hours

Need help calculating your AQL sample size for a custom order, setting up defect classification thresholds, or managing factory reworks after a failed audit? Share your product type, order quantity, and factory location below — our quality control team will guide your inspection plan.

Subscribe
Notify of
guest
0 Comments
Most Voted
Newest Oldest
0
Would love your thoughts, please comment.x
()
x