Post-Test Probability Calculator

Calculate post-test probability, likelihood ratio, and posterior odds using pretest probability, sensitivity, specificity, and test result. Post-Test Probability Calculator helps clinicians, researchers, and students interpret diagnostic evidence and update disease likelihood.

Highlights

  • Calculates disease probability after a positive or negative test result.
  • Uses pretest probability, sensitivity, and specificity for accurate analysis.
  • Displays positive or negative likelihood ratios.
  • Converts probability into pretest and post-test odds.
  • Useful for clinicians, researchers, and students interpreting diagnostic results.

Table of Contents

  1. How Post-Test Probability Calculator Works?
  2. Practical Use Cases
  3. Accuracy and Limitations
  4. Quick Examples
  5. Frequently Asked Questions (FAQs)
  6. Cite This Calculator

How Post-Test Probability Calculator Works?

The Post-Test Probability Calculator applies Bayes’ theorem to update the estimated probability of disease after a diagnostic test result. It uses the pretest probability, sensitivity, specificity, and whether the result is positive or negative.

First, the pretest probability is expressed as odds:

Oddspre=p1−p

Here, p represents the pretest probability as a proportion. The calculator then selects the appropriate likelihood ratio. For a positive test result, it uses the positive likelihood ratio:

LR+=Sensitivity1−Specificity

For a negative test result, it uses the negative likelihood ratio:

LR−=1−SensitivitySpecificity

The likelihood ratio changes the pretest odds to produce the post-test odds:

Oddspost=Oddspre×LR

Finally, the post-test odds are converted into the updated disease probability:

ppost=Oddspost1+Oddspost

For example, with a pretest probability of 20%, sensitivity of 90%, and specificity of 95%, a positive result gives a pretest odds value of 0.25, a positive likelihood ratio of 18, and post-test odds of 4.5. The resulting post-test probability is approximately 81.82%. With the same inputs and a negative result, the negative likelihood ratio is approximately 0.1053 and the post-test probability is approximately 2.56%.


Test resultLikelihood ratio usedWhat it represents
PositiveLR+How much a positive result increases disease odds
NegativeLR−How much a negative result decreases disease odds

Practical Use Cases

Clinicians can estimate how a positive or negative test changes a patient’s probability of disease and use the result to support decisions about further testing, treatment, monitoring, or reassurance.

Medical researchers can compare diagnostic tests by examining how sensitivity and specificity affect likelihood ratios and the resulting post-test probability across different pretest-risk scenarios.

Students of medicine, epidemiology, and statistics can use the calculator to practice Bayes’ theorem, distinguish probability from odds, and see why the same test result can have different meanings in low-risk and high-risk populations.

Laboratory and diagnostic professionals can demonstrate how test performance characteristics influence the interpretation of positive and negative findings in a defined clinical population.

Public health analysts can model how screening results update disease likelihood in groups with different estimated pretest probabilities, helping explain the effects of disease prevalence on test interpretation.

Accuracy and Limitations

The calculator accurately applies the standard odds form of Bayes’ theorem using the entered pretest probability, sensitivity, specificity, and selected test result, with results limited by the input range of 0.01% to 99.99% and normal rounding of displayed values. Its estimates assume that the supplied sensitivity and specificity apply to the population being assessed and that the pretest probability is reasonable; they may be misleading when test performance varies by disease severity or patient subgroup, when the test result is not independent of other evidence used to set pretest probability, or when verification and selection biases affect the published test characteristics. It evaluates one test result at a time and does not model uncertainty, sequential testing, indeterminate results, or changing disease probabilities over time.

Quick Examples

Example #1: Positive Screening Result

Estimates the updated disease probability when a highly sensitive and specific test returns positive.

Example #2: Negative Diagnostic Result

Calculates the remaining disease probability after a negative test in a moderate-risk patient.

Example #3: Low-Risk Positive Result

Shows how a positive result affects disease probability when the initial risk is low.

Frequently Asked Questions

Pretest probability is the estimated chance that a person has a condition before considering the result of a diagnostic test. It may be based on symptoms, medical history, risk factors, or disease prevalence.

Sensitivity measures how often a test correctly identifies people who have a condition. Specificity measures how often it correctly identifies people who do not have the condition.

A likelihood ratio shows how much a particular test result changes the odds of a condition. Values above 1 increase the likelihood, while values below 1 decrease it.

When a condition has a low prevalence, there may be many more unaffected people than affected people. Even a highly accurate test can therefore produce a meaningful proportion of false-positive results.

A negative result generally lowers the probability of a condition, especially when the test has high sensitivity. It does not always rule out the condition, so clinical context and follow-up may still be important.

Cite This Calculator