Skip to main content
← BioBench Labs

Sample size calculator for design verification

Get the sample size for a zero-failure test or an attribute test with failures, check a normal tolerance interval with exact k-factors (with normality and outlier checks on your data), or size a distribution-free test. Each result includes a rationale paragraph with citations that you can paste into your verification protocol.

Engineering aid, not regulatory advice. The choice of R/C and the test's representativeness are your responsibility.

Help me choose R and C (optional)

Example only. Set per your risk management procedure. The table below is an illustration, not a recommendation. Edit it to match your organization's risk-to-sample-size table. Your edits are stored only in this browser.

Risk / severity level to confidence (C) and reliability (R)
UseLevelDescriptionC (%)R (%)
Quoted in the rationale paragraph, for example "SOP-RM-004 rev C, Table 2".

Zero-failure attribute test (success-run)

How many units must all pass to show reliability R with confidence C?

Presets:
Reliability = the proportion of units that must meet spec.
Confidence = how sure you need to be that true reliability is at least R.
Formula used

n = ceil( ln(1 − C) / ln(R) ). If the true reliability were only R, the chance that n units in a row all pass is Rn. n is the smallest size for which that chance is at most 1 − C. This is the exact binomial bound for zero failures.

Email me a PDF of this rationale

You can already save a PDF with the "Download PDF / Print" button on each method.

PDF by email

Not available yet.

Need a defensible stats package for your submission or lab?

The calculator is free and stays free. If you want someone to own the statistics, two services are available. The DV Stats Pack covers one test campaign: a sample-size rationale for each requirement and the statistical analysis sections for your test reports. The white-label license is for test labs and consultancies.

See what is included and the pricing

Frequently asked questions

Why 59 samples?

59 is the smallest number of units that, if all pass, demonstrates at least 95% reliability with 95% confidence. If the true reliability were only 95%, the chance that 59 units in a row all pass is 0.95^59, about 4.8%, which is below 5%. With 58 units it is about 5.1%. The general zero-failure (success-run) formula is n = ln(1 - C) / ln(R), rounded up. The same 59 is also the distribution-free sample size for a one-sided 95%/95% tolerance limit, because the arithmetic is identical.

What does 95/95 mean?

95/95 means 95% confidence that at least 95% of units (the reliability, or coverage) meet the requirement. Authors order the two numbers differently: 95/90 can mean 95% confidence with 90% reliability (29 units with zero failures) or 95% reliability with 90% confidence (45 units). Always write both numbers with their names in a protocol. The levels are usually tied to the severity of harm in the risk management file (ISO 14971). This calculator does not choose them for you.

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

A confidence interval bounds a population parameter such as the mean. A tolerance interval bounds a stated proportion of individual units, such as 95% of all units, at a stated confidence. Design verification asks whether individual units meet the specification, so a tolerance interval or an attribute test is usually the right tool. A confidence interval on the mean can sit inside the specification while many individual units fall outside it.

Why does this calculator give 3.393 for a two-sided 95/95 interval with n = 10 when some tables show 3.379?

3.393 is the exact factor, matching Odeh and Owen (1980) and the R EnvStats package. 3.379 comes from an older approximation (Wald-Wolfowitz) that many legacy tables reproduce. The difference is small, but the exact value is the defensible one. The reference-value check report lists both.

When should I use an attribute test instead of a tolerance interval?

Use an attribute (pass/fail) test when the result can only be pass or fail. Use a variables method (tolerance interval) when you measure a continuous value such as seal strength or force. It usually needs far fewer units, but the normal method assumes normally distributed data, so check normality (for example with an Anderson-Darling test) first. The distribution-free method makes no such assumption but needs more units.

What if my data are not normal?

Paste your data and the page runs the Anderson-Darling and Shapiro-Wilk tests and draws a normal probability plot. If normality is rejected, you can transform the data and the specification limits together (log or Box-Cox), which leaves the proportion inside the specification unchanged. You can also use the distribution-free method, which needs more units but makes no distribution assumption. If you use the normal method anyway, justify and document that choice.

Do ISO 2859-1 or ISO 3951-1 apply to design verification?

ISO 2859-1 (attributes) and ISO 3951-1 (variables) are acceptance-sampling schemes indexed by an acceptable quality limit (AQL) for lot-by-lot inspection. They are built to control lot acceptance in production and incoming inspection, not to demonstrate a reliability at a stated confidence, so design verification rationales more often use confidence/reliability methods like the ones on this page. ISO 16269-6 covers statistical tolerance intervals.

Which requirement asks for a sample size rationale?

ISO 13485:2016 clause 7.3.6 expects design verification plans to state the statistical techniques used and the basis for the sample size, where appropriate. Since 2 February 2026, the FDA Quality Management System Regulation (21 CFR Part 820) incorporates ISO 13485:2016 by reference.

Validation

Every method is checked against published reference values: the NIST/SEMATECH e-Handbook, worked examples from ISO 16269-6, the Odeh & Owen tables, and R output for the normality tests. The checks also include independent numerical cross-checks and Monte Carlo simulation. Open the reference-value check report, or run the self-test in your own browser and print the results for your tool validation file.