Written by Dackohn; last reviewed December 2026.

Relative risk compares probabilities; the odds ratio compares odds. For rare outcomes they are almost the same (2.00 vs 2.01 in our example). For common outcomes the odds ratio is further from 1: with risks of 60% and 40%, RR = 1.50 but OR = 2.25.

The definitions

Take a 2×2 table where group 1 has a people with the outcome and b without, and group 2 has c with and d without.

Both equal 1 when there is no difference. Below 1 the outcome is less common in group 1; above 1, more common.

Rare outcome: they agree

A side effect occurs in 6 of 1,000 people on a drug (0.6%) and 3 of 1,000 on placebo (0.3%). RR = 0.006 / 0.003 = 2.00. OR = (6 / 994) / (3 / 997) = 2.01. When the outcome is rare, the odds are almost the same as the probability, so the two ratios match.

Common outcome: they diverge

A course is passed by 60 of 100 students who used a study app and 40 of 100 who did not. RR = 0.60 / 0.40 = 1.50: users were one and a half times as likely to pass. But OR = (60 / 40) / (40 / 60) = 2.25. Reporting this as “2.25 times as likely” would overstate the effect by half.

The rule: the more common the outcome, the further the odds ratio sits from 1 compared with the relative risk. It always exaggerates in the same direction, never towards 1.

A treatment example

In a trial, 12 of 150 treated patients (8.0%) and 30 of 150 controls (20.0%) developed an infection. RR = 0.40 (95% CI 0.21 to 0.75): the treatment cut the risk by 60%. OR = 0.35 (0.17 to 0.71). The relative risk calculator shows both, with the risk difference (−12 percentage points) and the number needed to treat (9).

When to use which

SituationUseWhy
Randomized trial, cohort studyRelative risk (plus risk difference)Risks can be estimated directly and are easier to understand.
Case-control studyOdds ratioYou chose people by outcome, so the risks in the sample are artificial. The odds ratio is still valid.
Logistic regressionOdds ratioThe model works on the odds scale, so its coefficients are odds ratios.
Rare outcome (under about 10%)EitherThey are nearly equal.

Converting an odds ratio to a relative risk

If you know the risk in the comparison group (p₀), an approximate conversion is:

RR = OR / (1 − p₀ + p₀ × OR)

For the study-app example: 2.25 / (1 − 0.40 + 0.40 × 2.25) = 2.25 / 1.50 = 1.50, which recovers the relative risk exactly. For adjusted odds ratios from a logistic regression, this conversion is only approximate.

Do not forget the absolute difference

Both ratios are relative. Halving a risk from 20% to 10% and from 0.002% to 0.001% gives the same RR of 0.5, but very different practical meaning. Always report the absolute risk difference, or the number needed to treat, alongside a ratio.

Try it yourself

Relative Risk and NNT Calculator →RR, OR, risk difference and NNT with confidence intervals. Odds Ratio Calculator →For case-control studies and single 2×2 tables.

Frequently asked questions

What is the difference between relative risk and odds ratio?

Relative risk is the ratio of two probabilities. The odds ratio is the ratio of two odds. They are close for rare outcomes and diverge for common ones.

Why does logistic regression give odds ratios?

Because the model is linear on the log-odds scale, so each coefficient exponentiates to an odds ratio.

Can I say 'twice as likely' with an odds ratio of 2?

Only if the outcome is rare. For common outcomes, 'twice as likely' describes a relative risk of 2, which corresponds to a larger odds ratio.

How do I convert an odds ratio to a relative risk?

RR is approximately OR divided by (1 - p0 + p0 times OR), where p0 is the risk in the comparison group.

Related reading: Logistic regression explained · Bayes’ theorem explained · Effect size explained


Sources & further reading: NIST/SEMATECH e-Handbook of Statistical Methods · OpenStax Introductory Statistics. How we compute & validate: methodology. Written & reviewed by Dackohn; last reviewed August 2026.