Clinical Diagnostic Test Sensitivity, Specificity & Predictive Value (PPV/NPV) Calculator
Calculate diagnostic Sensitivity, Specificity, Positive Predictive Value (PPV), Negative Predictive Value (NPV), and Likelihood Ratios from a 2ร2 contingency table.
Parameters & Inversions
Deterministic EngineCalculated Output Metrics
Analytical Proof & Invariants
Machine PrecisionSensitivity = TP / (TP + FN) | Specificity = TN / (TN + FP) | PPV = TP / (TP + FP)
Step-by-Step Mathematical Derivation
Total Diseased = TP (95) + FN (5) = 100 patients. Total Non-Diseased = FP (10) + TN (890) = 900 healthy individuals.
Sensitivity = TP / (TP + FN) = 95 / 100 = 95.0%. Specificity = TN / (TN + FP) = 890 / 900 = 98.89% โ 98.9%.
Total Positive Tests = TP (95) + FP (10) = 105. PPV = 95 / 105 = 90.48% โ 90.5% probability a positive patient truly has the disease.
Total Negative Tests = TN (890) + FN (5) = 895. NPV = 890 / 895 = 99.44% probability a negative test is genuinely healthy.
Artificial Intelligence & Prompt Integration
Paste this verified mathematical prompt directly into ChatGPT, Claude, or Gemini to eliminate arithmetic hallucination, or invoke the programmatic API endpoint for automated workflows.
Generating verified mathematical prompt...
llms.txt
โ Exact Radical Form & Closed Formulas
โ Machine-Readable Edge API