Choose your AQL, risks, and plan fast. See the smallest sample meeting acceptance probability targets. Download clear reports for audits, suppliers, and teams now.
| Lot Size (N) | AQL (%) | RQL (%) | α | β | Model | Suggested n | Suggested c |
|---|---|---|---|---|---|---|---|
| 150 | 1 | 4 | 0.05 | 0.1 | binomial | 80 | 2 |
| 1200 | 0.65 | 3 | 0.05 | 0.1 | binomial | 125 | 2 |
| 5000 | 1 | 4 | 0.05 | 0.1 | binomial | 200 | 3 |
| 20000 | 0.4 | 2 | 0.05 | 0.1 | binomial | 315 | 2 |
| 800 | 1.5 | 6 | 0.1 | 0.1 | hypergeometric | 110 | 3 |
The calculator designs a single-sampling plan by searching for the smallest sample size n and acceptance number c that satisfy two risk constraints.
Hypergeometric mode replaces the binomial probability when sampling without replacement from a finite lot.
AQL represents the defect level a process can routinely achieve while still being acceptable. RQL (often called LTPD) represents an unacceptable level you want to catch. A practical pairing keeps RQL at least 3× to 6× higher than AQL. For example, an AQL of 1.0% with an RQL of 4.0% creates clear separation between “good” and “bad” lots and supports supplier agreements and contracts.
Producer risk α is the chance of rejecting a lot that is truly at the AQL. Consumer risk β is the chance of accepting a lot that is truly at the RQL. Many programs start near α = 0.05 and β = 0.10, which translates to Pa(AQL) ≥ 0.95 and Pa(RQL) ≤ 0.10. Tightening α or β increases inspection effort because the plan must discriminate more strongly. Loosening targets reduces sample size but can raise dispute risk.
The calculator searches a single-sampling plan (n, c) that meets both risk limits. Larger lots do not always require proportionally larger samples, because the probability model focuses on defect rate rather than count. When the inspection fraction n/N becomes high, switching to the finite-lot model helps prevent overconfidence. For small lots, hypergeometric probabilities can be noticeably stricter than binomial. Check that the recommended n fits your receiving window.
The acceptance number c is the maximum defectives allowed in the sample. Holding n constant, a lower c reduces acceptance probability and protects the customer, but it can raise false rejections. Many teams set different plans by defect class: critical defects often use c = 0, major defects allow small c values, and minor defects may permit higher c with larger n. Keep defect definitions consistent across sites.
A sampling plan is most useful when combined with process data. Track actual defectives found per lot, the observed sample defect rate, and the decision outcome. If repeated lots fail near the same RQL, trigger containment and corrective action rather than simply increasing n. Exported CSV/PDF results support audits, supplier reviews, and clear risk communication.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.