What are the formulas, written out?
| Chart | Center line | Limits |
|---|---|---|
| X-bar | X-double-bar | X-double-bar ± A2 × R-bar |
| R | R-bar | LCL = D3 × R-bar, UCL = D4 × R-bar |
| Individuals (I) | X-bar of the individuals | X-bar ± 2.66 × MR-bar |
| Moving range (MR) | MR-bar | UCL = 3.267 × MR-bar; LCL is typically 0 |
| n | d2 | A2 | D3 | D4 |
|---|---|---|---|---|
| 2 | 1.128 | 1.880 | 0 | 3.267 |
| 3 | 1.693 | 1.023 | 0 | 2.574 |
| 4 | 2.059 | 0.729 | 0 | 2.282 |
| 5 | 2.326 | 0.577 | 0 | 2.114 |
Worked X-bar limits from the demo
R-bar is 0.036, A2 is 0.577, so A2 × R-bar is 0.0208. X-double-bar is 20.010, so the X-bar limits are 19.989 and 20.031 mm. Subgroup 6 sits above the UCL.
| Statistic | Formula used here | Demo value |
|---|---|---|
| X-double-bar | Mean of subgroup means | 20.010 mm |
| R-bar | Mean of subgroup ranges | 0.036 mm |
| X-bar UCL / LCL | X-double-bar ± A2 × R-bar (n=5, A2=0.577) | 20.031 / 19.989 mm |
| R UCL / LCL | D4 × R-bar / D3 × R-bar (D4=2.114, D3=0) | 0.076 / 0.000 mm |
| Within σ estimate | R-bar / d2 (d2=2.326 for n=5) | 0.0155 mm |
| Cp | (USL − LSL) / (6σ) | 3.230 |
| Cpk | min( (USL − X-bar)/(3σ), (X-bar − LSL)/(3σ) ) | 3.019 |
| Ppk | Same form with overall sample standard deviation | 1.793 |
What these formulas are not?
- Specification limits.
- A full Western Electric or Nelson test.
- A promise that n = 5 is always right.
How can you apply them quickly?
Paste a table into the free preview or, if you already have X-bar and R-bar, use the Cpk calculator for the index half of the work. Write the constants on the pack so a later reader does not have to guess.
SPC Charts is a calculation and charting tool, not a substitute for a quality system, a process-validation study, or professional statistical advice. It is not affiliated with NIST, ISO, AIAG or any standards body.
Frequently asked questions
Why 2.66 on an I-chart?
It is 3/d2 with d2 = 1.128 for moving ranges of n = 2, a common textbook factor. We show it with the result.
Do you include n = 6 or more?
Not in the public preview’s constant table.
Where can I read a public source?
The NIST/SEMATECH e-Handbook chapter on Shewhart control charts, linked from the methodology page.
How much does the software cost?
$29 per run, $22 a month or $209 a year.
Official source. Chart and capability methods on this page follow NIST/SEMATECH e-Handbook: Shewhart Control Charts. Always confirm current rules and rates with your base jurisdiction before filing.