OC Curve Calculator (Operating Characteristic)

Calculate operating characteristic curve probabilities for acceptance sampling plans. Evaluate producer and consumer risk at various defect rates.

P(accept) at 1%
95.34%
Near AQL
P(accept) at 5%
23.06%
At moderate defect rate
P(accept) at 10%
1.07%
Near LTPD
Defect RateP(Accept)
0.00%100.00%
0.50%99.23%
1.00%95.34%
1.50%88.08%
2.00%78.44%
3.00%56.81%
4.00%37.48%
5.00%23.06%
7.00%7.50%
10.00%1.07%
15.00%0.03%
20.00%0.00%
Planning notes, formulas, and examples

About the OC Curve Calculator (Operating Characteristic)

The operating characteristic (OC) curve is a graph that shows the probability of accepting a lot as a function of the actual lot quality (defect rate). It is the most powerful tool for evaluating how well a sampling plan discriminates between good and bad lots.

For any given sampling plan (n, Ac), the OC curve plots the acceptance probability at each possible defect rate from 0% to 100%. A steep OC curve indicates a plan that sharply distinguishes between acceptable and unacceptable quality. A flat curve means the plan offers little discrimination, accepting good and bad lots at similar rates.

This calculator computes acceptance probabilities at multiple defect rates for a given single sampling plan, allowing you to evaluate producer's risk (α), consumer's risk (β), and overall plan effectiveness.

By calculating this metric accurately, production managers gain actionable insights that drive continuous improvement efforts and strengthen overall operational performance across the shop floor.

When This Page Helps

The OC curve reveals the true performance of your sampling plan. Without it, you cannot know how likely you are to accept lots of various quality levels, or whether your plan adequately protects against poor quality.

How to Use the Inputs

  1. Enter the sample size (n) of your sampling plan.
  2. Enter the accept number (Ac).
  3. Review the table of acceptance probabilities at different defect rates.
  4. Identify the probability at your AQL (should be ~95% for good producer's risk).
  5. Identify the probability at your LTPD (should be ~10% or less for adequate consumer's risk).
  6. If risks are unacceptable, increase sample size to steepen the OC curve.
Formula used
P(accept) = Ī£ from x=0 to Ac of C(n,x) Ɨ p^x Ɨ (1āˆ’p)^(nāˆ’x) where: • n = sample size • Ac = accept number • p = true defect rate (proportion) • C(n,x) = binomial coefficient

Example Calculation

Result: P(accept) = 0.783 at 2% defect rate

For n = 80, Ac = 2, at p = 0.02: the probability of finding 0, 1, or 2 defects is approximately 78.3%. This means 78.3% of lots with a true 2% defect rate would be accepted by this plan.

Tips & Best Practices

  • Compare OC curves of different plans to select the one that best balances inspection cost and quality risk.
  • An ideal OC curve would be a step function — accepting all lots at AQL and rejecting all at LTPD.
  • Increasing sample size steepens the OC curve, improving discrimination.
  • Use the Poisson approximation when n ≄ 16 and p ≤ 0.1 for faster calculations.
  • Plot OC curves for normal, tightened, and reduced plans to understand switching scheme behavior.
  • Share OC curves with stakeholders to set realistic expectations about sampling plan performance.

Reading the OC Curve

The x-axis shows the lot defect rate (proportion defective, p). The y-axis shows the probability of acceptance, P(accept). At p = 0, P(accept) = 1 (perfect lots are always accepted). As p increases, P(accept) decreases, eventually approaching 0.

Comparing Sampling Plans

Overlay OC curves of candidate plans to compare them visually. The plan with the steepest drop in the critical quality region offers the best discrimination. Balance this against the cost of larger samples.

OC Curve and Switching Rules

In Z1.4, switching from normal to tightened inspection is equivalent to moving to a steeper OC curve with more protection. Understanding the OC curves at each level helps quality managers set appropriate switching criteria.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Producer's risk (α) is 1 minus the acceptance probability at the AQL. It is the probability of rejecting a lot whose quality is at the acceptable level. Typically set at 5% (P(accept) = 95% at AQL).