Sampling and risk in quality inspection
When only part of a lot is inspected, there is always a risk that a good lot is rejected or a bad lot accepted. Understanding the two risks makes it easier to choose a sampling plan and interpret an inspection report.
This page is a translation of the Swedish original. Where a linked page is not yet available in English, the link leads to the Swedish version.
Two kinds of error
| The lot is good | The lot is bad | |
|---|---|---|
| The sample is accepted | Correct decision | Consumer’s risk: the buyer receives a bad lot |
| The sample is rejected | Producer’s risk: the supplier has a good lot rejected | Correct decision |
The OC curve
An OC curve (operating characteristic) shows the probability that a lot is accepted as a function of the actual defect rate. The steeper the curve, the better the plan separates good and bad lots. A larger sample generally gives a steeper curve. Try it yourself in the AQL tool.
Choosing a plan
- Defect classes. Critical defects are often not accepted at all. Major and minor defects get different levels. See defects.
- Inspection level. A higher level gives a larger sample and safer decisions but takes longer.
- History. With a stable supplier, some standards allow switching to reduced inspection, and to tightened inspection when problems occur.
- Contract. The plan should be in the contract before production starts, so that both parties know what applies.
Note on standards
Sample sizes and acceptance numbers are taken from the standard ISO 2859-1 or equivalent. The standard is purchased from ISO or a national standards body. We do not reproduce its tables here.
Frequently asked questions
Can the risk be avoided completely?
Only by inspecting every unit, which is often too expensive or impossible, for example with destructive testing. Even 100 percent inspection sometimes misses defects.
Who bears the producer's risk?
The supplier, since a good lot can be rejected. The consumer's risk, that a bad lot is accepted, is borne by the buyer. A good plan balances them.
Sources and further reading
The links go to official or established sources. Rules and figures change; always check the current version at the source before making decisions.
Tell us about your product
Describe what you want to buy or manufacture, the approximate volume and timeline. You will receive a personal reply with suggested next steps.