Calculate Relative Risk Ratio (RR)

Enter 2×2 table counts for exposed and unexposed groups.

Exposed cases $a$ (e.g. 20).
Exposed non-cases $b$ (e.g. 80).
Unexposed cases $c$ (e.g. 5).
Unexposed non-cases $d$ (e.g. 95).

Calculation Results

Primary Metric Output --
Metric Breakdown 1--
Metric Breakdown 2--
Metric Breakdown 3--
Metric Breakdown 4--
Metric Breakdown 5--
Mathematical Standard--

Calculated using epidemiological Risk Ratio equations: \text{RR} = \frac{\text{Risk in Exposed}}{\text{Risk in Unexposed}} = \frac{a / (a + b)}{c / (c + d)}

*Note: Relative Risk measures the ratio of event risk in an exposed group compared to an unexposed group (cohort studies).

Quick Summary

The Relative Risk Calculator evaluates epidemiological Risk Ratio ($\text{RR} = \frac{a / (a+b)}{c / (c+d)}$), log-transformed 95% confidence intervals, and Absolute Risk Difference.

Formula Explanation

\text{RR} = \frac{a / (a + b)}{c / (c + d)}
\text{SE}(\ln \text{RR}) = \sqrt{\frac{1}{a} - \frac{1}{a+b} + \frac{1}{c} - \frac{1}{c+d}}

How It Works

Relative Risk compares the incidence rate of an outcome in an exposed group against an unexposed control group. The Relative Risk Calculator computes risk percentages, log standard error, and 95% CI bounds.

Step-by-Step Worked Example

Practical Problem: Exposed group ($a = 20, b = 80 \rightarrow N_1 = 100$) vs Unexposed group ($c = 5, d = 95 \rightarrow N_2 = 100$). Calculate Relative Risk (RR).

  1. Step 1: Calculate exposed risk rate ($p_{\text{exp}}$): $20 / (20 + 80) = 20 / 100 = \mathbf{0.2000\text{ (20.0\%)}}.$
  2. Step 2: Calculate unexposed risk rate ($p_{\text{unexp}}$): $5 / (5 + 95) = 5 / 100 = \mathbf{0.0500\text{ (5.0\%)}}.$
  3. Step 3: Compute Relative Risk (RR): $\text{RR} = 0.2000 / 0.0500 = \mathbf{4.0000}$.
  4. Step 4: Calculate 95% CI for ln(RR): $\text{SE}(\ln \text{RR}) = \sqrt{1/20 - 1/100 + 1/5 - 1/100} = \sqrt{0.05 - 0.01 + 0.20 - 0.01} = \sqrt{0.23} = \mathbf{0.47958}$.
  5. Step 5: Exponentiate confidence bounds: $\ln(4) = 1.3863$; Bounds $= \exp(1.3863 \pm 1.96 \times 0.47958) = \mathbf{[1.56, 10.24]}.$ Exposed group has 4x higher risk!

Real-World Calculation Examples

Scenario 1: Exposure Study (a=20, b=80, c=5, d=95)

Parameters: Exposed 20% vs Unexposed 5%
Result: RR = 4.00 (400% risk in exposed group).

Scenario 2: Smoking vs Lung Cancer Cohort Study

Parameters: Smokers vs Non-smokers prospective trial
Result: High relative risk estimation.

Scenario 3: Clinical Vaccine Protection Efficacy

Parameters: Vaccinated 1% vs Unvaccinated 10%
Result: RR = 0.10 (90% relative risk reduction).

Scenario 4: Industrial Chemical Safety Risk

Parameters: Occupational hazard audit
Result: Relative Risk 95% CI evaluation.

Key Benefits of Using This Calculator

Epidemiological Standard

Primary metric for prospective cohort studies and randomized controlled trials (RCTs).

Log-Transformed 95% CI

Provides exact asymmetrical 95% confidence intervals for Risk Ratio RR.

Absolute & Relative Risk Reduction

Computes ARR ($p_1 - p_2$) and RRR ($\frac{p_1 - p_2}{p_2}$) simultaneously.

100% Free & Client-Side

Executes locally in your browser with zero latency or web server transmission.

Frequently Asked Questions (FAQ)

What is Relative Risk (RR)?

Relative Risk is the ratio of risk of an outcome in an exposed group compared to an unexposed group.

What does RR = 1.0 mean?

$\text{RR} = 1.0$ indicates equal risk in both exposed and unexposed groups (no association).

What does RR > 1.0 mean?

$\text{RR} > 1.0$ indicates increased risk in the exposed group.

What does RR < 1.0 mean?

$\text{RR} < 1.0$ indicates a protective effect (decreased risk in exposed group).

What is difference between Relative Risk (RR) and Odds Ratio (OR)?

Relative Risk compares probabilities ($\frac{a/(a+b)}{c/(c+d)}$); Odds Ratio compares odds ($\frac{a/b}{c/d}$). RR requires cohort data; OR is used in retrospective case-control studies.

When does Odds Ratio approximate Relative Risk?

When the disease outcome is rare (prevalence $< 10\%$), OR closely approximates RR (Rare Disease Assumption).

How do I calculate Relative Risk in Excel?

Use formula =(a / (a + b)) / (c / (c + d)).

What study designs permit Relative Risk calculation?

Prospective cohort studies and randomized controlled trials (RCTs) where incidence rates can be directly calculated.

What is Relative Risk Reduction (RRR)?

$\text{RRR} = 1 - \text{RR}$, representing the percentage reduction in risk achieved by an intervention.

What if the 95% confidence interval for RR includes 1.0?

If the 95% CI includes 1.0 (e.g. [0.85, 1.45]), the risk difference between groups is NOT statistically significant.