A worked four-stock portfolio (with Python)

9 min read Facts as of December 2026

This lesson computes all four TCFD carbon metrics, plus exposure to carbon-related assets, for one four-stock portfolio, so you can see how and why they disagree.

The portfolio

A ₹100 crore equity portfolio holds four fictional Indian companies. Market cap and revenue are in ₹ crore; Scope 1 + 2 emissions in tCO2e.

Stock Sector (GICS) Holding ViV_i Market cap MCiMC_i Revenue RiR_i S1+2 EiE_i
A: Ujjwal Power Utilities (coal-heavy electric utility) 30 10,000 5,000 20,000,000
B: Kaveri Cement Materials 20 5,000 2,500 10,000,000
C: Vasudha Bank Financials 25 50,000 10,000 100,000
D: Sutra Software IT 25 25,000 5,000 50,000

Step 1: weights, ownership and intensities

Stock Weight Vi/PVV_i/PV Ownership Vi/MCiV_i/MC_i Intensity Ei/RiE_i/R_i (t per ₹ crore)
A 0.30 30/10,000 = 0.0030 4,000
B 0.20 20/5,000 = 0.0040 4,000
C 0.25 25/50,000 = 0.0005 10
D 0.25 25/25,000 = 0.0010 10

Step 2: total carbon emissions

Stock Owned emissions ViMCiEi\frac{V_i}{MC_i}E_i Owned revenue ViMCiRi\frac{V_i}{MC_i}R_i
A 0.003 × 20,000,000 = 60,000 0.003 × 5,000 = 15
B 0.004 × 10,000,000 = 40,000 0.004 × 2,500 = 10
C 0.0005 × 100,000 = 50 0.0005 × 10,000 = 5
D 0.001 × 50,000 = 50 0.001 × 5,000 = 5
Total 100,100 tCO2e 35

Step 3: the other three metrics

CF=100,100100=1,001 tCO2e per crore investedCF = \frac{100{,}100}{100} = 1{,}001 \text{ tCO2e per crore invested} CI=100,10035=2,860 tCO2e per crore of revenueCI = \frac{100{,}100}{35} = 2{,}860 \text{ tCO2e per crore of revenue} WACI=0.30(4,000)+0.20(4,000)+0.25(10)+0.25(10)=2,005 tCO2e per crore of revenueWACI = 0.30(4{,}000) + 0.20(4{,}000) + 0.25(10) + 0.25(10) = 2{,}005 \text{ tCO2e per crore of revenue}

Exposure to carbon-related assets (TCFD: GICS energy and utilities, excluding water utilities and independent power and renewable producers): only A qualifies, so the exposure is ₹30 crore, or 30%. Cement is carbon-intensive, but it is classed as Materials and so falls outside this definition.

Why carbon intensity (2,860) differs from WACI (2,005)

Both are in tonnes per crore of revenue, but:

  • Carbon intensity weights each company by the revenue you own. You own a bigger slice of A and B (small market caps relative to your holding) than of C and D, so the dirty companies dominate.
  • WACI weights each company by portfolio weight. C and D are 50% of the money, which pulls the average down.

Neither is “right”. WACI answers “what kind of businesses is my money in?”. Carbon intensity answers “how efficient is the slice of the economy I own?”.

Step 4: a decarbonisation tilt

Sell ₹10 crore of A and buy ₹10 crore of D. Then A’s ownership is 0.002 (40,000 t owned) and D’s is 0.0014 (70 t owned).

Metric Before After Change
Total carbon emissions 100,100 80,120 −20.0%
Carbon footprint 1,001 801 −20.0%
WACI 2,005 1,606 −19.9%
Carbon-related exposure 30% 20% −10 pts

WACI after = 0.2(4,000) + 0.2(4,000) + 0.25(10) + 0.35(10) = 1,606. One trade of 10% of the portfolio cuts every metric by about 20%. That’s why low-carbon indices can cut WACI by half with modest tracking error. It is also why critics say portfolio decarbonisation is mostly reallocation, not real-world change.

Python

import pandas as pd

p = pd.DataFrame({
    "stock": list("ABCD"),
    "v": [30, 20, 25, 25], "mc": [10_000, 5_000, 50_000, 25_000],
    "rev": [5_000, 2_500, 10_000, 5_000],
    "e": [20_000_000, 10_000_000, 100_000, 50_000],
    "carbon_related": [True, False, False, False],
})

def metrics(p):
    pv = p.v.sum()
    own = p.v / p.mc
    tce = (own * p.e).sum()
    return {
        "TCE_t": tce,
        "CF_t_per_cr": tce / pv,
        "CI_t_per_cr_rev": tce / (own * p.rev).sum(),
        "WACI": ((p.v / pv) * p.e / p.rev).sum(),
        "carbon_related_pct": 100 * p.loc[p.carbon_related, "v"].sum() / pv,
    }

print(metrics(p))                       # 100100, 1001, 2860, 2005, 30
tilt = p.copy(); tilt.loc[0, "v"] -= 10; tilt.loc[3, "v"] += 10
print(metrics(tilt))                    # 80120, 801.2, ..., 1606, 20

↑ ↓ to move, Enter to open, Esc to close.