# Odds Ratio Calculator

Posted by Dinesh on**To calculate the odds ratio,**

The number of people in the "variable present" cohort that experiences an outcome (a) divided by the number of people in the reference cohort that experiences the outcome (b) to the number of people in the "variable present" cohort that experiences no outcome (c) divided by the number of people in the reference cohort that experiences no outcome (d).

`Odds ratio = (a/b) / (c/d)`

**Helpful hint:** This formula can be simplified to ad/bc.

## Odds Ratio Calculator

### Formula:

Odds ratio = (a/b) / (c/d)

Where,Subjects with disease/outcome (cases) -> exposed (a), not exposed (c)

Subjects without disease/outcome (controls) -> exposed (b), not exposed (d)