CalcDepo

Relative Risk and Odds Ratio Calculator

Compute risk ratio and odds ratio from exposure outcomes.

Inputs

Results

Risk (exposed)0.3
Risk (unexposed)0.1
Relative risk3
Odds ratio3.857143
Absolute risk reduction0.2

Chart

Not what you need? Search by intent

Describe what you want to find β€” β€œepidemiology” β€” and jump to the right calculator.

How to use the relative risk and odds ratio calculator

Compute risk ratio and odds ratio from exposure outcomes. Enter exposed with outcome, exposed without outcome, unexposed with outcome, unexposed without outcome in the fields above; the risk (exposed), risk (unexposed), relative risk, odds ratio, absolute risk reduction are computed instantly and plotted on the chart so you can see how the answer changes.

Formula

Risk (exposed) = a / (a+b)
Risk (unexposed) = c / (c+d)
Relative risk = [Risk (exposed)] / [Risk (unexposed)]
Odds ratio = (a Γ— d) / (b Γ— c)
Absolute risk reduction = [Risk (exposed)]-[Risk (unexposed)]

Variables

  • a β€” Exposed with outcome
  • b β€” Exposed without outcome
  • c β€” Unexposed with outcome
  • d β€” Unexposed without outcome

Worked example

With exposed with outcome = 30, exposed without outcome = 70, unexposed with outcome = 10, unexposed without outcome = 90, the calculator gives risk (exposed) β‰ˆ 0.3; risk (unexposed) β‰ˆ 0.1; relative risk β‰ˆ 3; odds ratio β‰ˆ 3.857143; absolute risk reduction β‰ˆ 0.2.

Frequently asked questions

What is the formula for the relative risk and odds ratio calculation?

Risk (exposed) = a / (a+b). Risk (unexposed) = c / (c+d). Relative risk = [Risk (exposed)] / [Risk (unexposed)]. Odds ratio = (a Γ— d) / (b Γ— c). Absolute risk reduction = [Risk (exposed)]-[Risk (unexposed)]. Here a is exposed with outcome, b is exposed without outcome, c is unexposed with outcome, d is unexposed without outcome.

What inputs do I need for the relative risk and odds ratio calculator?

You need exposed with outcome, exposed without outcome, unexposed with outcome, unexposed without outcome. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.

How do I use this calculator?

Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.

Is the result exact?

Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.

Related calculators

More in Statistics & Probability: Mean, Median and Mode Β· Standard Deviation Β· Quartiles and IQR Β· Percentile Β· Z-Score Β· Normal Distribution Probability Β· Inverse Normal Β· Binomial Probability