CalcWorldHub
Free online calculator · no signup

Diagnostic odds ratio calculator

Summarize a diagnostic test’s 2 × 2 table as the ratio of positive-test odds in reference-positive and reference-negative groups.

Diagnostic odds ratio calculator — True positives (TP), True negatives (TN), False positives (FP) and calculation method
Diagnostic odds ratio calculator: inputs and calculation method.

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.

  1. 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.
  2. Read the worked example below to check the expected input format and result.
  3. 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

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.

Diagnostic 2 by 2 tableTrue positives and false negatives form the reference-positive row; false positives and true negatives form the reference-negative row.Test resultPositiveNegativeReference +Reference −TPFNFPTNDOR = (TP × TN) / (FP × FN)
The table orientation follows reference status by row and test result by column.

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.

Related calculators