Acceptance sampling
AQL Acceptance Sampling & Operating Characteristic Curve Calculator
Compare exact binomial and finite-lot hypergeometric acceptance probabilities, producer and consumer risk, and AOQ under rectifying inspection.
Pa = P(Defectives in sample ≤ Ac)
Worksheet inputs
Inputs
Results
- Lot acceptance · hypergeometric
- 78.8375%
- Lot acceptance · binomial
- 78.4419%
- Rejection number (Re)
- 3
- Modeled finite-lot defectives
- 24
- Realized finite-lot rate
- 2%
- Producer risk α · binomial
- 4.6553%
- Consumer risk β · binomial
- 10.0937%
- Producer risk α · finite lot
- 4.0527%
- Consumer risk β · finite lot
- 9.3154%
- Average outgoing quality · binomial
- 1.4642%
- Average outgoing quality · finite lot
- 1.504%
Model notes
Random sampling without replacement uses a fixed whole count of defectives, rounded from lot size times the entered rate. The binomial uses the rate directly for independent draws.
AOQ assumes rejected lots are fully screened and sample defectives are replaced with good units. Finite-lot AOQ weights the defectives remaining after each accepting sample outcome.
Frequently asked questions
When should finite-lot acceptance differ visibly from the binomial?
The difference can matter when the sample is a large fraction of a fixed lot or each defective shifts the lot rate substantially. Use the exact finite population for the count actually present.
What does producer risk measure at the selected AQL?
It is the chance that the sampling plan rejects a lot or process at the AQL risk point. Consumer risk is the chance of accepting at the separate RQL or LTPD point.
Does an OC curve identify the contractual sample size for a purchase order?
Enter the sample size and thresholds required by your contract, inspection level and switching rules. This worksheet evaluates the resulting plan and its risks.