Medical Device Verification & Validation – Statistical Sample Size Calculator
Statistical Sample Size Justification for Design Verification (Did we build the device right?) & Process Validation (Did we build the right device consistently?)
In regulated medical device development (ISO 13485:2016 Clauses 7.3.6, 7.3.7 & 7.5.6 and FDA QMSR / 21 CFR 820), arbitrary sample sizes like "test 5 or 10 units" are routinely challenged during Notified Body and FDA audits. Every Verification and Validation protocol must provide a statistical rationale proving with defined Confidence (1 - alpha)—typically 95%—that at least a target Reliability / Population Coverage (R)—such as 95% or 99%—meets specification.
- Design Verification (DV): Bench testing Design Outputs against Design Inputs (burst pressure, tensile pull, electrical safety).
- Design Validation: Simulated-use, human factors / usability, and shelf-life aging studies.
- OQ (Operational Qualification): Challenging worst-case upper/lower process parameters.
- PQ (Performance Qualification): Demonstrating repeatable output across 3 consecutive production lots (e.g., 20 units/run = 60 units for 95/95).
- Test Method Validation (TMV): Attribute agreement and Gage R&R sample sizing.
- Sterile Barrier Packaging (ISO 11607): Seal strength (variable) and dye penetration / bubble leak (attribute) protocols.
Need to evaluate a hazard's Severity (S), Probability (P), or Detection (D) first—or optionally link a hazard ID (such as HAZ-001) to your V&V Sample Plan? Open the ISO 14971 & FMEA Unified Risk Matrix tool and use it alongside this calculator.
Choose Design Verification (Clause 7.3.6) or Process / Design Validation (Clauses 7.3.7 & 7.5.6) and statistical confidence/reliability
Statistical Parameters
Choose Attribute (Pass/Fail) or Variable (Continuous) data
For c = 0, uses exact Success-Run Theorem n = ceil(ln(1 - C) / ln(R)). For c > 0, solves exact cumulative Binomial probability sum C(n,k)(1-R)^k R^(n-k) <= 1-C. Finite lot size applies Hypergeometric adjustment.
1 lot for Design Verification; 3+ consecutive runs for PQ Validation
Attribute Sampling Requirement (95% Confidence / 95% Reliability)
Formula: n = ceil(ln(1 - 0.95) / ln(0.95)) with c = 0 allowable defects
Sample Size Comparison Matrix (Current c & Lot Settings)
Click any cell to apply that Confidence / Reliability combination immediately
| Confidence \ Reliability | 85% | 90% | 95% | 99% | 99.9% |
|---|
ISO 13485 Design Verification & Process Validation (IQ/OQ/PQ) Sample Plan
Consolidated statistical sample size justification table with optional risk/hazard traceability
| ID & V&V Stage | Requirement / Acceptance Specification | Design Input / Risk Ref (Optional) | Method & C/R | Min Sample (n) | Lot / Run Allocation | Actions |
|---|
Design Verification vs. Process & Design Validation (ISO 13485 & FDA QMSR)
How statistical sample size justification applies across the V-Model lifecycle—with optional risk-based tightening
"Did we build the device right?"
- Objective: Confirm via objective bench testing, inspection, or simulation that Design Outputs meet Design Inputs.
- Typical Execution: 1 representative build lot (or engineering verification build) tested against specification limits.
- Sample Size Basis: 95% Confidence / 95% Reliability (n = 59 attribute or n = 30 variable) for critical functional requirements; 95%/90% (n = 29) for baseline requirements.
"Did we build the right device, and can our process produce it consistently?"
- Objective: Confirm that production units consistently meet user needs and clinical intended use under actual/simulated conditions across multiple manufacturing runs (IQ/OQ/PQ).
- Typical Execution: Distributed across 3 consecutive PQ production lots to capture lot-to-lot variability.
- Sample Size Basis: 95% Confidence / 95% Reliability (n = 59 total -> 20 units/run x 3 runs) or 95% / 99% (n = 299 total -> 100 units/run x 3 runs) for critical characteristics.
95% Confidence / 99% Reliability (Optional risk link: High severity S = 8-10).
- Attribute (c = 0): n = 299 units (e.g., 100 units x 3 PQ lots)
- Variable (Two-Sided, n = 30): k = 3.350
- Sterile barriers, drug delivery accuracy, electrical isolation.
95% Confidence / 95% Reliability (Industry default for DV, OQ, and PQ).
- Attribute (c = 0): n = 59 units (e.g., 20 units x 3 PQ lots)
- Variable (Two-Sided, n = 30): k = 2.549
- Mechanical strength, dimensional CTQs, software alarm triggers.
95% Confidence / 90% Reliability (Optional risk link: Moderate/Minor S <= 5).
- Attribute (c = 0): n = 29 units (e.g., 10 units x 3 PQ lots)
- Variable (Two-Sided, n = 30): k = 2.140
- Secondary labeling, cosmetic finishes, non-critical accessories.
Document Control & PDF Protocol Export
Configure DHF / Validation Master Plan metadata & timestamped export
Save Encrypted XML Validation File
AES-256-GCM Encrypted & SHA-256 Integrity-Verified XML