Population attributable fraction calculator
Estimate the fraction of population cases attributable to an exposure from its prevalence and relative risk.
Related calculators
Use these tools when your question extends to a neighboring part of the same calculation.
How to use this calculator
Estimate the fraction of population cases attributable to an exposure from its prevalence and relative risk.
- Enter Exposure prevalence (0–1), Relative risk. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
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
- Distinguishes cumulative incidence from incidence rates and defines person-time denominators. CDC: Measures of risk and incidence
- States the Levin population-attributable fraction formula using exposure prevalence and relative risk. CDC MMWR: Population attributable risk
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.
See the calculation methodology.