Odds Ratio Calculator
Calculate the odds ratio and its 95% confidence interval from the four counts of a 2x2 table. Useful for case-control studies, cohort studies and other comparisons of two groups.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the Odds Ratio Calculator
- Enter the count for exposed people with the outcome (a) and without the outcome (b).
- Enter the count for unexposed people with the outcome (c) and without the outcome (d).
- Read the odds ratio. A value of 1 means the odds are the same in both groups, and the confidence interval shows how precise the estimate is.
Frequently asked questions
How is the odds ratio calculated from a 2x2 table?
The odds ratio is (a x d) divided by (b x c), where a and b are the exposed cases and non-cases, and c and d are the unexposed cases and non-cases.
How is the 95% confidence interval for an odds ratio found?
Take the natural log of the odds ratio, add and subtract 1.96 times the square root of (1/a + 1/b + 1/c + 1/d), then exponentiate both ends.
What does an odds ratio of 1 mean?
An odds ratio of 1 means the odds of the outcome are equal in the two groups. Above 1 means higher odds in the exposed group, and below 1 means lower odds. If the 95% confidence interval includes 1, the difference is not significant at the 5 percent level.
When is an odds ratio close to a relative risk?
The odds ratio approximates the relative risk when the outcome is rare, usually when it occurs in less than about 10 percent of people.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.