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
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:
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:
For a negative test result, it uses the negative likelihood ratio:
The likelihood ratio changes the pretest odds to produce the post-test odds:
Finally, the post-test odds are converted into the updated disease probability:
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 result | Likelihood ratio used | What it represents |
|---|---|---|
| Positive | LR+ | How much a positive result increases disease odds |
| Negative | LR− | 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.