operations-quality · quality-six-sigma · process-capability

Process Capability Calculator

Computes the process capability indices Cp, Cpk, Pp and Ppk against your specification limits, with the estimated defect rate. Use it to judge whether a process meets its tolerance.

Last updated
Diagnostic Analytics

Calculator overview

Inputs and outputs

This summary comes from the calculator's published input and output contract.

Inputs

Specification Type
About this input

Whether the specification is two sided, upper only or lower only. It sets which of Cp, Cpu and Cpl can be reported.

Default Two sided Allowed Two sided, Upper limit only, Lower limit only
Sample Measurements Conditional
About this input

Up to 30 individual measurements, in the measured units, used only when the data source is set to compute from the sample grid. Leave unused rows blank; at least 5 values are needed before statistics are computed.

Default 0 rows
ColumnRange or allowed values
Column 1 Not declared
Within Subgroup Standard Deviation Conditional
About this input

The short-term standard deviation from within-subgroup variation, in the measured units. It drives the capability indices Cp and Cpk. Used only when the data source is set to enter the mean and standard deviation directly.

Unit units Default 0.12 Range At least 0
Upper Specification Limit Conditional
About this input

The highest value that still conforms, in the measured units. Leave it unused for a lower-only specification.

Unit units Default 10.5
Lower Specification Limit Conditional
About this input

The lowest value that still conforms, in the measured units. Leave it unused for an upper-only specification.

Unit units Default 9.5
Data Source
About this input

Whether the mean and sigma are entered directly or derived from raw data. It selects which inputs the tool reads.

Default Enter mean and standard deviation Allowed Enter mean and standard deviation, Compute from the sample grid
Process Mean Conditional
About this input

The average of the process output, in the measured units. It sets where the distribution is centred relative to the limits. Used only when the data source is set to enter the mean and standard deviation directly.

Unit units Default 10.1
Overall Standard Deviation Conditional
About this input

The long-term standard deviation of all the data, in the measured units, including drift between subgroups. It drives the performance indices Pp and Ppk. Used only when the data source is set to enter the mean and standard deviation directly.

Unit units Default 0.12 Range At least 0

Outputs

Sigma Level Long Term
About this output

The long-term sigma level, the short-term level minus the customary 1.5 sigma shift. It is the conventional estimate of performance over time projected from short-term capability, not a figure measured from the yield.

Unit sigma
Sigma Level Short Term
About this output

The short-term sigma level, three times Cpk, so a centred six-sigma process reads 6.0. It sits 1.5 above the long-term level by the customary sigma shift; report which convention you quote, since the shift moves the number by 1.5.

Unit sigma
Process Centering Ratio
About this output

The centring ratio k, the distance of the mean from the specification midpoint as a fraction of the half-specification width. Zero means perfectly centred; a value near 1 means the mean sits close to a limit.

Unit ratio
Process Performance Index
About this output

Pp, the specification width divided by six times the overall sigma, as an index. It assumes centring. When you enter the two sigmas directly it is the long-term counterpart of Cp; when you compute from the sample grid it is EQUAL to Cp, because both sigmas are then the one sample standard deviation.

Unit index
Withinsubgroup Sigma Used
About this output

The within-subgroup sigma the capability indices were computed from, in the measured units. It is the value you entered, or, when computing from the sample grid, the standard deviation of the sample -- which is then the same number as the overall sigma.

Unit units
Yield
About this output

The estimated fraction of output that conforms, as a percent, equal to 100 minus the out-of-specification rate.

Unit %
Total Parts Per Million Out Of Specification
About this output

The estimated defect rate beyond both specification limits, in parts per million, from the normal model. It is an estimate from the fitted distribution, not a measured count.

Unit ppm
Upper Process Capability Index
About this output

Cpu, the distance from the mean up to the upper limit expressed in three-sigma units, as an index. It measures capability against the upper limit alone.

Unit index
Process Capability Index
About this output

Cp, the specification width divided by six times the within-subgroup sigma, as an index. It assumes perfect centring, so it is an upper bound on Cpk.

Unit index
Minimum Process Capability Index
About this output

Cpk, the short-term capability accounting for how far the mean sits off centre, as an index. Values above 1.33 are commonly treated as capable.

Unit index
Minimum Process Performance Index
About this output

Ppk, the capability accounting for off-centring computed from the OVERALL sigma, as an index. When you enter the two sigmas directly it is usually lower than Cpk, because the overall sigma includes between-subgroup drift. When you compute from the sample grid it is EQUAL to Cpk, because both sigmas are then the one sample standard deviation and there are no subgroups to drift between.

Unit index
Lower Process Capability Index
About this output

Cpl, the distance from the lower limit up to the mean expressed in three-sigma units, as an index. It measures capability against the lower limit alone.

Unit index
Mean Used
About this output

The process mean the calculations actually used, in the measured units, echoed back so you can confirm the input was read as intended.

Unit units
Parts Per Million Above Upper Limit
About this output

The estimated defect rate above the upper limit only, in parts per million, from the normal model.

Unit ppm
Parts Per Million Below Lower Limit
About this output

The estimated defect rate below the lower limit only, in parts per million, from the normal model.

Unit ppm
Model Status
About this output

The overall check on your entries, shown above the results. It reads OK when the inputs are usable, NOT VALID with a reason when an entry makes the model meaningless, or CHECK with a reason when a result is valid but worth a second look. Read it before you trust the numbers below.

No unit declared
Overall Sigma Used
About this output

The overall sigma the performance indices were computed from, in the measured units. It is the value you entered, or, when computing from the sample grid, the standard deviation of the sample -- which is then the same number as the within-subgroup sigma.

Unit units

What it is

The Process Capability Calculator compares a process against its specification limits and reports how much of the tolerance the process actually uses. It returns the capability indices Cp and Cpk, the performance indices Pp and Ppk, the estimated defect rate in parts per million above and below each limit, the yield, and the sigma level.

You give it a process mean and two standard deviations, one within-subgroup and one overall, together with the upper and lower specification limits. The specification can be two sided, upper only or lower only, and the indices that are meaningful for your choice are the ones reported.

Two cautions carry the whole result. Every defect rate here assumes the characteristic is normally distributed, and for a skewed or bounded characteristic the predicted parts per million can be badly wrong even when the indices look healthy. And capability indices are meaningless for a process that is not in statistical control, which this tool does not test. Use a control chart first.

Methodology

Purpose and model boundary

This calculator estimates normal-model process capability and performance for two-sided, upper-only, or lower-only specifications. It supports either directly entered mean/within/overall standard deviations or a grid of individual measurements. It reports applicable Cp/Cpk and Pp/Ppk components, estimated tail PPM and yield, centring for a two-sided specification, and shifted/unshifted sigma-level equivalents.

Capability indices describe a distribution relative to specification limits. They do not demonstrate statistical control, normality, measurement-system adequacy, or product conformance by themselves.

Inputs and units

Choose Enter mean and standard deviation to provide process mean mu, within-subgroup sigma sigma_w, and overall sigma sigma_o. Choose Compute from the sample grid to enter up to 30 individual measurements; at least five are required. Enter measurements contiguously from the top and leave the unused tail rows wholly blank. In grid mode the workbook calculates the sample mean and STDEV.S, then uses that one sample standard deviation as both sigma_w and sigma_o.

Choose Two sided, Upper limit only, or Lower limit only. USL and LSL use the same unit as the measurements. Both limits are required and must be ordered only for the two-sided mode; the irrelevant limit is hidden for a one-sided mode.

Governing relationships

For a two-sided specification,

  • Cp = (USL - LSL) / (6*sigma_w);
  • Cpu = (USL - mu) / (3*sigma_w);
  • Cpl = (mu - LSL) / (3*sigma_w);
  • Cpk = min(Cpu, Cpl);
  • Pp = (USL - LSL) / (6*sigma_o);
  • Ppu = (USL - mu) / (3*sigma_o);
  • Ppl = (mu - LSL) / (3*sigma_o);
  • Ppk = min(Ppu, Ppl).

In an upper-only mode the minimum index is the applicable upper component; in a lower-only mode it is the lower component. Inapplicable two-sided outputs are blank.

With z_upper = (USL-mu)/sigma_o and z_lower = (mu-LSL)/sigma_o, the workbook evaluates applicable standard-normal tails with the Zelen-Severo rational approximation, converts their sum to PPM, and calculates yield = 1 - upper_tail - lower_tail. For the named sigma outputs, the current workbook uses sigma_short = 3*Cpk and sigma_long = sigma_short - 1.5. The 1.5 difference is a convention rather than an observed change in performance.

For a two-sided specification, the centring ratio is

k = abs((USL + LSL)/2 - mu) / ((USL - LSL)/2).

Calculation sequence

  1. Map the data-source and specification-type selections to workbook modes.
  2. In grid mode, count numeric observations, calculate their arithmetic mean and sample standard deviation; otherwise read the three manual statistics.
  3. Select the applicable limit branches and calculate within-sigma capability and overall-sigma performance indices.
  4. Evaluate the applicable normal tails, PPM, yield, sigma equivalents, and the two-sided centring ratio.
  5. Populate the distribution chart with density bars and applicable LSL/USL reference guides, then apply status precedence.

Outputs and interpretation

Cp/Pp express potential spread relative to a two-sided tolerance and assume centring. Cpk/Ppk use the nearer applicable limit and therefore include off-centring. The C indices use within-subgroup variation; the P indices use overall variation. In grid mode these pairs are equal by construction because one unstructured sample standard deviation feeds both. PPM and yield are fitted-normal estimates, not observed defect counts.

Validation and status logic

The workbook evaluates status in this order:

Condition Returned status
Standard deviation selected for capability is not greater than zero NOT VALID: the standard deviation in use must be greater than zero
Two-sided mode has USL <= LSL NOT VALID: the upper limit must exceed the lower limit
Grid mode has fewer than five numeric observations NOT VALID: enter at least 5 values in the grid to compute statistics
Cpk < 1.00 CHECK: Cpk is below 1.00, the process is not capable
abs(sigma_w - sigma_o) > 0.20 * sigma_o CHECK: within and overall variation differ by more than 20%, the process may not be in control
None of the above OK

The zero-sigma test precedes the grid-count message; therefore an empty or constant grid can return the zero-standard-deviation message first. The single measurement column does not declare per-cell blank optionality: unused tail rows are accepted by the grid row rule, while an all-blank submitted table is refused because it would erase the model rather than request its defaults. Input visibility and selector values are also enforced before calculation.

Assumptions and limitations

Tail probabilities assume a stable, approximately normal process and trustworthy specification limits. The tool does not transform non-normal data or estimate confidence intervals. Grid mode contains individuals rather than rational subgroups and deliberately assigns the same STDEV.S to within and overall sigma; it cannot separate short- and long-term variation, so Cp equals Pp and Cpk equals Ppk there. Five values is only the workbook's computing minimum, not a claim of adequate evidence. One-sided results intentionally omit the opposite-side and width-based indices.

Restrictions and non-computing states

The workbook does not transform non-normal data, estimate confidence intervals, or separate short- and long-term variation in grid mode. Fewer than five usable values, zero variation, or invalid specification-limit combinations produce a non-computing state identified by the status message. A partial measurement grid may contain a contiguous block of values followed by blank capacity rows; omitting the grid requests the shipped defaults, while submitting an entirely blank grid is refused.

Errors and warnings

A rejected entry means a selector, value, or grid entry did not satisfy the published input rules. Workbook NOT VALID means the active mode cannot produce meaningful capability statistics. Workbook CHECK preserves computed values while flagging low capability or materially different variation estimates. A network or calculation-service failure is a service error, not a capability finding.

References

The workbook reproduces no table, chart or text from ANSI, ASQ, AIAG, ISO or any other standard. The normal distribution values come from a published closed-form approximation, cited below.

The 1.5 sigma shift used for the short-term sigma level is an industry convention rather than a measured property, and it is an editable constant in the workbook. ANSI, ASQ, AIAG and ISO are trademarks of their respective owners, and none endorses this workbook.

Additional source notes migrated from Methodology

The workbook uses the standard Cp/Cpk/Pp/Ppk relationships, the Zelen-Severo normal-CDF approximation published in Abramowitz and Stegun 26.2.17, and an explicitly identified 1.5-sigma reporting convention. The dedicated References section contains method provenance and licensing details.

Frequently asked questions

Why can I not paste my measurements into the sample grid?
The data source selector offers a sample grid, but only the direct entry option works on this page. The grid declares no editable columns, so measurements cannot be submitted, and choosing that option returns zeros and a NOT VALID status. Compute your mean and standard deviations separately and enter them directly.
What is the difference between Cpk and Ppk?
Cpk uses the within-subgroup standard deviation and describes what the process could do if it stayed in control. Ppk uses the overall standard deviation, which includes drift between subgroups, and describes what it actually did. Ppk is usually the lower of the two. If you enter the same number for both standard deviations they will come out identical, which is an artefact of the input rather than evidence of control.
My Cp looks fine but my Cpk is much lower. What does that mean?
The process is off centre. Cp assumes perfect centring and measures only the spread against the specification width, so it is an upper bound on Cpk. The gap between them is entirely a centring effect. Check the centring ratio: zero means perfectly centred and a value near 1 means the mean sits close to a limit. Re-centring the process raises Cpk to Cp without any reduction in variation.
Which sigma level should I quote?
Say which convention you are using, because the two differ by a full 1.5. The long-term sigma level on this page is three times Cpk. The short-term figure adds the customary 1.5 sigma shift, which is an industry convention for relating short-term and long-term performance rather than a property of your process.
How reliable is the parts-per-million estimate?
It is an estimate from a fitted normal distribution, not a measured count. It assumes the characteristic is normally distributed, and for a skewed or bounded characteristic it can be badly wrong even when the indices look healthy. Flatness, roundness, and anything bounded at zero are common cases where the normal assumption fails.
Why do Cp and the centring ratio come back empty?
Because you selected a one-sided specification. Cp, Pp and the centring ratio all depend on a specification width, which does not exist when there is only an upper or only a lower limit. Only the index against the limit you set is reported, and that index becomes Cpk.
This page is provided by LogicCommons for informational purposes only. Results are analysis outputs computed from the inputs you supply and are not engineering advice, a design, or a substitute for review by a licensed professional under the codes adopted where the work is built. Verify all inputs and results independently.

LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.