Acceptance sampling operating curve calculator

Calculate finite-lot acceptance probabilities [D,probability] and lot defect fractions with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use finite-lot acceptance probabilities [D,probability] and lot defect fractions to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Finite lot size (units)
20
Random sample without replacement (units)
5
Acceptance maximum defects (units)
0
Defective counts in lot for curve (units)
0,2,4,6
Finite-lot acceptance probabilities [D,probability]
[[0,1],[2,0.552631578947],[4,0.28173374613],[6,0.129127966976]]
Lot defect fractions
[0,0.1,0.2,0.3]

Try another scenario

Finite lot size (units)
20
Random sample without replacement (units)
5
Acceptance maximum defects (units)
1
Defective counts in lot for curve (units)
0,2,4,6
Finite-lot acceptance probabilities [D,probability]
[[0,1],[2,0.947368421053],[4,0.75128998968],[6,0.516511867905]]
Lot defect fractions
[0,0.1,0.2,0.3]
Calculation method

Calculation method

Finite-lot acceptance probabilities [D,probability]

For each integer D: sum C(D,k)*C(N-D,n-k)/C(N,n), k=max(0,n-(N-D))..min(c,n,D).

Lot defect fractions

D/N for each supplied D.

Symbols and units
a
Finite lot size (units)
b
Random sample without replacement (units)
c
Acceptance maximum defects (units)
d
Defective counts in lot for curve (units)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Exact hypergeometric attribute sampling under simple random sampling without replacement. Does not choose a plan or infer acceptable quality levels. Use integer defective lot counts to avoid ambiguous rate rounding. Supported limits: 1<=n<=N<=100000; 0<=c<=n; each D integer in 0..N; <=100 curve points.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Further reading

Method reference ↗

Background reading; this does not imply endorsement or independent review of SumFizz.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.