How to use this calculator
Calculate subgroup-mean and standard-deviation chart limits from a grand mean, average S, and subgroup size.
- Enter Subgroup size (n), Grand mean (measurement units), Average subgroup standard deviation (measurement units). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How this calculation works
When subgroups contain more observations, their standard deviations retain more information than a range. This paired chart estimates limits for subgroup averages and within-subgroup standard deviations from baseline statistics.
Inputs and units
subgroupSize— Subgroup size (n)- Number of observations in each subgroup; use an integer from 2 to 50.
grandMean— Grand mean (measurement units)- Average of subgroup means in the measurement's original units.
averageStd— Average subgroup standard deviation (measurement units)- Mean of subgroup sample standard deviations; cannot be negative.
Formula
c₄(n) = √(2/(n−1)) Γ(n/2)/Γ((n−1)/2); X-bar limits = x̄̄ ± 3s̄/(c₄√n); S limits = max(0,s̄[1−3√(1−c₄²)/c₄]), s̄, s̄[1+3√(1−c₄²)/c₄].
Method
Enter the grand mean, average of subgroup sample standard deviations, and subgroup size. The bias-correction constant c₄ is computed from its gamma-function definition; the lower S-chart limit is floored at zero.
Worked example
With subgroup size 5, grand mean 10.02 and average S of 0.04, c₄ is about 0.939986. The X-bar limits are about 9.9629 and 10.0771; the S-chart limits are 0 and about 0.0836.
Assumptions and limits
Assumes rational subgroups and approximately normal, independent measurements from a stable baseline. Limits monitor process behavior and do not replace specification limits. Verify the baseline and charting convention used by your quality system.
Frequently asked questions
What does c₄ correct?
The sample standard deviation is slightly biased as an estimate of process standard deviation; c₄ is the subgroup-size correction.
When should I use an S chart instead of an R chart?
NIST describes the range approach as suitable for relatively small subgroups, around 10 or fewer; standard deviations are generally preferable for larger subgroups.
Why can the S lower limit be zero?
A computed three-sigma lower limit can be negative, but a standard deviation cannot be negative, so the chart limit is floored at zero.
Can these limits be used as acceptance criteria?
No. Control limits help assess statistical stability; acceptance criteria come from the relevant product specification or sampling plan.
How do I use the X-bar S Control Chart Limits Calculator?
Enter Subgroup size (n), Grand mean (measurement units), Average subgroup standard deviation (measurement units). Match the units shown beside each field and review the result together with the assumptions below.
Reference: NIST Shewhart X-bar and R and S control charts. See our calculation methodology.