Process capability calculator (Cp, Cpk, Pp, Ppk)

Paste your measurements in production order with the lower and upper specification limits, or enter a known mean and standard deviation. The calculator gives the capability indices and the share of parts expected outside the limits if the process is normally distributed.

Input
Numbers separated by commas, spaces or semicolons.
Leave empty for an upper limit only.
Leave empty for a lower limit only.
Cpk1.338
Ppk0.887
Cp
1.46
CPU (upper)
1.581
CPL (lower)
1.338
Pp
0.968
PPU (upper)
1.048
PPL (lower)
0.887
Mean
499.5
σ within (MR̄ / 1.128)
1.3701
σ overall (sample)
2.0671
Measurements
12
Expected out of spec, ppm (overall σ)
4,729.6

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose measurements to paste raw data, or mean and σ if you already know them.
  2. For data, enter the values in the order they were produced; the order matters for the within σ.
  3. Enter the lower and upper specification limits (or only one of them).
  4. Read Cpk and Ppk, the separate upper and lower indices, the two σ estimates and the expected parts per million out of specification.

Formulas

  • Cp = (USL − LSL) / 6σ.
  • CPU = (USL − μ) / 3σ, CPL = (μ − LSL) / 3σ, Cpk = min(CPU, CPL).
  • σ within = MR̄ / 1.128, where MR̄ is the mean absolute difference between consecutive measurements.
  • σ overall = sample standard deviation, √(Σ(x − x̄)² / (n − 1)).
  • Pp, PPU, PPL, Ppk: the same formulas with σ overall.
  • ppm out of spec = 10⁶ × [P(Z > (USL − μ)/σ) + P(Z < (LSL − μ)/σ)].

Worked example

Twelve measurements 496, 498, 497, 499, 498, 500, 499, 501, 500, 502, 501, 503 against limits 494 and 506:

  • mean 499.5; moving ranges add up to 17, MR̄ = 17 ÷ 11 = 1.5455, σ within = 1.5455 ÷ 1.128 = 1.3701;
  • σ overall = 2.0671 (the data drift upwards);
  • Cp = 12 ÷ (6 × 1.3701) = 1.46; CPL = 5.5 ÷ (3 × 1.3701) = Cpk 1.338;
  • Ppk = 5.5 ÷ (3 × 2.0671) = 0.887; about 4,729.6 ppm out of spec with the overall σ.

A gap between Cpk and Ppk like this points to a process that shifts over time.

With mean and σ: μ = 500, σ = 1.5, limits 494 and 506 give Cp = Cpk = 12 ÷ 9 = 1.333 and 63.3 ppm.

Tips

  • Check stability first. Capability indices only predict anything for a process in statistical control.
  • Use enough data: a few dozen points give a rough estimate; σ from 10 values can be far off.
  • Normality matters for the ppm figure; skewed processes need other methods.

Frequently asked questions

What is the difference between Cp and Cpk?

Cp = (USL − LSL) / 6σ compares the width of the tolerance with the spread of the process and ignores where the process is centred. Cpk = min(USL − μ, μ − LSL) / 3σ also accounts for centring: it equals Cp only when the mean sits in the middle of the tolerance.

What is the difference between Cpk and Ppk?

Both use the same formula but a different σ. Cpk uses the short-term, within σ, here estimated from the average moving range of consecutive points divided by d₂ = 1.128. Ppk uses the overall sample standard deviation, which also includes drift and shifts over time.

What Cpk value is acceptable?

It depends on your customer or industry. A Cpk of 1 means the nearest limit is 3σ from the mean; 1.33 means 4σ. Many quality agreements state a minimum such as 1.33 or 1.67 — check the one that applies to you.

Can I use only one specification limit?

Yes. Leave the other limit empty. Cp is then not defined (shown as —), and Cpk equals CPU or CPL for the side you entered.

How are the parts per million estimated?

From the normal distribution: the share beyond USL is P(Z > (USL − μ)/σ) and below LSL P(Z < (LSL − μ)/σ). The estimate is only as good as the normality of your data.

More in Unit converters

All tools in this category: Unit converters ·Updated November 6, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.