Workjigs
Language: English
Search
Tools / Quality control

Cpk calculator: process capability and control charts

A process capability calculator for spreadsheet data: enter the limits, read whether the process is stable and capable, and see why another tool shows a different Cpk. The Xbar-R chart and report export too.

What the tool does

Capability studies for customers and audits come down to a few charts and numbers, but the numbers depend on choices that tools make silently: how sigma is estimated, whether it is unbiased, which rules flag a point. Here each choice is visible.

How to use it

  1. Name the characteristic and enter LSL, USL and the target.
  2. Choose the layout and paste the measurements.
  3. Read the control chart first: capability means little if the process is not stable.
  4. Read the capability tab, compare the estimators if a customer reports another Cpk, and check normality.
  5. Export the report PDF, the workbook with formulas, the results or the chart.

Non-normal capability

Choose normal, lognormal, Weibull, gamma, exponential or Box-Cox transformed normal. Fits are ranked by the AD statistic. Percentile-method Pp and Ppk use the 0.135%, 50% and 99.865% quantiles. The histogram shows the fitted density. Box-Cox offers rounded lambda and transformed specification limits. Positive-only fits exclude zero and negative data without shifting them. The published Weibull sample includes its source and verification specification limits.

Measurement system

Crossed gauge R&R uses ANOVA or Xbar-R. Type 1 reports Cg, Cgk and bias. Published SPC for Excel examples were checked: GRR study variation 27.86% (ANOVA), 26.68% (Xbar-R), Cg 0.34 and Cgk 0.24. The sample button loads the same original measurements. Only complete balanced crossed designs are supported. Xbar-R supports 2–10 parts, 2–3 operators and 2–3 trials and does not estimate interaction. Alpha defaults to 0.25; current Minitab examples use 0.05. Type 1 does not model reference uncertainty. Percentages and Type 1 indices use live workbook formulas; GRR variance estimates and test p-values are snapshots. These checks do not certify a measurement system.

How it was checked

The control chart constants are computed from the distribution of the range and the standard deviation and match the NIST e-Handbook table of A2, D3 and D4 for subgroups of 2 to 10 to three decimals, with c4(10) = 0.9727. Mean and standard deviation match the certified values of the NIST statistical reference datasets (Michelso, Lew and NumAcc4). The capability example of the NIST e-Handbook 6.1.6 (Cp 1.0, Cpk 0.6667) and its table of rejects (Cp 1.00: 0.27 %, Cp 1.33: 64 ppm) are reproduced, as are the chi-square points used for the Cp confidence limits. The flow-rate example of NIST e-Handbook 6.3.2.2 (I-MR, mean 50.81, MR̄ 1.8778) gives UCL 55.8024 and LCL 45.8176 against the printed 55.8041 and 45.8159, because the handbook rounds d2 to 1.128. Sources, read 2026-10-29: NIST e-Handbook 6.3.2, 6.3.2.2, 6.1.6, 1.3.5.14, NIST StRD univariate (links as on the ko page).

Limits

Checks include the NIST Box-Cox example with lambda 0.28 and a Weibull fit independently verified against SciPy. AD p-values are available only for normal and lognormal fits, with at least eight observations. Johnson transformation, sampling inspection plans and AQDEF/DFQ export are not included. These checks do not establish full ISO 22514-2 conformity.

Acceptance sampling plans and AQDEF files are not covered, gauge R&R needs a balanced crossed study, and non-normal capability has no Johnson transformation. The judgement of capability is the responsibility of the quality engineer and the agreement with the customer.

Last checked 2026-10-20

Checked against published examples

Worked examples from public sources, entered into this tool. The same values are checked automatically before every release.

SourceQuantityPublishedThis toolDifference
NIST/SEMATECH e-Handbook of Statistical Methods, 6.1.6Cp110 %
Cpk0.66670.66670 %
NIST/SEMATECH e-Handbook of Statistical Methods, 6.3.2.2MR̄1.87781.87780 %
UCL55.804155.8024< 0.01 %
LCL45.815945.8176< 0.01 %
NIST/SEMATECH e-Handbook of Statistical Methods, 6.5.2λ0.280.2761.43 %
Cpk calculator: process capability and control charts · Sample data

Frequently asked questions

How do I calculate Cpk from my measurements?

Name the characteristic and enter the lower and upper specification limits and the target. Paste the measurements from your spreadsheet, one subgroup per row, a subgroup column with a value column, or one column with a fixed subgroup size. Empty cells, * and N/A are skipped. Look at the control chart first, because Cp and Cpk describe a process poorly if it is not stable. Then open the capability tab for Cp, Cpk, Pp, Ppk and their confidence limits.

What is the difference between Cpk and Ppk?

Cpk uses the within-subgroup sigma, so it shows what the process could do with only its short-term variation. Ppk uses the overall standard deviation of all the data, so it also includes shifts between subgroups. The tool reports both next to each other, together with Cp, Pp, Cpl, Cpu and Cpm. If the two differ a lot, the process is moving over time, and the control chart usually shows it.

What is a good Cpk value?

The tool does not decide that for you: you enter the Cpk your customer requires, and it states whether the result meets it and gives the lower confidence limit of Cpk. For orientation, the NIST e-Handbook shows that a centred normal process with Cp 1.00 produces 0.27 % rejects and with Cp 1.33 about 64 ppm. Agree the required value and the confidence level with your customer.

Why does another tool show a different Cpk for the same data?

Usually because sigma is estimated differently. The same data can be worked with the pooled standard deviation, R-bar divided by d2, s-bar divided by c4 or the spreadsheet STDEV, and each gives a different Cpk. The tool shows these side by side so you can see which one a customer used. Limits of the tool: no Johnson transformation, sampling plans or AQDEF export, and a gauge R&R study must be balanced and crossed. It does not establish ISO 22514-2 conformity.

Embed this tool

Copy this code to put the tool on your own website, free of charge. Keep the Workjigs link. The tool runs in the visitor's browser, and files are not uploaded.

Workjigs