Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Statistics
  3. /Probability Calculators
  4. /Relative Risk Calculator

Relative Risk Calculator

Last updated: March 28, 2026

Calculator

Results

Relative Risk (RR)

2

95% CI Lower

1.1294

95% CI Upper

3.5416

Risk in Exposed Group

0.2

Risk in Unexposed Group

0.1

Results

Relative Risk (RR)

2

95% CI Lower

1.1294

95% CI Upper

3.5416

Risk in Exposed Group

0.2

Risk in Unexposed Group

0.1

The Relative Risk Calculator computes the risk ratio (RR) comparing the probability of an event between an exposed and an unexposed group, along with a 95% confidence interval. Relative risk is the most intuitive measure of association in cohort studies and randomized controlled trials.

A relative risk of 1 means both groups have equal risk. RR > 1 indicates increased risk with exposure, while RR < 1 indicates a protective effect. Unlike the odds ratio, relative risk directly compares probabilities, making it easier to interpret for clinicians and patients.

Visual Analysis

How It Works

From a 2×2 table with cells a, b, c, d:

Risk in Exposed Group:

$$R_e = \frac{a}{a + b}$$

Risk in Unexposed Group:

$$R_u = \frac{c}{c + d}$$

Relative Risk:

$$RR = \frac{R_e}{R_u} = \frac{a/(a+b)}{c/(c+d)}$$

95% Confidence Interval:

The log of the relative risk is approximately normal, so:

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

$$CI = \exp\left(\ln(RR) \pm 1.96 \cdot SE(\ln RR)\right)$$

This method (Katz logarithmic method) is the standard for large-sample relative risk inference. It assumes independent samples and non-zero event counts in both groups.

Understanding Your Results

RR = 1: No difference in risk between groups — the exposure has no effect on the outcome.

RR > 1: The exposed group has higher risk. RR = 2.0 means the exposed group is twice as likely to experience the event.

RR < 1: The exposure is protective. RR = 0.5 means 50% lower risk in the exposed group.

If the 95% CI includes 1, the difference is not statistically significant at the 5% level.

Worked Examples

Exercise and Heart Disease

Inputs

a40
b160
c20
d180

Results

relative risk2
ci lower1.2179
ci upper3.2843
risk exposed0.2
risk unexposed0.1

RR = 2.0: the exposed group has double the risk. The 95% CI (1.22, 3.28) excludes 1, so this is statistically significant.

Drug Trial — Adverse Events

Inputs

a5
b495
c15
d485

Results

relative risk0.3333
ci lower0.1233
ci upper0.9012
risk exposed0.01
risk unexposed0.03

RR = 0.33: the treatment group has one-third the risk of adverse events compared to control.

Frequently Asked Questions

Use relative risk in cohort studies and RCTs where you can calculate incidence rates directly. Use odds ratio in case-control studies or logistic regression. For rare outcomes (< 10%), OR approximates RR closely.

No. In case-control studies, you sample based on outcome status, so you cannot estimate incidence directly. The odds ratio is the appropriate measure for case-control designs.

It means the exposed group has 50% higher risk of the event compared to the unexposed group. If the baseline risk is 10%, the exposed group has approximately 15% risk.

Relative risk is a ratio (dimensionless), while absolute risk difference (ARD) is the subtraction of the two risks. RR = 2.0 sounds dramatic, but if risks are 0.002 vs. 0.001, the absolute difference is tiny (0.001).

If a = 0 or c = 0, the RR equals 0 or is undefined, and the log method fails. Continuity corrections (adding 0.5) or exact methods should be used in these cases.

No. RR for increased risk ranges from 1 to ∞, but for protective effects ranges from 0 to 1. This asymmetry means RR = 2.0 (doubling) and RR = 0.5 (halving) represent the same magnitude of association in opposite directions.

Sources & Methodology

Altman, D.G. (1998). Confidence intervals for the number needed to treat. BMJ, 317(7168), 1309–1312. | Sistrom, C.L. & Garvan, C.W. (2004). Proportions, odds, and risk. Radiology, 230(1), 12–19. | Rothman, K.J., Greenland, S. & Lash, T.L. (2008). Modern Epidemiology, 3rd Ed.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Lottery Odds Calculator

Probability Calculators

Probability Calculator

Probability Calculators

Conditional Probability Calculator

Probability Calculators

Monty Hall Problem Calculator

Probability Calculators

Combinations Calculator (nCr)

Probability Calculators

Permutations Calculator (nPr)

Probability Calculators