Advancing QE Skills | 30 Pieces Within Tolerance Does Not Equal 99.7% Batch Conformance —— Statistical Tolerance Intervals: k Factor, Coverage Proportion, and Sample Size Comparison
A company's shaft diameter is specified as φ10±0.05. The first batch of 30 pieces was fully inspected, and all were within tolerance. The report stated a common phrase: "30 pieces inspected, 100% conformance." The customer's quality engineer responded with a single question: "I believe these 30 pieces are conforming, but why should I believe the entire batch is 99.7% conforming?"
This question hits the mark. "30 pieces within tolerance" and "at least 99% of the products within tolerance" are separated by a statistical tool: the tolerance interval. It combines the sample standard deviation, sample size, and the risk you can bear into a signable, traceable interval and coverage proportion. Without it, "100% conformance" is merely a description of the 30 pieces, not a commitment about the entire batch.
1. Applicable Scenarios: Tolerance Intervals Manage "Individual Value Coverage," Not "Mean Location"
The definition of a tolerance interval is: to calculate an interval from the sample such that the statement "at least p proportion of individual product values fall within this interval" holds with a confidence level of γ. It has two parameters that must be clearly stated—coverage proportion p and confidence level γ.
It is not the same as a confidence interval, which is the most common confusion for QEs:
| Confidence Interval for Mean | Tolerance Interval | |
|---|---|---|
| Question Answered | Where does the mean (or standard deviation) fall? | What proportion of products fall within a certain range? |
| Width with Sample Size | Proportional to 1/√n; the larger n is, the narrower the interval, which can approach 0 | Converges to the p-quantile span of the distribution, and will not narrow to 0 |
| Typical Use | To determine if the process mean has shifted or if there is a difference between two sets of data | To commit to individual value coverage, determine the process window, and support initial batch validation |
| Common Misuse | Using it to promise product conformance rate | Using it to decide batch acceptance or rejection |
When to Use: For single-piece or small-batch production and initial batch validation (when 25 subgroups are not available); for key characteristics or safety features that require "individual value coverage" rather than "Cpk value"; for external statements on incoming inspection or process capability; when the distribution is clearly non-normal and there are not enough samples to fit the distribution, use the non-parametric version.
When Not to Use: Four boundaries need to be clearly defined:
- The process is not yet under control (there are trends, drifts, multiple peaks, or batches have not been stratified). In this case, the sample comes from a mixed distribution, and the calculated coverage compresses an unstable process into a single sentence, which lacks process meaning. Start with a control chart.
- The sample only comes from one shift, one machine, or one mold cavity. The coverage is only valid for the "sampled conditions," and writing it into the report becomes a commitment for the entire factory.
- Attribute data (conforming/nonconforming). This is a problem of the upper confidence limit for a binomial distribution; use the 3/n rule when there are zero defects, not a tolerance interval.
- Batch acceptance or rejection. This is the job of a sampling plan (counting uses GB/T 2828.1 series, measurement uses GB/T 6378 series); it decides "accept or reject," not coverage estimation.
One more point: when the customer's audit form requires Cpk/Ppk, do not use a tolerance interval to fill it. The two have different scopes, and the customer's form does not have an option for "tolerance interval."
2. Criteria and Thresholds: Three Numbers, Two Tables, Three Judgments
First, Determine the Three Numbers, Then Discuss Sample Size
Coverage Proportion p, Confidence Level γ, One-sided or Two-sided. Use one-sided for characteristics with only a lower or upper limit requirement (strength, life, leak rate); use two-sided for characteristics with both upper and lower tolerance limits (dimensions). The same sample size is much more lenient for one-sided than for two-sided, and writing a two-sided interval as one-sided is the most common way to "make the data look better."
Table 1 k Factor for Normal Distribution (γ = 95%)
Interval = Mean ± k × Sample Standard Deviation (one-sided takes only one side). This applies under three conditions: the process is under control, the sample is random, and the characteristic is approximately normally distributed. The values are calculated using small sample corrections for unknown mean and standard deviation, with a difference of ±0.02 from commonly used tables.
| Sample Size n | One-sided 95% | One-sided 99% | One-sided 99.73% | Two-sided 95% | Two-sided 99% |
|---|---|---|---|---|---|
| 10 | 2.911 | 3.981 | 4.708 | 3.393 | 4.437 |
| 20 | 2.396 | 3.295 | 3.904 | 2.760 | 3.621 |
| 30 | 2.220 | 3.064 | 3.635 | 2.555 | 3.355 |
| 50 | 2.065 | 2.862 | 3.401 | 2.382 | 3.129 |
| 100 | 1.927 | 2.684 | 3.194 | 2.234 | 2.935 |
When reading this table, note two things. First, k increases rapidly with the coverage target: for n=30, from 95% to 99.73%, the one-sided k increases from 2.22 to 3.64, widening the interval by 64%. Second, k decreases slowly with sample size: n increases from 30 to 60, k decreases by about 9%; from 50 to 100, k decreases by 6%. The marginal benefit of sample size is far less than the impact of the coverage target, so determine the target first, then the sample size, not the other way around.
Table 2 Minimum Sample Size for Non-parametric (γ = 95%)
| Coverage Target | One-sided | Two-sided |
|---|---|---|
| 95% | 59 pieces | 93 pieces |
| 99% | 299 pieces | — |
| 99.73% | 1109 pieces | — |
The non-parametric version does not assume a distribution, only using the sample's minimum and maximum values to define the interval, at the cost of sample size. The number 59 comes directly from the requirement 0.95ⁿ ≤ 0.05, solving for n ≥ 59. When the distribution is clearly skewed, bimodal, or truncated (undetected, saturated), this is the only viable approach.
Three Judgments
- The interval must be entirely within the tolerance for the commitment to hold. Being on the edge does not count—leave a 10% to 20% margin, as the s of the next batch will not be the same as this one.
- Start with n ≥ 30; do not provide coverage conclusions for n < 10. For n=10, the two-sided k is 3.39, which is about 25% wider than the 2.56 for n=30. This width is the cost of insufficient sampling, not the true representation of the process.
- Write all five items in the report: sample source and time span, n, p and γ, one-sided/two-sided, interval upper and lower limits, and validity period.
Table 3 Use the Appropriate Tool Based on Customer Requirements
| Required Conclusion | Appropriate Tool | Threshold |
|---|---|---|
| Cpk ≥ 1.33, ppm commitment | Capability Index + Lower Confidence Limit | 25 subgroups, n ≥ 125, process under control |
| Individual value coverage ≥ p (γ confidence) | Tolerance Interval | n as per Table 1 or Table 2 |
| Zero defects in incoming material, want to commit to batch nonconformance rate | Binomial Upper Confidence Limit (3/n rule) | Calculate sample size based on target ppm |
| Accept or reject this batch | Sampling Plan Acceptance Constant | Based on AQL and inspection level |
| Has the process changed? | Control Chart | First ensure the process is under control, then discuss coverage |
The order of these five items cannot be reversed: first ensure the process is under control, then discuss coverage, and finally talk about capability and external commitments. Reports that reverse this order often have beautiful numbers, but they fall apart when questioned about the sampling conditions.
3. Five Executable Steps
Step 1: Define the Scope. Write the following sentence: "With γ confidence, at least p proportion of products fall within the interval." The value of p is determined by the purpose: 95% is sufficient for internal process windows; for customer commitments and safety features, start from 99%; if the customer specifies a ppm target, convert it first—95% coverage is 50,000 ppm, 99.73% is 2,700 ppm, and 99.99% is 100 ppm.
Step 2: Sample and Confirm Control. Take n as per Table 1 or Table 2; sample across time, equipment, mold cavities, or batches, and randomly draw. First, use an I-MR chart to confirm there are no trends, out-of-limits, or periodicity. Continuous sampling of 30 pieces is the most convenient, but it only represents short-term variation during that period—batch-to-batch differences are not included in the sample, leading to systematically narrower intervals.
Step 3: Perform Normality Check. Use a probability plot to check the shape and an AD test to check the p-value; if p ≥ 0.05, use the parametric method and Table 1, otherwise use the non-parametric method (59/93 pieces) or transform the data first, and note the transformation used in the report. Do not force a calculation for bimodal data; stratify by source first.
Step 4: Calculate the Interval and Compare with Tolerance. If the interval is entirely within the tolerance, the commitment holds; if it exceeds the tolerance, choose one of three options: reduce the coverage target, increase the sample size, or modify the process or tolerance. Among these, increasing the sample size is the least efficient.
Step 5: Archive and Set Validity Period. Recalculate after changing batches, molds, materials, process parameters, or major maintenance. Even without change events, there is a validity period; it is recommended to recalculate every 3 months or 3 batches, whichever comes first. This step is key to turning "one-time correctness" into "continuous reliability."
An Example Calculation
A company's shaft diameter is 10.00±0.05 mm, n=30, mean=10.008, s=0.011.
First, calculate the capability: Cpk = min(10.05−10.008, 10.008−9.95) ÷ (3×0.011) = 0.042 ÷ 0.033 = 1.27. This indicates "relative capability to the tolerance is acceptable," but does not answer the coverage.
Next, calculate the coverage: 95% confidence, 99% coverage, two-sided, k=3.355, interval = [10.008−0.037, 10.008+0.037] = [9.971, 10.045], which is entirely within [9.95, 10.05]. The report can state: "With 95% confidence, at least 99% of the products fall between 9.971 and 10.045, all within the tolerance."
What if only 10 pieces are sampled from the same batch? k=4.437, interval = [9.959, 10.057], the upper limit exceeds 10.05, and the 99% coverage commitment does not hold. Reducing to 95% coverage (k=3.393) gives the interval [9.971, 10.045], which is just on the edge—technically valid, but not recommended for signing due to the lack of margin.
This is the most useful statement about tolerance intervals: When the sample size is insufficient, the only thing that can be changed is the coverage target, not the interval width by calculating the standard deviation to more decimal places.
4. Counterexamples and Misconceptions
Misconception 1: Treating ±3s as a 99.73% Commitment. ±3s is an estimate of the "3σ position," not a confidence commitment. For n=30, using ±3s to support "at least 99.73% coverage" has only about a 40% chance of being truly valid—because s can sometimes be small, and the sample mean is not always in the center. To declare 99.73% coverage with 95% confidence, the one-sided k should be 3.635, and the two-sided k should be 3.905, making the interval 21% to 30% wider than ±3s, and many originally "conforming" samples will exceed the limits.
Misconception 2: Using the Confidence Interval for the Mean to Substitute for a Tolerance Interval. The width of the confidence interval for the mean is proportional to 1/√n: for n=30, it is approximately ±0.004, and for n=1000, it is only ±0.0007. Individual product values do not become more concentrated just because the sample size increases. Using a confidence interval to report coverage is like using "how accurate the mean is" to answer "how scattered the products are," which is the wrong direction.
Misconception 3: Committing to 99% with Only 10 Samples. See the example: k increases from 3.355 to 4.437, widening the interval by 32%, and directly exceeding the limit. Increasing n from 30 to 60 only reduces k by 9%—it is not cost-effective to save a commitment that is fundamentally unsustainable by adding more samples; the process or tolerance should be adjusted.
Misconception 4: Sampling Only One Shift, One Machine, One Mold Cavity, but Committing for the Entire Factory. Coverage is only valid for the sampled population. If piece-to-piece and batch-to-batch variations are not included in the sample, the interval will be systematically narrower. The correct approach is to stratify the sampling structure (time × equipment × mold cavity) and commit separately for the worst layer, or directly use the maximum value for the commitment.
Misconception 5: Forcing k Factors for Non-normal Data. Using k factors for skewed, bimodal, or truncated data will result in errors on both ends, and often "overestimates coverage"—the actual nonconformance rate on the long tail side of a skewed distribution is one order of magnitude higher than what is calculated under normal distribution assumptions. Solution: use the non-parametric method (59/93 pieces) if the sample is sufficient, or first perform a logarithmic or Box-Cox transformation, and clearly state the transformation used in the report.
Misconception 6: Using Tolerance Intervals to Decide Batch Acceptance or Rejection, or to Replace Customer-Required Cpk Submissions. The former is the job of a sampling plan acceptance constant, and the latter is the job of a capability index. The greatest risk of misusing these tools is not the calculation error, but the lack of corresponding clause references during customer audits, leading to the report being rejected.
5. Self-Check List
- The report clearly states the coverage proportion p and confidence level γ, and specifies one-sided or two-sided.
- Sampling spans time, equipment, mold cavities, or batches, and the process is confirmed to be under control using a control chart.
- n matches Table 1 or Table 2; do not provide coverage conclusions for n < 10.
- Normality has been checked; for non-normal data, use the non-parametric method (59/93 pieces) or transformation, and note the transformation in the report.
- The interval is entirely within the tolerance (leave a 10% to 20% margin), and the validity period and recalculation trigger conditions are written.
The sample provides an interval, not a conformance rate.
Knowledge code: 6.3.2
Version: v20261130
Author: QTank QTank is dedicated to providing systematic professional knowledge, methodologies, and practical tools for quality management practitioners, helping companies continuously improve their quality capabilities.