Tabellab

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — CHF 9.90
Loading the spreadsheet…

Why quality needs a common yardstick

Every plant has a quality report, and almost every quality report has the same problem: it compares things that are not comparable. A seal kit with three things that can go wrong sits next to an actuator with twelve. A line that inspected 9,600 units sits next to one that inspected 2,100. Someone looks at a column of defect counts, picks the biggest number and starts a project. Sometimes that is the right project. Often it is not.

Six Sigma solves this with three simple measures: DPU (defects per unit), DPMO (defects per million opportunities) and first-pass yield (FPY). This free first lesson explains each of them, shows when they agree and when they tell different stories, and walks through the full calculation in Excel with the same fictional manufacturer as the lab above, Kestrel Valve Co., and its four product lines.

It is written for quality engineers and technicians, Green Belt and Black Belt candidates, production managers, operations analysts and students who need to turn inspection data into numbers that management can compare across lines, plants and months. No statistics background is needed for this lesson. You need multiplication, division and one Excel function you may not have used yet, SUMPRODUCT.

DPU, DPMO and first-pass yield, explained simply

Imagine an inspector at the end of the line. Each valve body passes her bench and she checks it for a fixed list of defect types: bore diameter, thread, surface porosity, burrs, marking and pressure test. Every defect she finds goes on the tally sheet. A single valve can have more than one defect, for example a burr and a bad marking. From that tally sheet you calculate three numbers.

  • DPU = defects ÷ units inspected. The average number of defects per unit. Because one unit can carry several defects, DPU can be above 1. It is the natural measure for "how much rework do we create per unit built".
  • FPY = defect-free units ÷ units inspected. The share of units that passed without any defect and without any rework. It is what the customer would get if you shipped straight from the line.
  • DPMO = defects ÷ (units × opportunities per unit) × 1,000,000. Defects per million chances to make a defect. It normalises for complexity, so a twelve-check actuator and a three-check seal kit can be compared fairly.

The tricky word is opportunity. An opportunity is a defect type you actually check and count, defined before you start counting. It is not every screw, every millimetre of surface or every theoretical way a part might fail. If you inflate the opportunity count, DPMO falls and the process looks better than it is. That is why serious Six Sigma programmes fix the opportunity list per product in writing and do not change it without a good reason.

A useful rule of thumb. When defects occur at random and independently (the Poisson model), first-pass yield is approximately e−DPU. In Excel: =EXP(-F2). If the measured FPY is clearly higher than this estimate, defects tend to cluster on the same units, which is itself a clue for root-cause analysis.

Worked example: one month at Kestrel Valve Co.

Kestrel Valve Co. inspected 19,700 units in one month on four product lines and found 797 defects. Here is the finished table you build in the lab:

Product lineUnitsDefectsOpps/unitDefect-freeDPUDPMOFPY
Valve body V104,80031264,5300.065010,83394.4%
Valve body V203,20015883,0680.04946,17295.9%
Actuator A52,100231121,9020.11009,16790.6%
Seal kit S39,6009639,5100.01003,33399.1%
Plant total19,700797–19,0100.04057,35296.5%
Kestrel Valve Co., one month of final inspection (fictional data from the lab). Plant DPMO = 797 ÷ 108,400 opportunities × 1,000,000.

The formulas, exactly as you enter them in the lab (row 2 is the V10 line, copy each one down to row 5):

  • DPU in F2: =C2/B2 (V10: 312 ÷ 4,800 = 0.0650)
  • DPMO in G2: =C2/(B2*D2)*1000000 (V10: 312 ÷ 28,800 × 1,000,000 = 10,833)
  • FPY in H2: =E2/B2 (V10: 4,530 ÷ 4,800 = 94.4%)
  • Plant DPMO in G6: =C6/SUMPRODUCT(B2:B5,D2:D5)*1000000 = 7,352
  • Plant DPU and FPY in F6 and H6: =C6/B6 and =E6/B6

02,0004,0006,0008,00010,00012,00010,833Valve body V106,172Valve body V209,167Actuator A53,333Seal kit S3Plant 7,352 DPMODefects per million opportunities, one month of final inspection
DPMO per product line against the plant DPMO of 7,352. The V10 valve body and the A5 actuator sit above the plant level.

Now look at what each measure says. By DPU, the A5 actuator is clearly the worst line: 0.110 defects per unit, almost twice the V10. By FPY it is also the worst: only 90.6% of actuators pass first time. But by DPMO, the V10 valve body is the worst line with 10,833 defects per million opportunities, ahead of the actuator with 9,167. How can both be true?

The answer is complexity. The actuator is checked for twelve defect types, the V10 for six. The actuator produces more defects per unit because there are twice as many things to get wrong, but each individual check fails less often. If the question is "which line causes the most rework per unit shipped?", DPU and FPY answer it and point to A5. If the question is "which process is least capable at what it does?", DPMO answers it and points to V10. Neither answer is wrong. They answer different questions, and a good quality engineer says which question she is answering.

Ranked by DPURanked by DPMOworstbestV10 · 0.065V10 · 10,833V20 · 0.049V20 · 6,172A5 · 0.110A5 · 9,167S3 · 0.010S3 · 3,333A5 has 12 opportunities per unit, so its high DPU becomes a moderate DPMO
The same four lines ranked by DPU (left) and by DPMO (right). The actuator drops from first to second place once complexity is taken into account, and the V10 valve body moves to the top.

The plant total shows the second lesson. If you simply average the four line DPMOs you get about 7,376. The correct plant DPMO, total defects divided by total opportunities, is 7,352. In this example the difference is small because the lines have similar numbers of opportunities (between 25,200 and 28,800). In a real plant where one line inspects ten times more units than another, the simple average can be far off, because it gives a tiny pilot line the same weight as the main production line. SUMPRODUCT(B2:B5,D2:D5) multiplies units by opportunities row by row and adds the results, giving 108,400 total opportunities in one step.

Finally, compare FPY with the Poisson estimate e−DPU. For the V10 the estimate is 93.7% and the measured FPY is 94.4%. For the actuator it is 89.6% against 90.6%. In every line the measured yield is slightly higher than the estimate, which means some units carry more than one defect: defects cluster a little. That is normal, and it is also why the lab warns against =1-C2/B2 as a shortcut for yield. That formula assumes no unit ever has two defects.

Getting the data right: the inspection tally sheet

The formulas are easy. The data behind them is where most quality reports fail. Before you calculate anything, make sure the inspection record gives you four clean numbers per line and period, and that everyone collects them the same way.

  • One row per defect, not per unit. A good tally sheet or inspection log records each defect with the unit serial or batch, the defect type and the date. Units with two defects then appear twice, and you can count both the defects (with COUNTIFS) and the defect-free units (units that never appear).
  • A fixed list of defect types. The defect types on the sheet are your opportunities. If an inspector writes "other" for a new problem, review it and decide whether it becomes a new opportunity for future months.
  • A clear rule for rework. A unit that was found defective, reworked and then passed counts as a defective unit for first-pass yield. If the log only records the final status, FPY will look better than reality.
  • The same period for every line. One calendar month, one week or one production order. Mixing periods makes lines look better or worse depending on when they ran.

With such a log in a table, the numbers for the lab come out of a few formulas. For example, defects of the V10 line in October: =COUNTIFS(Log[Line],"V10",Log[Month],"2026-10"), where Month is a text column such as 2026-10. Units inspected usually come from the production or test system rather than the defect log, because defect-free units never appear in a defect log. Defect-free units are then units inspected minus the number of distinct defective units, which in Excel 365 you can count with =ROWS(UNIQUE(FILTER(Log[Serial],(Log[Line]="V10")*(Log[Month]="2026-10")))).

How to calculate DPU, DPMO and FPY in Excel, step by step

  1. Define the opportunities first. Before you open Excel, write down the defect types checked for each product and count them. Put the count in a column (D in the lab). Keep this list stable from month to month.
  2. Collect four numbers per line. Units inspected, total defects, opportunities per unit and defect-free units. Defect-free units come from the inspection record, not from a calculation.
  3. Calculate DPU. In F2 type =C2/B2, press Enter, select F2:F5 and press Ctrl+D to fill down. Use Home › Number › Increase Decimal to show four decimals.
  4. Calculate DPMO. In G2 type =C2/(B2*D2)*1000000. The brackets matter: without them Excel divides by B2 and then multiplies by D2. Fill down and format with a thousands separator, Ctrl+Shift+!.
  5. Calculate FPY. In H2 type =E2/B2, fill down and format as percent with Ctrl+Shift+%. Add one decimal.
  6. Add the plant totals. Use Alt+= for the sums of units, defects and defect-free units. Then plant DPU =C6/B6, plant FPY =E6/B6 and plant DPMO =C6/SUMPRODUCT(B2:B5,D2:D5)*1000000.
  7. Check with the Poisson estimate. In a spare column type =EXP(-F2) and compare it with FPY. Big gaps are worth a look.
  8. Chart DPMO with a reference line. Select A1:A5 and G1:G5 (hold Ctrl), choose Insert › Column, then add the plant DPMO as a second series and change its chart type to a line via Chart Design › Change Chart Type › Combo.
Name your ranges with Formulas › Define Name (for example Units, Opps) and the plant formula reads like a sentence: =SUM(Defects)/SUMPRODUCT(Units,Opps)*1000000. It is easier to audit and harder to break when rows are added.

Six Sigma quality workbook in Excel with a DPMO table, a Pareto chart of defects and an X-bar control chart
From the tally sheet to control charts: this course builds the core Six Sigma toolkit in Excel, one lab per method.

Common mistakes and how to spot them

  • Forgetting the opportunities. =C2/B2*1000000 gives defects per million units, not per million opportunities. Spot it: for the actuator you would get 110,000 instead of 9,167, an order of magnitude off.
  • Missing brackets. =C2/B2*D2*1000000 multiplies by the opportunities instead of dividing. Spot it: DPMO goes up for more complex products, the opposite of what it should do.
  • Averaging line DPMOs for the plant. It ignores volume and complexity. Spot it: compare the plain AVERAGE(G2:G5) with the SUMPRODUCT result. Report the second.
  • Using 1 − DPU as yield. It only works if no unit ever has two defects. Spot it: count defect-free units directly, and expect real FPY to be a little higher than 1 − DPU.
  • Inflating opportunities. Counting every screw or feature as an opportunity makes DPMO look world-class. Spot it: ask whether each opportunity is actually inspected and recorded. If not, it does not count.
  • Comparing lines with different opportunity definitions. If one plant counts five defect types for a product and another counts nine, their DPMOs are not comparable.
  • Counting rework as a pass. First-pass yield means the unit passed the first time. A unit that was repaired and then passed is not defect-free.

Quick reference: formulas, functions and shortcuts

Measure or toolExcelNote
DPU=C2/B2Can be above 1
DPMO=C2/(B2*D2)*1000000Brackets around units × opportunities
First-pass yield=E2/B2Defect-free units only
Plant DPMO=C6/SUMPRODUCT(B2:B5,D2:D5)*1000000Weighted by units and opportunities
Poisson yield estimate=EXP(-F2)Assumes random, independent defects
SUMPRODUCTMultiplies arrays row by row and addsTotal opportunities in one cell
Ctrl+DFill downCopy row 2 formulas to rows 3–5
Ctrl+Shift+%Percent formatFPY column
Ctrl+Shift+!Number format with thousands separatorDPMO column
English Excel function names. On a Mac use Cmd where Windows uses Ctrl.

Real-world uses of DPU, DPMO and yield

  • Choosing the next improvement project. DPMO highlights the least capable process, DPU and FPY the biggest rework burden. Showing both, as in the Kestrel example, makes the project selection discussion honest.
  • Comparing plants or suppliers. When several sites make different product mixes, DPMO with a shared opportunity list is one of the few fair comparisons. Supplier quality teams use it the same way for incoming inspection.
  • Tracking a process over time. A monthly DPMO per line, calculated with the same opportunity definitions, shows whether a change actually improved the process or just moved defects elsewhere.
  • Service and transactional processes. The same measures work for invoices, loan applications or order entry: count the fields checked as opportunities and the errors as defects.
  • Preparing for a Green Belt project. The Measure phase of DMAIC starts with a baseline. DPU, DPMO and FPY are the standard baseline numbers, and they feed straight into the sigma level of lesson 2.

What you will build in the rest of this course

Lesson 1 is free. The remaining 19 lessons are part of the full course ($9.90 one-time) and follow Kestrel Valve Co. through a complete quality toolkit, each with its own interactive lab and Coach feedback.

Rolled Throughput Yield & the Sigma Level (NORM.S.INV). You uncover the "hidden factory" on the V10 line, the rework that final-inspection yield never shows, with rolled throughput yield, and convert yields and DPMO into sigma levels with NORM.S.INV and the conventional 1.5 sigma shift.

Pareto Analysis of Defects (with a Pareto Chart). You rank one quarter of V10 defects, calculate shares and the cumulative percentage, count the vital few and draw the Pareto chart that tells a team where to start.

Process Capability: Cp, Cpk, Pp & Ppk. You judge whether the V10 bore can meet its ±50 µm tolerance, with within and overall standard deviation, and learn why Cp and Cpk can tell very different stories.

X-bar & R Control Charts with A2, D3, D4. You set the control limits for the seal kit fill weight from 12 subgroups with the standard constants and chart the means to spot a signal.

p-Chart for the Proportion Defective. You build a p-chart for 15 days of actuator testing with a different sample size every day, so the limits change from day to day, and find the day that signals a special cause.

Measurement System Basics: Simplified Gage R&R. Before you trust any capability number, you test the bore gauge itself: repeatability, reproducibility and %GRR of the tolerance from a small study.

Before/After Test (T.TEST), Cost of Poor Quality & Savings. You prove with a t-test that a porosity project really cut scrap, then put a dollar value on the cost of poor quality, the annual saving and the payback. The course ends with an exam and a certificate.

Summary: count defects in a way you can compare

DPU measures defects per unit, FPY the share of units that pass first time, and DPMO defects per million opportunities, corrected for complexity. Define opportunities before you count, keep the brackets in the DPMO formula, and calculate plant totals from totals with SUMPRODUCT, never by averaging line results. At Kestrel Valve Co. the actuator creates the most rework per unit, while the V10 valve body is the least capable process per opportunity, and both facts belong in the report.

Now scroll up and try the lab: calculate DPU, DPMO and first-pass yield for the four lines, then the plant DPMO with SUMPRODUCT. The Coach checks each cell and explains the typical mistakes if your number is off.

Frequently asked questions

How do you calculate DPMO in Excel?

Divide the defects by units times opportunities per unit and multiply by one million, for example =C2/(B2*D2)*1000000. Keep the brackets around B2*D2.

What is the difference between DPU and DPMO?

DPU is defects per unit and ignores how complex the product is. DPMO divides by the number of defect opportunities as well, so simple and complex products can be compared fairly.

What is first-pass yield?

First-pass yield is the share of units that pass inspection the first time, without any defect or rework. It is defect-free units divided by units inspected.

What counts as a defect opportunity?

An opportunity is a defect type that is actually checked and recorded on each unit, defined before counting starts. Counting every screw or feature inflates the number and makes DPMO look better than it is.

How do I calculate DPMO for a whole plant?

Divide total defects by total opportunities and multiply by one million. In Excel, SUMPRODUCT(units, opportunities per unit) gives the total opportunities in one step, and you should not average the line DPMOs.

Why is yield not simply 1 minus DPU?

Because one unit can carry several defects. 1 minus DPU only works if no unit ever has more than one defect, so count the defect-free units directly.

Keep going: Six Sigma & Quality Statistics: DPMO, Cp/Cpk & Control Charts

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.

  1. Rolled Throughput Yield & the Sigma Level (NORM.S.INV)
  2. Pareto Analysis of Defects (with a Pareto Chart)
  3. Process Capability: Cp, Cpk, Pp & Ppk
  4. X-bar & R Control Charts with A2, D3, D4
  5. p-Chart for the Proportion Defective
  6. Measurement System Basics: Simplified Gage R&R
  7. Before/After Test (T.TEST), Cost of Poor Quality & Savings
  8. Sample Size for Quality Studies: Means, Proportions & Comparisons
  9. Expected PPM Out of Spec, Z-Bench & Cpm
  10. Individuals & Moving Range (I-MR) Chart for One Reading per Batch
  11. Run Rules: Spotting Shifts Before a Point Breaks the Limits
  12. u-Chart for Defects per Unit with a Varying Sample Size
  13. EWMA Chart: Catching Small, Slow Shifts
  14. Before/After for Defect Rates: the Two-Proportion z-Test
  15. Correlation & Regression for a Root Cause (Scatter Chart)
  16. Designed Experiment: a 2×2 Factorial with Main Effects & Interaction
  17. FMEA: Severity, Occurrence, Detection & Risk Priority
  18. Acceptance Sampling: OC Curve, Producer & Consumer Risk, AOQL
  19. Final Project: DMAIC Results Dashboard for the V10 Bore Project

Buy course — CHF 9.90 See the full course