Enter your lot size, inspection level and AQL. The calculator gives you the sample size code letter, how many pieces to check, and the accept and reject numbers from ISO 2859-1 / ANSI/ASQ Z1.4, Tables I and II-A — single sampling, normal inspection.
What AQL means
AQL stands for Acceptable Quality Limit. It is the worst average quality level, counted as defective pieces per hundred, that a buyer and a supplier agree to accept for a lot. The number itself does not say how many pieces to check — that comes from the lot size and the inspection level, read through two tables in the standard: Table I gives a sample size code letter, and Table II-A gives the sample size and the accept and reject numbers for that letter at the chosen AQL.
The two decision numbers work as a pair. Ac is the most defective pieces you can find in the sample and still accept the lot. Re is the fewest defective pieces that force a rejection. In single sampling under normal inspection they are always next to each other — if Ac is 5, Re is 6 — so there is no grey area: the count either passes the lot or fails it.
Most buyers set a different AQL for each kind of defect. A common split, and the one we use in our own inspection work, is AQL 1.0 for critical defects, AQL 2.5 for major defects and AQL 4.0 for minor defects. Critical means the product is unsafe or does not work at all. Major means a clear fault a customer would notice — a broken part, a wrong size, a finish that peels. Minor means a small cosmetic mark that does not affect use. Agree these numbers with your supplier before production starts, and write them into the purchase order, so the inspection has a pass line both sides accepted in advance.
How to choose an inspection level and an AQL
Start with Level II. It is the default level in the standard, and it is the level most third-party inspection companies use when a buyer gives no other instruction. It gives a fair balance: enough pieces checked to catch a real problem, without paying to check a large share of the lot.
Level I checks fewer pieces. It fits when the goods are low value, the supplier has a long clean record with you, or the cost of checking each piece is high. The trade-off is plain: a smaller sample is less likely to catch a bad lot. Level III checks more pieces. Use it for high-value goods, for a first order from a new supplier, or after a supplier has failed inspections before. It costs more inspection time, and it rejects bad lots more often.
For the AQL itself, stricter is not always better. A very tight AQL on minor cosmetic marks will reject lots your customers would have been happy with, and each rejection costs time, rework and shipping delays. A loose AQL on anything that affects safety or function is worse — it lets real problems through. Set the AQL by defect type, not by gut feel, and keep the same numbers across orders from one supplier so results can be compared over time.
How to read Ac and Re
Take a lot of 1,000 pieces, Level II, AQL 1.0. Table I puts a lot of 1,000 at code letter J, which means a sample of 80 pieces. Table II-A then gives Ac 2 and Re 3 at AQL 1.0. So the inspector pulls 80 pieces at random from the lot and checks them. If 2 or fewer are defective, the lot passes. If 3 or more are defective, the lot fails. The sample must be random — pieces picked from the top of every carton are not a random sample, and a plan built on a biased sample proves nothing.
Sometimes the table has no plan for your exact combination and shows an arrow instead. A down arrow means take the first plan below it in the same AQL column; an up arrow means take the first plan above it. You then use that plan's sample size and its Ac and Re, and the code letter changes to match. This calculator follows the arrows for you and says so in the result — for example, a lot of 300 pieces at Level II and AQL 0.65 starts at code letter H, but the table points down to J, so the plan is 80 pieces, Ac 1, Re 2.
If the sample size the table calls for is as large as the lot itself, there is no sampling left to do — every piece gets checked. That happens with very small lots and very strict AQLs. The calculator tells you when that is the case.
What AQL does not guarantee
AQL is a way to agree how much checking happens and where the pass line sits. It is not a promise about the pieces you did not check. A lot that passes can still hold defective pieces outside the sample, and a good lot can fail because the sample happened to catch more than its share of faults. The tables control the odds — a lot running at the AQL passes most of the time, and a lot far worse than the AQL fails most of the time — but no single inspection can prove a lot is defect-free.
Inspection also finds problems; it does not fix them. When lots keep failing, the answer is not a tighter AQL on the next order — it is finding why the defects happen and fixing the cause at the factory. The standard has switching rules for exactly this: after repeated rejections, inspection moves to tightened plans with stricter limits, and it only returns to normal after a run of clean lots. This calculator covers single sampling under normal inspection only. It does not cover tightened or reduced inspection, or double and multiple sampling.
Finally, a sampling plan is only as good as the inspection behind it. The pieces must be picked at random, checked against a written specification with agreed defect definitions, and the result recorded piece by piece. A plan agreed in advance, applied the same way every time, is what turns AQL from a number in a contract into real protection for your order.
Common Questions
What is AQL?
Which inspection level should I pick?
What happens when the table shows an arrow instead of numbers?
Does passing an AQL inspection mean the lot has no defects?
Useful Links
Need an inspector on the ground?
This calculator tells you how many pieces to check and where the pass line sits. For the checking itself, you need someone at the factory who pulls the sample at random, counts the defects against your specification, and reports what they found — piece by piece. That is what our inspection team does in Jodhpur, across Rajasthan and North India.