How to Calculate Capital Gains Tax on Multiple Share Transactions in India

Investing in shares often involves multiple purchases and sales during a financial year. An investor may buy the same company’s shares several times at different prices and sell them in different quantities. Calculating capital gains tax in such situations can be confusing because each transaction may have a different purchase cost, holding period and profit or loss.

In India, capital gains tax is calculated on the profit earned from selling shares, not on the total sale value. When multiple transactions are involved, investors must calculate gains and losses, identify short-term and long-term holdings, and apply the relevant tax rules.

This article explains how to calculate capital gains tax on multiple share transactions with practical examples.

capital gains tax

What Are Capital Gains on Shares?

Capital gains arise when an investor sells shares for more than their purchase cost. If the selling price is lower than the purchase cost, the investor makes a capital loss.

There are two main types of capital gains:

  • Short-Term Capital Gain (STCG): Profit from selling shares held for a short period.
  • Long-Term Capital Gain (LTCG): Profit from selling shares held for a longer period.

For listed equity shares in India, the general holding-period classification is:

Holding Period Capital Gain Type
Up to 12 months Short-term
More than 12 months Long-term

The holding period is calculated separately for each purchase lot. Therefore, shares of the same company can have both short-term and long-term capital gains when sold.

How to Calculate Capital Gains on Multiple Share Transactions

When an investor makes several share transactions, each purchase and sale must be considered while calculating the overall capital gain.

The basic formula is:

Capital Gain = Net Sale Consideration − Cost of Acquisition − Eligible Transfer Expenses

For accurate calculations, follow these steps.

Identify all purchase transactions

Collect details of every share purchase, including:

  • Company name
  • Purchase date
  • Number of shares
  • Purchase price
  • Brokerage and eligible charges

Identify all sale transactions

Record the selling date, number of shares sold, selling price and eligible transaction expenses.

Match purchases with sales

If shares are purchased on different dates, identify which purchase lots are being sold. For shares held in a demat account, the FIFO (First In, First Out) method generally applies.

Calculate profit or loss

Calculate the gain or loss for each matched purchase lot separately.

Classify gains as short-term or long-term

Check the holding period of each lot before applying the relevant tax rate.

Example: Calculating Capital Gains on Multiple Share Purchases

Suppose an investor purchases shares of ABC Ltd. at different prices and sells some of them later.

The transactions are:

Transaction Date Quantity Price per Share
First purchase 10 January 2025 100 ₹100
Second purchase 15 February 2026 100 ₹150
Sale 20 December 2026 150 ₹200

Total sale value: 150 × ₹200 = ₹30,000.

Under FIFO, the first 100 shares purchased are considered sold first.

The calculation will be:

Particulars First Lot Second Lot
Shares sold 100 50
Purchase price ₹100 ₹150
Selling price ₹200 ₹200
Purchase cost ₹10,000 ₹7,500
Sale value ₹20,000 ₹10,000
Capital gain ₹10,000 ₹2,500
Classification LTCG STCG

Total capital gain = ₹12,500.

The first lot qualifies as long-term because it was held for more than 12 months. The second lot qualifies as short-term because it was held for less than 12 months.

This example shows why investors should not calculate gains using only the average purchase price when different holding periods are involved.

What Is the FIFO Method in Share Transactions?

FIFO stands for First In, First Out. It is the standard method used to identify shares sold from a demat account.

Under this method, the shares purchased first are treated as sold first, regardless of which purchase lot the investor intended to sell.

For example, if an investor purchases 50 shares in January, another 50 in March and sells 60 shares in June, the calculation will include:

  • 50 shares from the January purchase.
  • 10 shares from the March purchase.

FIFO is important because it determines both the purchase cost and holding period of shares sold.

Capital Gains Tax Rates on Shares in India

For eligible listed equity shares where Securities Transaction Tax (STT) conditions are satisfied, the applicable rates for transfers on or after 23 July 2024 are:

Type of Gain Tax Rate
Short-term capital gain 20%
Long-term capital gain 12.5%
Annual LTCG exemption limit ₹1,25,000

The ₹1.25 lakh exemption applies to the aggregate eligible long-term capital gains during the financial year, not separately to each company or transaction.

For example, if an investor earns ₹1,80,000 in eligible LTCG from multiple share sales, the taxable amount is:

₹1,80,000 − ₹1,25,000 = ₹55,000.

Tax at 12.5% = ₹6,875, before applicable cess and surcharge.

The exemption is not available separately for every share or every sale transaction.

How to Adjust Capital Gains and Losses

When an investor makes multiple transactions, some shares may generate profits while others may result in losses. These gains and losses can be adjusted according to applicable income tax rules.

The general set-off rules are:

  • Short-term capital loss (STCL): Can be adjusted against both short-term and long-term capital gains.
  • Long-term capital loss (LTCL): Can be adjusted only against long-term capital gains.
  • Unadjusted capital losses: Eligible losses can generally be carried forward for up to eight assessment years if the income tax return is filed within the prescribed due date.

For example, if an investor earns ₹40,000 in STCG and incurs ₹15,000 in STCL, the net short-term gain will be ₹25,000.

Similarly, long-term capital losses must be adjusted against eligible long-term gains before calculating the final taxable amount.

Which Expenses Can Be Considered?

Certain expenses directly related to purchasing or selling shares can be considered while calculating capital gains.

These may include:

  • Brokerage charges.
  • Eligible transaction expenses.
  • Other expenses directly connected with the transfer.

However, Securities Transaction Tax (STT) cannot be claimed as a deduction while calculating capital gains.

Investors should check their broker’s contract notes and transaction statements to identify the eligible expenses.

How to Report Multiple Share Transactions in ITR

Investors must report their capital gains correctly while filing their Income Tax Return (ITR).

The following steps can help:

  • Download the capital gains report from the stockbroker.
  • Collect purchase and sale transaction details.
  • Match transactions using the FIFO method.
  • Separate short-term and long-term gains.
  • Calculate eligible capital losses and set-offs.
  • Check the Annual Information Statement (AIS) and Taxpayer Information Summary (TIS).
  • Enter the consolidated capital gains figures in the appropriate schedules of the applicable ITR form.

Investors should also maintain purchase statements, sale contract notes, demat statements and bank records for future reference.

Do not report the total selling value as capital gains. Only the calculated profit or loss should be reported in the relevant capital gains schedules.

Common Mistakes to Avoid

Investors often make mistakes while calculating capital gains from multiple share transactions.

Some common mistakes include:

  • Using average purchase prices instead of applying FIFO.
  • Treating all share profits as long-term gains.
  • Ignoring holding periods of individual purchase lots.
  • Forgetting to adjust eligible capital losses.
  • Claiming STT as a deduction.
  • Applying the ₹1.25 lakh LTCG exemption separately to different companies.
  • Reporting incorrect purchase or sale values in the ITR.

These mistakes can lead to incorrect tax calculations and possible notices from the Income Tax Department.

Conclusion

Calculating capital gains tax on multiple share transactions requires proper tracking of purchase dates, selling prices, quantities and holding periods. Investors should calculate gains separately for each purchase lot using the FIFO method and classify them as short-term or long-term.

The most important step is to calculate the consolidated annual capital gains after adjusting eligible losses and applying the relevant tax rates and exemptions. Maintaining accurate broker statements and demat records can make tax calculations and ITR filing much easier.

How to Calculate Capital Gains Tax on Multiple Share Transactions in India

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top