Calculators.Life Calculator
Statistics

AQL Sampling Calculator

Input Parameters

Scenarios
Total number of units in the inspection lot
General Level II is standard for consumer goods quality inspections.
Acceptance quality limit for critical hazards or compliance violations.
Acceptance quality limit for major functional defects.
Acceptance quality limit for cosmetic or minor workmanship issues.

Computed Results

Required Sample Size (Units)
125
Sample Size Code LetterK
Critical Defects (Ac / Re)Ac 0 / Re 1
Major Defects (Ac / Re)Ac 7 / Re 8
Minor Defects (Ac / Re)Ac 10 / Re 11
Inspection Ratio (% of Lot)4.17%

The AQL calculator determines the required sample size and defect tolerance for quality control inspections based on the ISO 2859-1 and ANSI/ASQ Z1.4 standards. By entering your lot size, inspection level, and acceptable quality limits, you can quickly find the exact number of units to inspect and the maximum number of allowable defects before a batch is rejected.

Practical Use Cases

Acceptance Quality Limit (AQL) sampling is a standard statistical tool used in manufacturing and supply chain quality control. Instead of inspecting every single item in a production run, inspectors check a statistically significant sample. This calculator is commonly used for:

How the AQL Calculation Works

The AQL calculator does not use a single mathematical equation; instead, it automates the lookup process across standard AQL tables (ISO 2859-1 / ANSI/ASQ Z1.4). The process follows two main steps:

1. Determining the Sample Size Code Letter

First, the calculator matches the Lot Size with the selected Inspection Level to find a specific Code Letter. The standard tables group lot sizes into ranges (e.g., 1,201 to 3,200 units). For example, a lot size of 3,000 under General Inspection Level II corresponds to Code Letter K.

2. Finding the Sample Size and Acceptance Limits

Once the Code Letter is identified, it dictates the Required Sample Size. Code Letter K requires a sample size of 125 units. The calculator then cross-references this sample size with your chosen AQL percentages for Critical, Major, and Minor defects to determine the Acceptance (Ac) and Rejection (Re) numbers. If the number of defects found during inspection exceeds the Acceptance number, the entire lot fails the inspection.

Verified Scenario Walkthroughs

Below are examples of how different inspection parameters affect the required sample size and defect limits.

Small Batch with Strict Inspection

For a small, high-value batch requiring specialized inspection:

Standard Production Run Inspection

For a typical consumer goods inspection:

Large Scale High-Volume Manufacturing

For a massive production run requiring a higher level of scrutiny:

Minimal Inspection Level for Bulk

For bulk items where minimal sampling is sufficient:

How to Use the Calculator

Follow these steps to determine your sampling plan:

  1. Enter the Lot / Batch Size: Input the total number of units in the shipment or production run.
  2. Select the Inspection Level: Choose the appropriate level. General Level II is the standard for most consumer goods. Special levels (S1-S4) are used when smaller sample sizes are necessary, often for destructive testing.
  3. Set AQL Percentages: Select the acceptable quality limits for Critical, Major, and Minor defects based on your quality control requirements.
  4. Review the Results: The calculator will display the required sample size, the corresponding code letter, and the specific Acceptance (Ac) and Rejection (Re) limits for each defect category.

Inputs and Outputs

FieldTypeDescription
Lot / Batch SizeInputTotal number of units in the inspection lot.
Inspection LevelInputThe level of scrutiny applied. General Level II is standard.
AQL Critical Defects (%)InputAcceptance quality limit for critical hazards or compliance violations.
AQL Major Defects (%)InputAcceptance quality limit for major functional defects.
AQL Minor Defects (%)InputAcceptance quality limit for cosmetic or minor workmanship issues.
Required Sample Size (Units)OutputThe exact number of units that must be randomly selected and inspected.
Sample Size Code LetterOutputThe standard letter designation based on lot size and inspection level.
Critical / Major / Minor Defects (Ac / Re)OutputThe maximum number of acceptable defects (Ac) and the threshold for rejection (Re) for each category.
Inspection Ratio (% of Lot)OutputThe percentage of the total lot that is being inspected.

Frequently Asked Questions

What does Ac and Re mean in AQL?

Ac stands for Acceptance number, which is the maximum number of defective units allowed in the sample for the lot to pass. Re stands for Rejection number; if the number of defective units equals or exceeds this number, the entire lot fails the inspection.

Why does the sample size not increase proportionally with the lot size?

AQL sampling is based on statistical probability. As the lot size grows, a proportionally smaller sample is mathematically sufficient to represent the quality of the entire batch with a high degree of confidence.

What is the difference between General and Special inspection levels?

General inspection levels (I, II, III) are used for standard visual and functional checks, with Level II being the default. Special inspection levels (S1, S2, S3, S4) require much smaller sample sizes and are typically used when inspections are time-consuming, expensive, or involve destructive testing.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.