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
Your results
Binomial model, valid for lots much larger than the sample (rule of thumb: lot at least 10 times the sample).
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.
Related Tools
SAP QM Zero Acceptance Sample Size Calculator
Find how many units to inspect when the rule is accept on zero defects, for a given lot size, LTPD and consumer risk.
Quality & InspectionSAP QM Lot Rejection Rate, PPM and Sigma Level Calculator
Convert lots inspected, lots rejected and defective units into rejection rate, PPM, DPMO and sigma level.
Quality & InspectionSAP QM Process Capability Cp Cpk Calculator
Turn spec limits, mean and sigma from recorded inspection results into Cp, Cpk and expected PPM.
Costing & FinanceSAP QM Inspection Effort and Cost Calculator
Estimate the annual labour and destructive test cost of a sampling plan and see the effect of sample size.
More SAP tools
See allKeep exploring
Free tools
- Medical Device Lot Acceptance OC Curve CalculatorShows the chance a lot is accepted at a given defect rate for your sample size and acceptance number, plus average outgoing quality.
- Supplier Lot Acceptance Probability CalculatorCalculates the chance an incoming lot is accepted for a given supplier defect rate and sampling plan, and plots the operating characteristic curve.
- SAP QM Zero Acceptance Sample Size CalculatorFind how many units to inspect when the rule is accept on zero defects, for a given lot size, LTPD and consumer risk.
ERP fixes and how-tos
- How to create an inspection plan in SAP QM (QP01)Create an inspection plan in SAP QM with QP01: header, operations, master inspection characteristics, sampling procedure and material assignment, plus a plan report.
- How to Create a Sampling Procedure in SAP QMCreate a sampling procedure and sampling scheme in SAP QM: QDV3, QDP1, sample types, valuation modes and how to assign them to inspection plans.
- SAP QM Integration With EWM and WM: Steps and ConfigurationHow SAP QM works with WM and EWM: inspection lot at goods receipt, quality inspection stock, usage decision, putaway and the configuration each model needs.