Skip to content

Odds Ratio Calculator

Calculate the odds ratio from a 2×2 contingency table with a 95% confidence interval using Woolf’s log method. Enter the four cell counts for exposure and outcome.

Inputs

Contingency table (2×2)

Results

Enter a value to see results.

Details

\begin{aligned} OR &= \dfrac{a \cdot d}{b \cdot c} \\ &= \dfrac{(30) \cdot (90)}{(70) \cdot (10)} \\ &= ? \end{aligned}
\begin{aligned} \text{95\% CI} &= \exp\!\big(\ln OR \pm 1.96 \cdot SE\big) \\ SE &= \sqrt{\tfrac{1}{a} + \tfrac{1}{b} + \tfrac{1}{c} + \tfrac{1}{d}} = ? \\ &= [\,?,\ ?\,] \end{aligned}

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?