Find a course

Module 2: Epidemiology EssentialsLesson 6 of 1313 min

Measuring Risk: Relative Risk, Odds Ratios and NNT

Calculate relative risk, odds ratios, risk differences and the number needed to treat from a 2×2 table, and learn to read risk claims critically.

Step 1 of 12Learn

Twice the risk of what?

A headline announces that a common medication "doubles the risk" of a rare side effect. Should you panic? It depends on the starting risk. If the risk goes from 1 in 100,000 to 2 in 100,000, that's a doubling, but the actual increase is tiny: 1 extra case per 100,000 people. If it goes from 10% to 20%, that's a big deal.

Epidemiologists measure associations in two main ways:

  • Relative measures compare risks by dividing: how many times higher is the risk in the exposed group? Examples are relative risk and odds ratio.
  • Absolute measures compare risks by subtracting: how many extra cases occur because of the exposure? Examples are risk difference and number needed to treat.

Most data for these measures can be arranged in a 2×2 table:

DiseaseNo diseaseTotal
Exposedaba + b
Not exposedcdc + d

From this table:

  • Risk in exposed = a ÷ (a + b)
  • Risk in unexposed = c ÷ (c + d)
  • Relative risk (RR) = risk in exposed ÷ risk in unexposed
  • Risk difference (RD) = risk in exposed − risk in unexposed

An RR of 1 means no association. Above 1 means higher risk with exposure; below 1 means lower risk, as with a protective factor such as a vaccine.

Step 2 of 12Practice · Chart

When a risk doubles: extra cases per 100,000 people

The same "doubles the risk" headline means wildly different things depending on the starting risk.

In which situation does a doubling of risk add the fewest extra cases?

Tap the bar that answers the question, then press Check.

When a risk doubles: extra cases per 100,000 peopleBar chart with 5 categories: Baseline 1 in 100,000: 1; Baseline 1 in 10,000: 10; Baseline 1 in 1,000: 100; Baseline 1 in 100: 1,000; Baseline 1 in 10: 10,000.02,0004,0006,0008,00010kBaseline 1 in 100,0001Baseline 1 in 10,00010Baseline 1 in 1,000100Baseline 1 in 1001,000Baseline 1 in 1010,000Extra cases per 100,000
Illustrative arithmetic: in every row the relative risk is 2.
When a risk doubles: extra cases per 100,000 people
Extra cases per 100,000Extra cases per 100,000
Baseline 1 in 100,0001
Baseline 1 in 10,00010
Baseline 1 in 1,000100
Baseline 1 in 1001,000
Baseline 1 in 1010,000

Step 3 of 12Try the calculator

2×2 table calculator

Enter counts from a cohort study or trial: a = exposed with disease, b = exposed without disease, c = unexposed with disease, d = unexposed without disease.

Risk in exposed
3 %
Risk in unexposed
1 %
Relative risk
3
Risk difference
2 percentage points
Odds ratio
3.06

Step 4 of 12Practice · Work it out

In a cohort study, 40 of 1,000 smokers and 10 of 1,000 non-smokers develop a disease over 10 years. What is the relative risk for smokers compared with non-smokers?

Step 5 of 12Learn

Odds ratios

In a case-control study, researchers choose how many cases and controls to include, so they can't calculate the risk of disease directly. Instead, they compare the odds of exposure.

Odds are the probability that something happens divided by the probability that it doesn't. If 1 in 5 people are exposed, the probability is 0.2 and the odds are 0.2 ÷ 0.8 = 0.25, or "1 to 4."

The odds ratio (OR) from a 2×2 table is:

OR = (a × d) ÷ (b × c)

Example: a case-control study of a rare cancer includes 100 cases and 200 controls. Among cases, 60 were exposed to a chemical and 40 were not; among controls, 50 were exposed and 150 were not. So a = 60, b = 50, c = 40, d = 150. OR = (60 × 150) ÷ (50 × 40) = 9,000 ÷ 2,000 = 4.5. Cases had 4.5 times the odds of past exposure compared with controls.

Interpreting an odds ratio: like RR, OR = 1 means no association, above 1 a positive association and below 1 a protective one. When a disease is rare, say under about 10% of the population, the odds ratio is a good approximation of the relative risk. When the disease is common, the OR exaggerates the RR, a frequent source of misleading headlines.

Step 6 of 12Practice · Diagram

Reading a relative risk or odds ratio

Values are on a log scale: a ratio of 0.5 is as far below 1 as 2 is above it.

Tap the value that means no association between exposure and disease.

Tap the shape that answers the question, then press Check.

Reading a relative risk or odds ratioScale: 0.5, 1, 1.5, 4.5, About 20.ProtectiveHigher risk0.11100.50.5111.51.54.54.520About 20
0.5

Half the risk (or odds) of the comparison group.

1

Exposed and unexposed groups look the same.

1.5

A 50% higher risk: modest, easier to explain by bias or confounding.

4.5

The chemical example above: cases had 4.5 times the odds of exposure.

About 20

Roughly the range found for lung cancer in heavy smokers vs never-smokers in classic cohort studies.

Step 7 of 12Practice · Work it out

A case-control study has a = 45 exposed cases, b = 30 exposed controls, c = 55 unexposed cases and d = 170 unexposed controls. What is the odds ratio? Round to two decimals.

Step 8 of 12Learn

Absolute risk and the number needed to treat

Relative measures are useful for judging how strong an association is. For decisions, absolute measures often matter more.

The absolute risk reduction (ARR) is the difference in risk between a control group and a treated group. The number needed to treat (NNT) is how many people must receive an intervention for one person to benefit:

NNT = 1 ÷ ARR (with ARR written as a proportion)

Example: in a trial, 4% of people taking a placebo have a heart attack over five years, compared with 3% taking a drug. The relative risk reduction is (4 − 3) ÷ 4 = 25%, which sounds impressive. The ARR is 1 percentage point, or 0.01, so the NNT = 1 ÷ 0.01 = 100. One hundred people must take the drug for five years to prevent one heart attack. The others take it without benefiting, and some may experience side effects. A similar measure, the number needed to harm (NNH), counts how many people need to be exposed for one extra person to be harmed.

Neither number is "good" or "bad" on its own: an NNT of 100 might be worth it for a cheap, safe drug that prevents a serious event, and not worth it for an expensive drug with frequent side effects. The key skill is to ask for absolute numbers whenever you hear about relative changes.

Step 9 of 12Explore

Number needed to treat explorer

The curve shows NNT as the relative risk reduction (x, in %) grows, for the baseline risk you set. Low baseline risk makes the NNT shoot up even for an impressive relative reduction.

02004006008001,000 20406080100
Absolute risk reduction
1 percentage points
Number needed to treat
100

Step 10 of 12Note

Step 11 of 12Practice · What would you do?

What would you do?

A news story says a supplement "cuts the risk of a certain cancer by 50%." The study behind it found the cancer in 2 of 10,000 people taking the supplement and 4 of 10,000 taking a placebo over 5 years. How would you describe the finding most accurately?

Step 12 of 12Practice · Choose one

A vaccine trial finds a relative risk of 0.2 for infection among vaccinated people compared with unvaccinated people. What does this mean?