Likelihood Ratio Calculator
Enter sensitivity and specificity to get LR+ and LR−, then convert a pre-test probability to a post-test probability using Bayes theorem.
Use the Likelihood Ratio Calculator
Test Performance
Enter the diagnostic test's sensitivity and specificity.
Disease prevalence in the tested population, or your clinical prior.
Likelihood Ratios
Sensitivity / (1 − Specificity)
(1 − Sensitivity) / Specificity
Post-test Probability
Pre-test odds × LR+, converted back to probability
Pre-test odds × LR−, converted back to probability
Enter sensitivity and specificity, then click Calculate.
Summary
The Likelihood Ratio Calculator computes LR+ and LR− from a test's sensitivity and specificity, then uses Bayes theorem in odds form to convert any pre-test probability into a post-test probability. Likelihood ratios are prevalence-independent properties of a diagnostic test, making them the standard tool for bedside clinical reasoning and evidence-based medicine.
How it works
- Enter the sensitivity (true positive rate) as a percentage.
- Enter the specificity (true negative rate) as a percentage.
- LR+ is computed as Sensitivity / (1 − Specificity).
- LR− is computed as (1 − Sensitivity) / Specificity.
- Optionally enter a pre-test probability to calculate the post-test probability using the odds form of Bayes theorem: post-test odds = LR × pre-test odds.
- Post-test probability is converted back from odds: probability = odds / (1 + odds).
Use cases
- Evaluate how much a positive or negative diagnostic test result shifts disease probability.
- Compare the discriminating power of two competing diagnostic tests.
- Calculate post-test probability for a clinical decision at the bedside.
- Validate a machine-learning binary classifier beyond raw accuracy.
- Teaching evidence-based medicine concepts in a clinical setting.
- Determine whether a screening test result meaningfully changes management.