Post-Test Probability Calculator

Calculate post-test probability based on pre-test probability and likelihood ratios. Essential for medical diagnostics, evidence evaluation, and Bayesian analysis.

Calculate Your Post-Test Probability Calculator

Enter the probability of the condition before testing (prevalence or prior probability).

How much more likely is a positive test in someone with the condition vs. without it?

How much less likely is a negative test in someone with the condition vs. without it?

What is Post-Test Probability?

Post-test probability is the revised probability of a condition being present after taking into account the results of a diagnostic test. It represents how a test result (positive or negative) changes our assessment of the likelihood that a patient has a particular condition.

Key Concepts in Diagnostic Testing

Pre-Test Probability

Pre-test probability is the probability that a patient has a condition before performing a diagnostic test. It's based on:

  • The prevalence of the condition in the relevant population
  • Patient history and risk factors
  • Clinical signs and symptoms
  • Results of previous tests

Test Characteristics

The accuracy of a diagnostic test is described by several parameters:

  • Sensitivity: The ability of a test to correctly identify patients with the condition. It's the percentage of patients with the condition who test positive.
  • Specificity: The ability of a test to correctly identify patients without the condition. It's the percentage of patients without the condition who test negative.
  • Likelihood Ratio for Positive Results (LR+): How much more likely a positive test result is to occur in patients with the condition compared to those without it.

    LR+ = Sensitivity ÷ (1 - Specificity)

  • Likelihood Ratio for Negative Results (LR-): How much more likely a negative test result is to occur in patients with the condition compared to those without it.

    LR- = (1 - Sensitivity) ÷ Specificity

Calculating Post-Test Probability

There are two main methods to calculate post-test probability:

Method 1: Using Bayes' Theorem Directly

For a positive test result:

Post-test probability = (Sensitivity × Pre-test probability) ÷ [(Sensitivity × Pre-test probability) + ((1 - Specificity) × (1 - Pre-test probability))]

For a negative test result:

Post-test probability = ((1 - Sensitivity) × Pre-test probability) ÷ [((1 - Sensitivity) × Pre-test probability) + (Specificity × (1 - Pre-test probability))]

Method 2: Using Likelihood Ratios

This method involves converting probabilities to odds, applying the likelihood ratio, and converting back to probability:

  1. Convert pre-test probability to pre-test odds:
    Pre-test odds = Pre-test probability ÷ (1 - Pre-test probability)
  2. Calculate post-test odds:
    Post-test odds = Pre-test odds × Likelihood Ratio
    (Use LR+ for positive test results, LR- for negative test results)
  3. Convert post-test odds to post-test probability:
    Post-test probability = Post-test odds ÷ (1 + Post-test odds)

Interpreting Likelihood Ratios

Likelihood ratios help quantify how a test result changes the probability of disease:

LR ValueInterpretation
LR+ > 10Large, often conclusive increase in the probability of disease
LR+ 5-10Moderate increase in the probability of disease
LR+ 2-5Small increase in the probability of disease
LR+ 1-2Minimal increase in the probability of disease
LR+ = 1No change in the probability of disease
LR- 0.5-1Minimal decrease in the probability of disease
LR- 0.2-0.5Small decrease in the probability of disease
LR- 0.1-0.2Moderate decrease in the probability of disease
LR- < 0.1Large, often conclusive decrease in the probability of disease

Clinical Applications

Understanding post-test probability is crucial for:

  • Clinical Decision Making: Deciding whether to treat, conduct further tests, or rule out a diagnosis.
  • Test Selection: Choosing tests with appropriate sensitivity and specificity for specific clinical scenarios.
  • Sequential Testing: Planning a rational sequence of tests when multiple tests are needed.
  • Communication: Explaining test results to patients in terms of what they actually mean for the likelihood of disease.

Using the Post-Test Probability Calculator

Our calculator offers two methods to calculate post-test probability:

  1. Using Sensitivity and Specificity: Input the pre-test probability, test sensitivity, and test specificity.
  2. Using Likelihood Ratios: Input the pre-test probability, positive likelihood ratio (LR+), and negative likelihood ratio (LR-).

The calculator then computes the post-test probabilities for both positive and negative test results, helping clinicians make informed decisions based on test outcomes.

Frequently Asked Questions

Post-test probability is the probability that a patient has a disease after a diagnostic test result is known. It represents the updated probability of disease taking into account both the pre-test probability (prior knowledge) and the test result.

It's calculated using Bayes' theorem and helps clinicians interpret test results in a more meaningful way by considering the disease prevalence and test characteristics.

Pre-test probability is the probability that a patient has a disease before any diagnostic test is performed. It's based on:

  • Population prevalence of the disease
  • Patient risk factors
  • Clinical presentation and symptoms
  • Physician's clinical judgment and experience

It serves as the starting point for diagnostic reasoning and is essential for properly interpreting test results.

Likelihood ratios (LRs) are measures that describe how many times more likely a particular test result is in people with the disease compared to those without the disease.

  • Positive likelihood ratio (LR+): Ratio of the probability of a positive test in people with the disease to the probability of a positive test in people without the disease.
  • Negative likelihood ratio (LR-): Ratio of the probability of a negative test in people with the disease to the probability of a negative test in people without the disease.

LRs are not affected by disease prevalence and can be used to calculate how a test result changes the probability of disease.

Post-test probability is calculated using Bayes' theorem, which can be expressed in terms of odds:

Post-test odds = Pre-test odds × Likelihood ratio

Where:

  • Pre-test odds = Pre-test probability ÷ (1 - Pre-test probability)
  • Post-test probability = Post-test odds ÷ (1 + Post-test odds)

For positive test results, use the positive likelihood ratio (LR+); for negative results, use the negative likelihood ratio (LR-).

A Fagan nomogram is a graphical tool used to estimate post-test probability without complex calculations. It consists of three parallel lines representing:

  • Pre-test probability (left line)
  • Likelihood ratio (middle line)
  • Post-test probability (right line)

To use it, draw a straight line connecting the pre-test probability to the appropriate likelihood ratio, and extend it to find the post-test probability.

Post-test probabilities help clinicians in several ways:

  • Interpreting the significance of test results in individual patients
  • Making treatment decisions based on updated disease probability
  • Determining whether additional testing is needed
  • Communicating risk to patients more effectively
  • Avoiding unnecessary treatments when post-test probability is low despite a positive test

They provide a more nuanced approach to diagnosis than simply relying on "positive" or "negative" test results.

While related, these terms have distinct meanings:

  • Positive predictive value (PPV): The probability that a person with a positive test result actually has the disease. PPV is fixed for a given test in a specific population with a specific disease prevalence.
  • Post-test probability: The probability that a specific patient has a disease after considering both their pre-test probability and their test result. It's individualized and can vary between patients even with the same test result.

In a population where the pre-test probability equals the disease prevalence, the post-test probability after a positive test would equal the PPV.

In clinical practice, post-test probability is rarely 100% or 0% because:

  • Few diagnostic tests are perfect (100% sensitive and 100% specific)
  • There's always some degree of uncertainty in medicine
  • Pre-test probabilities are rarely 0% or 100%

Even with very high likelihood ratios, a post-test probability might approach but not reach 100%. Similarly, very low likelihood ratios might bring post-test probability close to, but not exactly, 0%.

This reflects the reality that absolute certainty is rare in diagnosis, and clinical decisions often must be made under conditions of uncertainty.

Share This Calculator

Found this calculator helpful? Share it with your friends and colleagues!