SAPFree calculatorPDF, Excel, Word exportSAP S/4HANA

OC Curve and Acceptance Probability Calculator for SAP QM Sampling

The operating characteristic (OC) curve answers a practical question: if a supplier ships lots at a given defect rate, how often will your inspection plan accept them? Use it before you maintain a sampling procedure in SAP QM, or when a supplier challenges a rejection.

Your numbers

units
2 %

Your results

Probability of accepting the lot
73.6%
Average outgoing quality (rejected lots screened)
1.5%
Large-lot approximation, assumes rejected lots are 100 percent inspected and defects replaced.
Defect fraction
0.02
P(0 defects in sample)
0.3642
P(1 defect in sample)
0.3716
P(2 defects in sample)
0.1858
Probability of rejecting the lot
26.4%

Binomial model, valid for lots much larger than the sample (rule of thumb: lot at least 10 times the sample).

Save results:

OC curve and AOQ across incoming defect rate

Sweeps Incoming lot defect rate from 0 to 10, holding your other inputs fixed.

Lot acceptance analytics from SAP

Optional: discuss pulling lot rejection and usage decision trends out of your SAP QM data.

Optional. The tool and every export work without this. No spam.

How to use it

Set the sample size and acceptance number of the plan you are evaluating, then slide the incoming defect rate. The result shows the probability of acceptance and the average outgoing quality (AOQ). The chart sweeps defect rate from 0 to 10 percent so you can read the whole curve at once. Compare two plans by running each and noting the acceptance probability at your AQL and at your LTPD.

Formulas

Acceptance probability is the cumulative binomial: Pa = sum for k = 0..c of C(n,k) x p^k x (1-p)^(n-k). The calculator evaluates the terms explicitly for c up to 2. AOQ is approximately p x Pa, assuming rejected lots are fully screened and corrected. The peak of the AOQ curve is the average outgoing quality limit (AOQL), the worst long-run quality the plan lets through.

Reading the curve

A steep curve discriminates well between good and bad lots. A shallow curve, typical of small samples, accepts poor lots often and rejects good ones. If a plan accepts 90 percent of lots at your AQL but still accepts 20 percent at your LTPD, increase the sample size, not the acceptance number alone, because raising c at the same n makes the curve more lenient.

Common mistakes

Do not mix up the lot defect rate with the sample defect rate. Do not use this model for tiny lots, where the hypergeometric distribution is correct. And remember that an SAP dynamic modification rule changes the plan over time, so the curve you evaluate is only valid for the current inspection stage.

Frequently Asked Questions

What is a good probability of acceptance at the AQL?

Many plans target 90 to 95 percent acceptance at the AQL. That is the producer risk, so the lower it is, the more good lots get rejected.

What does AOQ tell me?

It estimates the defect rate in product after inspection, when rejected lots are screened. Its maximum, the AOQL, is the worst average outgoing quality over all possible incoming rates.

Why limit c to 2?

The tool writes out the binomial terms directly. That covers the usual receiving inspection plans, and larger acceptance numbers should use a spreadsheet or statistics package.

Is this valid for variables sampling?

No. The OC curve of a variables plan has a different form and depends on the standard deviation and k value used.

We can summarise lot acceptance history and rejection reasons from your SAP QM data so you can compare real performance with these curves.