Skip to content

Population Attributable Risk Calculator

Population attributable risk and fraction with Levin's and Miettinen's formulas.

%
%

Use an adjusted RR (or OR for rare outcomes) with Miettinen's formula.

%
%

Estimates how many cases could be prevented.

Enter your values to see the result.

The population attributable fraction is the share of all cases that would not occur if the exposure were removed, assuming causation and no confounding. Levin's formula is biased when the RR is confounded; Miettinen's formula with an adjusted RR is preferred.

Continue your work

Share this tool

Found it useful? Send it to a friend or teammate.

Rate this tool

0.0

0 ratings

  • 5 stars 0
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0

Click a star to rate this tool

Clear instructions

Find steps, examples and limitations below.

Use online

Open the tool in a supported web browser.

Free to use

No sign-up required. Tool-specific limits may apply.

How to use the Population Attributable Risk Calculator

Population attributable risk and fraction with Levin's and Miettinen's formulas.

  1. 1 Choose the formula that matches your data.
  2. 2 Enter exposure prevalence and relative risk, the share of cases exposed, or the two risks.
  3. 3 Add the total cases to estimate how many could be prevented.

Example and practical tips

With 25% of people exposed and a relative risk of 3, the population attributable fraction is 33.3%.

Frequently asked questions

What does a PAF of 33% mean?

A third of all cases in the population would not occur if the exposure were removed, if the relationship is causal.

Levin or Miettinen?

Levin’s formula is simple but biased by confounding. Miettinen’s formula with an adjusted relative risk gives a valid estimate.

Report an issue

Something broken or not quite right? Tell us and we will look into it.