Free d2 Calculator (SPC Range Method)
Use this calculator to find the d2 constant from subgroup size and estimate process standard deviation from average range:
σ ≈ R̄ / d2
What is the d2 constant?
In Statistical Process Control (SPC), d2 is a control chart constant used to estimate process standard deviation from subgroup ranges. It depends only on subgroup size n. Because the average range R̄ tends to increase with larger subgroup size, d2 provides a correction factor.
The most common formula is:
- σ ≈ R̄ / d2
This estimate is widely used in Xbar-R chart workflows, process capability studies, and practical shop-floor quality monitoring.
How to use this d2 calculator
- Enter your subgroup size n (2 to 25).
- If available, enter average range R̄.
- Optionally enter LSL and USL for capability calculations.
- Optionally enter process mean X̄ to get Cpk.
- Click Calculate to view results.
Common d2 values
Below are commonly used d2 constants in SPC:
| n | d2 | n | d2 | n | d2 |
|---|---|---|---|---|---|
| 2 | 1.128 | 10 | 3.078 | 18 | 3.640 |
| 3 | 1.693 | 11 | 3.173 | 19 | 3.689 |
| 4 | 2.059 | 12 | 3.258 | 20 | 3.735 |
| 5 | 2.326 | 13 | 3.336 | 21 | 3.778 |
| 6 | 2.534 | 14 | 3.407 | 22 | 3.819 |
| 7 | 2.704 | 15 | 3.472 | 23 | 3.858 |
| 8 | 2.847 | 16 | 3.532 | 24 | 3.895 |
| 9 | 2.970 | 17 | 3.588 | 25 | 3.931 |
Worked example
Suppose your subgroup size is n = 5, and your average range is R̄ = 2.4. The d2 constant for n=5 is 2.326.
- σ ≈ 2.4 / 2.326 = 1.0318
If LSL = 45 and USL = 55, then:
- Cp = (USL - LSL) / (6σ) = 10 / (6 × 1.0318) ≈ 1.615
If your process mean is X̄ = 50:
- Cpu = (USL - X̄) / (3σ)
- Cpl = (X̄ - LSL) / (3σ)
- Cpk = min(Cpu, Cpl)
When should you use d2?
Use d2 when you have subgroup ranges
d2-based sigma estimation is ideal for Xbar-R chart setups where each subgroup has multiple observations and range is easy to compute.
Use caution with unstable processes
If the process is not in statistical control, capability indices may be misleading. Always verify stability first using control charts.
Pair with practical judgment
A single index should never replace process knowledge. Combine d2 calculations with engineering tolerance review, measurement system checks, and trend analysis.
Frequently asked questions
Is d2 the same for every subgroup size?
No. d2 changes with subgroup size n, which is why lookup values are required.
What range of n is supported here?
This calculator supports subgroup sizes from 2 to 25.
Can I calculate Cp and Cpk here?
Yes. Enter R̄ to estimate sigma. Then add LSL and USL to calculate Cp. Add process mean to calculate Cpk.