Calculator
Example data table
| Subgroup | Measurements (n=5) | Computed s |
|---|---|---|
| 1 | 10.2, 9.9, 10.1, 10.3, 10.0 | ≈ 0.158 |
| 2 | 10.1, 10.0, 10.2, 10.2, 9.8 | ≈ 0.160 |
| 3 | 10.4, 10.1, 10.3, 10.5, 10.2 | ≈ 0.158 |
| 4 | 9.9, 10.0, 9.8, 9.7, 10.1 | ≈ 0.158 |
| 5 | 10.2, 10.2, 10.1, 10.3, 10.2 | ≈ 0.071 |
Formula used
- Subgroup standard deviation (sample): si = √( Σ(x - x̄)² / (n - 1) )
- Center line: S̄ = ( Σ si ) / m
- Control limits: LCL = B3 × S̄, UCL = B4 × S̄
- Constants: B3 and B4 depend on subgroup size n (built in for n = 2…25).
How to use this calculator
- Choose a subgroup size n that matches your sampling plan.
- Select Raw subgroup values or Subgroup s values.
- Enter each subgroup on its own line.
- Click Calculate to compute S̄, LCL, and UCL.
- Review any “Above UCL” or “Below LCL” signals.
- Use CSV/PDF exports to share results and document actions.
Article
Why the S chart matters
The S chart tracks within-subgroup dispersion, helping teams detect shifts in process spread before defects appear. When spread rises, capability often falls even if the mean looks stable. Monitoring spread separately supports earlier containment decisions on the floor.
Because it uses subgroup standard deviations, the chart reflects short-term variation that customers experience. It suits machining, filling, packaging, and laboratory methods where repeatability and drift drive scrap and rework.
Choosing subgroup size and sampling rhythm
Use rational subgroups representing the same conditions: consecutive parts, one cavity, one setup, or one operator window. Common subgroup sizes are 4 or 5, but any n from 2 to 25 can be used when constants are available. Keep intervals consistent so comparisons remain meaningful.
Increase sampling after maintenance, material changes, or startup. Reduce sampling only after stability is demonstrated. If resources are limited, prioritize critical-to-quality characteristics.
How limits are calculated
Compute each subgroup’s sample standard deviation si, then average them to get S̄, the center line. Control limits are scaled from S̄ using B3 and B4 constants tied to subgroup size. This scaling reflects expected sampling variation in s.
Build limits from a stable baseline period. Avoid mixing data from different machines or product families unless variation mechanisms match.
Interpreting signals and typical causes
A point above UCL suggests special-cause variation such as tool wear, fixture looseness, temperature drift, material lot changes, or gage issues. Runs near UCL can signal gradual degradation. Points below LCL may indicate data errors, rounding effects, or real improvement.
When a signal occurs, quarantine affected output, verify measurement integrity, and investigate recent changes. Record actions with time, machine, operator, and lot identifiers for traceability. Consistent reaction plans keep teams aligned and reduce over-adjustment that increases variation over time.
Using exports for decisions and improvement
Export CSV results to keep an audit trail and support Pareto analysis of repeat drivers of variation. The PDF snapshot helps shift handovers and reviews, especially with notes on actions taken and verification samples.
After a confirmed process change, collect fresh subgroups and recalculate limits. Otherwise the chart may flag improvement as an out-of-control condition and waste investigation time.
FAQs
1) What is the best subgroup size for an S chart?
Use rational subgrouping that reflects short-term conditions. Many teams start with n=4 or n=5 because they balance sensitivity and effort. Any n from 2–25 can work, but keep n constant when building and using limits.
2) Can I use precomputed standard deviations instead of raw measurements?
Yes. Choose the “Subgroup s values” method and enter one s value per line. Ensure each s was computed as a sample standard deviation using the same subgroup size n that you select in the calculator.
3) Why is my LCL equal to zero?
For small subgroup sizes, the B3 constant can be zero. That means the theoretical lower limit is zero because s cannot be negative. This is normal and does not imply perfect stability.
4) How many subgroups do I need to set reliable limits?
A common starting point is 20 to 25 subgroups from a stable period. More data improves estimate stability. If the process changes, rebuild limits using a new baseline rather than mixing old and new conditions.
5) Should I pair the S chart with another chart?
Often yes. The S chart monitors variation, while an X̄ chart monitors the process mean. Using both helps you distinguish shifts in average from changes in spread, leading to more targeted corrective actions.
6) What should I do when a point is above the UCL?
Treat it as special-cause variation. Confirm measurement integrity, contain suspect output, and check recent changes like tooling, setup, material lots, or environmental conditions. Apply corrective action, then resample to confirm the spread returns within limits.
Notes for practical quality control
- Keep subgrouping rational: samples should reflect short-term variation.
- Investigate special causes before adjusting the process.
- Verify measurement system stability if signals appear suddenly.
- Recalculate limits after sustained process changes or improvements.