Mathwords logoMathwords

Tolerance Interval — Definition, Formula & Example

A tolerance interval is a range built from sample data that you can be confident contains a stated percentage of all individual values in the population, such as 95% of all parts made. A confidence interval captures a single parameter, like the mean. A tolerance interval captures most of the individual values.

A (p,γ)(p, \gamma) tolerance interval is a random interval (L,U)(L, U), computed from a sample, such that P(F(U)−F(L)≥p)=γP\big(F(U) - F(L) \ge p\big) = \gamma, where FF is the population's cumulative distribution function. In words, with confidence level γ\gamma, the interval contains at least a proportion pp of the population. For normal data it has the form xˉ±ks\bar{x} \pm k s, where the tolerance factor kk depends on nn, pp, and γ\gamma.

Key Formula

xˉ±k s,k≈z(1+p)/2(n−1)(1+1n)χ1−γ, n−12\bar{x} \pm k\,s, \qquad k \approx z_{(1+p)/2}\sqrt{\frac{(n-1)\left(1+\frac{1}{n}\right)}{\chi^2_{1-\gamma,\,n-1}}}
Where:
  • xˉ\bar{x} = Sample mean
  • ss = Sample standard deviation
  • kk = Two-sided tolerance factor. It is usually read from a table. The expression shown is Howe's approximation, which closely matches the table values.
  • pp = Proportion of the population the interval should cover, for example 0.95
  • γ\gamma = Confidence level, for example 0.95
  • z(1+p)/2z_{(1+p)/2} = Standard normal value with area (1 + p)/2 to its left
  • χ1−γ, n−12\chi^2_{1-\gamma,\,n-1} = Chi-square value with area 1 − γ to its left, on n − 1 degrees of freedom

Worked Example

Problem: A factory weighs 20 cereal boxes. The sample mean is 16.0 oz and the sample standard deviation is 0.2 oz. Assume the weights are normally distributed. Find a two-sided tolerance interval that you can be 95% confident contains at least 95% of all boxes. Then compare it with a 95% confidence interval for the mean.
Step 1: Find the tolerance factor for n = 20, p = 0.95, and γ = 0.95. Use z = 1.96 and the chi-square value 10.117, which has 5% of the area to its left on 19 degrees of freedom. Published tables give the same factor, k = 2.752.
k≈1.9619 (1.05)10.117≈2.752k \approx 1.96\sqrt{\frac{19\,(1.05)}{10.117}} \approx 2.752
Step 2: Multiply k by s. Then add the result to the sample mean and subtract it from the sample mean.
2.752×0.2=0.5504  ⇒  (15.4496, 16.5504)≈(15.45, 16.55)2.752 \times 0.2 = 0.5504 \;\Rightarrow\; (15.4496,\ 16.5504) \approx (15.45,\ 16.55)
Step 3: For contrast, build the 95% confidence interval for the mean, using t = 2.093 on 19 degrees of freedom. This interval is much narrower because it targets only the mean, not the individual boxes.
16.0±2.093⋅0.220≈16.0±0.0936  ⇒  (15.91, 16.09)16.0 \pm 2.093\cdot\frac{0.2}{\sqrt{20}} \approx 16.0 \pm 0.0936 \;\Rightarrow\; (15.91,\ 16.09)
Answer: The 95%/95% tolerance interval is about (15.45, 16.55) oz. You can be 95% confident that at least 95% of all boxes weigh within this range. The confidence interval (15.91, 16.09) oz estimates only the mean box weight.

Why It Matters

Manufacturers use tolerance intervals to check whether a process meets specification limits, for example whether nearly every bolt falls within its diameter limits. Engineers and pharmaceutical analysts often require 95/95 tolerance limits in validation reports. This is the standard tool when the question is about individual units, not about an average.

Common Mistakes

Mistake: Using xˉ±1.96s\bar{x} \pm 1.96s as the range that holds 95% of the population. In the example, that gives (15.608, 16.392) oz.
Correction: The value 1.96 would be correct only if you knew the true mean and true standard deviation. Here xˉ\bar{x} and ss are estimates from just 20 boxes. The tolerance factor k=2.752k = 2.752 widens the interval to account for that sampling uncertainty.

Related Terms

  • Interval — The range of numbers between two endpoints it uses
  • Confidence Interval — Captures a parameter such as the mean, not individual values
  • Normal Distribution — Assumed population model behind the k-factor formula
  • Degrees of Freedom — Sets which chi-square value is used for k
  • Critical Value — Supplies the z and chi-square cutoffs inside k
  • Z-Score — Gives the coverage cutoff for a known population
  • Population — The full group whose individual values the interval covers