About the Stock Profit Tax Calculator
Enter what you paid and what you received, either as a price and quantity or as total amounts. The calculator works out whether the gain is long term or short term, the tax, and the profit left after tax. It uses Indian rules by default. To work out tax for another country, choose Another country and enter that country’s rates.
Formula
Profit after tax = Sale value − Purchase cost − Costs − Tax
- Every input is shown in the calculator above
How to use it
- Enter your tax rules, what did you sell?, enter it as.
- Read the profit after tax in the results panel. It updates as you type.
- Open the Compare, Chart and table tabs for more detail, then copy a link or download the figures.
How long you must hold
Rates are for FY 2026-27, before 4% cess. The rules for some funds depend on when you bought and what the fund holds, so check the fund’s tax note. Long term means held for more than the period shown.
| What you sold | Long term after | Long-term tax | Short-term tax |
|---|---|---|---|
| Shares listed in India | 12 months | 12.5% above ₹1.25 lakh | 20% |
| Equity mutual funds and ETFs | 12 months | 12.5% above ₹1.25 lakh | 20% |
| Debt funds bought from April 2023 | Never | Not applicable | Your slab rate |
| Gold, overseas and other funds | 24 months | 12.5% | Your slab rate |
| Unlisted Indian shares | 24 months | 12.5% | Your slab rate |
| US and other foreign shares | 24 months | 12.5% | Your slab rate |
If you hold US stocks from India
For an Indian resident, shares listed abroad are treated as unlisted shares. They need more than 24 months to be long term, and the ₹1.25 lakh exemption does not apply. The US generally does not tax a non-resident’s capital gains on shares, so the tax on your profit is paid in India.
Your gain is worked out in rupees, so currency movement counts. If the rupee weakens between purchase and sale, your rupee profit can be higher than the share price alone suggests, and you can even owe tax on a sale that made a small loss in dollars. Our US stocks guide explains dividends, TCS, foreign asset reporting and US estate tax.
What counts as a cost
- Brokerage, exchange fees and similar costs directly tied to the purchase or sale can reduce your gain.
- Securities transaction tax on listed shares and equity funds cannot be deducted.
- For a lot bought before 1 February 2018, grandfathering may let you use the 31 January 2018 market price as your cost. Enter that higher cost if it applies.
- Mutual fund NAVs are already after the fund’s own expenses, so those are not entered again.
Using another country’s rates
Choose Another country, pick a currency, and enter the short-term rate, the long-term rate and the number of months after which a holding counts as long term. Add any tax-free allowance, and any levy charged on top of the tax. The calculator applies exactly what you enter, and does not know any other country’s law, so check those rates with an official source.
Many countries tax their residents on worldwide gains, and treaties may decide who taxes what. Where you are tax resident usually matters more than where the shares are listed.
What this calculator leaves out
- Setting off losses against other gains.
- The use of an unused basic exemption limit, which can lower tax for residents with little other income.
- Intraday and futures and options trades, which are treated as business income.
- Indexation, which is not available on these assets at current rules.
- Income tax on dividends from Indian shares and funds, which is taxed separately at your slab rate.
What changes this result most
With the values shown in the calculator, Profit after tax comes to ₹50,000. These are the inputs that move it most when each is raised by about 10% on its own.
| If you change | Change | Profit after tax |
|---|---|---|
| Selling price per unit | ₹1,500 to ₹1,650 | ₹65,000 |
| Buying price per unit | ₹1,000 to ₹1,100 | ₹40,000 |
| Quantity | 100 to 110 | ₹55,000 |
What the inputs mean
- Quantity: Fractions are allowed, as many US brokers sell part-shares.
- Your income tax slab: Used for gains that are taxed at your slab rate.
- Rupees per dollar when bought: Use the SBI TT buying rate for the end of the month before you bought.
- Rupees per dollar when sold: Use the SBI TT buying rate for the end of the month before you sold.
- Tax-free long-term gain: Enter 0 if there is none.
- Any further levy on the tax: For example, a surcharge charged as a percentage of the tax.
- Costs when selling: Securities transaction tax cannot be deducted in India, so leave it out.
- Long-term equity gains already made this year: This reduces the ₹1.25 lakh yearly exemption.
- Surcharge on your income: Generally 0, unless total income is above ₹50 lakh. It is capped at 15% on special-rate gains.
- US tax withheld on dividends: 25% with a W-8BEN on file, and 30% without.
Frequently asked questions
Is cess included?
Yes, under Indian rules 4% cess is included. Surcharge is included only if you enter it.
Does this work for one trade or many?
It works out one holding at a time. If you made several purchases, enter the totals, or work out each lot on its own, since each purchase has its own holding period.
Are my numbers stored?
No. Everything is calculated in your browser, and your figures are not sent to us.
Is this financial advice?
No. It is an estimate for information only. Please check important decisions with a qualified professional.
Which year does this cover?
The current rules for FY 2026-27 unless the page says otherwise.
Can I use this for filing my return?
Use it to estimate and plan. Your filing should be based on your documents and the official utilities.
What if I bought shares in several lots?
Shares sold are treated as the oldest bought first. Each lot has its own purchase price and holding period, so work out each one separately for an exact figure.
Is the ₹12 lakh rebate available on these gains?
The rebate under the new regime does not reduce tax on gains taxed at special rates, such as listed equity gains.
Which exchange rate applies to US shares?
The rules refer to the State Bank of India telegraphic transfer buying rate at specified dates. Practice can vary on some details, so check the rate and method with a tax professional for large amounts.
Do I need to pay this tax immediately?
It is reported in your return for the year of sale. If your total tax after TDS is ₹10,000 or more, advance tax rules can apply.
Last updated 9 November 2026. Results are estimates for information only and are not financial, tax or legal advice. Please check figures with your lender, adviser or the official source before you act. Everything you enter is calculated on your device and is not sent to us.