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
Relative Risk (RR)
—
95% CI: —
Odds Ratio (OR)
—
95% CI: —
Absolute Risk Reduction (ARR)
—
95% CI: —
Number Needed to Treat (NNT)
—
95% CI: —
Event Rates
| Group | Events | Total | Risk |
|---|
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
- Enter the number of events and non-events for the exposed group.
- Enter the number of events and non-events for the unexposed (control) group.
- Click Calculate to compute all statistics instantly.
- Review relative risk, odds ratio, ARR, and NNT with 95% confidence intervals.
- 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