AQL tool: how likely is it that a bad lot is accepted?
A sample can never give full certainty. The tool shows the probability that a lot is accepted at a given actual defect rate, for the sampling plan you have agreed. It helps you understand what an AQL level actually protects against.
Prefilled values are examples, not a recommendation. Enter the sample size and acceptance number from your agreed sampling plan.
- Probability that the lot is accepted
- Expected number of defects in the sample
- The lot is rejected at
| Defect rate in the lot | Accepted |
|---|
The calculation uses the hypergeometric distribution, that is, random sampling without replacement. It assumes the sample is drawn at random from the whole lot.
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.
How to use the tool
- Enter the lot size, that is, how many units the order or delivery covers.
- Enter the sample size and acceptance number according to your sampling plan.
- Change the actual defect rate and see how the probability of accepting the lot changes.
Example
The example uses the tool’s prefilled values and is only an illustration. With a sample of 200 units and an acceptance number of 5, a lot of 5,000 units where 4 percent are defective is accepted in roughly one case in five, even though the expected number of defects in the sample (8) is higher than the acceptance number. Chance means the sample sometimes contains fewer defects than the lot does on average. That is why it is important to agree different levels for critical, major and minor defects.
Read more
- AQL in practice explains concepts, inspection levels and defect classes.
- Sampling and risk explains producer’s risk, consumer’s risk and OC curves.
Frequently asked questions
Why are there no AQL tables in the tool?
The tables in ISO 2859-1 are protected by copyright. Take the sample size and acceptance number from the standard or from your agreement, and use the tool to understand what the plan means.
What does it mean if the probability is high at a high defect rate?
Then the plan protects poorly against that defect level. A larger sample or a lower acceptance number reduces the risk that a bad lot is accepted, but also increases the risk that a good lot is rejected.
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.