AQL Sampling: How Random Sampling Works in Inspections

AQL Sampling: How Random Sampling Works in Inspections

Introduction

An AQL inspection only tells you something useful if the units on the table truly represent the whole order. If an inspector checks the twenty cartons nearest the warehouse door, the result describes those cartons and very little else. How the sample is drawn matters as much as how large it is.

This guide focuses on the drawing itself. It explains what "random" means in the sampling standards, why the popular square-root rule is often misused, how inspectors choose cartons and units, and how stratified sampling handles orders with several colours, sizes or production lines. It is written for buyers who book inspections and want to read the results with confidence.

Key Takeaways

· The sampling standards define a sample as units selected at random without regard to their quality, so convenience picking breaks the basis of the plan.

· The square root of the lot size should not be used to set the sample size, but the square root of the carton count is a common way to decide how many cartons to open.

· Cartons should be spread across the whole lot, ideally including the first and last cartons, with only a few units taken from each.

· When an order has clear sub-groups such as colours or sizes, representative (stratified) sampling splits the sample in proportion to each group.

· Defects often come in clusters, so buyers should agree carton selection rules in advance and ask for carton numbers in the report.

What "Random" Means in an AQL Inspection

Random sampling is the foundation that makes the numbers in an AQL plan meaningful.

The rule written into the standards

The US military standard MIL-STD-105D, the ancestor of today's AQL tables, defines a sample as one or more units drawn from a lot, "selected at random without regard to their quality". The 1974 edition of ISO 2859 uses the same wording. In practice, this means every unit in the lot should have a fair chance of being chosen, whatever its position, carton or appearance.

Define the lot before you sample it

ISO 2859 states that each lot should, as far as practicable, consist of units of a single type, grade, class, size and composition, made under essentially the same conditions and at essentially the same time. If an order mixes very different products, it is usually better to treat them as separate lots or to sample each part in proportion. A clear lot definition stops one easy product from hiding problems in another. Your inspection booking should state this definition clearly.

Why convenience sampling fails

Picking from the front row or the top layer is quick, but it is not random. Those cartons may have been packed at a different time, by a different team or after a quality problem was fixed. The plan's pass and fail limits assume a random draw, so a biased sample can make the result look far more certain than it really is. Random selection protects both the buyer and the supplier from that bias.

Expert Tip: Ask the factory to finish packing and number every carton before the inspector arrives, and to stack the goods so that cartons from all parts of the lot can be reached. Numbered cartons let the inspector pick at random from a list rather than from whatever is closest. They also make the report easier to audit afterwards.

The Square-Root Rule Versus the Standard Tables

The square-root rule is widely used in inspections, but it is often applied to the wrong question.

Three versions of one rule

Statistician Dr Wayne Taylor of Taylor Enterprises describes three versions of the rule. The first takes the square root of the lot size as the sample size, the second takes the square root of the number of cartons to decide how many cartons to open, and the third applies the same idea to drums whose samples are combined for one test. He notes that the rule probably originated with the USDA in the 1920s or 1930s, although no confirming documents exist.

Why the square root should not set the sample size

Taylor states that the first version should never be used. Sampling plans should be chosen by their operating characteristics, such as AQL, using tables like those in ANSI Z1.4. He also explains that lot size has only a minor effect on the protection a plan gives unless 10% or more of the lot is inspected, so the square root of the lot size has no statistical basis for setting a sample.

Where the square root still helps

The second version answers a different question: how many cartons should be opened to collect a sample that has already been set by the tables. Taylor's example uses a sample of 20 units from 50 cartons, so the square root of 50 plus one gives 8 cartons, with 3 units taken from 4 cartons and 2 units from the other 4. Used this way, the rule is a practical compromise between cost and coverage in many cases.

Common Mistake to Avoid: Letting the carton count decide the sample size. If 400 cartons are presented and the inspector checks one unit from each of 20 cartons, the sample is only 20 units, whatever the AQL table requires. Always set the sample size from the agreed sampling plan first, then use a carton rule only to decide how widely those units are spread.

How Inspectors Select Cartons and Units

A disciplined carton selection routine turns the sampling plan into a sample that genuinely reflects the lot.

· The inspector confirms the lot by checking the total quantity, the packed status and the carton count against the packing list.

· The sample size is taken from the agreed sampling plan, and the number of cartons to open is then calculated with the agreed carton rule.

· Carton numbers are chosen at random, for example with a random number generator, and spread across pallets, rows and stack heights.

· Units are drawn from different layers and inner packs within each opened carton rather than from the top only.

· The inspector records every selected carton number and its position in the report.

Spreading the pull across the lot

ISO 2859 requires that, when double or multiple sampling is used, each sample is selected over the entire lot. Taylor adds that when the sample size is smaller than the number of cartons, cartons should be spread across the lot and include the first and last cartons. He also suggests taking no more than two or three units from each carton.

When the sample is larger than the carton count

Some orders are packed in a small number of large cartons. Taylor notes that if the sample size exceeds the number of cartons, anything short of sampling every carton can reduce the protection the plan provides. In that case, opening every carton and drawing a few units from each is usually the safer approach.

Who chooses the cartons

For the result to be credible, the inspector rather than the factory should choose which cartons to open. Factory staff can help move and reseal cartons, but they should not pre-select them. If access is limited, the inspector should note the restriction in the report so the buyer can judge the result. Some buyers also ask for a short video of the stack before any carton is opened.

Expert Tip: Agree a written carton selection rule with your inspection provider, such as the square root of the carton count plus one, with the first and last cartons always included. Ask for a carton map or list in every report. Comparing these lists across several shipments quickly shows whether cartons are being chosen fairly or from the same convenient spots.

Stratified Sampling for Mixed Orders

Many China orders contain several colours, sizes or models, and a simple random draw can miss some of them.

What the standards call representative sampling

MIL-STD-105D and ISO 2859 both allow representative sampling. When appropriate, the number of units in the sample is selected in proportion to the size of sub-lots or parts of the lot, identified by some rational criterion. When this method is used, the units from each part must still be selected at random.

A simple proportional split

Imagine an order of 6,000 units in three colours: 3,000 black, 2,000 grey and 1,000 white. If the agreed plan calls for a sample of 200 units, a proportional split gives 100 black, about 67 grey and about 33 white units. Each colour is then sampled at random from its own cartons, so no colour is ignored or over-represented. Rounding should be agreed in advance, and the total must still reach the full sample size.

Production lines, batches and loose stock

The same idea applies when goods come from different production lines, shifts or material batches. ISO 2859 also allows samples to be drawn during the assembly of a lot rather than only at the end. If some goods are still unpacked at inspection, the sample can be split between packed cartons and loose stock in proportion to their quantities.

Common Mistake to Avoid: Treating a multi-colour or multi-size order as one block and letting the inspector pull from whatever is easiest to reach. A whole size or colour may then be skipped, even though it was made on a different day or from a different material batch. List the sub-lots and their quantities in the inspection booking so the sample can be split in proportion.

Inspector Practice and Buyer Checks in 2026

Good sampling practice is as much about planning and evidence as it is about statistics.

When defects cluster

Random sampling theory assumes defects are spread through the lot, but real defects often come in runs. Taylor gives the example of a printing process that produces 100 consecutive bad units, all packed in one carton, before correcting itself. He advises that if defects occur at random a small number of cartons may be enough, but if they occur in runs or clusters, more cartons are needed.

What to ask for in the report

A useful report lists the cartons selected, how many units came from each and how the sample was split across colours, sizes or models. Photos of the stacked goods and the opened cartons help show that the selection covered the whole lot. These details let you judge the result instead of taking a pass or fail on trust. If any detail is missing, ask the provider to add it before you release payment or approve shipment.

Writing the rules into your order

Sampling rules work best when they are agreed before production ends. Your purchase order or inspection booking can state the sampling plan, the carton selection rule and any required stratification, alongside the scope of a pre-shipment inspection (a final check of finished, packed goods before they leave the factory). Clear rules also reduce disputes with suppliers when a lot fails.

Expert Tip: After each inspection, compare the cartons and sub-lots that were sampled with any problems your customers later report. If complaints keep coming from a colour, size or production batch that was lightly sampled, adjust your stratification or carton rule for the next order. Small changes to how the sample is drawn can greatly improve what the inspection catches.

Inspections You Can Trust: How NewBuyingAgent Supports Quality Control

An inspection is only as reliable as the sample behind it. NewBuyingAgent is your perfect partner for global sourcing from China, backed by 30 years of expertise in trade, manufacturing and quality control.

Buyers managing quality on their own typically access fewer than 5% of suitable factories and have limited control over how inspections are carried out on the ground. Through its sourcing services, you can use 50,000+ cooperated partner factories with no language, region or time zone barriers, and 20,000+ product development and QC experts ensure your products match market needs and stay high-quality.

NewBuyingAgent handles all factory communication, which makes it perfect for multi-category buyers, and its local reputation gets you full factory cooperation. Even with its margin included, it cuts costs by 5%-10% compared with direct sourcing. See how it can manage your supply chain, or start at the NewBuyingAgent homepage.

Frequently Asked Questions

How are cartons chosen in an AQL inspection?

A common practice is to open at least the square root of the total carton count, chosen at random and spread across the whole lot. The units are then drawn from those cartons.

Is the square root rule part of ISO 2859-1 or ANSI Z1.4?

Not as a way to set sample size. The sample size comes from the standard's tables, while the square root rule is generally an industry practice for deciding how many cartons to open.

What is stratified sampling in quality inspection?

It splits the sample in proportion to sub-groups such as colours, sizes or production lines, then selects units at random within each group.

Can the factory choose which cartons are inspected?

It should not. The inspector should choose the cartons, with factory staff only helping to move and reseal them.

How many units should come from one carton?

Where the carton count allows, a few units per carton spread across many cartons usually gives better coverage than many units from a few cartons.

Conclusion

AQL sampling depends on a fair draw: a clearly defined lot, cartons chosen at random across the whole stack and samples split across sub-groups. Agree these rules before the inspection and check them in every report. NewBuyingAgent can help make sourcing from China simpler and more profitable.

Sources

1. MIL-STD-105D Sampling Procedures and Tables for Inspection by Attributes – SQC Online — https://www.sqconline.com/sites/sqconline.com/files/MIL-STD-105D.pdf

2. ISO 2859:1974 Sampling Procedures and Tables for Inspection by Attributes (preview) – ISO via iTeh Standards — https://cdn.standards.iteh.ai/samples/7863/fd05a6f0c2d540598a64815d599e80a0/ISO-2859-1974.pdf

3. "Square Root of N plus one" Sampling Rule – Taylor Enterprises — https://variation.com/square-root-of-n-plus-one-sampling-rule/4. The Effect of Lo

About NewBuyingAgent

NewBuyingAgent is your perfect partner for global sourcing from China, backed by 30 years of expertise in trade, manufacturing and quality control. Our mission is to make China sourcing effortless and profitable for global buyers.

Practice has proven that it is not necessarily the most cost-effective way for global buyers to do business directly with factories. Here are the pain points you may face:

-Limited Factory Access:Only less than 5% of China's factories are within your reach.
-Communication Barriers:Blocked by language, region, time zone and cultural gaps.
-Lack of Supplier Trust:Factories won't offer full cooperation.
-Uncompetitive Pricing:The 95% of factories you can't reach offer far better prices.
-Time-Consuming Coordination:Draining hours in direct factory communication.
-Quality Uncertainty:No guaranteed consistency in product quality.

Now, you just need to tell NewBuyingAgent your purchasing needs, and we can supply products from China across all categories to you at better price, quality and service.

Our advantages:

-100% Access to China's Factories:Use our 50,000+ cooperated partner factories—no language/region/time zone barriers. Our local reputation gets you full factory cooperation.
-Lower Prices Than Direct Sourcing:Our wide factory network lets us pick low-cost, high-cooperation suppliers. Even with our margin included, we cut your costs by 5%-10%.
-Market-Fit Products, Guaranteed Quality:20,000+ product development & QC experts ensure your products match market needs and stay high-quality.
-Save Time for Local Market Growth:We handle all factory communication—perfect for multi-category buyers. Free up your time to focus on expanding your local market sales.

Leave all the sourcing headaches with us. We handle sourcing, you grow.

NewBuyingAgent

Get Started Today

Let's Turn Your Sourcing Goals into Reality

WeChat:+86 15157124615

WhatsApp:+86 15157124615

Address:Building 10 #39 Xiangyuan Road, Hangzhou, China

Leave all the sourcing headaches with us
(This is a free service)

*Expected purchase quantity for this product
*Target unit price for this product