Sampling Inspection and AQL — A Complete Guide from Pass Rate Determination to Sampling Scheme Design
In the daily work of quality management in manufacturing, sampling inspection is one of the most common yet easily misunderstood processes. Many quality engineers understand AQL (Acceptable Quality Level) as simply "inspect a few, check, and release if qualified," overlooking the rigorous statistical foundation and the extensive design space behind sampling inspection. This article will start from the basic principles of sampling inspection, systematically explaining the methods for determining AQL, the logic for selecting sampling schemes, and common pitfalls in implementation, to help quality managers fundamentally understand the core question of "how many to sample and how to judge."
1. Basic Logic of Sampling Inspection: Why Not 100% Inspection?
Before discussing sampling schemes, the first question to answer is: why not inspect every single product? 100% inspection seems the safest, but in actual production, it faces three insurmountable obstacles. First, when inspection is destructive, 100% inspection means all products will be damaged, which is clearly unacceptable. For example, the deployment test of automotive airbags and the tensile strength test of materials can only infer the quality of the entire batch through sampling. Second, for large-scale production, the cost of 100% inspection is economically prohibitive. A production line that produces 100,000 electronic components daily would require inspection labor and equipment investment far exceeding the cost of the products themselves if inspected piece by piece. Third, and the most easily overlooked point—humans are not machines, and prolonged repetitive 100% inspection work can lead to inspection fatigue, increasing the rate of missed inspections. Studies show that in visual inspection tasks, the detection rate of 100% inspection is often only 80%~85%, while properly designed sampling inspection combined with Statistical Process Control (SPC) can provide more stable quality assurance.
Therefore, the core goal of sampling inspection is not to "find every nonconforming product," but to make a statistically confident judgment about the quality level of the entire batch at the lowest inspection cost.
2. The Concept of AQL: What is "Acceptable Quality Level"?
AQL (Acceptable Quality Level) is the most central concept in sampling inspection, but also the most misunderstood. Many practitioners interpret AQL as the "allowed defect rate," believing that as long as the batch defect rate does not exceed AQL, the batch is qualified. This understanding is not entirely accurate.
According to the international standard ISO 2859 (corresponding to the national standard GB/T 2828.1), AQL is defined as "the poorest level of quality in a continuous series of lots that is considered acceptable." More straightforwardly, AQL is a process quality standard, not a standard for a single batch. When the supplier's process average defect rate is equal to or better than AQL, the sampling scheme will accept the batch with a high probability (typically around 95%); when the process average defect rate is worse than AQL, the rejection probability will rise sharply.
From a statistical perspective, AQL corresponds to the baseline of the producer's risk (α). In a typical attribute sampling scheme, when the actual batch defect rate equals AQL, the probability of the batch being accepted is about 0.95—meaning that even if the supplier's quality level is exactly at AQL, about 5% of the batches will be "misjudged" and rejected, which is the risk borne by the producer.
3. The Three Elements of a Sampling Scheme: Sample Size, Acceptance Number, and Rejection Number
A complete attribute sampling scheme is uniquely determined by three parameters: sample size n, acceptance number Ac, and rejection number Re. For example, the scheme (125, 3, 4) means randomly selecting 125 samples from the batch; if the number of nonconformities ≤ 3, the batch is accepted; if the number of nonconformities ≥ 4, the batch is rejected.
A key point to understand is that the sample size is not directly proportional to the batch size. A common mistake among beginners is "a batch of 10,000 pieces, 5% is 500 pieces," but statistics tell us that the sample size is determined by the required quality resolution (i.e., the shape of the OC curve), not the batch size. When a batch is sufficiently large (e.g., more than 10 times the sample size), the batch size itself has almost no impact on the OC curve. This is why in the ISO 2859 sample size code table, the sample sizes for batches of 3201~10000 and 10001~35000 can be identical—the sample size depends only on the code and inspection level, not the batch size.
The rejection number Re is usually equal to Ac + 1, meaning that once the number of nonconformities exceeds the acceptance number, the batch is deemed nonconforming. However, in double or multiple sampling schemes, the decision rules are more complex, allowing for a second sample to be drawn if the first sample is inconclusive.
4. How to Choose the AQL Value: Balancing Product Quality and Cost
Determining the AQL is the most critical decision-making step in designing a sampling inspection scheme, directly influencing the strictness and cost of the inspection. The selection of AQL values needs to consider the following factors:
First, the importance of the product and the functional safety level. For critical characteristics affecting personal safety (such as key dimensions in automotive braking systems or sterility indicators in medical devices), AQL should be set very strictly, typically at 0.01~0.065. For general functional characteristics, AQL can be set at 0.1~0.65. For non-functional characteristics such as appearance, AQL can be relaxed to 1.0~6.5.
Second, the historical quality performance of the supplier. When the supplier's process capability is stable and the defect rate has been consistently below the target AQL, the AQL can be appropriately relaxed. Conversely, for new suppliers or those with unstable historical performance, a stricter AQL should be set and accompanied by tightened inspection.
Third, the balance between inspection cost and the consequences of nonconformities. The stricter the AQL, the larger the required sample size, and the higher the inspection cost. However, a too relaxed AQL can lead to nonconforming products entering the production line, causing rework, production stoppages, or even customer complaints. From a quality economics perspective, the optimal AQL point is the quality level that minimizes the sum of "inspection cost + nonconformity loss."
During the product development phase, AQL is often determined by the design department based on product characteristics and customer requirements; during mass production, the quality department should regularly review the applicability of AQL, dynamically adjusting it based on supplier performance and customer feedback.
5. Three Modes of Inspection Levels: Normal, Tightened, and Reduced
ISO 2859 specifies three inspection levels: normal inspection, tightened inspection, and reduced inspection. The switching between these three levels forms the "dynamic adjustment mechanism" of sampling inspection.
Normal inspection is the default state, suitable for suppliers with stable quality levels. When multiple consecutive batches are rejected, or the process average defect rate significantly deteriorates, the inspection should switch to tightened. Tightened inspection increases the sample size or reduces the acceptance number to raise the rejection probability, putting pressure on the supplier to improve quality. Interestingly, the rule for switching from normal to tightened is very clear: if 2 out of 5 consecutive batches are rejected (or more strictly, 2 out of 5 consecutive batches are deemed nonconforming under normal inspection), the inspection should immediately switch to tightened.
Reduced inspection is applicable when the process quality has been consistently stable and significantly better than AQL. The sample size for reduced inspection is typically 40%~60% of that for normal inspection, effectively reducing inspection costs. However, reduced inspection has strict conditions: at least 10 consecutive batches must be accepted, and the process average defect rate must be significantly below AQL, with the production process under statistical control. If a batch is rejected during reduced inspection, or if there is an abnormality in production, the inspection should immediately revert to normal.
This "normal—tightened—reduced" transfer rule is not just an inspection strategy but also a quality signaling mechanism—suppliers can perceive the customer's evaluation of their quality level through changes in inspection strictness.
6. Types of Sampling Schemes: Single, Double, and Multiple Sampling
In terms of operational complexity, attribute sampling schemes have three main types. Single sampling is the simplest, involving drawing one sample and making a direct decision, suitable for scenarios with low inspection costs or short inspection cycles. Double sampling allows for a second sample to be drawn if the first sample is inconclusive, making a joint decision. The advantage of double sampling is that the average sample size is smaller than that of single sampling under the same quality resolution, making it suitable for scenarios with high inspection costs or destructive testing. Multiple sampling extends this concept further, allowing up to seven samples to be drawn, with an even smaller average sample size but a significant increase in management complexity.
For example, with AQL=1.0, inspection level II, and a batch size of 10,000 pieces: the single sampling scheme is (200, 5, 6), meaning 200 pieces are drawn each time; the double sampling scheme is the first sample (125, 2, 5) and the second sample (125, cumulative 250, 6, 7), meaning that in most cases, only 125 pieces need to be drawn to make a decision, and a second sample is only required if the number of nonconformities in the first sample falls within the "gray area" (3~4 pieces).
In practical applications, the core consideration is the balance between the management cost of inspection operations and the average sample size. For automated online testing, single sampling is more convenient; for laboratory testing or outsourced testing, the average sample size advantage of double and multiple sampling is more prominent.
7. OC Curve: Understanding the Discrimination Power of Sampling Schemes
Each sampling scheme has its unique Operating Characteristic (OC) curve, which depicts the functional relationship between the actual batch defect rate and the probability of batch acceptance. The OC curve is the most powerful tool for evaluating and selecting sampling schemes.
An ideal sampling scheme should have an OC curve that is close to 1 (high probability of acceptance) at AQL and close to 0 (high probability of rejection) at LTPD, meaning the curve is steep and the transition zone is narrow. However, real-world sampling schemes are limited by sample size, and the OC curve always has a "gray area"—when the defect rate is between AQL and LTPD, the acceptance probability is neither high nor low, leading to significant uncertainty in the decision results.
Understanding the OC curve has three layers of significance for quality managers. First, it helps you intuitively assess the discrimination power of the sampling scheme during design—the steeper the curve, the stronger the discrimination power. Second, it reveals the marginal benefits of increasing the sample size: increasing the sample size from 50 to 100 significantly improves discrimination power; however, increasing it from 200 to 400 yields a much smaller improvement. Third, it establishes a "quantitative negotiation" consensus between suppliers and customers—both parties can negotiate AQL and LTPD based on the OC curve rather than subjective judgment.
In actual work, using the tables in the ISO 2859 standard or an online calculator to plot the OC curve is a basic skill that every quality engineer should master.
8. Common Misconceptions and Practical Suggestions
In the process of guiding manufacturing companies to implement sampling inspection over the years, the following five misconceptions are the most common.
Misconception 1: Not sampling small batches. Many companies believe that batches smaller than 100 pieces do not need to be sampled, or only a few pieces are symbolically inspected. In fact, ISO 2859 provides clear sampling schemes for small batches, and batches of 2~8 pieces also have corresponding sample size codes. The key is not the batch size but the economic assessment of the inspection—if the inspection cost is too high, a zero-defect sampling scheme (c=0 scheme) or a relaxation strategy based on historical data can be considered.
Misconception 2: AQL is set and never changed. Quality is dynamic, and AQL should also be dynamic. When suppliers continuously improve and process capability significantly increases, adhering to the original strict standards not only increases costs but also damages the supplier-customer relationship. It is recommended to review AQL every quarter or every six months, dynamically adjusting it based on historical inspection data and supplier performance evaluation results.
Misconception 3: Using the batch allowable defect rate (LTPD) instead of AQL. LTPD is the baseline of consumer risk (β), indicating the defect rate at which the sampling scheme should reject the batch with a high probability. Confusing AQL and LTPD can lead to the loss of direction in sampling scheme design. Simply put, AQL is the "standard for good batches," and LTPD is the "standard for bad batches." The gap between the two determines the discrimination power of the sampling scheme.
Misconception 4: Non-random sampling. This is the most fundamental and easily committed error—quality inspectors tend to pick "easy to handle" or "visually good" samples rather than true random samples. This directly undermines the statistical foundation of sampling inspection, making all decision results lose their confidence. The solution is to use a random number table or computer-generated random position codes and regularly verify whether the quality inspector's sampling operations comply with the principle of randomness.
Misconception 5: Ignoring the zero-defect sampling scheme. In high-risk industries such as the automotive industry (IATF 16949) and medical devices, due to the pursuit of zero defects, c=0 sampling schemes are becoming increasingly popular. In a c=0 scheme, the acceptance number Ac = 0, meaning no nonconformities are allowed in the sample. This scheme appears extremely strict, but in practice, it requires selecting the corresponding sample size for different AQL levels to avoid insufficient discrimination power due to a small sample size.
The core of sampling inspection is statistical inference, not a substitute for 100% inspection.
Knowledge Number: 6.2.2
Version: v20260705
Author: Quality Excellence Think Tank Quality Excellence Think Tank is dedicated to providing systematic professional knowledge, methodologies, and practical tools for quality management practitioners, helping companies continuously improve their quality capabilities.