Worked example
Example: Illustrative plan n = 80, c = 2 at 2 %. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Lot fraction defective | 2.0000 % |
| Sample size | 80.000 - |
| Acceptance number | 2.0000 - |
| Lot size | 2,000.0 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Probability of acceptance (binomial) | 78.442 % |
| Probability of acceptance (Poisson) | 78.336 % |
| Average outgoing quality (rectifying) | 1.5061 % |
| Average total inspection per lot | 493.92 |
Open this example in the calculator and change any input.
Formula
\(P_a = \sum_{d=0}^{c}\binom nd p^d(1-p)^{n-d}, \quad AOQ = \frac{P_a\,p(N-n)}{N}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(p\) | Lot fraction defective | - |
| \(n\) | Sample size | - |
| \(c\) | Acceptance number | - |
| \(N\) | Lot size | - |
| \(P_a\) | Probability of acceptance (binomial) | - |
| \(P_{a,Poisson}\) | Probability of acceptance (Poisson) | - |
| \(AOQ\) | Average outgoing quality (rectifying) | - |
| \(ATI\) | Average total inspection per lot | - |
Method and standards
OC curve.
Where it is used
- Incoming inspection plans.
- Comparing sampling plans for suppliers.
Common mistakes
- Using the Poisson approximation at large p.
- Ignoring that small lots need the hypergeometric model.
Assumptions and limits
- Random sampling; binomial model; rectifying inspection for AOQ and ATI.
References
- Single sampling plans and the OC curve
Questions and answers
What are the producer's and consumer's risks?
The chance of rejecting a good lot (at the AQL) and of accepting a bad lot (at the LTPD); read them from the OC curve at those p.
When is the binomial not right?
When the sample is more than about 10 % of the lot: the hypergeometric distribution then applies.
What do the defaults represent?
An illustrative plan n = 80, c = 2 on lots of 2,000 at 2 % defective.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Montgomery, Introduction to Statistical Quality Control, 7th ed. (Wiley, 2013)