Stock profit calculator with Indian charges and capital gains tax
A share bought at ₹1,250 and sold at ₹1,450 did not make you exactly ₹200 a share. Brokerage, securities transaction tax (STT), exchange charges, the SEBI fee, stamp duty, GST and the depository charge all come off — and then there is tax. This stock profit calculator works out the real net profit on a sale, the return on what you put in, the annualised return, the break-even sell price and, for Indian shares, an estimate of short- and long-term capital gains tax.
Add every purchase as a separate lot: the calculator matches the shares you sell first in, first out (or at your average price), splits them into short- and long-term, applies the ₹1.25 lakh long-term exemption and handles shares bought before 1 February 2018. For US, UK or other exchanges choose Other market and enter your own fees and tax rates.
How to use the Stock Profit Calculator
- Choose India (NSE / BSE) or Other market; for India pick delivery or intraday and the exchange.
- Enter each purchase — date, number of shares and price — with Add a buy for more lots.
- Enter the sell date, the shares sold and the sell price.
- Set your brokerage (zero, flat, a percentage or a capped percentage) and DP charge, or your fees for another market.
- Read the net profit, return, break-even price and charges; check the tax estimate and the lot-by-lot table.
Stock Profit Calculator features
Every Indian charge
STT, exchange charges, SEBI fee, stamp duty, GST and DP charges on both sides.
Multiple lots
FIFO or average buy price, with the shares still held and their cost.
Capital gains estimate
Short-term 20%, long-term 12.5% above ₹1.25 lakh, loss set-off, surcharge and cess, under the Income-tax Act, 2025.
Grandfathering
Shares bought before 1 February 2018 use the 31 January 2018 high as cost where it helps.
Break-even and annualised return
The sell price that covers every charge, and the XIRR of the lots sold.
Worked example: three lots, one sale
Bought 400 shares at ₹1,250 on 10 June 2024, 300 at ₹1,180 on 5 March 2025 and 300 at ₹1,320 on 20 February 2026 (NSE, delivery, zero brokerage, ₹13 DP charge). Sold 800 at ₹1,450 on 14 October 2026.
FIFO sells the first two lots and 100 shares of the third. Their cost is ₹9,86,000 plus ₹1,170.78 of buy-side charges; the sale brings ₹11,60,000 less ₹1,218.73 of charges (₹1,160 of it STT). Net profit is ₹1,71,610.49 — 17.38% on cost and 8.96% a year (XIRR). The break-even sell price is ₹1,235.26. The first two lots are long-term (₹1,60,789 of gains); after the ₹1,25,000 exemption, ₹35,789 is taxed at 12.5% (₹4,474). The 100 newer shares give ₹12,968 of short-term gain at 20% (₹2,594). With 4% cess the tax is about ₹7,350. With the average-price method the profit shown is ₹1,57,593.86, but tax is still worked out on FIFO.
Charges on Indian equity trades (October 2026)
Sources: NSE circular NSE/FATAX/73524 (31 March 2026 — cash-market STT unchanged; futures and options STT raised from 1 April 2026), NSE circular NSE/FA/73061 (27 February 2026, transaction charges), SEBI circular of 18 July 2022 (GST on SEBI fees), CDSL tariff from 1 October 2024. Brokerage and DP charges vary by broker — enter yours.
| Charge | Delivery | Intraday |
|---|---|---|
| Securities transaction tax | 0.1% on buy and sell | 0.025% on sell |
| Stamp duty (buyer) | 0.015% | 0.003% |
| Exchange transaction charges | NSE 0.00307% (₹307 a crore), BSE 0.00375% | Same |
| SEBI turnover fee | ₹10 a crore (0.0001%) | Same |
| GST | 18% on brokerage, exchange, SEBI and DP charges | Same |
| DP charge | Per stock, per day you sell (e.g. CDSL ₹3.50 + broker fee) | None |
Capital gains tax on shares under the Income-tax Act, 2025
From 1 April 2026 the Income-tax Act, 2025 replaced the 1961 Act with the same rates. Listed shares held 12 months or less are short-term: 20% under section 196 (formerly 111A). Held more than 12 months they are long-term: 12.5% on gains above ₹1,25,000 a year under section 198 (formerly 112A). A share bought on 14 October 2025 and sold on 14 October 2026 is still short-term; sold a day later it is long-term. STT cannot be deducted, a short-term loss can reduce long-term gains but not the other way round, and unused losses carry forward for 8 years. Demat shares are matched first in, first out (section 67(7)(c), formerly 45(2A)). Intraday profit is speculative business income taxed at your slab rate.
Grandfathering: for shares bought before 1 February 2018 the cost is the higher of the price paid and the lower of the 31 January 2018 high and the sale price. Bought at ₹500, high of ₹800 on 31 January 2018, sold at ₹1,000: cost is ₹800 and the gain ₹200 a share. Sold at ₹700 instead: cost becomes ₹700, so there is no gain and no loss. For mutual funds use the mutual fund calculator; to combine this tax with your salary, the income tax calculator; for a long holding with SIP-style buys, the XIRR calculator.
Stock Profit Calculator FAQ
How do I calculate profit on shares after charges?
Net profit = shares sold × sell price − sell-side charges − (shares × buy price + buy-side charges). The stock profit calculator adds brokerage, STT, exchange charges, SEBI fee, stamp duty, GST and DP charges for you.
What is the tax on share profit in India for 2026-27?
Shares held 12 months or less: 20% (section 196). Held longer: 12.5% on gains above ₹1.25 lakh in the tax year (section 198). Add 4% cess, and surcharge of up to 15% on high incomes. Intraday profit is taxed at your slab rate.
Is STT deductible from capital gains?
No. Brokerage, exchange charges, stamp duty and GST form part of the cost or sale expenses, but securities transaction tax is not deductible from capital gains. It is deductible when trading is taxed as business income.
Does India use FIFO or average price for shares?
For shares in a demat account the law (section 67(7)(c) of the Income-tax Act, 2025) fixes cost and holding period first in, first out. Brokers often display an average price; the calculator shows profit on the method you choose and always estimates tax on FIFO.
What is the break-even sell price?
The price at which the sale exactly covers what you paid plus all buy and sell charges, so net profit is zero.
Is this tax figure final?
No — it is an estimate for one sale. Your total tax depends on all your gains and losses in the year, your income and surcharge. Nothing you enter leaves your browser; it is not tax or investment advice.