Skip to content
Finduniya

Work out the tax on your IPO listing gain

Enter the price you paid in the IPO, the number of shares allotted, the price you sold at and how long you held them. The calculator shows whether the gain is short-term or long-term, how much of it is taxable and the tax including cess, line by line.

Your sale details

The final price you paid in the IPO.

Lots allotted × lot size.

Price at which you sold or plan to sell.

Optional. Do not include STT; it cannot be deducted.

How long did you hold the shares?

Count from the date the shares were allotted to the date of sale.

Only for long-term sales. Equity LTCG you have already booked this financial year uses up the ₹1.25 lakh exemption.

Tax breakdown

Short-term capital gain: 20% flat, plus 4% cess.

Purchase cost (issue price × shares)
₹14,850.00
Sale value (sale price × shares)
₹17,820.00
Capital gain
₹2,970.00
Taxable gain
₹2,970.00
Tax at 20%
₹594.00
Health and education cess at 4%
₹23.76
Estimated tax payable
₹617.76

Gain after this tax: ₹2,352.24

Surcharge, the basic exemption limit and any rebate are not included. Rates as understood for FY 2026-27; tax rules change, so verify with a tax adviser before filing.

When does a listing gain become taxable?

A is only a paper gain until you sell. Tax applies in the year you sell the shares. If you are allotted shares at ₹270 and the stock opens at ₹324, nothing is taxed on listing day itself. If you sell that day, or any day within the next 12 months, the profit is a short-term capital gain. If you hold for more than 12 months from the allotment date, it becomes a long-term capital gain.

Shares bought in an IPO and sold on a recognised stock exchange carry securities transaction tax (STT) on the sale. That is why they qualify for the special equity rates below rather than your income tax slab rate.

Current rates for listed equity shares

Capital gains tax rates on listed equity shares
Type of gainSold on or after 23 Jul 2024Sold before 23 Jul 2024
Short-term (held 12 months or less)20%15%
Long-term (held more than 12 months)12.5% above ₹1.25 lakh a year10% above ₹1 lakh a year

A 4% health and education cess is added to the tax worked out at these rates. Surcharge applies only at higher income levels and is not included here. The Income-tax Act, 2025 replaced the 1961 Act from 1 April 2026 and, as we understand it, kept these equity rates; confirm the current position with a tax adviser before you file.

Worked example: selling on listing day

You are allotted one lot of 55 shares at an issue price of ₹270 and sell all of them at ₹324 on listing day.

  1. Purchase cost: 55 × ₹270 = ₹14,850.
  2. Sale value: 55 × ₹324 = ₹17,820.
  3. Short-term capital gain: ₹17,820 − ₹14,850 = ₹2,970.
  4. Tax at 20%: ₹594. Cess at 4% of ₹594: ₹23.76.
  5. Estimated tax: ₹617.76, leaving ₹2,352.24 of the gain.

These are the figures the calculator above opens with, so you can follow each line.

Worked example: holding for more than a year

Say you hold 550 shares bought at ₹270 for 14 months and sell at ₹570, a gain of ₹300 a share or ₹1,65,000 in total, with no other long-term equity gains that year.

  1. Exemption: the first ₹1,25,000 of long-term gains in the year is tax-free.
  2. Taxable gain: ₹1,65,000 − ₹1,25,000 = ₹40,000.
  3. Tax at 12.5%: ₹5,000. Cess at 4%: ₹200.
  4. Estimated tax: ₹5,200.

If you had already booked ₹1,00,000 of long-term gains on mutual funds that year, only ₹25,000 of exemption would be left and the taxable gain would rise to ₹1,40,000.

What this calculator does not cover

  • Surcharge for high incomes, and non-resident rules such as TDS on sale.
  • Adjusting gains against an unused basic exemption limit, and any rebate.
  • Treating frequent trading as business income, which is taxed at slab rates.
  • Shares sold off-market, where STT is not paid and different rules apply.

Finduniya does not give tax or investment advice and does not suggest whether to sell or hold any share. Use the result to understand the rules, then check your own position with a qualified tax adviser.

Questions about tax on IPO gains

Is IPO listing gain taxable in India?

Yes, once you sell. Selling IPO shares on the exchange within 12 months of allotment gives a short-term capital gain, taxed at 20% plus 4% cess for sales on or after 23 July 2024. Merely seeing a gain on listing day without selling is not taxed.

Is listing gain treated as business income?

For most people who apply occasionally and sell on the exchange, the gain is treated as a capital gain. If you trade shares very frequently as a business, the income may be treated as business income instead. A tax adviser can tell you which applies to you.

What if I hold IPO shares for more than a year?

The gain becomes long-term. Long-term gains on listed equity shares are taxed at 12.5% plus cess, but the first ₹1.25 lakh of such gains in a financial year is exempt. The exemption is shared across all your equity shares and equity mutual funds, not per stock.

Can I deduct STT and brokerage from the gain?

Brokerage and other charges paid on the sale can be deducted as transfer expenses. Securities transaction tax (STT) cannot be deducted when computing these gains.

What happens if the IPO lists below the issue price and I sell at a loss?

A short-term capital loss can be set off against short-term or long-term capital gains in the same year. Any unused loss can be carried forward for up to 8 years, but only if you file your income tax return by the due date.