acceptable quality level calculator

AQL Sampling Plan Calculator

Use this tool to estimate a practical single-sample inspection plan using lot size, inspection level, and AQL. It returns a code letter, sample size, and acceptance/rejection numbers.

Note: This calculator provides an educational approximation based on common ANSI/ASQ Z1.4-style lot-size coding and Poisson acceptance estimation. Always verify against your contract, customer standard, or regulatory requirement.

What Is an Acceptable Quality Level (AQL)?

AQL is a quality benchmark used in acceptance sampling. It represents the maximum percentage of defects that can be considered acceptable as a process average during inspection. In simple terms: if a supplier’s quality stays around this defect level, lots are expected to pass most of the time.

AQL is not a promise of zero defects. Instead, it balances inspection cost, risk, and practicality. Industries such as manufacturing, medical devices, apparel, electronics, and consumer goods commonly use AQL-based plans for incoming and outgoing quality control.

How This Calculator Works

1) It determines a sample size code letter

Based on your lot size and selected inspection level (I, II, or III), the calculator assigns a code letter. This mirrors the classic approach used in standard sampling systems.

2) It converts code letter to sample size

Each code letter maps to a standard sample size (for example, J = 80, K = 125, L = 200, etc.). This keeps plans consistent and easy to communicate across teams.

3) It estimates acceptance number (Ac)

Using your AQL and target producer acceptance probability (default 95%), the tool estimates the acceptance number using a Poisson model. Rejection number (Re) is set to Ac + 1.

4) Optional pass/fail check

If you enter observed defects from the inspected sample, the calculator instantly labels the lot as accepted or rejected under the estimated plan.

Input Guide

  • Lot size: Total units in the production lot or shipment lot.
  • Inspection level: Level I uses smaller samples, Level II is standard, Level III uses larger samples.
  • AQL (%): Typical values include 0.10, 0.65, 1.0, 1.5, 2.5, and 4.0 depending on risk tolerance and defect class.
  • Producer acceptance probability: Probability of accepting a lot when quality is exactly at AQL (often around 95%).
  • Observed defects: Actual defect count found in your sample to evaluate pass/fail.

Interpreting Results

After calculation, you receive a practical plan with these outputs:

  • Code Letter: Sampling code from lot-size and level mapping.
  • Sample Size (n): Units to inspect from the lot.
  • Acceptance Number (Ac): Maximum defects allowed to accept the lot.
  • Rejection Number (Re): Minimum defects that reject the lot (Re = Ac + 1).
  • Estimated defects at AQL: Expected defective units in the lot at your selected AQL.

Practical Example

Suppose you have a lot of 1,200 units at Inspection Level II and AQL 1.0%:

  • Code letter is typically K.
  • Sample size is 125 units.
  • The estimated acceptance number often lands around 3 defects (depending on confidence target).
  • If you find 0–3 defects, accept; if you find 4 or more, reject.

Common AQL Ranges by Defect Severity

Critical defects

Usually near zero tolerance (very low AQL or c=0 plans). These are safety, compliance, or legal-risk defects.

Major defects

Often managed with tighter AQL values like 0.65% to 1.5%, depending on product function and brand risk.

Minor defects

Often assigned larger AQL values such as 2.5% or 4.0% when appearance issues are less severe and functionality is unaffected.

Best Practices for Teams

  • Define defect classes clearly before inspection starts.
  • Use the same sampling language in PO terms, QA agreements, and supplier scorecards.
  • Track trends across lots; AQL is most useful when combined with process capability and root-cause analysis.
  • Escalate to tighter inspection or corrective action when repeated marginal lots occur.
  • For regulated products, align plans with required standards and validation protocols.

Important Limitation

This page is designed for learning and fast planning. Official acceptance/rejection decisions should use the exact standard table and switching rules (normal, tightened, reduced) required by your customer contract or quality system.

🔗 Related Calculators