How to Calculate Capital Gains Tax on Stocks?

If you invest in shares, one thing you simply cannot ignore is capital gains tax on stocks. Many investors focus only on profits but forget that a part of those gains must be shared with

Written by: Editorial Team

Published on: March 6, 2026

If you invest in shares, one thing you simply cannot ignore is capital gains tax on stocks. Many investors focus only on profits but forget that a part of those gains must be shared with the government. The good news? Calculating it is not as complicated as it sounds.

This quick guide will help you understand how to calculate tax on your stock market profits in a simple and practical way.

What Is Capital Gains Tax?

Capital gains tax is the tax you pay on the profit earned from selling a capital asset. In this case, the asset is shares listed on a stock exchange.

In simple terms:

Selling Price – Purchase Price = Capital Gain

If the result is positive, you have made a gain and may need to pay tax. If it is negative, you have incurred a capital loss.

 

When it comes to capital gains tax on stocks, the tax rate depends mainly on how long you held the shares before selling them.

Step 1: Identify the Holding Period

The first thing you need to check is how long you held the shares.

In India, listed shares are classified as:

 

  • Short-Term Capital Asset (STCG): Shares held for 12 months or less
  • Long-Term Capital Asset (LTCG): Shares held for more than 12 months

 

This classification is important because tax treatment is different for short-term and long-term gains.

Step 2: Calculate Your Capital Gain

Now, calculate your profit using this simple formula:

 

Capital Gain = Sale Price – Purchase Price – Expenses

 

Also Read  No Minimums, No Drama: Opening a Zero Balance Account Online

Expenses may include:

  • Brokerage charges
  • Securities Transaction Tax (STT)
  • Stamp duty
  • Transaction charges

 

For example:

  • You bought shares worth ₹1,00,000
  • You sold them for ₹1,40,000
  • Total expenses were ₹2,000

 

Your taxable capital gain:

₹1,40,000 – ₹1,00,000 – ₹2,000 = ₹38,000

This ₹38,000 is your capital gain.

Step 3: Apply the Correct Tax Rate

Now comes the important part — applying the correct tax rate under capital gains tax on stocks.

Short-Term Capital Gains (STCG)

If you sold shares within 12 months:

  • Tax rate is 15%
  • Plus applicable surcharge and cess

 

Example:

If your short-term gain is ₹50,000:

15% of ₹50,000 = ₹7,500

Add 4% health and education cess = ₹300

Total tax = ₹7,800

Long-Term Capital Gains (LTCG)

If you sold shares after holding them for more than 12 months:

 

  • Gains up to ₹1 lakh in a financial year are exempt
  • Gains above ₹1 lakh are taxed at 10% (without indexation)

 

Example:

If your long-term gain is ₹1,80,000:

Exempt amount = ₹1,00,000

Taxable amount = ₹80,000

10% of ₹80,000 = ₹8,000

Add 4% cess = ₹320

Total tax = ₹8,320

This is how long-term tax is calculated.

What About Capital Loss?

Not every trade gives a profit. Sometimes you may incur a loss.

The good part? Losses can reduce your tax burden.

Short-Term Capital Loss

  • Can be set off against both short-term and long-term gains.

Long-Term Capital Loss

  • Can only be set off against long-term gains.

 

If losses remain unused, they can be carried forward for 8 assessment years, provided you file your income tax return on time.

Also Read  What are the Regulatory Frameworks and Safety Measures in Crypto Exchanges?

 

This adjustment helps reduce your overall capital gains tax on stocks.

Special Points You Should Know

1. Securities Transaction Tax (STT) Must Be Paid

The concessional tax rates (15% and 10%) apply only if STT has been paid on both the purchase and sale of shares.

2. No Indexation Benefit

Unlike some other assets, like property, long-term gains on listed shares do not get the indexation benefit. The tax is simply 10% above ₹1 lakh.

3. Grandfathering Rule (For Older Investments)

For shares purchased before 31 January 2018, special grandfathering provisions apply. The cost of acquisition may be adjusted based on the fair market value as of that date. This was introduced when the LTCG tax was reintroduced on equities.

If you have very old investments, it is wise to check those rules carefully.

How to Report It in Your Income Tax Return?

Capital gains from shares must be reported under the “Capital Gains” head while filing your income tax return.

 

You will need:

 

  • Purchase and sale dates
  • Purchase and sale value
  • Capital gain calculation
  • Details of losses (if any)

 

Ensure the figures match your annual statement and tax reports.

Simple Example Covering Everything

Let’s take a combined example:

 

  • Short-term gain: ₹40,000
  • Long-term gain: ₹1,50,000

 

Step 1: Apply LTCG exemption

₹1,50,000 – ₹1,00,000 = ₹50,000 taxable

Tax on LTCG: 10% of ₹50,000 = ₹5,000

Step 2: Tax on STCG

15% of ₹40,000 = ₹6,000

Total tax = ₹11,000

Add 4% cess = ₹440

Final tax payable = ₹11,440

 

That’s your total liability under capital gains tax on stocks.

Also Read  How Blockchain Technology Is Transforming Finance and Beyond

Final Thoughts

Understanding capital gains tax on stocks is essential if you want to invest smartly. Many investors only look at returns but forget about post-tax returns. Even a small difference in holding period can significantly change how much tax you pay.

 

Here’s a quick recap:

 

  • Check the holding period
  • Calculate actual gain after expenses
  • Apply the correct tax rate
  • Adjust losses if available
  • Claim exemption up to ₹1 lakh for LTCG
  • File returns properly

 

Once you understand the basics, calculating tax becomes straightforward. A little awareness can help you plan better, hold investments wisely, and legally reduce your tax burden.

 

Invest smart, calculate carefully, and always think in terms of post-tax profits — because what truly matters is what stays in your pocket.

 

Leave a Comment

Previous

Savings Plan or ‘Hide Money from Me’ Plan? Here’s How to Win!

Next

Growth vs Value Investing: Which Strategy Is Better?