How to calculate sector allocation and read a portfolio breakdown

Build a current-value sector breakdown, handle unclassified holdings, and distinguish sector weights from profit contribution and whole-wealth exposure.

By HoldingsTracker Pro · Organization author

Product documentation and worked examples for the HoldingsTracker Pro browser extension. No investment recommendations.

Published · Updated

A sector allocation chart groups holdings by business category and measures each group's share of a defined portfolio. Its most useful job is to reveal where current exposure sits. It does not tell you which sector will outperform, and an evenly coloured chart is not evidence that the investments are safe.

Before reading a percentage, identify both the classification system and the denominator. “Banking is 30%” is incomplete if you do not know whether that means 30% of current stock value, original purchase cost, or all assets including cash and funds.

Choose one value convention

For a current-exposure view, calculate each holding's marked value as quantity multiplied by its snapshot price. Add the values within each sector, then divide each sector total by the total value of all included holdings:

Sector weight = sector current value ÷ included portfolio current value × 100

This is a calculation on a snapshot, not a prediction. Cost allocation can be useful for another question—where the original purchase money went—but label it separately. Switching between cost and current value changes the answer even when the security list is unchanged.

Worked example: preserve the missing classification

Consider this fictional ₹2,00,000 stock portfolio, using current market values:

Category Included holdings Value Weight
Financial services Cedar Bank and Pine Finance ₹60,000 30%
Information technology Lake Software ₹50,000 25%
Consumer staples Meadow Foods ₹40,000 20%
Healthcare Orchard Health ₹30,000 15%
Unclassified One unmapped security ₹20,000 10%
Total ₹2,00,000 100%

Financial services weight is ₹60,000 ÷ ₹2,00,000 × 100 = 30%. The values and weights reconcile exactly. If the unclassified security is silently dropped, the denominator becomes ₹1,80,000 and financial services appears to rise to 33.33%—without any price change or trade.

Keep an explicit unclassified bucket until the mapping can be checked. Unknown data is not the same as zero exposure. If you intentionally show classified holdings only, display that scope prominently and disclose the excluded value.

Understand what a category hides

Sector and sub-sector labels can vary between data providers. A lender, insurer, and exchange may all sit inside financial services while having different revenue drivers. Conversely, companies in different sectors may share dependence on borrowing costs or household demand.

Use a sector total to decide where to inspect further, then look at individual weights and the classification date. Zerodha's sector visualisation introduction describes examining portfolio distribution by industry. It is a primary reference for that broker feature, not evidence that any particular mix is optimal.

Add outside assets without inventing look-through data

If the same person also holds ₹50,000 cash, the stock portfolio is still ₹2,00,000, but the combined stocks-plus-cash denominator is ₹2,50,000. Financial services is now 24% of that wider total. Both 30% and 24% can be correct when the labels disclose the scope.

A fund holding may contain companies you also own directly. An honest look-through calculation requires the fund's underlying weights and their effective date. Zerodha discusses overlapping underlying fund exposures; do not assume the extension performs that analysis or that a fund's entire value belongs to one operating sector. Without suitable data, show funds separately.

Separate allocation from profit contribution

A sector worth 30% of the portfolio need not produce 30% of the gain. Allocation uses current value; P&L contribution uses changes relative to the relevant cost or period. A small holding with a large percentage gain can contribute less money than a large holding with a modest gain.

Nor does today's weight show how allocation evolved. Price movement, new money, sales, and reclassification can all change the chart. Read snapshot versus history before interpreting a single breakdown as a trend.

Apply the chart to a focused review

HoldingsTracker Pro's portfolio insights offer sector and sub-sector views in the current broker workflow; consult pricing for access details and the sector-allocation feature page for scope. Explore the fictional portfolio demo to see how sector weights work. These are current insights, not historical allocation storage or a whole-wealth audit. Record scope and unknown categories, then use the concentration guide for a simple exposure stress test. HoldingsTracker Pro is independent of Zerodha. No sector limit in this guide is a recommendation, and the examples are not investment or tax advice.

Primary sources

Sources support the broker-specific context. Worked examples use fictional inputs and independent arithmetic, not investment recommendations.