Toolvito

Calculates on this device. File exports run online.

Process Capability Calculator

Paste your measurements and the specification limits to get Cp, Cpk, Pp, Ppk, the expected parts per million out of specification and a histogram. Or start from a mean and a standard deviation, or turn defects, DPMO, a yield or a Cpk into a sigma level.

Enter your values

Your values

At least 10 values; 100 or more give a dependable answer. Separate them with commas, spaces or new lines.

Leave it empty for a one-sided limit.

Leave it empty for a one-sided limit.

This decides how the short-term (within) standard deviation is estimated.

More options

Optional: gives Cpm, the capability around the target.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

Independent check and histogram file

Independent check and histogram file

Uses the measurements, limits and choices of the result above (mode Measurements). The server works the study out again with its own program (NumPy, SciPy and statsmodels) and gives a histogram picture with CSV and JSON copies of the tables.

The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to use the process capability calculator

  1. Choose Measurements and paste your values in the order they were made (at least 10; 100 or more is better).
  2. Type the lower and upper specification limits (one of them is enough for a one-sided limit). Choose how the values were taken: one at a time, or in subgroups.
  3. Press Calculate. You get Cp and Cpk (short-term), Pp and Ppk (long-term), the parts per million expected outside the limits, confidence intervals, a normality test and a histogram.
  4. With only a mean and a standard deviation, choose the second mode. For defect counts, DPMO and sigma levels, choose the third.
  5. The box under the result works the same study out again on the server and gives the histogram as a picture file.

The formulas

  • Cp = (USL − LSL) ÷ 6σ: how many times the spread fits in the tolerance. Cpk = the smaller of (USL − mean) ÷ 3σ and (mean − LSL) ÷ 3σ: the same, counting how well the process is centred.
  • Cp and Cpk use σ within (short-term): MR̄ ÷ 1.128 for single values, R̄ ÷ d2 or S̄ ÷ c4 for subgroups. Pp and Ppk use the overall sample standard deviation.
  • Cpm = (USL − LSL) ÷ (6 √(σ² + (mean − target)²)) counts the distance from the target.
  • PPM outside = 1,000,000 × (the share of a normal curve below LSL + the share above USL). Z.bench is the normal quantile of that share.
  • DPMO = defects ÷ (units × opportunities) × 1,000,000. Sigma level = the long-term Z + 1.5 (six sigma convention): 3.4 DPMO is 6σ, 6,210 DPMO is 4σ.

Worked example

50 shaft diameters have a mean of 25.00024 mm, an overall standard deviation of 0.002715 mm and a within standard deviation (MR̄ ÷ 1.128) of 0.002659 mm. With limits 24.990 to 25.010 mm: Cp = 0.020 ÷ (6 × 0.002659) = 1.254 and Cpk = (25.010 − 25.00024) ÷ (3 × 0.002659) = 1.224; Pp = 1.228 and Ppk = 1.198.

About 243 parts per million are expected outside the limits (long-term). 27 defects in 500 units with 10 opportunities each are 5,400 DPMO, a sigma level of 4.05.

Limits you should know

  • Capability means something only for a stable process: check it first with a control chart.
  • The parts per million and the indices assume a normal distribution. When the normality test fails, read the percentile indices (ISO 22514-2), which need many values (1,000 or more) to be dependable.
  • Indices from small samples are uncertain: with 50 values the 95% interval of a Cpk of 1.22 runs from about 0.96 to 1.48.
  • The 1.5σ shift of six sigma is a convention, not a property of your process.

Related tools