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.
Test Performance
Enter the diagnostic test's sensitivity and specificity.
%
%
%
Disease prevalence in the tested population, or your clinical prior.
Likelihood Ratios
LR+ (Positive)
—
—
Sensitivity / (1 − Specificity)
LR− (Negative)
—
—
(1 − Sensitivity) / Specificity
Sensitivity: —
Specificity: —
Post-test Probability
After Positive Test
—
Pre-test odds × LR+, converted back to probability
After Negative Test
—
Pre-test odds × LR−, converted back to probability
Probability Shift (pre-test → post-test)
Negative test
—
Positive test
—
Gray line = pre-test probability (—). Bar = post-test probability.
Enter sensitivity and specificity, then click Calculate.
Copied!
Summary
Enter sensitivity and specificity to get LR+ and LR−, then convert a pre-test probability to a post-test probability using Bayes theorem.
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.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu