Sub topic 12
Sigma Level and Defects per Million Opportunities
This chapter assumes you can compute a mean and sample standard deviation, and that you know the normal distribution assigns probabilities to ranges measured in standard deviations from the mean. It also assumes you know what a specification limit is and that a defect is an output outside what the customer requires. The chapter turns those ideas into a single score that lets you compare processes.
Why a single score is needed
Capability indices such as Cp and Cpk work well for a continuous measurement like a shaft diameter. Many processes produce something else: invoices with errors, calls that are dropped, or orders shipped late. These outputs are counted rather than measured, and one process may produce several kinds of defects.
Sigma level and defects per million opportunities (DPMO) give a common scale. DPMO states how often things go wrong. Sigma level restates that rate as "how many standard deviations of room does the process have", so a call center and a foundry can be compared on the same footing.
Defects, units, and opportunities
Three counts feed the calculation. Mixing them up is the most common error.
- A unit is one item that passes through the process, such as an invoice, a part, or a call.
- A defect is one failure to meet a requirement. A single unit can contain several defects.
- An opportunity is one distinct chance for a defect to occur on a unit. An invoice with four fields that can each be wrong has four opportunities.
The formula is:
DPMO = (defects / (units × opportunities per unit)) × 1,000,000
Defects per unit (DPU) is a related figure: defects divided by units. It ignores opportunities, so it cannot fairly compare a simple product with a complex one.
Worked example
A team audits 500 invoices. Each invoice has four fields that can be wrong: customer, amount, tax code, and due date. The audit finds 38 wrong fields in total.
- Total opportunities: 500 × 4 = 2,000
- Defect rate: 38 / 2,000 = 0.019
- DPMO: 0.019 × 1,000,000 = 19,000
Of the 2,000 chances to make an error, 1.9% went wrong. The long-term yield, meaning the fraction of opportunities handled correctly, is 98.1%.
From DPMO to a sigma level
A sigma level answers this question: if the output were normally distributed, how many standard deviations would separate the process mean from the nearest limit, given this defect rate?
The steps are:
- Compute DPMO from the counts.
- Convert it to a long-term yield: 1 − DPMO / 1,000,000.
- Find the z-score whose cumulative normal probability equals that yield. Python's
NormalDist().inv_cdfdoes this. - Add the conventional 1.5 shift to get the reported sigma level.
The next chapter explains why the 1.5 is added. For now, treat it as a fixed convention that most Six Sigma tables use.
Computing it in Python
The function below performs steps 2 to 4. It rejects values at 0 or 1,000,000 because the inverse normal is undefined there.
from statistics import NormalDist
def sigma_level(dpmo, shift=1.5):
# Short-term sigma level = z-score of the long-term yield + the conventional shift.
if not 0 < dpmo < 1_000_000:
raise ValueError("dpmo must be between 0 and 1,000,000 (exclusive)")
long_term_yield = 1 - dpmo / 1_000_000
return NormalDist().inv_cdf(long_term_yield) + shift
print(sigma_level(3.4)) # about 6.0
print(sigma_level(66807)) # about 3.0Now add a helper for the counts, and apply both to the invoice audit:
from statistics import NormalDist
def dpmo(defects, units, opportunities_per_unit):
return defects / (units * opportunities_per_unit) * 1_000_000
def sigma_level(dpmo_value, shift=1.5):
if not 0 < dpmo_value < 1_000_000:
raise ValueError("dpmo must be between 0 and 1,000,000 (exclusive)")
return NormalDist().inv_cdf(1 - dpmo_value / 1_000_000) + shift
d = dpmo(defects=38, units=500, opportunities_per_unit=4)
print(d) # 19000.0
print(round(sigma_level(d), 2)) # about 3.58The invoice process runs at roughly 3.6 sigma. That is better than the 3.0 level (about 66,807 DPMO) but far from 6.0.
The reference table
Going the other way, from a sigma level to DPMO, uses the normal cumulative distribution. With the 1.5 shift:
from statistics import NormalDist
def dpmo_from_sigma(sigma, shift=1.5):
return (1 - NormalDist().cdf(sigma - shift)) * 1_000_000
for s in range(1, 7):
print(s, round(dpmo_from_sigma(s), 1))The output matches the standard table:
| Sigma level | DPMO (with 1.5 shift) | Long-term yield |
|---|---|---|
| 1 | 691,462 | 30.85% |
| 2 | 308,538 | 69.15% |
| 3 | 66,807 | 93.32% |
| 4 | 6,210 | 99.38% |
| 5 | 233 | 99.977% |
| 6 | 3.4 | 99.99966% |
Two features of this table matter for decisions. First, each step up cuts defects sharply: moving from 3 to 4 sigma removes about 90% of defects, and moving from 4 to 5 removes about 96%. Second, the yield column barely moves at the top. A process at 99.38% yield sounds excellent, yet it still produces 6,210 defects in every million opportunities. DPMO is the more honest number once yield is high.
Common errors
Counting defective units instead of defects
If one invoice has three wrong fields, that is three defects but one defective unit. DPMO counts defects against opportunities. Counting units against units gives a different measure called percent defective. Both are valid, but they are not interchangeable and they give different sigma levels.
Inflating opportunities
Opportunities sit in the denominator. If a team defines 50 trivial opportunities per invoice, DPMO drops and the sigma level rises, with no real improvement. Define opportunities as checks the customer cares about and that can fail independently. Use the same definition when comparing before and after, and when comparing processes.
Ignoring that yield compounds across steps
If a process has ten steps and each step is 99% defect-free, the chance that a unit passes through all ten without a defect is 0.99 to the tenth power, about 90.4%. This is the rolled throughput yield. A reported sigma level for the whole process hides this multiplication. Sigma levels for individual steps are often more useful for finding where to work.
Applying the conversion to non-normal data
The conversion assumes that the underlying output behaves like a normal distribution. For counted defects, the DPMO figure is still correct because it comes from direct counts. Only the translation into sigma depends on the normal model. When the data is badly skewed, treat the sigma level as a communication device and rely on DPMO for the facts.
Small samples
With 38 defects the DPMO estimate has real uncertainty. If the true defect rate is rare, a sample with zero defects gives DPMO of 0, and the function raises an error. That result means the sample was too small to observe a failure. It does not mean the process is perfect. Collect enough units to expect a meaningful number of defects, or use a confidence interval on the defect rate.
Connecting back to variation
Sigma level is a statement about variation. A process with small spread relative to its specification limits produces few defects, which means many standard deviations fit between the mean and the nearest limit. This links directly to Cpk: a process whose short-term Cpk is 2.0 has 6 standard deviations between its mean and the nearest limit, which is the 6 sigma level before any shift. Reducing variation, centering the process, or widening the tolerance (if the customer allows it) all raise the sigma level.
Exercise
A call center handles 2,500 calls. Each call has 5 opportunities for a defect (greeting, identification, resolution, hold time, closing). Auditors record 70 defects. Compute DPMO and the sigma level using the 1.5 shift, and explain whether counting 20 extra "opportunities" per call would be a valid way to improve the sigma level.
Show answer
Total opportunities = 2,500 × 5 = 12,500. DPMO = 70 / 12,500 × 1,000,000 = 5,600. Long-term yield = 0.9944. The z-score of 0.9944 is about 2.54, so the sigma level is about 2.54 + 1.5 = 4.04, roughly 4.0. Adding 20 trivial opportunities per call would increase the denominator to 2,500 × 25 = 62,500 and cut DPMO to 1,120, which would raise the sigma level to about 4.6. This is not a valid improvement, because the number of defects the customer experiences is unchanged. Opportunities must be defined as meaningful, independent checks and held constant when comparing results.
Exercise
A process reports 99.9% yield. What is its DPMO, and is it six sigma?
Show answer
99.9% yield means 0.1% of opportunities are defective, which is 1,000 DPMO. Six sigma requires 3.4 DPMO, so this process is not there. Its sigma level is the inverse normal of 0.999 (about 3.09) plus 1.5, which is about 4.6.