How To Calculate Capital Gains Tax On Shares In India

Capital Gains Tax Calculator for Indian Shares

Module A: Introduction & Importance

Capital gains tax on shares in India is a crucial financial consideration for every investor. Whether you’re a seasoned trader or a first-time investor, understanding how to calculate capital gains tax can significantly impact your net returns. This tax applies when you sell shares at a profit, and the rate depends on how long you’ve held the shares (holding period) and your tax regime.

The Indian Income Tax Act categorizes capital gains into two types:

  • Short-Term Capital Gains (STCG): When shares are sold within 12 months of purchase
  • Long-Term Capital Gains (LTCG): When shares are sold after 12 months of holding
Indian investor analyzing capital gains tax calculation on laptop with stock market charts

Since April 2018, LTCG exceeding ₹1 lakh is taxed at 10% without indexation benefits. STCG is taxed at 15% regardless of your income tax slab. Our calculator helps you:

  1. Determine your exact holding period
  2. Calculate precise capital gains
  3. Apply correct tax rates based on current laws
  4. Account for all deductible expenses
  5. Compare results under old vs new tax regimes

Module B: How to Use This Calculator

Step 1: Enter Purchase Details

Begin by entering the total purchase price of your shares in Indian Rupees. This should be the actual amount you paid to acquire the shares, including any initial brokerage fees if you want to account for them separately.

Step 2: Enter Sale Details

Input the sale price you received when selling the shares. The calculator automatically considers the sale date to determine your holding period, which is critical for classifying your gains as short-term or long-term.

Step 3: Add Expenses

Include all transaction-related expenses:

  • Brokerage fees (both purchase and sale)
  • Securities Transaction Tax (STT)
  • Stamp duty charges
  • Any other directly related expenses

Step 4: Select Tax Regime

Choose between:

  • Old Regime: Allows deductions under Section 80C, 80D etc.
  • New Regime: Lower tax rates but fewer deductions (default since FY 2023-24)

Step 5: Review Results

The calculator provides:

  • Holding period classification
  • Capital gain type (STCG/LTCG)
  • Precise tax calculation
  • Net amount after tax
  • Visual breakdown via chart

Module C: Formula & Methodology

The calculator uses the following precise methodology aligned with Income Tax Act, 1961 provisions:

1. Holding Period Calculation

Holding Period = Sale Date – Purchase Date

Classification:

  • ≤ 12 months: Short-Term Capital Asset
  • > 12 months: Long-Term Capital Asset

2. Cost of Acquisition

Total Cost = (Purchase Price + Brokerage + Other Expenses)

3. Capital Gains Calculation

Capital Gains = (Sale Price – Brokerage) – Total Cost

4. Taxable Amount Determination

For LTCG:

  • First ₹1,00,000 is exempt (Section 112A)
  • Excess is taxable at 10% (without indexation)

For STCG:

  • Full amount taxable at 15% (Section 111A)

5. Tax Calculation

Tax Amount = Taxable Amount × Applicable Rate

6. Net Amount After Tax

Net Amount = Sale Price – (Tax Amount + Brokerage + Other Expenses)

Note: The calculator automatically applies the correct tax rate based on:

  • Holding period classification
  • Selected tax regime
  • Current financial year’s tax laws

Module D: Real-World Examples

Case Study 1: Short-Term Capital Gains

Scenario: Ramesh purchased 100 shares of Infosys at ₹1,500 per share on 15-May-2023 and sold them at ₹1,800 per share on 10-Nov-2023. Brokerage was ₹500 for both transactions.

Calculation:

  • Purchase Price: ₹1,50,000
  • Sale Price: ₹1,80,000
  • Holding Period: 179 days (STCG)
  • Capital Gains: ₹29,000 (₹1,80,000 – ₹1,50,000 – ₹1,000)
  • STCG Tax: ₹4,350 (15% of ₹29,000)
  • Net Amount: ₹1,75,650

Case Study 2: Long-Term Capital Gains (Below Exemption)

Scenario: Priya bought 50 shares of TCS at ₹2,000 per share on 01-Jan-2022 and sold at ₹2,800 on 15-Mar-2023. Total expenses were ₹3,000.

Calculation:

  • Purchase Price: ₹1,00,000
  • Sale Price: ₹1,40,000
  • Holding Period: 439 days (LTCG)
  • Capital Gains: ₹37,000 (₹1,40,000 – ₹1,00,000 – ₹3,000)
  • Taxable Amount: ₹0 (gains below ₹1 lakh exemption)
  • Tax: ₹0
  • Net Amount: ₹1,37,000

Case Study 3: Long-Term Capital Gains (Above Exemption)

Scenario: Amit purchased 200 shares of Reliance at ₹1,200 in April 2020 and sold at ₹2,800 in June 2023. Total expenses were ₹10,000.

Calculation:

  • Purchase Price: ₹2,40,000
  • Sale Price: ₹5,60,000
  • Holding Period: 1,157 days (LTCG)
  • Capital Gains: ₹3,10,000 (₹5,60,000 – ₹2,40,000 – ₹10,000)
  • Taxable Amount: ₹2,10,000 (₹3,10,000 – ₹1,00,000 exemption)
  • Tax: ₹21,000 (10% of ₹2,10,000)
  • Net Amount: ₹5,39,000

Module E: Data & Statistics

Comparison of STCG vs LTCG Tax Rates (FY 2023-24)

Parameter Short-Term Capital Gains (STCG) Long-Term Capital Gains (LTCG)
Holding Period ≤ 12 months > 12 months
Tax Rate (Old Regime) 15% (Section 111A) 10% (above ₹1 lakh)
Tax Rate (New Regime) 15% (no change) 10% (above ₹1 lakh)
Exemption Limit None ₹1,00,000 per FY
Indexation Benefit Not applicable Not available for shares
Surcharge 10-37% (based on income) 10-37% (based on income)
Health & Education Cess 4% 4%

Historical LTCG Exemption Limits

Financial Year Exemption Limit (₹) Tax Rate (%) Key Changes
2017-18 and earlier No tax on LTCG 0% Complete exemption under Section 10(38)
2018-19 onwards 1,00,000 10% Introduction of LTCG tax via Finance Act 2018
2020-21 1,00,000 10% No changes despite COVID-19
2021-22 1,00,000 10% Introduction of new tax regime option
2022-23 1,00,000 10% New regime becomes default
2023-24 1,00,000 10% No changes in Union Budget 2023

Source: Income Tax Department, Government of India

Module F: Expert Tips

Tax Planning Strategies

  1. Utilize the ₹1 lakh exemption: Time your sales to stay under the LTCG exemption limit when possible
  2. Tax-loss harvesting: Sell losing positions to offset gains (carry forward losses for 8 years)
  3. Hold for long-term: Convert potential STCG (15%) to LTCG (10%) by holding >12 months
  4. Use ELSS funds: Invest in tax-saving mutual funds for additional Section 80C benefits
  5. Gift to family: Transfer shares to family members in lower tax brackets (but beware of clubbing provisions)

Common Mistakes to Avoid

  • Ignoring brokerage and STT in cost calculations
  • Misclassifying holding period by even one day
  • Not accounting for corporate actions (bonus, splits)
  • Forgetting to add sale transaction costs
  • Assuming all equity investments qualify for LTCG benefits
  • Not maintaining proper purchase/sale records

Documentation Requirements

Maintain these records for at least 8 years:

  • Contract notes from broker
  • Bank statements showing transactions
  • Dematerialization statements
  • Proof of expenses (brokerage, STT)
  • Corporate action records
  • Previous years’ ITR acknowledgments

Special Cases

  • Inherited shares: Cost = FMV on date of inheritance
  • Gifted shares: Cost = Previous owner’s cost (if no consideration)
  • ESOPs: Taxed as perquisite at exercise, then capital gains on sale
  • REITs/InvITs: Different tax treatment (10% LTCG without exemption)
  • Foreign shares: Taxed as per DTAA provisions

Module G: Interactive FAQ

How is the 12-month holding period calculated exactly?

The holding period is calculated from the date of acquisition to the date of transfer (sale). Both dates are inclusive. For example:

  • Purchase on 15-Mar-2023, Sale on 14-Mar-2024 = 365 days (STCG)
  • Purchase on 15-Mar-2023, Sale on 15-Mar-2024 = 366 days (LTCG)

For bonus shares, the holding period starts from the date of allotment, not the original purchase date.

Can I set off capital losses against other income?

No, capital losses can only be set off against capital gains. However:

  • STCL can be set off against both STCG and LTCG
  • LTCL can only be set off against LTCG
  • Unabsorbed losses can be carried forward for 8 assessment years
  • Losses must be disclosed in ITR to carry forward

Pro tip: File your return before due date to carry forward losses even if you have no taxable income.

How does STT (Securities Transaction Tax) affect my capital gains?

STT is deductible from your taxable capital gains. Key points:

  • STT paid on purchase: Added to cost of acquisition
  • STT paid on sale: Deductible from sale consideration
  • Current STT rates: 0.01% on delivery trades, 0.025% on intraday
  • STT proof is required during assessments

Our calculator automatically accounts for STT when you include it in “Other Expenses”.

What’s the difference between old and new tax regimes for capital gains?

The tax rates for capital gains remain identical in both regimes:

  • STCG: 15% in both regimes
  • LTCG: 10% above ₹1 lakh in both regimes

However, the choice affects:

  • Your overall tax liability from other income sources
  • Availability of Chapter VI-A deductions (80C, 80D etc.)
  • Surcharge rates for high-income individuals

Use our calculator to compare which regime gives better overall tax savings.

How are capital gains from foreign shares taxed in India?

Foreign shares are taxed differently:

  • No STT benefit (Section 112A doesn’t apply)
  • STCG: Taxed at slab rates (can go up to 30%)
  • LTCG: 20% with indexation benefit
  • No ₹1 lakh exemption for LTCG
  • Foreign tax credit available if taxed abroad

Example: Selling US stocks like Apple or Tesla would be taxed at your income tax slab rate for STCG.

What happens if I don’t report capital gains in my ITR?

Non-disclosure can lead to:

  • Penalty of 50-200% of tax evaded (Section 270A)
  • Interest at 1% per month (Section 234A/B/C)
  • Prosecution in severe cases (Section 276C)
  • Difficulty in future loan applications
  • Problems with visa applications (for some countries)

The Income Tax Department receives data from stock exchanges via Annual Information Statement (AIS). Always report accurately.

How does the calculator handle corporate actions like bonuses and splits?

Our calculator uses these rules for corporate actions:

  • Bonus Shares: Cost is allocated as zero; holding period starts from allotment date
  • Stock Splits: Purchase price is adjusted proportionally; holding period remains same
  • Rights Issues: Treated as separate acquisition at rights price
  • Mergers: Cost of original shares carried forward to new entity

For precise calculations involving corporate actions, consult your broker’s consolidated account statement or a CA.

Leave a Reply

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