TL;DR
What transfer expenses are
Every time you buy or sell a share, you pay more than the share price. Your broker, the exchange and the government each take a small charge.
When you work out a capital gain, the law lets you subtract costs paid wholly and only in connection with the sale. These are called transfer expenses. Costs paid at the time of buying are added to your purchase cost instead. Either way, they make your gain smaller.
Charges you can deduct
These are paid trade by trade, and each one is tied to a specific purchase or sale:
Brokerage: your broker's fee for the trade.
Exchange transaction charges: the stock exchange's fee.
SEBI turnover fee: a small fee to the market regulator, the Securities and Exchange Board of India (SEBI).
Stamp duty: charged on the buy side, so it is added to your purchase cost.
Goods and services tax (GST): charged on brokerage and exchange charges.
Why STT is left out
Securities transaction tax (STT) is a tax on the value of every trade on a stock exchange. For delivery trades in shares, it is charged on both the purchase and the sale.
The law says plainly that STT cannot be deducted when a capital gain is worked out. It is not part of your purchase cost and not a transfer expense. In return, paying STT is what makes listed shares and equity funds eligible for the lower capital gains rates.
STT is deductible if your market income is taxed as business income, as it is for traders. For an investor reporting capital gains, it is not.
Did you know?
Costs that don't count
Some costs come with investing but are not tied to any one sale. They cannot be deducted from a capital gain:
Annual maintenance charges for your demat account.
Account opening fees.
Subscriptions to research, charts or advisory services.
Your phone, internet and device costs.
A worked example
Example
Example
Vikram sells 100 shares he bought at ₹500.
Sale value: 100 × ₹650 = ₹65,000
Less purchase cost: 100 × ₹500 = ₹50,000
Less charges on the purchase (brokerage, stamp duty, GST): ₹100
Less charges on the sale (brokerage, exchange charges, GST): ₹100
Capital gain: ₹14,800
Vikram also paid STT of ₹115: 0.1% of ₹50,000 (₹50) and 0.1% of ₹65,000 (₹65). It is not deducted.
The amounts are small on one trade. Over a year of buying and selling they add up, and leaving them out means paying tax on money you never made.
Where to find the numbers
Two documents carry these figures:
Contract note: sent by your broker for every trading day. It lists brokerage, exchange charges, SEBI fee, stamp duty, GST and STT separately.
Tax profit and loss statement: your broker's yearly summary. Most show total charges with STT as a separate line, so you can leave it out.
Check whether your statement's gain figure is already net of charges. If it is, don't subtract them a second time.
Key takeaways
A cost counts only if you paid it to complete that particular purchase or sale.
STT is never deducted from a capital gain, on the buy side or the sell side.
Your contract note lists every charge on a trade, one line each.
General information, not tax advice. Rules change, so check with a CA before you act.