Tax on shares sold after listing
Capital gains arithmetic on a sale of listed equity shares, at the rates currently notified, with the holding period applied.
Shares sold within twelve months of allotment produce a short-term capital gain, taxed at 20 per cent. Shares held for more than twelve months produce a long-term capital gain, where the first ₹1,25,000 in a financial year is exempt and 12.5 per cent applies to the rest.
Result
₹1,140
Short-term capital gain
Tax: ₹228
Worked example. 60 shares bought at ₹249 and sold on listing day at ₹268 produce a gain of (268 - 249) x 60 = ₹1,140. Sold within twelve months, it is a short-term capital gain taxed at 20 per cent, which is ₹228, before securities transaction tax, brokerage, surcharge and cess.
Tax rates and exemptions change with each Finance Act. This page states the rates as notified and was last reviewed on 26 Sep 2026. Confirm the current position for your own circumstances with a qualified tax adviser. This is general information, not tax advice.
What this calculation leaves out
- Securities transaction tax, brokerage, exchange charges and GST on those charges.
- Surcharge and health and education cess, which depend on total income.
- Set-off of losses from other transactions in the same year, and losses carried forward.
- The treatment of shares sold in the pre-open session on listing day, which follows the same rules but at the price actually realised.
When does the holding period start for IPO shares?
From the date the shares are credited to the demat account on allotment, not from the date of application.
Is the ₹1,25,000 exemption per transaction?
No. It applies to total long-term capital gains on listed equity and equity mutual funds in a financial year.
How is a loss on listing day treated?
It is a short-term capital loss, which can be set off against capital gains under the rules that apply to you, and carried forward if it cannot be set off in the same year.
Learn how IPOs work with NIFM
All stock market coursesNISM Series XII: Securities Markets Foundation
Covers the primary and secondary markets, including how companies raise capital through an IPO, and prepares you for the SEBI NISM certification exam.
₹2,500
NSE NCFM Financial Market Beginners
Markets and financial instruments, the primary and secondary markets, and the trade life cycle, with preparation for the NSE NCFM certification.
₹1,400
NIFM Certified Smart Investor
NIFM's flagship course: equities, derivatives, technical and fundamental analysis, and ODIN trading-terminal practice, in about 16 hours of video.
₹7,500
New to NIFM? Try the free demo course or take a free NCFM and NISM mock test. NIFM has taught stock market courses since 2012.
Disclosure. NIFM Educational Institutions Ltd is an education provider. It is not a SEBI-registered investment adviser, research analyst or stock broker. This page is published for information and education only. It does not recommend any securities and does not advise on whether to apply to any issue. Securities investments are subject to market risks; read all offer documents carefully before investing.
Issue data is compiled from prospectuses filed with SEBI, from filings and bid data published by BSE and NSE, and from the registrars to each issue. If you find an error, write to riteshpundir@nifm.in and we will correct it and publish a correction note. How this section is put together.
These calculators work on the figures you enter and show their arithmetic. Nothing you type is stored or sent anywhere. Tax information is general and is not tax advice. How these pages are put together.
Open your demat account in minutes
- Free account opening*
- Quick digital KYC
- Secure & hassle-free process
*T&C apply as per 5paisa. NIFM is not a stockbroker; account opening and services are provided by 5paisa Capital Ltd. Investments in the securities market are subject to market risks.