Free calculator · works on your device
Capital gains tax calculator for shares
In plain words
Enter when you bought and sold, the shares and the prices. Held for more than 12 months is long-term: 12.5% on gains above ₹1.25 lakh in the year. Held for 12 months or less is short-term: 20%. Both have 4% cess on top. Applies to listed shares and equity funds sold on the exchange with STT paid, by a resident.
For example, 500 shares bought at ₹500 and sold at ₹900 almost two years later, with ₹200 of costs, is a long-term gain of ₹1,99,800. After the ₹1.25 lakh exemption, ₹74,800 is taxed at 12.5%, which comes to ₹9,724 with cess.
Common questions
What counts as short-term and long-term for shares?
Listed shares and equity funds held for more than 12 months are long-term. Held for 12 months or less, the gain is short-term.
What is not included here?
Surcharge on high incomes, setting off losses, the unused basic exemption limit, intraday and F&O trades, and the special cost rule for shares bought before 1 February 2018.
Is STT deductible?
No. Securities transaction tax cannot be deducted from the gain. Brokerage and similar selling costs can.
Which rates does this use?
The rates for sales on or after 23 July 2024, checked in November 2026. Tax rules change, so confirm with a tax professional before filing.
An illustration, not a forecast or investment advice. This is an estimate, not tax advice.