GIFSQ ID: CAL-0555
GIFSQ Tools : Quality : Version v1 : Technical review date: 2026-11-15
Completion of the live Control Sample Trend Analyzer and Westgard Rule Assistant (trend plus rules, no chart generator): plots an individuals control chart with centre line and control limits, and flags points outside the limits.
Educational calculator: this is a calculation aid for learning and planning. It is not a validated food safety process and must not be presented as one. Confirm any value against your accredited method and your own process validation before using it in production.
Inputs
Formula
Centre line = mean of the entered results. Control limits are statistically calculated extreme values outside of which a process is considered out of statistical control; they are not to be confused with specification limits, tolerance limits or critical limits (book glossary). Construction used here, labelled as derived: the book defines six sigma quality as a process well controlled, that is, six sigma from the centerline in a control chart. That gives a total width of six sigma, so UCL = mean + 3 x standard deviation and LCL = mean - 3 x standard deviation, using the sample standard deviation of the entered results. Points outside UCL or LCL are flagged out of control. Results are entered as a comma separated list in the results box below the form.
Variable definitions and units
Results: measurement units, entered as a comma separated list. Mean, standard deviation, UCL, LCL: same units. Target: same units, shown for reference only.
Assumptions
Results are in time order. The sample standard deviation of the entered results is used; no separate historical sigma is entered. The plus and minus 3 sigma construction is derived from the book six sigma definition, not a separate sourced formula.
Input validation
At least 2 results. All results numeric. Standard deviation greater than 0 for limits to differ from the mean.
Worked example
Illustrative data in the style of the live Control Sample Trend Analyzer worked test (8 results, target 10, sd 0.2): 10.0, 10.1, 9.9, 10.2, 9.8, 10.0, 10.1, 9.9. Mean = 10.00. Sample standard deviation = 0.13. UCL = 10.00 + 3 x 0.13 = 10.39. LCL = 10.00 - 3 x 0.13 = 9.61. No point is outside the limits.
Expected output
Mean, sample standard deviation, UCL, LCL, count of points outside the limits, and an SVG chart plotting the points with centre line, UCL and LCL.
Calculation limitations
The plus and minus 3 sigma limits are derived from the book six sigma definition; the book gives no separate UCL or LCL formula and no X-bar, R or p-chart constants. This is an individuals chart only. A point inside the limits is not proof the process is capable: see Q3, which is blocked.
Source
Food Quality Assurance: Principles and Practices, glossary (Control chart; Control limits; Six Sigma quality; Statistical process control). Completes live Control Sample Trend Analyzer and Westgard Rule Assistant.