CalcWorldHub
Free online calculator · no signup

Population attributable fraction calculator

Estimate the fraction of population cases attributable to an exposure from its prevalence and relative risk.

Worked example
Relevant result
∑
Clear result · useful details
Default calculator result0.1667

Related calculators

Use these tools when your question extends to a neighboring part of the same calculation.

Browse statistics tools →

Population attributable fraction calculator — Exposure prevalence (0–1), Relative risk and calculation method
Population attributable fraction calculator: inputs and calculation method.

How to use this calculator

Estimate the fraction of population cases attributable to an exposure from its prevalence and relative risk.

  1. Enter Exposure prevalence (0–1), Relative risk. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Population attributable fraction calculator

Estimate the fraction of population cases attributable to an exposure from its prevalence and relative risk.

What it measures

Estimate the fraction of population cases attributable to an exposure from its prevalence and relative risk.

Inputs and units

  • Exposure prevalence (0–1): Enter a proportion on the 0–1 scale stated in the label, not a percent from 0 to 100.
  • Relative risk: Enter the value represented by this label; keep its domain, sign, and units consistent with the formula and assumptions below.

Formula and method

Pe(RR−1)/[1+Pe(RR−1)]

Worked example

With exposure prevalence 0.20 and RR=2, PAF=0.20(2−1)/[1+0.20(2−1)]=0.20/1.20≈0.1667.

Interpreting the result

The estimate is 16.67% under the formula’s causal and transportability assumptions; it is not a person-level probability or a guaranteed preventable fraction.

Assumptions and limits

Prevalence must be from 0 to 1 and relative risk positive. The simple Levin formula assumes a valid causal RR, comparable populations, and a binary exposure; confounding or effect heterogeneity can invalidate it.

Sources and method

Frequently asked questions

Does PAF mean 16.67% of every person’s risk is caused by exposure?

No. It is a population-level fraction of cases under a causal counterfactual interpretation.

Can an observational relative risk be used automatically?

No. Bias, confounding, and transportability must be assessed first.

How do I use the Population attributable fraction calculator?

Enter Exposure prevalence (0–1), Relative risk. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Population attributable fraction?

With exposure prevalence 0.20 and RR=2, PAF=0.20(2−1)/[1+0.20(2−1)]=0.20/1.20≈0.1667.

What does the Population attributable fraction calculator calculate?

Estimate the fraction of population cases attributable to an exposure from its prevalence and relative risk.