Intermediate

Relative Risk Calculator — RR, ARD & 95% CI

Enter the event rate in the exposed (treatment) group and the event rate in the control (unexposed) group — along with group sizes for the confidence interval — to get the Relative Risk, Absolute Risk Difference, NNT and 95% CI instantly.

%

Percentage who experienced the outcome in the treated / exposed group

%

Percentage who experienced the outcome in the control / reference group
Used to compute 95% confidence interval — leave at 100 if unknown
Used to compute 95% confidence interval — leave at 100 if unknown
Relative Risk (RR)
3

Exposure increases risk (RR > 1) — 200% higher

Event rate — exposed
30 %
Event rate — unexposed
10 %
Absolute risk difference
20 %
95% CI for RR
1.551 – 5.803
NNT / NNH
5
Event rate — exposed group30 %
Event rate — unexposed group10 %
Step by step
  1. 1

    Risk in exposed group

    30 % ÷ 100 = 0.3
  2. 2

    Risk in unexposed group

    10 % ÷ 100 = 0.1
  3. 3

    Relative Risk

    0.3 ÷ 0.1 = 3
    RR > 1 means the exposed group has higher risk; RR < 1 means the exposure is protective.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Relative Risk = event rate in exposed group ÷ event rate in unexposed group. RR > 1 signals harm; RR < 1 signals protection. The Absolute Risk Difference is the arithmetic gap between the two rates, and its reciprocal gives NNT. The 95% CI is computed via the log-normal method from group sizes.

Formula
RR = Risk_exposed / Risk_unexposed • ARD = Risk_exposed − Risk_unexposed • NNT = 1 / |ARD|
How this is calculated

Relative Risk (also called Risk Ratio, RR) is the ratio of the probability of an event in the exposed group to the probability of that same event in the unexposed (reference) group. An RR of 1.0 means identical risk; RR > 1 means the exposure is associated with higher risk; RR < 1 means it is protective. Unlike the Odds Ratio, RR is directly interpretable as "how many times more (or less) likely" the event is.

This calculator takes the event rate (a percentage) in each group directly — ideal when you have summary statistics rather than raw cell counts. The Absolute Risk Difference (ARD) is the arithmetic difference between the two rates; its reciprocal is the Number Needed to Treat (NNT) when the exposure is beneficial, or Number Needed to Harm (NNH) when harmful. Both RR and ARD are essential: an RR of 2 looks dramatic but if the background rate is 0.001% the ARD is still tiny.

The 95% confidence interval is derived from the log-normal method: ln(RR) ± 1.96 × SE, where SE = √(1/a − 1/n₁ + 1/c − 1/n₀). This approximation is valid when all four derived cell counts (a, b, c, d) are at least 5. When a CI cannot be computed (extreme rates or very small samples), the point estimate is still shown.

Frequently asked questions

Relative Risk divides two probabilities (proportion with event in exposed group ÷ proportion in unexposed group) and is directly interpretable. The Odds Ratio divides two odds and approximates RR only when the event is rare (below ~10%). For common outcomes in cohort studies, always prefer RR.

The log-normal CI requires at least one event and at least one non-event in each group. If the entered rates and group sizes produce a zero cell count (e.g. 100% event rate with n=10), the CI is undefined. Increase the group sizes or adjust the rates.

Number Needed to Treat (NNT) = 1 / |ARD|. It is the number of people who need to be exposed for one additional event to occur (or be prevented). A low NNT (e.g. 5) means a highly effective intervention; a high NNT (e.g. 200) means a modest effect.

Also known as

relative risk calculator
risk ratio calculator
rr confidence interval
absolute risk difference calculator
number needed to treat calculator
nnt nnh calculator
epidemiology risk ratio ci

APA

TG we-Calculate Editorial Team. (2026). Relative Risk Calculator — RR, ARD & 95% CI [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/relative-risk-calculator

Chicago

TG we-Calculate Editorial Team. "Relative Risk Calculator — RR, ARD & 95% CI." TG we-Calculate. 2026. https://we-calculate.com/calculator/relative-risk-calculator.

IEEE

TG we-Calculate Editorial Team, "Relative Risk Calculator — RR, ARD & 95% CI," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/relative-risk-calculator

BibTeX

@misc{wecalculate_relative_risk_calculator, title = {Relative Risk Calculator — RR, ARD & 95% CI}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/relative-risk-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?