Reliability
Success-Run Sample Size: How Many Units Prove a Reliability Level with Zero Failures
A qualification example for validation engineers who have to justify a sample size before the units are built.
Quick answer
A success-run test puts n units through a test and requires all of them to pass. If they do, you may state, with confidence C, that the reliability of the population is at least R. The three quantities are tied together by one line:
n = ln(1 − C) / ln(R), rounded up to the next whole unit.
Some references call this the success-run theorem or success run theory; it is the zero-failure case of the binomial test, not a separate result.
For reliability 90 % at 90 % confidence the formula gives 22 units, which is where the "90/90 rule" quoted in many qualification plans comes from. Turned around, the same line tells you what a sample you already have can prove: 30 units with no failures demonstrate at least 92.6 % reliability at 90 % confidence, or 90 % reliability at 95.8 % confidence. The Success-Run Sample Size calculator solves the formula in all three directions.
This guide derives the formula, works one fictional qualification case in both directions, shows what the test does and does not prove, and explains what changes if you want to allow a failure.
About the example. The product, test and numbers are fictional. The arithmetic is exact; the engineering context is a teaching sketch, not a qualification procedure.
Where the formula comes from
Suppose each unit in the population passes the test independently with the same probability R, the reliability you want to demonstrate. The probability that all n units in a sample pass is R to the power n.
Now assume the worst case consistent with your claim: the true reliability is exactly R. If even then the chance of seeing n passes in a row is small, say no more than 1 − C, then observing n passes is strong evidence that reliability is at least R. Writing that condition down:
R^n ≤ 1 − C
Taking logarithms of both sides and remembering that both logarithms are negative:
n ≥ ln(1 − C) / ln(R)
Since n must be a whole number, round up. Three things fall out of the derivation and are worth saying plainly.
| Statement | Why |
|---|---|
| C is a confidence level, not a probability that the product is good. | A population at exactly reliability R would pass all n units with probability R^n, and the sample size is chosen so that R^n ≤ 1 − C. The achieved confidence is 1 − R^n, which is at least the required confidence C. The statement is about the test, not about the product. |
| The test proves a lower bound on R, never the actual reliability. | All n passes are consistent with R = 0.9 and with R = 0.999. The test cannot tell them apart. |
| Zero failures is the cheapest design, not the most informative. | Allowing failures costs more units but tells you more about where the reliability actually sits. |
Worked example: qualifying a packaged device
The fictional product is a packaged device going through a temperature-cycling qualification. The customer requirement, written before the test, is that the device must demonstrate at least 90 % reliability over the cycling condition at 90 % confidence. No failures are permitted in the demonstration.
Forward: how many units
| Input | Value |
|---|---|
| Required reliability R | 90 % |
| Confidence C | 90 % |
| Allowed failures | 0 |
n = ln(0.10) / ln(0.90) = (−2.3026) / (−0.1054) = 21.85, rounded up to 22 units.
Twenty-two units, all passing, meet the requirement. Twenty-one do not: with 21 units the confidence achieved at R = 90 % is 1 − 0.9^21 = 89.1 %, just under the line.
Backward: what the units you have can prove
The engineering lot yields 30 usable units. Thirty exceeds 22, so the plan is met with margin. The margin can be spent in either of two ways, and the procedure should say which before the test runs.
| Question | Formula | Result |
|---|---|---|
| Keep C = 90 %; what reliability do 30 passes demonstrate? | R = (1 − C)^(1/n) = 0.10^(1/30) | 92.6 % |
| Keep R = 90 %; what confidence do 30 passes give? | C = 1 − R^n = 1 − 0.9^30 | 95.8 % |
Neither number changes the customer's requirement. They are what you can report in addition to "requirement met", and they are the reason to test every usable unit rather than stopping at 22.
A smaller lot
Suppose instead only 12 units were available. Twelve passes demonstrate 82.5 % reliability at 90 % confidence, or 90 % reliability at only 71.8 % confidence. Either statement is honest; neither meets a 90/90 requirement. The options are to build more units, to negotiate the requirement, or to test longer per unit if the failure mechanism allows it. Reporting "12 of 12 passed" without the reliability statement it supports is the mistake to avoid.
Common sample sizes
The table lists the zero-failure sample size for the combinations most often written into qualification plans. The calculator produces any other combination.
| Reliability R | C = 90 % | C = 95 % | C = 99 % |
|---|---|---|---|
| 80 % | 11 | 14 | 21 |
| 90 % | 22 | 29 | 44 |
| 95 % | 45 | 59 | 90 |
| 99 % | 230 | 299 | 459 |
| 99.9 % | 2,302 | 2,995 | 4,603 |
Two patterns in the table are worth remembering. Doubling the confidence "nines" (90 to 99 %) roughly doubles the sample. Adding a reliability "nine" (90 to 99 % to 99.9 %) multiplies it by roughly ten.
What the test assumes
The formula is exact under four assumptions. Each one is a question to ask about the real test.
Independent units. One unit's result does not change another's. Units from one wafer, one lot or one fixture position are not independent samples of the population; a failure mechanism that affects a whole lot will pass or fail them together.
Identical units. Every unit has the same probability of passing. If the sample mixes two designs or two suppliers, the test demonstrates reliability of the mixture, not of either part.
Pass or fail only. The test records a binary outcome. Degradation measured as a number is thrown away. If you have the measurement, a variables test or a Weibull analysis of times-to-failure will demonstrate the same reliability with far fewer units, and that is the usual route for high-reliability requirements. Tolerance intervals for normal data works a variables test for a single specification limit and compares it with the unit count here.
Test condition equals use condition. R is the reliability under the condition tested, for the duration tested. Demonstrating 90 % after 500 cycles says nothing about 1,000 cycles unless an acceleration model connects them, and that model carries its own uncertainty.
If you want to allow a failure
Zero failures is a design choice. Allowing one failure makes the test easier to pass by luck at the same sample size, so the sample must grow to bring the confidence back to C: at 90/90, allowing one failure raises the sample from 22 to 38 units, and allowing two raises it to 52. The calculation uses the binomial distribution rather than the single power, and the Success-Run calculator does not cover it; it is listed here so the zero-failure plan is seen as one point on a scale, not the only option.
The practical trade is this: zero-failure plans are cheapest when the product is genuinely good, because a single failure ends the demonstration and forces a retest with a new sample. Plans that allow a failure cost more units up front but survive one escape.
Sampling plans and success-run tests are different tools
The AQL sampling plan and the success-run test both accept or reject on an attribute count, and both use the binomial model, but they answer different questions. An AQL plan judges a lot against an agreed quality level with a stated risk of accepting a bad lot, and it is applied lot after lot with switching rules. A success-run test demonstrates a reliability lower bound for a design, usually once, before release. Using an AQL plan's n and Ac to claim a reliability level, or a success-run n to inspect production lots, confuses the two. Zero acceptance number sampling plans shows what a success-run sample size does when it is used as a lot-by-lot plan.
Common mistakes
Reading C as the probability that the product is reliable. It is the confidence in the demonstration, under the assumption that the true reliability is exactly R.
Rounding n down. 21.85 units means 22. Twenty-one passes do not reach 90 % confidence.
Stopping at n when more units are available. Testing all usable units and reporting the demonstrated reliability costs nothing extra and strengthens the claim.
Pooling units from one lot and calling them independent. The sample must represent the population the claim is about.
Quoting the reliability as if it were measured. The result is "at least R at confidence C", never "R".
Using the formula for a time-based requirement. A requirement stated in hours or cycles with a Weibull shape needs a test-to-bound calculation, not a unit count.
Using the calculator with this guide
The Success-Run Sample Size calculator solves for any one of n, R and C from the other two, reports the unrounded value of n and the confidence actually achieved with the rounded sample, and shows the maximum failure fraction 1 − R that the claim allows. Enter 90 and 90 to reproduce the 22-unit case, then enter 30 units to reproduce the backward results above.
Sources and further reading
- O'Connor, P. D. T. and Kleyner, A., Practical Reliability Engineering, 5th edition, Wiley, 2012. The success-run (zero-failure) demonstration formula and its binomial basis, with the extension to plans that allow failures.
- Lipson, C. and Sheth, N. J., Statistical Design and Analysis of Engineering Experiments, McGraw-Hill, 1973. An early engineering treatment of success-run testing, including the relation between sample size, confidence and reliability.
- Montgomery, D. C., Introduction to Statistical Quality Control, 7th edition, Wiley, 2013. The acceptance sampling chapter, for the contrast with lot-by-lot sampling plans.
This guide explains the reasoning behind a zero-failure demonstration test. It does not replace the qualification procedure your customer specifies, and it does not cover time-based or accelerated reliability demonstration. For the acceleration factor that turns test hours at a stress condition into use-condition hours, and for how that factor combines with the sample size here, read the Accelerated life testing guide.