How to Calculate STCG on Shares
STCG = sale value − purchase cost − brokerage, taxed at 20% for STT-paid equity.
Quick Answer
Example: you bought shares for ₹1,00,000 and sold within 12 months for ₹1,40,000, paying ₹500 brokerage. STCG = 1,40,000 − 1,00,000 − 500 = ₹39,500. Tax at 20% = ₹7,900 plus 4% cess ₹316 = ₹8,216.
Formula
Sale − cost − transfer expenses.
Example
₹39,500 × 20% = ₹7,900 + cess.
Exclusions
STT is not deductible.
Multi-line example
| Scrip | Buy | Sell | Expenses | Gain |
|---|---|---|---|---|
| A | ₹1,00,000 | ₹1,40,000 | ₹500 | ₹39,500 |
| B | ₹80,000 | ₹70,000 | ₹400 | −₹10,400 |
| C | ₹60,000 | ₹95,000 | ₹450 | ₹34,550 |
Net STCG = ₹39,500 − ₹10,400 + ₹34,550 = ₹63,650; tax 20% = ₹12,730 plus cess = ₹13,239.
Do not deduct
STT paid is not an allowed expense. Brokerage and exchange charges attributable to the sale are.
Practical Checklist
- List each sale.
- Match purchase lots (FIFO).
- Compute gain.
- Apply 20%.
- Report.
Use the Relevant EZTax Tool
For this calculation, start with Capital Gains Indexation Calculator. The question page explains the inputs and logic; the calculator or tool is where you should enter your actual figures.
Common Mistakes
- Using the wrong tax year or mixing AY and TY terminology.
- Using gross receipts or salary as taxable income without considering the applicable computation rules.
- Applying a deduction or exemption without checking whether it is available under the selected regime.
- Ignoring special tax rates, surcharge, cess or tax credits.
- Relying on AIS/TDS data as the only source instead of reconciling all relevant records.
Why a Calculator Is Useful
A calculator makes assumptions visible and reduces arithmetic errors, but it does not replace checking the legal classification of the income or transaction. For complex cases, compare the result with Form 16, AIS, Form 26AS, broker statements, books, challans or other source documents.
Frequently Asked Questions
Is STT deductible?
No.
Is intraday STCG?
No, speculative business income.
Related EZTax Questions
- How to Calculate LTCG on Shares
- How to Calculate Capital Gains on Mutual Funds
- How to Calculate Capital Gains on Sale of Property


