Sub topic 2
Specification Limits and Tolerance Width
This chapter assumes you know what a mean and a standard deviation are, and that you can read a measurement such as "10.00 ± 0.15 mm". It covers the numbers the capability indices compare your process against. The previous chapter covered the process's own variation. Here the focus is the other side of the comparison: the limits set by someone else.
What a specification limit is
A specification limit is a boundary on a measured characteristic. A part or result outside the boundary is nonconforming. The limit comes from a requirement, not from the process. Engineers choose it from fit, function, safety, regulation, or a customer contract. This is why the limit is called the voice of the customer, while the process spread is the voice of the process.
Two limits are common:
- The lower specification limit (LSL) is the smallest acceptable value.
- The upper specification limit (USL) is the largest acceptable value.
A characteristic with both limits has a two-sided (bilateral) specification. A characteristic with only one has a one-sided (unilateral) specification. One-sided cases get their own treatment in a later chapter, but you need to recognize them here so you do not invent a missing limit.
Tolerance width
The tolerance width (also called the tolerance, or the specification width) is the distance between the limits:
tolerance width = USL - LSLIt is the total room the process has to work in. The ratio of this room to the process's natural spread is what Cp measures. The natural spread is 6 standard deviations, from the normal-model chapter. So the tolerance width is the numerator of Cp, and everything in this chapter feeds that number.
Tolerance width has the same units as the measurement. A width of 0.30 mm means nothing until you compare it with a spread in millimeters.
Reading drawing notation
Specifications reach you in several notations. Convert each to LSL and USL before you do any calculation.
| Notation | LSL | USL | Tolerance width | Midpoint |
|---|---|---|---|---|
| 10.00 ± 0.15 | 9.85 | 10.15 | 0.30 | 10.00 |
| 10.00 +0.20 / -0.10 | 9.90 | 10.20 | 0.30 | 10.05 |
| 10.00 +0.30 / -0.00 | 10.00 | 10.30 | 0.30 | 10.15 |
| 9.85 to 10.15 | 9.85 | 10.15 | 0.30 | 10.00 |
| 10.00 max | none | 10.00 | undefined | undefined |
The first row is the symmetric case, where the nominal value sits in the middle of the limits. The second and third rows are asymmetric (unequal bilateral) tolerances. The nominal value is not the midpoint of the limits. The last row has no lower limit, so there is no tolerance width.
Computing limits in code
This function converts nominal notation into limits and reports the width, the midpoint, and how far the target sits from the midpoint. Rounding guards against floating-point noise such as 0.3000000000000007.
def limits_from_nominal(nominal, plus, minus):
"""Convert 'nominal +plus / -minus' into (LSL, USL)."""
lsl = round(nominal - minus, 6)
usl = round(nominal + plus, 6)
return lsl, usl
def tolerance_summary(lsl, usl, target):
width = round(usl - lsl, 6)
midpoint = round((usl + lsl) / 2, 6)
target_offset = round(target - midpoint, 6)
return width, midpoint, target_offset
# Symmetric: 10.00 +/- 0.15
lsl, usl = limits_from_nominal(10.00, plus=0.15, minus=0.15)
width, mid, off = tolerance_summary(lsl, usl, target=10.00)
print(f"LSL={lsl:.2f} USL={usl:.2f} width={width:.2f} midpoint={mid:.2f} target-midpoint={off:+.2f}")
# Asymmetric: 10.00 +0.20 / -0.10
lsl, usl = limits_from_nominal(10.00, plus=0.20, minus=0.10)
width, mid, off = tolerance_summary(lsl, usl, target=10.00)
print(f"LSL={lsl:.2f} USL={usl:.2f} width={width:.2f} midpoint={mid:.2f} target-midpoint={off:+.2f}")Running it prints:
LSL=9.85 USL=10.15 width=0.30 midpoint=10.00 target-midpoint=+0.00
LSL=9.90 USL=10.20 width=0.30 midpoint=10.05 target-midpoint=-0.05Both specifications have the same width of 0.30. Their midpoints differ, and in the second case the nominal value is not the middle of the allowed range. The width alone cannot tell you where the process should be centered.
Target, nominal, and midpoint
Three words are often used as if they meant the same thing. They do not:
- The nominal is the value written on the drawing, the one the tolerance is attached to.
- The target is the value you actually want the process mean to hit. It is often the nominal, but it can be chosen differently, for example to leave room for tool wear.
- The midpoint is (USL + LSL) / 2.
With symmetric limits, all three coincide and the distinction does not matter. With asymmetric limits they separate. Cp ignores this entirely, because it uses only the width. Cpk looks at the distance from the mean to each limit, so it treats a process centered on the nominal 10.00 in the asymmetric example as already off-center from the limits' midpoint of 10.05. Decide whether the true goal is the nominal or the midpoint before you interpret a low Cpk. This question returns in the centering chapter.
Specification limits are not control limits
This is the most common error at this stage.
| Row | Specification limits | Control limits |
|---|---|---|
| Source | Customer, design, regulation | Calculated from process data |
| Describe | What is acceptable | What the process does when stable |
| Apply to | Individual items | Plotted statistics, such as subgroup means |
| Change when | The requirement changes | The process or the data changes |
A process can be perfectly stable, with every point inside its control limits, and still produce parts outside the specification. A process can also be capable while being unstable. Drawing the specification limits on a control chart of subgroup means is wrong, because averages vary less than individual values. Subgroup means can all sit inside the specification while individual items fall outside it.
How tolerance width relates to capability
For a stable process whose output is roughly normal, 99.73% of individual values fall within 6 standard deviations (mean ± 3σ). Capability asks whether that natural spread fits inside the tolerance. A quick preview, before the formal Cp chapter:
- If the tolerance width is 0.30 and the process has σ = 0.05, the natural spread is 6 × 0.05 = 0.30. The spread exactly fills the tolerance, with no room to drift.
- If σ = 0.025, the spread is 0.15, and the tolerance is twice as wide as the process.
- If σ = 0.10, the spread is 0.60, and the process is twice as wide as the tolerance. Defects are certain even when the process is perfectly centered.
Notice that you can change the ratio from either side. You can reduce variation, or you can negotiate a wider tolerance. Widening a tolerance without a design reason makes the index look better without improving the product. A tolerance should reflect what the customer needs, not what the process can currently do.
Edge cases and gotchas
- Missing or one-sided limits. Treat a one-sided specification as one-sided. Setting the absent limit to zero or to an arbitrary large number gives a falsely precise width. A physical boundary such as zero for a concentration is not a specification limit unless the requirement says so.
- Units and scale. Convert the limits and the standard deviation to the same unit before dividing. A width in millimeters against a σ in micrometers is off by a factor of 1000.
- Limits already rounded. If the specification says 10.0 ± 0.1 but you measure to 0.001, the stated precision defines the limits. Do not tighten them to match your gauge.
- Measurement resolution. If the gauge steps are large relative to the tolerance width, the data are coarse and the computed spread is unreliable. A common rule of thumb is a resolution of at most one tenth of the tolerance width.
- Derived specifications. When parts assemble, the tolerance on the assembly depends on the tolerances of its components. Using the component limits for the assembly characteristic is a mistake. Apply the specification that belongs to the characteristic you measured.
- Inclusive limits. A value exactly equal to a limit is normally conforming. With continuous measurements this rarely matters, but with rounded data many readings can land exactly on a limit.
Summary of the working model
- The specification limits are fixed by requirements outside the process.
- The tolerance width is USL − LSL, in the units of the measurement.
- The midpoint and the target can differ, and only the width is used by Cp.
- The specification applies to individual items, not to averages.
- The next step is to describe how the process itself spreads, so that the two can be compared.
Exercise
A drawing gives a shaft diameter as 25.00 +0.06 / -0.02 mm. The process mean is 25.02 mm and σ is 0.01 mm. Find the LSL, USL, tolerance width, and midpoint. Then say whether the process mean is at the midpoint, and compare 6σ with the tolerance width.
Show answer
LSL = 25.00 - 0.02 = 24.98 mm and USL = 25.00 + 0.06 = 25.06 mm. The tolerance width is 25.06 - 24.98 = 0.08 mm. The midpoint is (25.06 + 24.98) / 2 = 25.02 mm, so the process mean of 25.02 is exactly at the midpoint even though the nominal is 25.00. The natural spread is 6 × 0.01 = 0.06 mm, which is smaller than the 0.08 mm tolerance width, so the spread fits inside the tolerance with 0.01 mm of room on each side.
Exercise
A colleague plots the specification limits 9.85 and 10.15 on an X-bar chart of subgroup means and says the process is capable because every mean is inside them. Give two reasons this conclusion is unsound.
Show answer
First, specification limits apply to individual items, and subgroup means vary less than individual values, so individuals can fall outside the limits while all the means stay inside. Second, an X-bar chart tells you about stability, not capability, and the specification limits are not control limits, so they say nothing about whether the process is in statistical control. Capability needs the standard deviation of individual values compared with the tolerance width.