# Success-Run Sample Size Calculator (Zero-Failure Reliability and Confidence)

> Source: https://netray.co/tools/aerospace-success-run-sample-size-calculator
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Calculates how many parts must be tested with zero failures to claim a reliability at a stated confidence, and shows how the sample grows as reliability rises.

## Category

quality

## Industry

Aerospace

## Audience

- Quality engineer
- Supplier quality
- Test engineer

## Tool

**Kind:** calculator

**Inputs:**

#### Confidence level

**Key:** confidence

**Type:** select

**Default:** 0.95

**Options:**

##### 90%

**Value:** 0.9

##### 95%

**Value:** 0.95

##### 99%

**Value:** 0.99

**Help:** Statistical confidence that the true reliability is at least the value below.

#### Required reliability (as a fraction)

**Key:** reliability

**Type:** number

**Default:** 0.95

**Min:** 0.5

**Max:** 0.9999

**Step:** 0.005

**Help:** 0.95 means 95% of parts conform. Enter 0.99 for 99%.

#### Lot or population size

**Key:** lot_size

**Type:** number

**Default:** 400

**Min:** 1

**Step:** 10

**Unit:** parts

**Help:** Used only to show the sample as a share of the lot.

#### Cost per tested part

**Key:** cost_per_test

**Type:** number

**Default:** 180

**Min:** 0

**Step:** 10

**Help:** Test, inspection and consumed material cost per sampled part.

**Outputs:**

#### Unrounded sample size

**Key:** n_raw

**Expr:** ln(1 - confidence) / ln(reliability)

**Format:** decimal

**Description:** n = ln(1 - C) / ln(R).

#### Required sample size (zero failures allowed)

**Key:** n

**Expr:** ceil(n_raw)

**Format:** integer

**Primary:** true

**Description:** Always round up. A single failure invalidates the claim.

#### Sample as share of lot

**Key:** share

**Expr:** min(100, n / lot_size * 100)

**Format:** percent

#### Total test cost

**Key:** test_cost

**Expr:** n * cost_per_test

**Format:** currency

**Primary:** true

**Chart:**

#### Sample size vs required reliability

**Type:** line

**X:** reliability

**From:** 0.8

**To:** 0.99

**Steps:** 40

**Series:**

- n

**Currency:** $

**Disclaimer:** Assumes a binomial model, random sampling and a pass criterion of zero failures. Your customer specification or test plan governs the sample size you must actually use.

## Content

**Intro:** The success-run theorem tells you how many parts must pass with zero failures before you can claim a given reliability at a given confidence. It is the quick answer behind the familiar 95/95 or 90/90 sample sizes used in process validation, special process qualification and aerospace test plans.

**Sections:**

#### How to use the calculator

**Body:** Pick the confidence level, enter the reliability you need to demonstrate as a fraction, and read the sample size. Round-up is already applied. Enter the lot size to see what share of the lot you would consume and the cost per test to see the budget. Use the chart to see how quickly the sample grows as you push reliability from 80% toward 99%.

**Bullets:**

- Zero failures allowed: one failure means you must retest with a larger plan.
- Use destructive-test cost per part for the budget line.
- Compare 95% and 99% confidence to see the price of extra certainty.

#### The formula behind it

**Body:** With zero failures in n trials, the probability of that outcome is R to the power n. Setting that equal to 1 minus C and solving gives n = ln(1 - C) / ln(R). At 95% confidence and 95% reliability that is about 59 parts; at 95/99 it is about 299. The sample grows roughly in proportion to 1 / (1 - R), which is why each extra nine of reliability is expensive.

#### Common mistakes

**Body:** The most common error is treating the result as a probability that a part is good. It is a lower confidence bound on the conforming rate. Others are sampling from a single batch and claiming it for the whole process, mixing variable and attribute data, and forgetting that the plan is only valid if the samples are random and representative. For variable data, a tolerance interval or Cpk study often needs fewer parts.

**Cta:** If sample plans and validation records live in your ERP or QMS, we can help pull lot, result and acceptance data into one place so the evidence is ready for audit.

**Faq:**

#### What is the 95/95 sample size?

**Answer:** At 95% confidence and 95% reliability with zero failures allowed, the success-run theorem gives 59 samples. For 95/99 you need 299, and for 90/90 you need 22. Those are the numbers most validation plans quote.

#### What if I get one failure?

**Answer:** The zero-failure plan is then not met. You can move to a larger plan that allows one failure, which needs roughly twice the sample, or investigate the cause, fix it and restart the demonstration.

#### Does lot size change the result?

**Answer:** For large populations it does not. For very small lots the binomial model is conservative, and a hypergeometric plan can need fewer parts. The calculator shows the sample as a share of the lot so you can spot that case.

#### Is this the same as AQL sampling?

**Answer:** No. AQL plans control the risk of accepting a lot at a given defect level. The success-run approach demonstrates a minimum reliability with stated confidence, typically for validation or qualification rather than routine lot acceptance.

## Search terms

success run theorem calculator, zero failure sample size, reliability confidence sample size, aerospace sample size calculator, c=0 sampling plan, 95/95 sample size, binomial sample size reliability, validation sample size calculator

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
