Applied & clinical statistics

Odds ratio calculator

Compare the event odds in two groups and calculate a confidence interval for their odds ratio using a log-scale method.

Your inputs

Your entered data stays in this browser. Changing the calculation does not upload the dataset.

Your result

Enter your values, then click "Calculate".

How this calculation works

OR = ad / bc; SE(log OR) = √(1/a + 1/b + 1/c + 1/d)

Before you interpret the answer

A 0.5 adjustment is made to each of the four cells when any single cell equals zero. Odds Ratios may vary significantly from Risk Ratios.

Be sure to check the units of measurement and study design prior to applying the result. The calculation provides the answer to the question defined by its input parameters; it does not provide any evaluation regarding the validity of the original measurements.

Numerical methods and sources →

Related calculations

All calculators →