AQL Sampling Plan Calculator
Use this tool to estimate inspection code letter, sample size, acceptance number (Ac), and rejection number (Re) for incoming quality inspection.
What is an AQL calculator?
An AQL calculator helps quality teams build a practical sampling plan before inspecting a production lot. AQL stands for Acceptable Quality Limit (sometimes called Acceptance Quality Limit), and it is widely used in supplier quality control, factory audits, and incoming inspection.
Instead of checking every unit, AQL methods let you inspect a sample and decide whether to accept or reject the full lot. This approach saves time and cost while still controlling risk.
How this calculator works
This page uses a standard inspection workflow inspired by ANSI/ASQ Z1.4 style logic:
- Step 1: Use lot size + inspection level to get a code letter.
- Step 2: Convert the code letter to a sample size.
- Step 3: Use your selected AQL percentage to estimate the acceptance number (Ac) and rejection number (Re).
- Step 4: Compare your observed defects to Ac/Re for a decision.
Note: Different standards, switching rules, and customer contracts may define exact Ac/Re values differently. Always follow your official quality agreement when required.
Key terms you should know
Lot Size
The total number of units in the shipment or batch being evaluated.
Inspection Level
A lever that changes sample size. General Level II is the most common baseline. Level I uses smaller samples, and Level III uses larger samples.
AQL (%)
The defect threshold considered acceptable as a process average. Lower AQL means stricter quality expectations.
Ac / Re
Ac is the maximum number of defects allowed in the sample to accept the lot. Re is the count at which the lot is rejected (usually Ac + 1).
Practical example
Suppose your lot size is 12,000 units, inspection level is General II, and AQL is 1.0%. The calculator determines the code letter, sample size, and an acceptance threshold. If you inspect the sample and defects are at or below Ac, the lot passes. If defects reach Re or above, the lot fails.
Recommended starting AQL values
- Critical defects: 0.0 or very strict agreement
- Major defects: often 1.0 or 1.5
- Minor defects: often 2.5 or 4.0
These are common industry conventions, not universal rules. Your product risk, customer expectations, and regulatory context should drive final values.
When to use this tool
- Pre-shipment inspection planning
- Incoming goods checks at your warehouse
- Supplier quality agreements and negotiation
- Training new QA team members on acceptance sampling basics
Limitations and good practice
AQL sampling reduces inspection effort, but it does not guarantee zero defects. For high-risk products, combine AQL with:
- Process capability monitoring
- Critical-to-quality checkpoints
- Root cause analysis and CAPA tracking
- Supplier scorecards and periodic audits
Bottom line: use AQL as one component of a broader quality system.