# Deming kp Rule Calculator: Inspect Everything or Nothing?

> Source: https://netray.co/tools/deming-kp-rule-100-percent-inspection-calculator
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Compare the cost of inspecting every piece with the cost of letting defectives through, including imperfect inspectors.

## Category

quality

## Audience

- Quality manager
- Plant manager
- Supplier quality

## Tool

**Kind:** calculator

**Currency:** $

**Inputs:**

#### Process percent defective

**Key:** p

**Type:** slider

**Default:** 1.5

**Min:** 0.1

**Max:** 10

**Step:** 0.1

**Unit:** %

#### Annual volume

**Key:** volume

**Type:** number

**Default:** 50000

**Min:** 1

**Step:** 1000

**Unit:** units

#### Cost to inspect one piece (k1)

**Key:** k1

**Type:** number

**Default:** 0.35

**Min:** 0

**Step:** 0.05

**Unit:** $

#### Cost when a defective reaches the next stage (k2)

**Key:** k2

**Type:** number

**Default:** 18

**Min:** 0

**Step:** 1

**Unit:** $

**Help:** Rework, line stoppage, warranty or customer cost for one escaped defective.

#### Inspection effectiveness

**Key:** eff

**Type:** slider

**Default:** 85

**Min:** 1

**Max:** 100

**Step:** 1

**Unit:** %

**Help:** Share of defectives the inspection actually catches.

**Outputs:**

#### Defect fraction

**Key:** p_frac

**Expr:** p / 100

**Format:** decimal

#### Effectiveness fraction

**Key:** e_frac

**Expr:** eff / 100

**Format:** decimal

#### Break-even defect rate

**Key:** breakeven

**Expr:** k1 / (e_frac * k2) * 100

**Format:** percent

**Primary:** true

**Description:** Above this rate, 100 percent inspection costs less than shipping defectives.

#### Annual cost with no inspection

**Key:** cost_none

**Expr:** volume * p_frac * k2

**Format:** currency

#### Annual cost with 100 percent inspection

**Key:** cost_all

**Expr:** volume * (k1 + p_frac * (1 - e_frac) * k2)

**Format:** currency

#### Saving from 100 percent inspection

**Key:** saving

**Expr:** cost_none - cost_all

**Format:** currency

**Primary:** true

**Description:** Negative means do not inspect everything; use sampling or fix the process.

#### Decision code (1 = inspect all, 0 = do not)

**Key:** decision

**Expr:** if(gt(saving, 0), 1, 0)

**Format:** integer

**Chart:**

#### Annual cost: no inspection vs 100 percent inspection

**Type:** line

**X:** p

**From:** 0.1

**To:** 10

**Steps:** 40

**Series:**

- cost_none
- cost_all

**Disclaimer:** A simplified cost model. It ignores sampling plans and the value of fixing the root cause, which is usually the better answer.

## Content

**Intro:** W. Edwards Deming's kp rule says that if the cost of inspecting a piece is less than the expected cost of letting a defective through, inspect every piece; otherwise inspect none. Real inspectors miss defects, so this version builds that in.

**Sections:**

#### How to use it

**Body:** Enter the current defect rate, annual volume, what inspecting one piece costs, and what one escaped defective costs the next stage or customer. Then set inspection effectiveness. A visual inspector might catch 80 to 90 percent; an automated gauge may catch nearly all. The calculator returns the break-even defect rate, both annual costs and the saving. The chart shows the two cost lines and where they cross.

**Bullets:**

- k2 should be the full cost of an escape, not only the part price.
- Use measured effectiveness from a seeded defect test if you have one.
- Run the chart across your best and worst months of p.

#### The rule and its formula

**Body:** With perfect inspection the rule is simple: inspect all when p is greater than k1 / k2. With imperfect inspection that only catches a fraction e of defectives, the break-even becomes p = k1 / (e x k2). Cost with no inspection is volume x p x k2. Cost with 100 percent inspection is volume x (k1 + p x (1 - e) x k2), because you pay to inspect every piece and still pass on the defectives you miss.

#### Reading the result

**Body:** At the defaults, break-even is about 2.3 percent. The process runs at 1.5 percent, so screening everything would cost more than the escapes it prevents, and the saving is negative. If the same process drifted to 5 percent, 100 percent inspection would clearly win. Either answer should trigger a root cause effort, because inspection never makes parts better.

#### Common mistakes

**Body:** Underestimating k2 is the most common error: escapes to a customer cost far more than a rework hour. Another is assuming 100 percent inspection is 100 percent effective; fatigue makes repeated visual screening less reliable. Finally, the rule is a decision about economics only. Safety critical or regulated characteristics may require full inspection regardless of the numbers.

**Cta:** We can help pull your real escape and rework costs from ERP and quality data so k1 and k2 are measured, not guessed. Ask for a quick review.

**Faq:**

#### What is the Deming kp rule?

**Answer:** It compares the cost of inspecting one piece with the expected cost of a defective passing on. If inspection is cheaper than the expected loss, inspect everything; if not, inspect nothing and work on the process. Sampling is a middle path.

#### Why include inspector effectiveness?

**Answer:** Because 100 percent inspection is never 100 percent effective. Missed defectives still carry the escape cost, so break-even moves to a higher defect rate than the simple k1 / k2 formula suggests.

#### What if the answer is to inspect nothing?

**Answer:** It means the defect rate is low enough that screening costs more than escapes. It does not mean you can stop checking the process. Use process control and periodic audits to catch any drift.

#### Does this replace a sampling plan?

**Answer:** No. Sampling plans fit the middle range where lots are usually good but not certain to be. This calculator frames the two extremes and tells you whether either one is justified.

## Search terms

Deming kp rule, 100 percent inspection break-even, inspect all or none, cost of inspection vs cost of defect, should we 100 percent inspect, inspection economics calculator, kp rule calculator, screening cost break even

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
