Odds ratio to risk ratio calculator

This odds ratio to risk ratio calculator converts an OR into a relative risk at an assumed comparator risk (ACR), with the Cochrane Handbook’s formula: RR = OR ÷ (1 − ACR × (1 − OR)). Enter a low, a typical and a high comparator risk to see the risk ratio, the risk with the intervention, the difference per 1000 people and the NNT at each.

Updated

Runs in your browser. Nothing you enter is uploaded, stored or sent anywhere.

The odds ratio to risk ratio formula

An odds ratio can only be turned into a risk ratio if you say what the risk would be without the intervention. The Cochrane Handbook calls that the assumed comparator risk and gives the conversions in section 15.4.4.

Re-expressing an odds ratio at an assumed comparator risk (ACR).

  • Risk ratio

    Formula
    RR = OR ÷ (1 − ACR × (1 − OR))
    Handbook
    15.4.4.4
  • Risk with the intervention

    Formula
    OR × ACR ÷ (1 − ACR + OR × ACR)
    Handbook
    15.4.4.3
  • Difference per 1000

    Formula
    1000 × (ACR − risk with the intervention)
    Handbook
    15.4.4.3
  • Number needed to treat

    Formula
    1 ÷ |ACR − risk with the intervention|, rounded up
    Handbook
    15.4.4.3

Confidence limits come from putting the OR’s own limits through the same formulas (15.4.4.5, after Altman 1998). They carry the uncertainty in the OR only, not in the comparator risk, which is an assumption. When the OR’s interval includes 1, the NNT’s runs through infinity and is written “NNTH … to ∞ to NNTB …”.

Worked example: converting an odds ratio to relative risk

The calculator opens on the Cochrane Handbook’s own example (15.4.4.3): an odds ratio of 0.73 at an assumed comparator risk of 0.3, that is, 300 per 1000.

Example: Working it through

The risk with the intervention is (0.73 × 0.3) ÷ (1 − 0.3 + 0.73 × 0.3) = 0.219 ÷ 0.919 = 0.238.

That’s 1000 × (0.3 − 0.238) = 61.7, so 62 fewer people with the event per 1000, and an NNT of 1 ÷ 0.0617 = 16.2, rounded up to 17. These are the Handbook’s numbers.

The risk ratio is 0.73 ÷ (1 − 0.3 × 0.27) = 0.79, which is also 0.238 ÷ 0.3.

The same odds ratio means different things at different baseline risks, which is why Cochrane suggests showing several (15.4.3):

An odds ratio of 0.73 at three assumed comparator risks.
Comparator riskRisk ratioPer 1000NNT
10%0.7525 fewerNNTB 41
30%0.7962 fewerNNTB 17
50%0.8478 fewerNNTB 13

When to be careful

  • The answer is only as good as the comparator risk. Choose it from data: the median comparator risk across the studies in the meta-analysis is often reasonable (15.4.4.4), and risk groups that differ clinically each need their own row (15.4.3).
  • The interval ignores that choice. The limits reflect the odds ratio’s uncertainty alone (15.4.4.5).
  • Odds ratios and risk ratios part company as events get common. At a risk of 1% the two barely differ; once risks pass about 20%, reading an OR as an RR overstates the effect noticeably (Cochrane 6.4.1.3). That’s the reason to convert.
  • Some risk ratios are impossible. A risk ratio can’t exceed 1 ÷ the comparator risk: with a comparator risk of 0.66 it can’t be above 1.5 (6.4.1.2). The formula respects that limit, which is one reason an OR above 1 shrinks so much at high risks.

What to report

What to report: Report the odds ratio and the risks you assumed

Give the odds ratio with its 95% CI, then each assumed comparator risk, where it came from, and the converted risk ratio or absolute effect. As events per 1000, the way Cochrane’s Summary of findings tables show them, is the easiest form for readers (15.4.3).

When OtterSR pools odds ratios, it reports the pooled OR with its 95% CI, and its summary of findings table gives the risk with the intervention and the difference per 1000 at one assumed comparator risk, by default the median risk in the studies’ control groups. This calculator adds the risk ratio and NNT, at several comparator risks. See how OtterSR works.

Frequently asked questions

Odds ratio vs risk ratio: what’s the difference?

A risk is the chance of the event: events over everyone. Odds are events over non-events. A risk ratio compares risks and an odds ratio compares odds. They’re close when the event is rare and drift apart as it gets common (Cochrane 6.4.1.1 and 6.4.1.3).

Can I convert an odds ratio to relative risk without a baseline risk?

No. The same odds ratio corresponds to different risk ratios at different baseline risks, so the formula needs one. If you don’t know it, show a range, as the table above does.

Which comparator risk should I use?

Use the comparator group risk from your own studies (Cochrane suggests the median), or a published baseline risk for the population you’re writing about. For a guideline or a Summary of findings table, give a row for each risk group that matters.

Does the conversion work for the confidence interval?

Yes: put each limit of the OR through the same formula. The conversion is monotonic, so the limits stay in order. The interval still says nothing about how sure you are of the comparator risk.

How to cite this tool

OtterSR. Odds ratio to risk ratio calculator. https://www.ottersr.com/tools/odds-ratio-to-risk-ratio-calculator (accessed today’s date).

Please cite the method as well:

  • Schünemann HJ, Vist GE, Higgins JP, et al. Chapter 15: Interpreting results and drawing conclusions [last updated August 2023]. In: Higgins JP, Thomas J, Chandler J, et al (editors). Cochrane Handbook for Systematic Reviews of Interventions version 6.5. Cochrane, 2024.

Sources

  1. Schünemann HJ, Vist GE, Higgins JP, et al. Chapter 15: Interpreting results and drawing conclusions [last updated August 2023]. In: Higgins JP, Thomas J, Chandler J, et al (editors). Cochrane Handbook for Systematic Reviews of Interventions version 6.5. Cochrane, 2024. https://www.cochrane.org/authors/handbooks-and-manuals/handbook/current/chapter-15
  2. Higgins JP, Li T, Deeks JJ (editors). Chapter 6: Choosing effect measures and computing estimates of effect [last updated August 2023]. In: Higgins JP, Thomas J, Chandler J, et al (editors). Cochrane Handbook for Systematic Reviews of Interventions version 6.5. Cochrane, 2024. https://www.cochrane.org/authors/handbooks-and-manuals/handbook/current/chapter-06
  3. Altman DG. Confidence intervals for the number needed to treat. BMJ 1998;317(7168):1309–12. https://doi.org/10.1136/bmj.317.7168.1309