What relative risk measures
Relative risk (also called the risk ratio, RR) compares the probability of an outcome between two groups: an exposed group (for example, people taking a drug, smoking, or carrying a risk factor) and a control group. It is one of the core measures of association in epidemiology and in randomized clinical trials, because it answers a simple question: how many times more (or less) likely is the outcome when the exposure is present?
The formula
Start from a 2x2 table of counts. Let a = exposed subjects who had the outcome, b = exposed subjects who did not, c = control subjects who had the outcome, and d = control subjects who did not. Then:
- Risk in the exposed group = a / (a + b)
- Risk in the control group = c / (c + d)
- Relative risk (RR) = [a / (a + b)] / [c / (c + d)]
This calculator also reports three related measures that share the same table. The absolute risk difference (RD) is the risk in the exposed group minus the risk in the control group, expressed in percentage points. The relative risk reduction (RRR) is the size of that difference relative to the control risk, |RD| / risk in control. The number needed to treat (NNT) is 1 / |RD|, the number of people who must be exposed (or treated) for one additional outcome to occur or be prevented.
How to read the value
- RR = 1 — no difference in risk between the groups; the exposure shows no association with the outcome.
- RR > 1 — the outcome is more likely in the exposed group. RR = 1.5 means a 50% higher risk; RR = 2 means the risk is doubled.
- RR < 1 — the outcome is less likely in the exposed group, which is what you hope to see for a protective treatment. RR = 0.8 means a 20% reduction in risk.
Relative risk vs. odds ratio
Relative risk is a ratio of probabilities and can be calculated directly from cohort studies and randomized trials, where you know the total number of people in each exposure group. Case-control studies sample on outcome rather than exposure, so they cannot estimate absolute risks and instead report the odds ratio (OR = ad / bc). When the outcome is rare, the odds ratio closely approximates the risk ratio; when the outcome is common, the odds ratio is further from 1 than the true relative risk and can be misleading if read as one.
Why relative and absolute measures both matter
A large relative risk can hide a tiny absolute effect. If a treatment cuts risk from 2 in 10,000 to 1 in 10,000, that is a relative risk of 0.5 (a headline "50% reduction") but an absolute risk difference of only 0.01 percentage points and a number needed to treat of 10,000. Always report the absolute risk difference alongside the relative risk so readers can judge the real-world impact, not just the proportional change.