How to use this calculator
Set X-bar and range control limits from subgroup size, grand mean, and average range.
- Enter Subgroup size (n), Grand mean (measurement units), Average subgroup range (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
An X-bar/R pair tracks process location and within-subgroup spread. Enter baseline estimates from a stable process; the calculator uses standard constants for subgroup sizes 2 through 10.
Inputs and units
subgroupSize— Subgroup size (n)- Number of measured items in each rational subgroup; use an integer from 2 to 10.
grandMean— Grand mean (measurement units)- Average of baseline subgroup means in the measurement's units.
averageRange— Average subgroup range (measurement units)- Mean of each subgroup's maximum minus minimum; cannot be negative.
Formula
X-bar limits = x̄̄ ± A₂R̄; R-chart limits = D₃R̄, R̄, D₄R̄. The factors A₂, D₃, and D₄ are selected for subgroup size n.
Method
Use the grand mean and average subgroup range from baseline data. The factors follow NIST's X-bar and R chart table. The lower R limit is zero where D₃ is zero.
Worked example
With n = 5, grand mean 100 and average range 2, A₂ = 0.577, D₃ = 0 and D₄ = 2.115. X-bar limits are 98.846 and 101.154; range limits are 0 and 4.230.
Assumptions and limits
Assumes rational subgroups, a stable baseline, and measurements suitable for the usual X-bar/R method. Limits describe process behavior; they are not product specifications. For larger subgroup sizes, an X-bar/S chart is often preferred.
Frequently asked questions
What is an X-bar/R chart used for?
It pairs a chart of subgroup averages with a chart of subgroup ranges to monitor process location and short-term spread.
Why is subgroup size limited to 10?
This calculator uses the NIST range-chart factor table for n = 2 through 10. For larger subgroups, use an X-bar/S method.
Are control limits the same as engineering tolerances?
No. Control limits are estimated from process behavior; specifications come from design, customer, or regulatory requirements.
Should limits be calculated before checking stability?
Use a representative baseline and investigate special causes first. Limits based on an unstable baseline can mislead.
How do I use the X-bar R Control Chart Limits Calculator?
Enter Subgroup size (n), Grand mean (measurement units), Average subgroup range (measurement units). Match the units shown beside each field and review the result together with the assumptions below.
Reference: NIST single-sampling-plan design method. See our calculation methodology.