Calculators
Home › Calculators › Tolerance Interval Calculator

Tolerance Interval Calculator

A range that holds a stated share of the population, with stated confidence.

Published 30 November 2026

Calculate a tolerance interval

Two-sided, or one side only: pick the promise you need to make.

Quick answer: A tolerance interval covers a stated share of the population, with stated confidence: x̄ ± k·s. For 20 jars averaging 500 g with s = 6 g, the 95/90 interval (k = 2.31) is 486.14 to 513.86 g. It is wider than a confidence interval, because it bounds the jars themselves, not just their mean.

A promise about the bolts, not the average bolt

A quality engineer at a bolt factory had a problem she could not solve with the tools she knew. Her customer wanted a promise in writing: at least 90% of the bolts must hold 100 kilos or more. She had measured 25 bolts. Their mean breaking strength was 108 kilos, the standard deviation 5. She built a 95% confidence interval for the mean, 105.94 to 110.06, and nearly sent it. Then she stopped. The interval was about the average bolt. Her customer did not buy an average bolt. He bought bolts, one at a time, and the promise had to cover them. The tool she needed was not a confidence interval. It was a tolerance interval, and it is the subject of this page.

A tolerance interval covers a stated share of the population, with stated confidence. Two numbers set it: the coverage, the share you want inside, and the confidence, how sure you want to be. Say them together as "95/90": 95% confident that at least 90% of the population sits inside the interval. The interval itself is the sample mean plus or minus a factor times the sample standard deviation: x̄ ± k·s. Everything on this page is about that factor, k.

What k does, and why it is bigger than 1.96

People meeting tolerance intervals for the first time reach for 1.96. It is the wrong number twice over. First, 1.96 is a z value, and z values assume you know the population standard deviation. You do not. You estimated it from the sample, and that estimate wobbles. Second, 1.96 covers 95% of a known normal curve. A tolerance interval has to cover a share of the population and survive the doubt in both the mean and the standard deviation. Both doubts widen the interval, so k is always bigger than the z for the same coverage. With 20 jars, the 95/90 factor is 2.31, not 1.64. With only 5 jars it is 4.27. As the sample grows, k sinks toward the z value: at n = 100 it is 1.87, and the floor it never quite reaches is 1.6449.

Tolerance intervalx̄ ± k × s
Two-sided factor (Howe)k = z × √((n − 1)(1 + 1/n) ÷ χ²)

Worked example: twenty jars, 95/90

A machine fills jars with coffee. Twenty jars are weighed. The mean is 500 grams, the sample standard deviation 6 grams. The packer wants a 95/90 tolerance interval: 95% confident that at least 90% of all jars weigh inside the limits.

Worked example: the jars

Coverage 90% gives z = 1.6449, the 95th percentile of the normal curve. Confidence 95% on 19 degrees of freedom gives the lower chi-square point χ² = 10.1170. Howe's formula: k = 1.6449 × √((19 × 1.05) ÷ 10.1170) = 1.6449 × 1.4043 = 2.3098. The published tables print 2.310 for the same settings. Half-width = 2.3098 × 6 = 13.86 grams. The interval is 500 ± 13.86, or 486.14 to 513.86 grams. Read it as: we are 95% confident that at least 90% of the jars this machine fills weigh between 486.14 and 513.86 grams.

Check the pieces. The z value, 1.6449, is the one that puts 90% of a normal curve between −z and +z. The chi-square point, 10.1170, is the small value that only 5% of chi-square draws on 19 degrees of freedom fall below: it is the pessimistic end of what the sample standard deviation might be hiding. The (1 + 1/n) term pays for the doubt in the sample mean. Howe's approximation is the method NIST publishes for the two-sided factor, and it matches the published tolerance-factor tables to three figures. The exact two-sided factor has no closed form: it is a numerical-integration problem, which is why the tables and this calculator use Howe's formula. The one-sided factor below is exact.

One side only: when the spec has a single limit

Many real specs have one side. A bolt must hold at least 100 kilos. A drug tablet must contain at most a stated impurity. Nobody cares about the other tail. A two-sided interval wastes width guarding a side nobody specified, so the one-sided bound is the right tool: x̄ + k·s for an upper bound, x̄ − k·s for a lower one. The factor is exact here. It comes from the noncentral t distribution: k = t ÷ √n, where t is the confidence point of the noncentral t on n − 1 degrees of freedom, with noncentrality δ = z × √n.

Worked example: the bolts, finished properly

Back to the 25 bolts: mean 108 kilos, s = 5, and the customer wants 95% confidence that at least 90% of bolts hold 100 kilos or more. That is a lower bound, one-sided, 95/90. z for 90% coverage is 1.2816, so δ = 1.2816 × √25 = 6.4078. The noncentral t point on 24 degrees of freedom is t = 9.1905. k = 9.1905 ÷ 5 = 1.8381. Lower bound = 108 − 1.8381 × 5 = 98.81 kilos. The batch fails the promise: 98.81 sits below the 100-kilo spec, so the engineer cannot sign. She needs a stronger batch or a bigger sample, not a different interval.

A second one-sided example, for the pattern: ten exam marks average 72 with s = 8. The teacher wants 95% confidence that at least 95% of the class scores above some mark. One-sided, 95/95: k = 2.9110, so the lower bound is 72 − 2.9110 × 8 = 48.71. She can say at least 95% of the class scores above 48.71, with 95% confidence. The two-sided 95/95 interval for the same ten marks is 44.94 to 99.06, wider on the low side, because it also guards the top tail.

Three intervals, one dataset: the ladder

The same twenty jars carry three different intervals, and mixing them up is the most common tolerance-interval mistake. Here they are side by side, all at 95%.

Worked example: the ladder

Confidence interval for the mean: t* = 2.0930 on 19 degrees of freedom, standard error 6 ÷ √20 = 1.3416, margin 2.81. The interval is 497.19 to 502.81. Prediction interval for one future jar: 2.0930 × 6 × √1.05 = 12.87, so 487.13 to 512.87. Tolerance interval, 95/90: 486.14 to 513.86. Three widths, three claims. The confidence interval is about the average jar. The prediction interval is about the next jar. The tolerance interval is about 90% of all jars, with 95% confidence. Each step outward buys a stronger claim.

Read a report by asking which interval it printed. A paper that says "the 95% interval is 497 to 503" has bounded the mean. If the question was "what do the jars weigh", that interval answers a question nobody asked. The tolerance interval is the one that talks about the jars.

How the sample size moves the interval

Small samples pay for their ignorance in width. Same jars, same 500 and 6, same 95/90, only n changes.

Worked examples: n does the talking

n = 5: k = 4.2746, half-width 25.65, interval 474.35 to 525.65. n = 10: k = 2.8382, half-width 17.03, interval 482.97 to 517.03. n = 50: k = 1.9963, half-width 11.98, interval 488.02 to 511.98. n = 100: k = 1.8738, half-width 11.24, interval 488.76 to 511.24. The factor falls fast at first, then flattens: going from 5 to 20 jars saves about 12 grams of half-width; going from 50 to 100 saves less than one gram. The floor is the z value, 1.6449, which no sample size reaches, because the mean and the standard deviation are always estimated, never known.

That flattening is the practical answer to "how many do I need". There is no closed-form sample-size formula for a tolerance interval, the way there is for a margin of error. Pick the width you can live with, try n in the calculator above, and watch k. If the interval is still too wide at n = 50, the next 50 samples buy almost nothing. Spend the effort on the process instead.

The 95/95 interval, and the 99/99 one

Two settings turn up so often they have their own shorthand. "95/95" means 95% confident that 95% of the population is inside. For the ten exam marks (mean 72, s = 8): k = 3.3819, half-width 27.06, interval 44.94 to 99.06. The published tables print 3.379 for the same settings, a difference of 0.003 that moves no endpoint by more than a few hundredths of a mark. At the strict end, 99/99 on thirty jars with the same mean and SD: k = 3.7345, half-width 22.41, interval 477.59 to 522.41. The tables print 3.733. When both numbers are 99, the interval is honest about how much it does not know: it is about three-quarters wider than the 95/90 interval on the same thirty jars.

Tolerance intervals in Excel

Excel has no built-in tolerance interval function, but the two-sided factor is one formula. For the jars: =NORM.S.INV(0.95)*SQRT(19*1.05/CHISQ.INV(0.05,19)). NORM.S.INV(0.95) is 1.6449, CHISQ.INV(0.05,19) is 10.1170, and the whole formula returns 2.3098. Older Excel uses CHIINV(0.95,19) in place of CHISQ.INV(0.05,19): same number, 10.1170, because CHIINV takes the upper-tail probability. Multiply by s, add and subtract from the mean, and the interval is done. The one-sided factor has no Excel equivalent: the noncentral t inverse is not in Excel's function list, so use the published tables or the calculator on this page.

Watch out

Three traps. First, quoting a confidence interval as if it bounded the population: it bounds the mean, and the mean is always easier to pin down than the population. Second, using 1.96 for k: the z value assumes a known standard deviation, and it covers the wrong share for a two-sided 90% promise. Third, forgetting normality: a tolerance interval assumes the data are roughly normal, because k comes from the normal curve and the chi-square distribution. Skewed data need a transformation first, or a nonparametric tolerance interval, which counts order statistics instead of using a factor. The Shapiro-Wilk test and the Kolmogorov-Smirnov test check normality on this site.

Frequently asked questions

What is the difference between a tolerance interval and a confidence interval?

A confidence interval bounds a parameter, usually the mean. A tolerance interval bounds a share of the population itself. On the twenty jars, the 95% confidence interval for the mean is 497.19 to 502.81, while the 95/90 tolerance interval is 486.14 to 513.86. The first says where the average jar sits; the second says where 90% of the jars sit.

What does 95/95 mean?

Two different jobs in one label. The second 95 is the coverage: at least 95% of the population lies inside. The first 95 is the confidence: intervals built this way capture that share in 95% of repeated samples. A 95/95 interval is stricter than a 95/90 interval on both counts.

How do I calculate a tolerance interval by hand?

Take the mean and the sample SD, then multiply the SD by the factor k and add and subtract from the mean. For a two-sided interval, k comes from Howe's formula or the published tables: for the twenty jars at 95/90, k = 2.3098, so the interval is 500 plus or minus 13.86, or 486.14 to 513.86. For a one-sided bound, k comes from the noncentral t distribution, which is why the tables or this calculator are the practical route.

Why is the tolerance interval wider than the prediction interval?

A prediction interval bounds one future value, and one value is allowed to be unlucky. A tolerance interval bounds a stated share of the whole population with stated confidence, which is a stronger promise, so it costs more width. On the jars: the prediction interval is 487.13 to 512.87, the 95/90 tolerance interval is 486.14 to 513.86.

When do I use a one-sided tolerance bound instead of a two-sided interval?

When the spec has a single limit: a minimum strength, a maximum impurity, a lowest acceptable score. A two-sided interval guards a tail nobody specified and wastes width doing it. One-sided bounds use the exact noncentral t factor: for the 25 bolts at 95/90, the lower bound is 98.81 kilos, and because that sits below the 100-kilo spec, the batch cannot be signed off.