standarddeviationcalculator.net SD Calculator

Tolerance interval calculator

Share this page

Favorites

    No favorites yet. Press Favorite on any page to keep it here.

    Methodology

    This tolerance interval calculator finds the range that covers a chosen proportion of a normal population with a chosen confidence. Enter your data, or the mean, standard deviation and sample size, and it returns the tolerance factor k and the limits, with the working.

    95% / 95% tolerance interval 9.28884 to 10.7912
    Tolerance factor k3.38191
    Mean10.04
    Standard deviation (s)0.222111
    Sample size (n)10
    Lower limit9.28884
    Upper limit10.7912
    Show the working, step by step
    1. Look up the normal value for the coverage and the chi-square value for the confidence.

      z = 1.95996 (for 95% coverage) χ² = 3.32511 (lower 5% point, 9 degrees of freedom)

    2. Work out the tolerance factor.

      k = z × √( (n − 1)(1 + 1/n) ÷ χ² ) = 1.95996 × √( 9 × 1.1 ÷ 3.32511 ) = 3.38191

    3. Go k standard deviations either side of the mean.

      10.04 ± 3.38191 × 0.222111 = 9.28884 to 10.7912

    This is Howe’s approximation, which matches published two-sided tolerance factor tables to about three figures. It assumes the data are roughly normal.

    The tolerance interval formula

    tolerance interval = x̄ ± k × s k = z × √( (n − 1)(1 + 1/n) ÷ χ² )

    Here x̄ is the sample mean, s the sample standard deviation and n the sample size. In the two-sided factor, z is the normal value for the coverage (1.96 for 95%) and χ² is the lower chi-square point for the confidence, with n − 1 degrees of freedom. This is Howe's approximation, which agrees with published tolerance factor tables to about three figures.

    Worked example

    Ten fill weights: 9.8, 10.2, 10.1, 9.9, 10.4, 10.0, 9.7, 10.3, 10.1, 9.9. Find the 95% / 95% interval.

    1. Mean x̄ = 10.04, sample standard deviation s = 0.2221, n = 10.
    2. z for 95% coverage = 1.960. The lower 5% chi-square point with 9 degrees of freedom is 3.325.
    3. k = 1.960 × √(9 × 1.1 ÷ 3.325) = 3.382.
    4. Limits: 10.04 ± 3.382 × 0.2221 = 9.289 to 10.791.

    So you can be 95% confident that at least 95% of all fills lie between 9.289 and 10.791. A 95% confidence interval for the mean of the same data is far narrower, because it describes where the average is, not where individual fills fall.

    Two-sided tolerance factors at 95% confidence

    n90% coverage95% coverage99% coverage
    102.8383.3824.445
    202.3102.7523.617
    302.1402.5503.351
    501.9962.3793.126
    1001.8742.2332.934

    As n grows, k falls towards the plain normal value (1.645, 1.960 and 2.576), because the sample mean and standard deviation become reliable. With a small sample k is much larger, to allow for how uncertain they are.

    Tolerance, confidence and prediction intervals

    • Confidence interval. Where the population mean (or another parameter) is likely to be.
    • Prediction interval. Where the next single observation is likely to fall.
    • Tolerance interval. Where a stated share of all future observations fall.

    Use a tolerance interval when the question is about the units themselves: setting specification limits from process data, checking that a batch will meet a limit, or validating a process. For capability against limits you already have, see the Cpk calculator.

    One-sided limits

    Choose a one-sided interval when only one direction matters, such as a minimum strength or a maximum impurity. The calculator then gives a single limit, x̄ − k × s or x̄ + k × s, using Natrella's approximation for k. It runs slightly above the exact factor for small samples, about 1% at n = 10, so the limit errs on the cautious side.

    Tolerance interval calculator: the worked example on this page, with its result and chart
    Tolerance interval calculator: the worked example above, at a glance.

    Common questions

    What is a tolerance interval?

    A range that, with a stated confidence, contains at least a stated proportion of the whole population. A 95% / 95% tolerance interval is a range you can be 95% confident holds at least 95% of all individual values.

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

    A confidence interval is about a parameter, usually the mean, and it shrinks towards a single number as the sample grows. A tolerance interval is about individual values, and it settles at the width that really does cover the chosen share of the population. It is always the wider of the two.

    How do you calculate a tolerance interval?

    For normal data it is x̄ ± k × s, where k is the tolerance factor for your sample size, coverage and confidence. For n = 10 at 95% coverage and 95% confidence, k = 3.382, so a sample with mean 10.04 and standard deviation 0.2221 gives 10.04 ± 3.382 × 0.2221 = 9.289 to 10.791.

    What does 95/95 mean?

    The first number is the coverage, the share of the population the interval must contain. The second is the confidence that it does. 99/95 means 99% of the population with 95% confidence.

    Does the data have to be normal?

    For this calculator, yes. The factor k is derived for a normal distribution, and tolerance limits depend on the tails far more than a mean does, so skewed data gives misleading limits. Check a histogram or normal plot first, and transform the data or use a nonparametric method if it is clearly not normal.