How to use this calculator
Calculate the diagnostic odds ratio from true positives, true negatives, false positives, and false negatives in a 2 × 2 table.
- Enter True positives (TP), True negatives (TN), False positives (FP), False negatives (FN). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Compare positive-test odds across the two reference groups
The diagnostic odds ratio (DOR) compresses a 2 × 2 diagnostic table into one measure: the odds of a positive result among reference-positive cases divided by the odds among reference-negative cases.
Inputs and units
- True positives (TP): Reference-positive cases with a positive test.
- True negatives (TN): Reference-negative cases with a negative test.
- False positives (FP): Reference-negative cases with a positive test; this must be above zero for the uncorrected DOR.
- False negatives (FN): Reference-positive cases with a negative test; this must be above zero for the uncorrected DOR.
Formula and method
For nonzero FP and FN, DOR = (TP × TN)/(FP × FN). Equivalently, it is the positive likelihood ratio divided by the negative likelihood ratio. The calculator uses the uncorrected table; it does not add a continuity correction when a cell is zero.
Worked example
For TP = 90, FN = 10, FP = 20, and TN = 80, DOR = (90 × 80)/(20 × 10) = 7,200/200 = 36.
Interpreting the result
In this table, the odds of a positive test among reference-positive cases are 36 times the corresponding odds among reference-negative cases. DOR is a summary, not a probability: it does not reveal the sensitivity/specificity trade-off by itself, and it cannot supply a patient’s predictive value without the relevant prevalence context.
Assumptions and limits
Use integer counts from the same test threshold and reference-standard definition. The uncorrected ratio is undefined when FP or FN is zero, and estimates can be unstable with sparse cells. A DOR alone is not a clinical decision rule.
Method references
Frequently asked questions
Does a DOR of 36 mean a 36% chance of disease?
No. DOR is an odds ratio comparing positive-test odds in two reference groups; it is not a probability or a positive predictive value.
How do I use the Diagnostic odds ratio calculator?
Enter True positives (TP), True negatives (TN), False positives (FP), False negatives (FN). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Diagnostic odds ratio?
For TP = 90, FN = 10, FP = 20, and TN = 80, DOR = (90 × 80)/(20 × 10) = 7,200/200 = 36.
What does the Diagnostic odds ratio calculator calculate?
Calculate the diagnostic odds ratio from true positives, true negatives, false positives, and false negatives in a 2 × 2 table.
What assumptions apply to Diagnostic odds ratio?
Use integer counts from the same test threshold and reference-standard definition. The uncorrected ratio is undefined when FP or FN is zero, and estimates can be unstable with sparse cells. A DOR alone is not a clinical decision rule.