Your order is packed and ready. Nobody is going to open every carton β so how many pieces should the inspector pull out, and how many faults in that sample mean the shipment passes or fails? This calculator gives you the plan from the standard sampling tables, so the rule is agreed before the cartons are opened.
Enter the total number of units in the lot, pick the inspection level you agreed with the supplier, and pick the AQL value for the defect class you are checking. The calculator returns the code letter, the number of units to inspect, and the accept and reject numbers, for lot sizes from 2 to 10,000 units at general inspection levels I, II and III.
Code letter: β
Units to inspect: β
Accept β pass the lot with this many faulty units or fewer: β
Reject β fail the lot at this many faulty units: β
One detail: the accept and reject numbers count faulty units, not individual faults β a unit with two faults still counts as one faulty unit. The numbers are always one apart, with no count in between: at or below the accept number the lot passes; at the reject number it fails.
AQL stands for Acceptable Quality Limit, the sampling system of the ISO 2859-1 standard, used by inspection teams around the world. The calculation runs in two steps. First, your lot size and inspection level give a code letter, from A for the smallest lots up to M for the lots this tool covers, and the code letter fixes the sample size: how many units the inspector pulls from the packed goods at random. Second, your AQL value gives the accept and reject numbers for that sample: the most faulty units the lot can carry and still pass, and the count at which it fails.
The inspection level sets how hard the sample looks. Level II is the usual middle setting and the one most orders use. Level I pulls a smaller sample, which costs less time but is more likely to miss a problem; Level III pulls a larger sample, which catches more but takes longer and costs more. The level belongs in the purchase order next to the AQL, agreed before production starts β not settled after the goods are packed.
The AQL value sets how strict the count is. A lower AQL is stricter: at AQL 1.0 the inspector accepts almost nothing, while at AQL 6.5 the same sample can carry several faulty units and still pass. Buyers usually set a different AQL for each kind of fault β zero for critical, 2.5 for major and 4.0 for minor is the usual starting point. Our AQL sampling guide explains the three fault classes and the levels in full, and our AQL inspection guide shows how an inspector decides pass or fail at the table.
Suppose you ordered 2,500 stone coasters, packed and ready for inspection. You agreed General Inspection Level II in the purchase order, and AQL 2.5 for major faults. Put those numbers in the calculator above and here is what comes back.
Step one, the code letter: a lot of 2,500 units at Level II falls in the 1,201β3,200 band, which gives code letter K. Step two, the sample size: code letter K means 125 units are pulled from the packed goods at random and checked one by one. Step three, the accept and reject numbers: at AQL 2.5 the plan accepts the lot with 7 faulty units or fewer and rejects it at 8. Find 7 or fewer major faults among the 125 pieces and the lot passes on majors; reach 8 and it fails.
Run the same lot at AQL 4.0 for minor faults and the numbers move: the sample is still 125, but the lot passes with 10 minor faults or fewer and fails at 11. Critical faults are different again β the usual setting is zero, so a single critical fault fails the lot on its own. That is three separate counts from one sample of 125 pieces, one for each fault class.
The result is a plan for the inspection, not a verdict on your goods. It tells your inspector how many units to pull, and it tells both you and the supplier in advance where the line sits. Because the sample is random and the numbers are fixed before the cartons are opened, neither side can move the line after the count.
It also tells you what the inspection will cost in time. A sample of 125 pieces takes a good part of a working day to check properly against your specification and the approved sample. Our pre-shipment inspection is priced per man-day β $200 in Jodhpur, $300 in other Rajasthan cities, and $350β$500 outside Rajasthan β so a bigger sample can mean a longer visit.
Read the result alongside the quality control page, which sets out how we run inspections and what the report covers. A plan on its own is only numbers; the report is what lets you decide β rework, sort, accept with a price adjustment, or reject β and it rests on photographs of every fault found.
First, this calculator gives single-sampling plans under normal inspection only. It does not cover tightened inspection, reduced inspection or double sampling. If your order or your inspector's report names a different table, these numbers are not the ones to use.
Second, a sample is a sample. A fault that appears once in every 500 pieces may simply not show up in a sample of 125, and no sampling plan can promise otherwise. A lot that passes can still hold faulty units, so decide in advance what happens if they turn up after delivery, and write it into the order. For small, high-value lots, buyers sometimes order a check of every piece instead.
Third, the count needs something firm to count against. The inspector calls a unit faulty when it fails your specification, so send drawings and measurements with tolerances, and keep the approved sample safe: it is half the inspection. If tolerances, materials and finish references were never written down, the inspector has nothing firm to hold the goods against.
Finally, treat the result as a planning guide. The final call is the inspector's at the table, working from your inspection brief and the current standard tables. If the calculator's plan and your inspector's plan ever differ, follow the inspector's β and ask what table and level they used.
You do β the buyer sets both, ideally in the purchase order itself. If nothing is specified, inspectors fall back on common defaults, which may not match what your market will accept.
No. It means you get to decide before the balance is paid and the goods sail. Most failed lots are reworked by the factory and inspected again.
Ready to put a standard on your next order? We run inspections to the numbers you set, with photo reports you can act on. BOOK AN INSPECTION