Calculate Attributable Fraction
Estimate Attributable Fraction among exposed (AF) and Population Attributable Fraction (PAF) for epidemiology, policy, and prevention planning.
Expert Guide: How to Calculate Attributable Fraction Correctly
Attributable fraction is one of the most useful concepts in epidemiology and public health decision making. It helps answer a practical question: how much disease burden can be linked to a specific exposure, and how much might be prevented if that exposure were eliminated or reduced? If you work in clinical research, risk communication, environmental health, occupational health, chronic disease prevention, or health policy, knowing how to calculate attributable fraction is essential.
There are two related measures that people often confuse. The first is Attributable Fraction among the Exposed (AF), sometimes called attributable risk percent among exposed. This tells you what share of cases among exposed individuals can be attributed to the exposure itself. The second is Population Attributable Fraction (PAF), which extends the concept to the whole population by incorporating exposure prevalence. PAF is often more relevant to policy because it estimates overall preventable burden.
Core Formulas You Should Know
- AF among exposed = (RR – 1) / RR
- PAF = Pe x (RR – 1) / (Pe x (RR – 1) + 1)
- Where RR is relative risk and Pe is prevalence of exposure in the population (as a proportion, not percent).
If you only have incidence rates, you can derive RR first: RR = Ie / Iu, where Ie is incidence in exposed and Iu is incidence in unexposed. If you only have odds ratio from a case control study, OR can sometimes approximate RR when the outcome is rare. This is common in outbreak and cancer epidemiology, but the approximation may overestimate effects when outcomes are not rare.
Interpretation in Plain Language
If AF among exposed equals 0.60, that means 60% of cases in exposed individuals are attributable to the exposure, assuming the association is causal and model assumptions hold. If PAF equals 0.18, that means 18% of all cases in the population are attributable to the exposure and may be preventable if the exposure is eliminated.
These are causal burden concepts, not just association metrics. A high RR does not always produce a high PAF. PAF also depends heavily on how common the exposure is. Even moderate risk factors can create large population burden when exposure prevalence is high.
Worked Example
- Assume RR = 2.5.
- Assume exposure prevalence Pe = 20% = 0.20.
- AF among exposed = (2.5 – 1) / 2.5 = 0.60 = 60%.
- PAF = 0.20 x 1.5 / (0.20 x 1.5 + 1) = 0.2308 = 23.08%.
This result tells you that exposed individuals face substantial attributable burden, and almost one quarter of cases in the total population are attributable because exposure is reasonably common.
Why Public Health Teams Use PAF
PAF is central for prioritizing interventions. Health departments often choose prevention targets based on expected impact. A risk factor with very high individual risk but low prevalence may produce fewer preventable cases than a moderate risk factor with broad prevalence. This is why tobacco control, blood pressure control, obesity prevention, and air quality interventions can all be cost effective at scale.
PAF is also useful for scenario planning. You can model realistic exposure reduction, such as reducing prevalence by 20%, then estimate how many cases may be prevented over time. This can support grant proposals, strategic plans, and burden of disease reports.
Comparison Table: How Prevalence Changes PAF
| Relative Risk (RR) | Exposure Prevalence (Pe) | AF among Exposed | Population Attributable Fraction (PAF) |
|---|---|---|---|
| 2.0 | 10% | 50.0% | 9.1% |
| 2.0 | 40% | 50.0% | 28.6% |
| 3.0 | 10% | 66.7% | 16.7% |
| 3.0 | 40% | 66.7% | 44.4% |
Notice how AF among exposed is unchanged when RR stays constant, but PAF rises strongly with prevalence. This is exactly why policy planners need both metrics.
Real World Statistics and Burden Context
Attributable fraction calculations rely on good input evidence. Below are selected public health statistics from major agencies that illustrate why exposure prevalence and effect size matter together:
| Exposure or Condition | Recent US Statistic | Public Health Relevance for AF and PAF | Source Type |
|---|---|---|---|
| Cigarette smoking among adults | About 11.5% of US adults currently smoke cigarettes (2022) | Even with declining prevalence, high RR for several diseases sustains meaningful PAF values | CDC .gov surveillance |
| Adult obesity prevalence | About 41.9% among US adults in NHANES 2017 to 2020 | High prevalence means moderate RRs can still produce large population attributable burden | CDC .gov national survey |
| Hypertension prevalence in adults | Roughly 47% of US adults have hypertension under current definition | Large exposure pool can drive substantial PAF for stroke and cardiovascular outcomes | CDC .gov cardiovascular facts |
Important Assumptions and Common Errors
- Causality matters: Attributable fraction assumes the exposure has a causal role.
- Confounding control is critical: Use adjusted RR when possible, not crude associations.
- Use consistent populations: Exposure prevalence must match the population where RR applies.
- Avoid percent and proportion confusion: 20% must be entered as 0.20 in formulas.
- OR versus RR: OR overstates RR when outcomes are common. Be cautious.
- Time horizon: PAF estimates can vary by age, period, and lag between exposure and outcome.
Advanced Notes for Analysts
In modern burden studies, analysts often compute adjusted PAF using multivariable models or counterfactual frameworks, especially with multiple risk factors. When exposures overlap, simply summing separate PAF values can exceed 100%, which is incorrect. Joint PAF methods, sequential attributable fractions, and causal mediation approaches can handle overlapping pathways more rigorously. In comparative risk assessment, uncertainty intervals are usually generated with Monte Carlo methods to reflect variability in RR, prevalence, and model assumptions.
For occupational and environmental epidemiology, attributable fraction can be estimated by stratum and then standardized to target populations. This is useful when exposure prevalence differs sharply by occupation, region, income, or age group. For health equity planning, stratified PAF can highlight inequitable preventable burden and guide targeted interventions.
How to Use This Calculator Responsibly
- Choose your input method based on available evidence.
- Enter RR and prevalence, or enter incidence in exposed and unexposed to derive RR.
- If using OR, ensure the outcome is rare enough for approximation.
- Add total case count to estimate attributable case numbers.
- Interpret as preventable burden under causal assumptions, not guaranteed impact.
Practical tip: Always report your formula, data source, and whether RR was adjusted. Transparent methods improve reproducibility and policy confidence.
Authoritative Reading and Data Sources
- CDC tobacco related mortality facts (.gov)
- CDC adult obesity prevalence data (.gov)
- Harvard T.H. Chan School public health evidence review (.edu)
Final Takeaway
To calculate attributable fraction well, combine correct formulas with high quality epidemiologic inputs and clear interpretation. AF among exposed tells you impact in exposed individuals. PAF tells you impact across the full population. Both are powerful when used carefully. In real world prevention planning, the biggest population wins usually come from reducing common exposures with meaningful risk, even when individual level risk is not the largest in your dataset. Use the calculator above as a fast analytic tool, then validate assumptions with domain specific evidence before making policy or clinical recommendations.