One ratio, three things to keep in view
Relative risk, also called the risk ratio, divides the event risk in the treatment or exposed group by the event risk in the comparator or unexposed group, over the same follow-up period.
It is a ratio of cumulative risks—not of odds, instantaneous hazards or person-time rates—and it is centred at one.
Start with a study scenario
Select a case to load its two-group table, or enter your own counts. Scenarios marked “concept page” reproduce the published worked examples; the others are fictional teaching cases.
Enter whole-number event counts and group totals. Risks, the table margins and all results update as you type. Interpretations treat the event as adverse, as on the concept page.
| Group | Events | Total | No event | Risk |
|---|---|---|---|---|
| Treatment or exposed numerator | a | – | – | |
| Comparator or unexposed reference | – | – |
Treatment or exposed
–
Comparator or unexposed
–
Each grid shows events per 100 people. Filled circles are people with the event; when a group total is not 100 the grid is scaled and rounded for display only.
Enter events and totals for both groups
The relative risk and its absolute consequences will appear here.
- Relative risk
- –
- Relative risk reduction
- – Relative scale, not percentage points
- Risk difference
- –
- Number needed to treat
- –
Show the working
Approximate 95% confidence interval
Same relative effect, different absolute benefit
Health-economic models usually combine a relative treatment effect with a baseline risk: ptreat = RR × pcontrol. Move the sliders and compare the gap between the two lines.
Dashed line: comparator events per 100. Solid line: treatment events per 100 under the proportional-risk assumption. The vertical bar marks the absolute difference at the selected baseline.
| Comparator risk | Treatment risk | Absolute difference | NNT or NNH (whole persons) |
|---|
With RR = 0.70 the 5%, 20% and 50% rows reproduce the table on the concept page. Rows are illustrative calculations, not evidence that an RR is constant across risk groups.
Is it really a relative risk?
Odds are not risks. When events are common, an odds ratio sits farther from one than the relative risk. Given a known comparator risk p0, the concept page gives RR = OR ÷ [(1 − p0) + p0 × OR].
| Comparator risk | Implied treatment risk | Implied RR | OR ÷ RR |
|---|
The conversion is conditional on the supplied baseline risk and a compatible estimand. This tool deliberately does not convert hazard ratios or rate ratios: that requires a survival model, a time horizon and attention to competing risks.
Check the reporting
Each statement is a fictional report. Decide whether it is sound or misleading, using the common errors listed on the concept page.
Summary and limitations
Report the relative risk with both group risks, an uncertainty interval, the reference group, the event definition, the follow-up period and the study design—and give the absolute risk difference whenever it is decision-relevant.
A practical workflow (from the concept page)
- Define the population, treatment or exposure, comparator, event, time horizon and analysis estimand.
- Verify that numerator and denominator groups use compatible eligibility, follow-up and outcome ascertainment.
- Calculate each group risk using the correct number at risk and event count.
- Estimate the RR with a method appropriate to the study design, clustering, adjustment and event frequency.
- Quantify uncertainty on a suitable scale and address sparse or zero-event data explicitly.
- Report absolute risks and risk differences alongside the RR whenever they are decision-relevant.
- Assess confounding, effect modification, missingness, selection, misclassification and competing risks.
- Translate the effect into target-population risk only with a compatible baseline risk and time horizon.
- Propagate parameter uncertainty, dependence and treatment-effect duration through any economic model.
- Document the group order, event direction, formula, model, assumptions, diagnostics and limitations.
Method, safeguards and limitations of this explorer
The calculator handles one simple, independent two-group table. It computes crude risks, the sample relative risk, the risk difference, the number needed to treat or harm, and an approximate large-sample 95% interval using SE[log(RR)] = √[(1/a − 1/n1) + (1/c − 1/n0)].
It does not handle clustered trials, matched data, repeated observations, survey designs, adjusted models, or sparse events. When a group has zero events the ordinary log-RR and standard-error formulas are undefined, so no interval is shown and no continuity correction is applied; exact, likelihood-based, Bayesian or other sparse-data methods may be preferable.
A confidence interval describes sampling uncertainty only. It does not capture bias from confounding, selection, misclassification, missing data or an inappropriate model, and an interval that excludes one does not prove a causal effect. The number needed to treat is computed from unrounded risks and is meaningful only when the estimate supports a causal treatment comparison.
The baseline-risk panel applies ptreat = RR × pcontrol, which is valid only when the RR and baseline risk refer to compatible populations, outcomes, follow-up periods and competing-event structures. Relative effects should not be assumed constant across risk groups, and applying an annual RR in every model cycle may imply an unsupported treatment-effect duration.
All scenarios are educational. Nothing here is a clinical recommendation or evidence about any real treatment.
Related concepts
- Absolute Risk — contrasts with relative risk.
- Risk Ratio — synonymous for event comparisons.
- Odds Ratio — compares odds, not risks.
- Relative Measure — the broader type.