Calculator overview
Inputs and outputs
This summary comes from the calculator's published input and output contract.
Inputs
- Specification Type
-
Default Two sided Allowed Two sided, Upper limit only, Lower limit only
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.
- Sample Measurements Conditional
-
Default 0 rows
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.
Column Range or allowed values Column 1 Not declared - Within Subgroup Standard Deviation Conditional
-
Unit units Default 0.12 Range At least 0
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.
- Upper Specification Limit Conditional
-
Unit units Default 10.5
About this input
The highest value that still conforms, in the measured units. Leave it unused for a lower-only specification.
- Lower Specification Limit Conditional
-
Unit units Default 9.5
About this input
The lowest value that still conforms, in the measured units. Leave it unused for an upper-only specification.
- Data Source
-
Default Enter mean and standard deviation Allowed Enter mean and standard deviation, Compute from the sample grid
About this input
Whether the mean and sigma are entered directly or derived from raw data. It selects which inputs the tool reads.
- Process Mean Conditional
-
Unit units Default 10.1
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.
- Overall Standard Deviation Conditional
-
Unit units Default 0.12 Range At least 0
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.
Outputs
- Sigma Level Long Term
-
Unit sigma
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.
- Sigma Level Short Term
-
Unit sigma
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.
- Process Centering Ratio
-
Unit 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.
- Process Performance Index
-
Unit 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.
- Withinsubgroup Sigma Used
-
Unit units
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.
- Yield
-
Unit %
About this output
The estimated fraction of output that conforms, as a percent, equal to 100 minus the out-of-specification rate.
- Total Parts Per Million Out Of Specification
-
Unit ppm
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.
- Upper Process Capability Index
-
Unit 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.
- Process Capability Index
-
Unit 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.
- Minimum Process Capability Index
-
Unit 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.
- Minimum Process Performance Index
-
Unit 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.
- Lower Process Capability Index
-
Unit 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.
- Mean Used
-
Unit units
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.
- Parts Per Million Above Upper Limit
-
Unit ppm
About this output
The estimated defect rate above the upper limit only, in parts per million, from the normal model.
- Parts Per Million Below Lower Limit
-
Unit ppm
About this output
The estimated defect rate below the lower limit only, in parts per million, from the normal model.
- Model Status
-
No unit declared
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.
- Overall Sigma Used
-
Unit units
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.
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
- Map the data-source and specification-type selections to workbook modes.
- In grid mode, count numeric observations, calculate their arithmetic mean and sample standard deviation; otherwise read the three manual statistics.
- Select the applicable limit branches and calculate within-sigma capability and overall-sigma performance indices.
- Evaluate the applicable normal tails, PPM, yield, sigma equivalents, and the two-sided centring ratio.
- 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.
- Zelen, Marvin, and Norman C. Severo. Probability Functions, Chapter 26 in Abramowitz, Milton, and Irene A. Stegun, editors, Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. National Bureau of Standards Applied Mathematics Series 55, 1964. Formula 26.2.17. https://personal.math.ubc.ca/~cbm/aands/page_932.htm (the rational approximation used for the standard normal cumulative distribution, and therefore for every parts-per-million figure on this page)
- Wikipedia. Process capability index. https://en.wikipedia.org/wiki/Process_capability_index
- Wikipedia. Normal distribution, section "Cumulative distribution function". https://en.wikipedia.org/wiki/Normal_distribution
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?
What is the difference between Cpk and Ppk?
My Cp looks fine but my Cpk is much lower. What does that mean?
Which sigma level should I quote?
How reliable is the parts-per-million estimate?
Why do Cp and the centring ratio come back empty?
Found a problem, or have an idea?
Tell us if a result looks wrong, a label is unclear, or something is missing. We read every message.
LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.