PharmaCalc

Pharmaceutical Calculation Suite

← All calculator guides Open calculator →
📦

AQL Sampling (Acceptance Quality Level)

Define sampling plans and acceptance criteria for lot inspection. Based on ANSI/ASQ Z1.4 standard.

ANSI/ASQ Z1.4 ISO 2859 Acceptance Sampling QC
🏭

Industry Use

AQL Sampling in Pharmaceutical QC

Acceptance Quality Level (AQL) sampling is an attributes inspection method (defects: pass/fail) that defines the maximum proportion of defects acceptable in a lot. It is based on ANSI/ASQ Z1.4 (Sampling Procedures and Tables for Inspection by Attributes) and ISO 2859-1, the international equivalents. AQL sampling is widely used in pharmaceutical QC for incoming material inspection, packaging inspection, and final product release.

Key concept: Rather than inspect 100% of a lot (100% inspection), AQL sampling provides risk-managed statistical assurance through strategic sampling. The supplier and customer agree on an AQL (e.g., 0.65% for critical defects, 1.0% for major, 2.5–4.0% for minor). The sampling plan defines: lot size → sample size code → sample size (n) and acceptance number (Ac). If ≤ Ac defects found in n samples, lot is ACCEPTED. If > Ac, lot is REJECTED.

Inspection Levels: Normal (default), Tightened (after failures), and Reduced (after consistent acceptances). Tightened increases stringency; Reduced decreases sample size when supplier is reliable.

📐

Calculation Explanation

ANSI/ASQ Z1.4 Sampling Plan Tables

AQL sampling uses two-stage lookup tables:

Step 1: Sample Size Code Letter — From Table I, based on lot size N and Inspection Level (typically II = Normal):

Lot Size N → Inspection Level II → Code Letter (A, B, C, ..., R)

Step 2: Sampling Plan (n, Ac, Re) — From Table II-A (Normal Inspection), using Code Letter and AQL:

Code Letter + AQL → Sample Size n, Acceptance # Ac, Rejection # Re

Example: Lot size 2,500, Normal Inspection Level II, AQL = 1.0%:

Inspection Level Switching:

ANSI/ASQ Z1.4:2018 ISO 2859-1:2023 FDA Inspection Guidance
📋

Variable Definitions

Symbols and Descriptions

Symbol Name Description
N Lot Size Total number of units in the lot being inspected
Level Inspection Level I (reduced), II (normal, default), III (tightened)
Code Sample Size Code Letter From Table I (e.g., A–R). Determines sample size.
AQL Acceptance Quality Level (%) Max acceptable defect rate (0.65%, 1.0%, 1.5%, 2.5%, 4.0%, etc.)
n Sample Size Number of units to inspect from the lot
Ac Acceptance Number Max defects allowed to accept lot (≤ Ac → ACCEPT)
Re Rejection Number Min defects to reject lot (≥ Re → REJECT)
d Actual Defects Found Number of nonconforming units in sample of n
Pa Probability of Acceptance Statistical likelihood of accepting the lot at given defect rate
📝

Step-by-Step Tutorial

Worked Example — Incoming Material Inspection

→ Open AQL Sampling Calculator