Relative Risk Calculator

Enter a 2x2 contingency table to compute relative risk, odds ratio, absolute risk reduction, and number needed to treat with 95% confidence intervals.

2×2 Contingency Table

Enter the cell counts for your exposed and unexposed groups.

Event No Event Total
Exposed
Unexposed

Load example:

Enter cell counts and click Calculate

Results will appear here

Summary

Enter a 2x2 contingency table to compute relative risk, odds ratio, absolute risk reduction, and number needed to treat with 95% confidence intervals.

How it works

  1. Enter the number of events and non-events for the exposed group.
  2. Enter the number of events and non-events for the unexposed (control) group.
  3. Click Calculate to compute all statistics instantly.
  4. Review relative risk, odds ratio, ARR, and NNT with 95% confidence intervals.
  5. Use the interpretation panel to understand whether your result is statistically significant.

Use cases

  • Evaluate clinical trial outcomes comparing treatment vs. placebo groups.
  • Analyze cohort study results for disease risk in exposed vs. unexposed populations.
  • Determine how many patients need treatment to prevent one event (NNT).
  • Compare vaccine efficacy by computing risk reduction between vaccinated and unvaccinated groups.
  • Support epidemiology research and public health decision-making.
  • Quickly check statistical significance of 2x2 table data.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu