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.

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

  1. Enter the sensitivity (true positive rate) as a percentage.
  2. Enter the specificity (true negative rate) as a percentage.
  3. LR+ is computed as Sensitivity / (1 − Specificity).
  4. LR− is computed as (1 − Sensitivity) / Specificity.
  5. 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.
  6. 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