AQL Sampling Calculator

Calculate sample size and accept/reject numbers based on AQL standards. AQL (Acceptable Quality Limit) sampling follows ISO 2859-1 / ANSI Z1.4 standards for…

AQL (Acceptable Quality Limit) sampling follows ISO 2859-1 / ANSI Z1.4 standards for lot acceptance inspection. It balances inspection cost with quality risk.

How does AQL acceptance sampling work?

Acceptable Quality Limit (AQL) sampling is a statistical method defined in ISO 2859-1 (ANSI/ASQ Z1.4) for deciding whether to accept or reject a production lot based on inspecting a random sample. The AQL value represents the worst tolerable defect rate that the consumer considers acceptable as a process average.

The sampling plan specifies three values: the sample size (n), the accept number (Ac), and the reject number (Re). If the number of defectives found in the sample is ≤ Ac, the lot is accepted; if ≥ Re, it is rejected. The plan balances producer's risk (α, rejecting good lots) and consumer's risk (β, accepting bad lots).

Inspection levels (I, II, III and special levels S-1 through S-4) control the relationship between lot size and sample size. Level II is the default; Level I reduces sample size for less critical items, while Level III increases it for greater discrimination.

Formula: Sample Code Letter = f(Lot Size, Inspection Level) Sample Size (n) = lookup(Code Letter, AQL) Accept if defectives ≤ Ac Reject if defectives ≥ Re = Ac + 1

Example Calculation

A lot of 5,000 units is inspected at AQL = 1.0%, General Inspection Level II. The code letter is 'L', giving a sample size of 200. Accept number Ac = 5, Reject number Re = 6. Draw 200 random units; if 5 or fewer are defective, accept the lot. If 6 or more are defective, reject it.

When to Use This Calculator

Common Mistakes to Avoid

How to Interpret Results

Related Standards & References

Sampling Plan Reference — AQL 1.0%, Level II

Sample size and accept/reject numbers for AQL 1.0%, General Inspection Level II, across every ISO 2859-1 lot-size range. Figures are computed by this calculator.

Lot Size From Up To Sample Code Sample Size Accept Number (Ac) Reject Number (Re) Sampling %
28A201100
915B30133.33
1625C50131.25
2650D80130.77
5190E130125.49
91150F200121.98
151280G321221.19
281500H501217.79
5011200J802315.97
12013200K1253410.41
320110000L200566.25
1000135000M315783.15
35001150000N50010111.43
150001500000P80014150.53
500001and aboveQ125021220.25

Frequently Asked Questions

What AQL level should I use?

AQL 0.065-0.15% is used for critical defects (safety hazards). AQL 0.40-1.0% is typical for major defects (functional failures). AQL 1.5-4.0% is common for minor defects (cosmetic issues). The appropriate level depends on the consequences of defects reaching the customer and industry standards.

Does passing AQL inspection guarantee lot quality?

No. AQL sampling is a probabilistic method — it reduces risk but cannot guarantee zero defects. A lot at exactly the AQL defect rate has roughly a 95% chance of acceptance. Lots with higher defect rates have lower acceptance probability. For zero-defect requirements, 100% inspection or process capability control (Cpk) is necessary.