Check · Test yourselfPractice tests

Academy › Topic library › Going Deeper: Cp, Cpk, Pp, Ppk and Cpm Worked Out

Q-BOT ACADEMY · FREE VIDEO LESSON · 12 MIN

Going Deeper: Cp, Cpk, Pp, Ppk and Cpm Worked Out

Because software prints all five numbers at once, and people grab the one that looks best. Knowing where each one comes from tells you which question it answers. But first, three checks, or none of these numbers mean anything. One: the process is stable, shown on a control chart. Two: the data are roughly normal, shown on a histogram and a normal probability plot. Three: enough data, a hundred readings or more if you can.

12:14 · Q-Bot · narrated, with worked example and a check-yourself question

In short

Check stability, normality and sample size first. Within sigma, from R bar over d two, drives C p and C p k: what the process could do. Overall sigma drives P p and P p k: what it did do. C p k and P p k take the nearer spec limit. C p m adds the distance to the target. And the gaps between them tell you whether to re-center, find a drift, or move to target!

Check yourself

The coating line runs at a mean of three point one oh mils, overall sigma point one two, spec two point five to four point oh. What is P p k? A, one point six seven. B, two point oh eight. C, two point five oh. Or D, five point oh.

Show the answer

The answer is A, one point six seven. The nearer limit is the bottom: three point one minus two point five is point six. Three sigma is point three six. Point six over point three six is one point six seven. B is P p, which ignores centering. C is the upper side, the farther one. And D forgot to multiply sigma by three. That's C p, C p k, P p, P p k and C p m. Questions? Ask Q-Bot right here in the Academy. And one for the road: why did the slat refuse to join the capability study? It didn't want to be measured against its limits!

Where this topic is taught

This lesson is part of every free Academy course whose Body of Knowledge covers it. Each course puts it in context, with exercises and checks.

Full lesson transcript

The narration from the video, by chapter. Brindlewood Outdoor Furniture and its people are a fictional company used in every Q-Bot Academy lesson.

Intro

Brindlewood, the quality office. Ellen drops a letter on Marcus's desk. The restaurant group wants this year's capability report, and now they want slat thickness too. C p, C p k, P p, P p k and C p m, all five. Marcus grins. Five numbers, one process. And each one tells a different part of the story!

Hey there, I'm Q-Bot. Welcome to the Q-Bot Academy. Today we're going deeper: C p, C p k, P p, P p k and C p m, worked out! We'll get two kinds of sigma, build every index by hand, turn them into parts per million, put a confidence bound on C p k, and see what happens when the target isn't the middle of the spec. If capability is new to you, start with the process capability video.

Why do the math by hand?

Why do the math by hand? Because software prints all five numbers at once, and people grab the one that looks best. Knowing where each one comes from tells you which question it answers. But first, three checks, or none of these numbers mean anything. One: the process is stable, shown on a control chart. Two: the data are roughly normal, shown on a histogram and a normal probability plot. Three: enough data, a hundred readings or more if you can.

Two kinds of sigma

Everything starts with two different sigmas. Within sigma is the short-term spread, inside each subgroup. From an X bar and R chart, it's R bar divided by d two, and d two is two point three two six for subgroups of five. Or use S bar over c four, or, for individuals, the average moving range over one point one two eight. Overall sigma is the plain standard deviation of every reading, the STDEV dot S function in a spreadsheet. It includes the drift between subgroups too.

The formulas: Cp, Cpk, Pp, Ppk and Cpm

Now the capability indices, built on within sigma. C p equals the spec width, upper limit minus lower limit, divided by six sigma. It asks: would the process fit if it were perfectly centered? C p k is the honest one. Work out each side: the upper limit minus the mean, over three sigma, and the mean minus the lower limit, over three sigma. C p k is the smaller of the two. It asks: how close is the nearest spec limit, right now?

P p and P p k use exactly the same formulas, with overall sigma in place of within sigma. That makes them performance indices: what the customer actually got over the whole period, drift and all. So C p and C p k describe what the process could do. P p and P p k describe what it did do. If the process is stable, the two pairs come out close together.

The fifth one, C p m, brings in the target. C p m equals the spec width over six times tau. And tau is the square root of sigma squared plus the mean minus the target, squared. Most software uses overall sigma here. Any distance from the target counts like extra spread. C p k only asks, are we inside the limits? C p m asks, are we on the target?

Worked example 1: slat thickness on mill one

Worked example one: slat thickness on mill one. Target nineteen point oh millimeters, spec eighteen point five to nineteen point five. Marcus takes twenty five subgroups of five slats from the X bar and R chart, a hundred twenty five slats in all. The chart is in control, and the histogram is bell shaped. The grand average is nineteen point oh eight, R bar is point one eight six, and the overall standard deviation of all hundred twenty five slats is point oh eight five.

Within sigma first: point one eight six over two point three two six is point oh eight. C p is one millimeter over six times point oh eight, that's point four eight: about two point oh eight. Now the sides. Upper: nineteen point five minus nineteen point oh eight is point four two, over three times point oh eight, that's point two four: one point seven five. Lower: point five eight over point two four, about two point four two. C p k is the smaller, one point seven five.

Now with overall sigma, point oh eight five. P p is one over point five one, about one point nine six. P p k, upper side: point four two over point two five five, about one point six five. And C p m: the mean is point oh eight off target. Tau is the square root of point oh eight five squared plus point oh eight squared, about point one one seven. C p m is one over six times point one one seven: about one point four three.

Reading five numbers

So how do you read five numbers? C p two point oh eight, but C p k one point seven five: the gap is centering. The process is running high. C p k one point seven five and P p k one point six five, close together: the process is stable, nothing big drifting between subgroups. And C p m one point four three, well under C p: we're off target. Marcus asks Lou why. After a repair, the setting fixture for the spare cutter heads read eight hundredths low, so every head was set eight hundredths thick!

Parts per million, sigma level and a confidence bound

Next, turn it into parts per million. On the upper side, the distance to the limit is point four two, which is four point nine four overall sigmas. The normal table, or NORM dot S dot DIST in a spreadsheet, puts about point four slats per million past the limit. And the sigma level? Three times C p k is five point two five. Many people subtract one and a half for a long-term shift, which predicts about eighty eight per million. That shift is a convention, not a law. Here the real long-term data, through P p k, are far better than that.

One more thing. C p k is an estimate, so give it a confidence bound. A common approximation: the standard error is the square root of one over nine n, plus C p k squared over two times n minus one. With a hundred twenty five slats, that's about point one one five. The ninety five percent lower bound is one point seven five minus one point six four five times point one one five: about one point five six. From only thirty slats, the same C p k would give a lower bound of just one point three six!

Lou re-zeroes the fixture and resets all three cutter heads. Four weeks later: mean nineteen point oh one, within sigma still point oh eight, overall point oh eight five. C p stays two point oh eight, because centering doesn't change the spread. But C p k climbs to two point oh four, P p k to one point nine two, and C p m jumps from one point four three to one point nine five. Now all five numbers tell the same happy story!

Worked example 2: when Cpk and Cpm disagree

Worked example two: when C p k and C p m disagree. The coating line targets three point oh mils, with a spec from two point five to four point oh. Notice the target is not the middle of the spec. The middle is three point two five. After a bare-spot complaint, second shift turned the powder flow up, just to be safe. Now the line runs at three point three oh mils, within sigma point one one, overall sigma point one two.

Work it out. C p k: the nearer limit is the top, four point oh minus three point three is point seven, over point three three: about two point one two. P p k: point seven over point three six, about one point nine four. Both look great! Now C p m. The mean is point three off target. Tau is the square root of point one two squared plus point three squared, about point three two three. C p m is one point five over six times point three two three: only point seven seven!

Which one is right? Both are. C p k says every frame is inside the spec. C p m says we're far from the target, and Rosa knows what that costs: about ten percent more powder than the target needs, on every frame. So the line goes back to three point oh. C p k drops to one point five two, P p k to one point three nine, still above the customer's one point three three. And C p m jumps to two point oh eight. The bare spot, by the way, was an inspection problem, not a thickness problem.

How to read the result and decide

Here's how to read the gaps. C p much bigger than C p k: re-center. C p k much bigger than P p k: the process drifts between subgroups. At Brindlewood's coating line, before Lou's fix, it was one point one one against point nine three, because each shift set the powder flow by feel. C p m much lower than C p k: you're off target. Common targets: one point three three for an existing process, one point six seven for a new or safety-critical one. And always compare the lower bound, not just the estimate.

Common mistakes

Now the common mistakes. One: indices from an unstable process. Without a stable chart, C p and C p k predict nothing. Two: treating control limits as spec limits. Control limits come from the process; spec limits come from the customer. Three: quoting C p when the process is off center. Four: using overall sigma for C p k, or within sigma for P p k. Five: a C p k from twenty parts with no confidence bound. And six: skewed data run through normal formulas. That gets its own video.

Recap

Let's recap. Check stability, normality and sample size first. Within sigma, from R bar over d two, drives C p and C p k: what the process could do. Overall sigma drives P p and P p k: what it did do. C p k and P p k take the nearer spec limit. C p m adds the distance to the target. And the gaps between them tell you whether to re-center, find a drift, or move to target!

Check yourself

Now, check yourself. The coating line runs at a mean of three point one oh mils, overall sigma point one two, spec two point five to four point oh. What is P p k? A, one point six seven. B, two point oh eight. C, two point five oh. Or D, five point oh. Pause the video if you want to think about it.

The answer is A, one point six seven. The nearer limit is the bottom: three point one minus two point five is point six. Three sigma is point three six. Point six over point three six is one point six seven. B is P p, which ignores centering. C is the upper side, the farther one. And D forgot to multiply sigma by three.

That's C p, C p k, P p, P p k and C p m. Questions? Ask Q-Bot right here in the Academy. And one for the road: why did the slat refuse to join the capability study? It didn't want to be measured against its limits!

Independent study material; not affiliated with or endorsed by ASQ. Body of Knowledge codes identify where the topic appears in each certification's published outline.