Population Attributable Fraction Calculator
Epidemiology
- Exposure load: prevalence 20.00 % with RR 2.00 gives Pe(RR - 1) = 0.200.
- Levin formula: PAF = 0.200 / (1 + 0.200) = 16.67 % of all cases in the population.
- Among the exposed themselves the attributable fraction is (RR - 1) / RR = 50.00 %.
- Population attributable fraction result: 16.67 %, a population attributable risk of 83.33 cases per 100,000.
If a fifth of a population smokes and smoking doubles a disease's risk, what share of the disease would vanish in a world without smoking? Levin's 1953 formula answers from just two inputs - the exposure prevalence and the relative risk: PAF = Pe(RR - 1) / (1 + Pe(RR - 1)). This calculator returns that fraction with its close relatives: the attributable fraction among the exposed themselves, the population attributable risk in cases per 100,000, and the exposed group's incidence, so the same exposure can be read at population scale and at personal scale in one pass.
PAF is the currency of prevention planning. It ranks risk factors by the burden they actually cause in a population - which is a different ranking from relative risk alone, because a ferocious but rare exposure can matter less than a modest one that is everywhere.
Levin wrote his formula in 1953 to size the lung-cancer burden of smoking, and it has been the template for burden attribution ever since - extended to occupational exposures, infections, metabolic risks and the Global Burden of Disease's entire architecture. This page implements the original two-input form and its immediate relatives, because most practical attribution questions still arrive in exactly this shape: a prevalence, a relative risk, and a decision that needs the share of disease the exposure is responsible for.
Worked examples
20 % at RR 2.0 - PAF 16.67 %
(20 % · 2 · 500 per 100,000)
| Population attributable fraction | 16.67 % |
| Attributable fraction among exposed | 50.00 % |
| Population attributable risk | 83.33 per 100,000 |
| Exposed-group incidence | 833.33 per 100,000 |
35 % at RR 3.5 - nearly half of cases
(35 % · 3.5 · 220 per 100,000)
| Population attributable fraction | 46.67 % |
| Attributable fraction among exposed | 71.43 % |
| Population attributable risk | 102.67 per 100,000 |
| Exposed-group incidence | 410.67 per 100,000 |
Rare 8 % at RR 1.6 - PAF 4.58 %
(8 % · 1.6 · 1450 per 100,000)
| Population attributable fraction | 4.58 % |
| Attributable fraction among exposed | 37.50 % |
| Population attributable risk | 66.41 per 100,000 |
| Exposed-group incidence | 2213.74 per 100,000 |
Prevalence times strength
The formula's shape teaches the concept. Pe(RR - 1) is the excess incidence the exposure adds to the whole population, expressed against the unexposed baseline; dividing by 1 + Pe(RR - 1) - the population's total incidence on the same scale - converts that excess into a share of all cases. A relative risk of 1 contributes nothing at any prevalence, and a prevalence of zero contributes nothing at any relative risk: both levers must be present for burden to exist.
The attributable fraction among the exposed, (RR - 1) / RR, strips prevalence back out and asks the exposed person's question: of the cases occurring among people like me, what share does the exposure itself cause? It is always larger than the PAF, and confusing the two - quoting the exposed figure as the population figure - is the standard error in advocacy documents.
The formula's denominator is the part readers skip and shouldn't. One plus Pe(RR - 1) is the population's total incidence measured in units of the unexposed rate - the exposed contribute their elevated risk, the unexposed their baseline, and the sum is the whole. PAF is then a genuine share: excess over total. This is also why PAF must live between 0 and 100 percent for a harmful exposure, and why feeding it a prevalence from one population and a relative risk from another breaks it - the denominator no longer describes any real population's total.
Levin's formula has a mirror image that policy audiences often find more intuitive: the prevented fraction and its relatives ask what share of potential cases a protective exposure has already averted. The arithmetic family is one - prevalence and relative risk combined against a baseline - and fluency with the harmful-exposure form on this page transfers directly. What does not transfer is the rhetoric: an attributable fraction of 46.67 percent describes cases that would not have occurred without the exposure, a counterfactual that always deserves the word 'attributable' rather than 'caused' in careful writing.
- PAF = Pe(RR - 1) / (1 + Pe(RR - 1)) - Levin's formula
- AFe = (RR - 1) / RR among the exposed
- PAR = population incidence x PAF, in cases per 100,000
- A common weak exposure can outrank a rare strong one
Worked examples
The examples are the three shapes of attribution: the common moderate exposure that dominates real burden tables, the common strong exposure that approaches half of all cases, and the rare exposure whose victims face high risk while the population share stays small.
A 20 % prevalence at RR 2.0 with population incidence 500 per 100,000 returns 16.67 %, with Attributable fraction among exposed 50.00 %, Population attributable risk 83.33 per 100,000, Exposed-group incidence 833.33 per 100,000. The archetype: a common exposure of moderate strength causing a sixth of all cases.
A 35 % prevalence at RR 3.5 with incidence 220 returns 46.67 %, with Attributable fraction among exposed 71.43 %, Population attributable risk 102.67 per 100,000, Exposed-group incidence 410.67 per 100,000. Common and strong together approach half of all cases attributable - the profile of a first-rank public-health target.
An 8 % prevalence at RR 1.6 with incidence 1,450 returns 4.58 %, with Attributable fraction among exposed 37.50 %, Population attributable risk 66.41 per 100,000, Exposed-group incidence 2213.74 per 100,000. The exposed live at high risk, yet the population share stays small because so few are exposed.
The population attributable risk column converts the fractions back into the units planning runs on - cases per hundred thousand per year: 83.33, 102.67, 66.41. Multiplied by a population, those are clinic visits, treatment budgets and lives; the fraction persuades, but the case count is what gets resourced, and the calculator refuses to let the two drift apart.
Two questions, two fractions
Contrast the second and third examples. The rare exposure's victims face an incidence of 2,213.74 per 100,000 - far above the strong common exposure's 410.67 - yet it accounts for only 4.58 % of cases against 46.67 %. Counselling an exposed individual and budgeting a prevention programme are different decisions, and PAF versus AFe is exactly the arithmetic of that difference. This page reports both so the two conversations stop borrowing each other's numbers.
PAF carries a causal promise: it is the share of cases that would not occur if the exposure were eliminated and everything else stayed put. Confounded relative risks break the promise - the formula will happily attribute cases to a marker that merely travels with the cause. Adjusted relative risks, from models that control the confounders, are the inputs the formula deserves.
Modern practice usually feeds Levin's formula an adjusted relative risk and calls the output an adjusted PAF, with the caveat that adjustment and attribution interact subtly - the formula is exact for the crude case and an approximation under adjustment, one the literature accepts for planning purposes. Miettinen's case-based variant, which works from the exposure's prevalence among cases, gives the same answer from the other direction and is the form case-control studies can actually supply; the two agreeing is a useful audit when both data routes exist.
The formula also disciplines target-setting. A programme that halves an exposure's prevalence does not halve the PAF - the relationship is curved, as the formula's denominator shows - and a programme that halves the relative risk, through safer product design say, moves it differently again. Running both scenarios through the calculator before committing a budget is the cheapest policy analysis in public health: two multiplications stand between a slogan and a defensible projection.
| Prevalence | RR | PAF | AFe |
|---|---|---|---|
| 20 % | 2.0 | 16.67 % | 50.00 % |
| 35 % | 3.5 | 46.67 % | 71.43 % |
| 8 % | 1.6 | 4.58 % | 37.50 % |
Summing and comparing PAFs
Attributable fractions for different exposures routinely sum past 100 percent, and that is not an error: a case caused jointly by two exposures is legitimately attributable to each. Sequential or average attributable fractions exist for dividing a joint burden without double counting. When comparing PAFs across studies, check that the prevalences describe the same population and era as the relative risks - mixing a prevalence from one country with an RR from another manufactures a number for a population that does not exist.
Prevalence timing matters as much as its value: the prevalence that belongs in the formula is the exposure's prevalence in the population during the period the cases arose, not today's figure after a successful campaign has already cut it. Using the reduced modern prevalence understates the historical burden the cases represent. Registry and survey archives, not current headlines, are the right source - a small discipline that separates burden studies from advocacy arithmetic.
One last check belongs in every attribution exercise: the fractions for a single exposure computed at different times or places should move with prevalence and relative risk in the directions the formula dictates, and a PAF that rises while prevalence falls is announcing that the relative risk, the population or the data changed - not that arithmetic failed. The formula is a lens with known optics; when the picture surprises, the surprise is information about the inputs. That is the most useful thing a two-input statistic can offer a policy conversation.
FAQs
20 % exposed at RR 2.0 - what PAF?
16.67 % of all cases in the population are attributable to the exposure.
What share among the exposed themselves?
50.00 % - (RR - 1) / RR. Half the cases among exposed people are attributable to the exposure itself.
35 % at RR 3.5?
PAF 46.67 %, with 102.67 attributable cases per 100,000 - common and strong is the heaviest combination.
How many cases does the first example attribute?
83.33 per 100,000 - the population attributable risk, from an overall incidence of 500.
A rare 8 % exposure at RR 1.6?
Only 4.58 % of all cases, even though the exposed group's incidence reaches 2213.74 per 100,000.
Why is the exposed-group incidence so high there?
The overall incidence is 1,450 per 100,000 and RR 1.6 concentrates risk in the exposed minority; the population share stays small because the exposed are few.