Reliability

Success-Run Sample Size (Zero-Failure Test)

Find how many units must pass a test with no failures to show a reliability level at a chosen confidence, or what reliability or confidence a given number of passing units supports. Every value is entered by you; the tool adds no data of its own.

01Inputs

The field you solve for is calculated and switched off below.

%

Between 0 and 100, for example 90 or 95.

%

The share of units that must work, between 0 and 100.

units

Units tested, all of which pass. A whole number of 1 or more.

02Result

03Method

Use this tool when a qualification test allows no failures and you need to know how many units must pass to demonstrate a reliability at a given confidence, or what a sample that passed actually proves. A typical case is temperature cycling of packaged components. It does not handle tests that allow one or more failures, and the units must be representative of production and tested independently.

AHow it is calculated

A success-run test puts n units through the test and accepts the design only if every unit passes. Suppose each unit works with probability R and the units behave independently. The chance that all n pass is then Rn.

If the true reliability were only R, a clean run of n units would happen with probability Rn. When that probability is no more than 1 − C, a clean run is unlikely enough that you can say, at confidence C, the reliability is at least R. Setting Rn ≤ 1 − C and taking logarithms gives the sample size.

n = ln(1 − C) / ln(R)
  1. Convert confidence and reliability from percent to fractions: C = confidence / 100, R = reliability / 100.
  2. Work out ln(1 − C) / ln(R). Both logarithms are negative, so the ratio is positive.
  3. Round up to the next whole number. A fraction of a unit cannot be tested, and rounding down would fall short of C. The tool subtracts 10−9 before rounding up so that a ratio that is a whole number is not pushed up by floating-point error.
  4. The same relation solved the other ways gives the reliability that n passing units demonstrate, R = (1 − C)1/n, and the confidence that n passing units give for a reliability R, C = 1 − Rn.

For example, 90 % reliability at 90 % confidence needs ln(0.10) / ln(0.90) = 21.85, so 22 units must all pass. With 22 units the confidence actually reached is 1 − 0.9022 = 90.15 %.

Solved the other ways round: 30 units that all pass at 90 % confidence demonstrate R = 0.101/30 = 92.61 %, and 59 units that all pass at 95 % reliability give C = 1 − 0.9559 = 95.15 %. The common 95/95 claim needs ln(0.05) / ln(0.95) = 58.40, so 59 units.

BScope and limitations
  • Assumptions. The units are independent and come from the same population, each one either passes or fails, and the test conditions represent the conditions of use (load, environment and duration).
  • No failures allowed. The plan holds only if every unit passes. A single failure means the test does not demonstrate R at C; a plan that tolerates failures needs a different calculation.
  • Large samples at high reliability. As R approaches 100 % the sample size grows quickly: 99 % reliability at 90 % confidence already needs 230 units.
  • A lower bound, not an estimate. A passed test shows that reliability is at least R at confidence C. It does not estimate the actual reliability, which may be much higher.
  • This calculator demonstrates reliability at a confidence level; to accept or reject a lot by sample, use the AQL Sampling Plan. The same formula gives the sample size of a c = 0 sampling plan; Zero acceptance number sampling plans shows how such a plan behaves lot after lot.
  • For the derivation, a worked qualification case and what the test assumes, read the success-run sample size guide.
CCommon mistakes
  • Reading R as the expected reliability. R is the lowest reliability the test supports at confidence C, not a measured value.
  • Continuing after a failure. Replacing a failed unit, retesting it or adding units to reach the planned count does not keep the zero-failure plan valid.
  • Testing under easier conditions. A shorter test, a lighter load or a milder environment than in use demonstrates reliability for those easier conditions only.
  • Rounding down. 21.85 units means 22; 21 units reach only 1 − 0.9021 = 89.06 % confidence.
  • Mixing percent and fractions. The tool takes percent; 0.9 entered as confidence means 0.9 %, not 90 %.

Further reading

  • O'Connor, P. D. T. & Kleyner, A., Practical Reliability Engineering, 5th ed., Wiley, 2012. Covers reliability demonstration and the success-run formula.
  • Lipson, C. & Sheth, N. J., Statistical Design and Analysis of Engineering Experiments, McGraw-Hill, 1973. Covers sample sizes for reliability testing.