Home · Statistics · Probability & Combinatorics · Relative Risk Calculator
Relative Risk Calculator
The relative risk of an outcome in an exposed group versus an unexposed group: how many times as likely the event is in the exposed group.
What this calculator does
The relative risk of an outcome in an exposed group versus an unexposed group: how many times as likely the event is in the exposed group. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Each group's risk is its event share: a/n₁ for the exposed and c/n₂ for the unexposed; the relative risk is their ratio.
RR = 1 means equal risk, above 1 a higher risk in the exposed group, below 1 a lower (protective) association.
Relative risk says nothing about absolute risk: a doubling from 0.001% to 0.002% and from 20% to 40% both give RR = 2.
Worked example
With the example inputs this page opens with (events in exposed group 30, exposed group total 100, events in unexposed group 15, unexposed group total 100), the result is 2.0000. Change any figure and the result updates with the same formula.
Quick reference
| Events in exposed group | Result |
|---|---|
| 15 | 1.0000 |
| 24 | 1.6000 |
| 30 | 2.0000 |
| 37.5 | 2.5000 |
| 45 | 3.0000 |
| 60 | 4.0000 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How do I read a relative risk of 2?
The event is twice as likely in the exposed group as in the unexposed group. Whether that matters in practice depends on the base risk — doubling a one-in-a-million risk is still a very small risk.
What is the difference between relative risk and odds ratio?
Relative risk divides two probabilities; an odds ratio divides two odds. They are close when the event is rare, but the odds ratio exaggerates the association when the event is common.
How does the Relative Risk Calculator work?
The relative risk of an outcome in an exposed group versus an unexposed group: how many times as likely the event is in the exposed group. Events in exposed · Exposed total · Events in unexposed · Unexposed total → Relative risk. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Relative Risk Calculator need?
Events in exposed · Exposed total · Events in unexposed · Unexposed total → Relative risk. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.