Tools

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
Probability of acceptance at different defect rates
Defect rate in the lotAccepted

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

  1. Enter the lot size, that is, how many units the order or delivery covers.
  2. Enter the sample size and acceptance number according to your sampling plan.
  3. 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

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.

Founder of Inköpsagent. Entrepreneur with a background in sales, marketing and international trade. Swedish-, English-, Vietnamese- and Spanish-speaking agent on the ground in Vietnam since 2014, backed by a specialised team of product experts. How we produce content.

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.