Free Tools › Odds Ratio Calculator
Enter a 2×2 table to calculate the odds ratio, its confidence interval and p-value. Zero cells are handled automatically.
FreeNo account neededYour data stays in your browser
| Event | No event | |
|---|---|---|
| Exposed / treatment | ||
| Unexposed / control |
| Odds ratio (OR) | 2.250 |
|---|---|
| 95% CI | 0.994 to 5.092 |
| z statistic | 1.946 |
| p-value (two-sided) | 0.052 |
| SE of ln(OR) | 0.4167 |
The odds of the event are 2.25 times as high in the first group (95% CI 0.99 to 5.09). The confidence interval includes 1, so the data are compatible with no difference in odds.
Type the events and non-events for the exposed or treatment group in the first row, and for the unexposed or control group in the second.
Select a 90%, 95% or 99% confidence interval. Most journals expect 95%.
See the odds ratio with its confidence interval, the z statistic, the two-sided p-value and the standard error of ln(OR), plus a plain-language interpretation.
Click Copy APA-style result and paste the sentence into your results section.
The odds ratio compares the odds of an event in one group with the odds in another. An odds ratio of 1 means no difference; above 1 means higher odds in the first group; below 1 means lower odds.
Odds ratios are the standard effect measure for case-control studies and logistic regression, and are widely used in meta-analyses of binary outcomes.
No. They are similar when the outcome is rare, but the odds ratio moves further from 1 than the risk ratio when outcomes are common. Use our relative risk calculator for risks.
The data are compatible with no difference in odds at your chosen confidence level.
When any cell is zero, 0.5 is added to all four cells so the odds ratio and its interval can be estimated.