When to use it
Your process is in statistical control (stable on a control chart) and you want to know whether it can reliably meet a customer specification (lower and/or upper spec limit).
When not to: The process has NOT yet been shown to be stable (run a control chart first; capability indices computed on an unstable process are not meaningful), the measurement clearly fails a normality check (use the non-normal capability analysis, the percentile-method alternative, instead), or observations are not in time/production order when relying on the moving-range-based within-sigma estimate.
Step by step
Open it from the menu
Click Quality in the menu bar; under Capability choose Process Capability (Cp / Cpk / Pp / Ppk).
Fill in the form
Choose the columns: What you measured (a number column), Subgroups (optional). The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: Lower spec limit (LSL), Upper spec limit (USL), Target, Subgroup size. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| What you measured (a number column) Measurement required | One numeric column. The continuous quality characteristic to assess |
|---|---|
| Subgroups (optional) Subgroup | One categorical or ordered categorical or numeric column. Column naming the sample each reading came from (text or numeric: batch, hour, shift, machine). Leave Subgroup size blank when you pick one. |
| Lower spec limit (LSL) | Lower specification limit (leave blank for one-sided upper) |
| Upper spec limit (USL) | Upper specification limit (leave blank for one-sided lower) |
| Target | Optional nominal target value (drawn on the histogram; also gives the Cpm index) |
| Subgroup size | Leave blank to use the Subgroup column; enter a whole number of 2 or more to cut consecutive rows into subgroups of that size instead. With neither, σ_within comes from the moving range of consecutive rows (the same as a size of 2). |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
What it assumes
- Normality (of residuals, not of the raw data)
If it does not hold: Cp/Cpk/Pp/Ppk convert distances from the mean into defect-rate estimates through the NORMAL tail; on skewed or heavy-tailed data the true out-of-spec rate can be many times the number the normal-based PPM reports.
How to check: Shapiro-Wilk (sampled for very large n) and an Anderson-Darling cross-check on the raw measurements, both reported directly on the card; when they disagree with normality, Non-normal Capability (Percentile Method)'s percentile method is the honest alternative.
A worked example
A fill-weight process with LSL=495g, USL=505g, subgroup size 2 (moving range), assessed after confirming stability on a control chart.
Result: mu = 500.2g, sigma_within = 1.1g, sigma_overall = 1.4g; Cp = 1.52, Cpk = 1.45; Pp = 1.19, Ppk = 1.14.
Cp and Cpk are close together (1.52 vs 1.45), indicating the process is reasonably well-centered with adequate short-term potential capability rated 'capable'. But Pp and Ppk are noticeably lower than their short-term counterparts, revealing meaningful between-subgroup drift over the longer term that the moving-range-based short-term estimate does not capture, worth investigating even though the short-term numbers look comfortable.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Penguin body mass must fall between 2500 g and 6500 g: is the population capable of meeting that window?
- Explain the process capability (Cp/Cpk/Pp/Ppk) in plain words.
- What does process capability index mean?
Last reviewed November 16, 2026.
