Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › capital gains tax

How Capital-Gains Tax Applies When You Sell Profitable IT Shares

By Freedom251 Team · · 9 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There is no special “IT-share” tax rate. Your tax depends on your country and tax residence, where the shares are listed, the tax year, how long each lot was held, and the basis you can prove. The starting calculation is sale proceeds minus the shares’ tax basis and allowable selling costs. In India, listed shares generally become long-term after more than 12 months; for transfers on or after 23 July 2024, qualifying section 112A gains are taxed at 12.5% only on aggregate long-term gains above ₹125,000 for the year, subject to conditions such as securities transaction tax (STT). In the United States, short-term gains are generally taxed at ordinary income-tax rates, while long-term gains use lower capital-gain rates.

Before applying any percentage, identify your jurisdiction, tax residency, listing venue and tax year. The same technology company’s shares can produce a different result for two investors in different countries.

As an Amazon Associate I earn from qualifying purchases.

Why the country and listing venue come first

“IT shares” describes a business sector, not a tax category. Tax authorities usually classify the asset as listed or unlisted, domestic or foreign, and short-term or long-term. They then apply rules to the taxpayer, not to the company’s industry.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Tax jurisdiction and residence: A resident may be taxed on worldwide investments, while a non-resident can face different source-country and reporting rules.
  • Listing venue and security type: Exchange-listed equity, an unlisted holding, a foreign share, an option and an employee award can each have different rules.
  • Tax year: Rates, thresholds and forms can change between years. India’s 12.5% long-term rate cited below applies to transfers on or after 23 July 2024.
  • Transaction mechanics: The relevant sale or transfer date, delivery status, STT and allowable costs can affect both classification and computation.

Do not copy a rate from an overseas broker statement or an online calculator until these facts match your return.

How a taxable gain is calculated

For a straightforward cash sale, use this sequence:

Capital gain = sale proceeds − tax basis − allowable selling costs.

Sale proceeds

Start with the gross consideration shown on the contract note or sale confirmation. Adjust it only for items your jurisdiction treats as part of the proceeds, such as an adjustment required by a merger or another corporate action.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Tax basis

Basis normally begins with what you paid, including acquisition expenses that the local rules permit. Reconstruct it from purchase confirmations and broker statements rather than relying on a portfolio app’s current “cost” field. Reorganizations, splits, mergers, gifts, inheritance, employee awards and option exercises can change the number or the date attached to a lot.

Allowable costs

Deduct only transaction costs recognized by your jurisdiction. Keep brokerage, exchange charges and other documented amounts separate from taxes or levies that must be treated differently. STT can also be an eligibility condition in India, not simply a cost to subtract.

Rank #2
Sale
The Psychology of Money: Timeless lessons on wealth, greed, and happiness
  • Ideal for Gifting
  • Ideal for a bookworm
  • Compact for travelling

Currency conversion

For a foreign security, retain the exchange rate and conversion date required by your tax authority. A gain can arise from currency movement as well as from the share price, and a broker’s home-currency display may use a different convention.

India: listed-share rules that determine the result

The Income Tax Department’s guidance says listed securities generally qualify as short-term when held for 12 months or less. A general 24-month rule applies to assets that do not receive the listed-security exception. The department describes the distinction as essential because “tax incidence is higher on short-term capital gains than on long-term capital gains.”

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Which date starts and ends the holding period?

For a brokered listed-share sale where the contract is followed by delivery, the broker-note date is treated as the transfer date. That date can move a transaction across the 12-month boundary, so use the contract note and the actual delivery status rather than an informal trade diary.

Long-term listed-equity gains after 23 July 2024

For transfers on or after 23 July 2024, long-term gains on listed securities generally use a 12.5% rate without indexation. For listed equity shares covered by section 112A, the 12.5% rate applies to aggregate long-term gains exceeding ₹125,000 for the relevant year, provided the required STT conditions are met.

The ₹125,000 amount is an annual threshold for the qualifying aggregate, not a per-company allowance and not a deduction from each sale. Add the qualifying long-term gains for the year before applying the rate. Deductions under sections 80C to 80U are not available against gains taxed at this concessional rate.

Short-term gains

A listed share held for 12 months or less is generally short-term in India. The applicable short-term rate and any special condition depend on the transaction and the tax year, so do not substitute the 12.5% long-term rate. Confirm the current short-term provision, surcharge, cess and loss treatment for your return.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

FIFO for demat lots

When you cannot correlate a sale with specifically identified lots, Indian demat holdings are generally matched on a first-in, first-out (FIFO) basis. The oldest available shares are treated as sold first. A broker’s tax report may apply FIFO automatically, but you should test it against your own acquisition and corporate-action records.

Indian fact pattern Likely classification or computation point
Listed share held 12 months or less Generally short-term; apply the current short-term rules for the tax year.
Listed share held more than 12 months Generally long-term; qualifying section 112A gains after 23 July 2024 are 12.5% above the ₹125,000 annual aggregate threshold, subject to STT conditions.
Several demat lots, no specific identification Use FIFO to determine which acquisition costs and dates attach to the sale.
Brokered contract followed by delivery Use the broker-note date as the transfer date under the cited guidance.
Asset without the listed-security exception The general 24-month long-term threshold may apply instead of 12 months.

United States: why the answer cannot be blended with India

U.S. federal treatment is separate from the Indian framework. IRS guidance distinguishes short-term gains, generally taxed at regular income-tax rates, from long-term gains, which receive lower capital-gain rates. The dividing line is generally whether the asset was held for more than one year, but the exact rate depends on the taxpayer’s income and filing circumstances.

The IRS also requires the basis of shares bought at different times to be determined lot by lot. Average basis generally cannot be used for ordinary stock shares. Use the broker’s reported basis only after checking it against your confirmations, transfers and corporate actions; inherited, gifted, transferred or employee shares can require adjustments.

A U.S. investor may also have state tax, foreign-account reporting or withholding issues. An Indian resident selling U.S.-listed technology shares can face Indian capital-gains rules plus separate foreign-asset reporting and possible source-country considerations. Neither country’s rate should be presented as a universal answer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Step-by-step method for your own sale

  1. Write down the taxpayer facts. Record country of tax residence, citizenship where relevant, listing venue, security type, tax year and whether the account is taxable, retirement or another special account.
  2. Collect the evidence. Gather purchase confirmations, broker statements, contract notes, demat or custody statements, corporate-action notices, award and vesting documents, option-exercise records, gift or inheritance paperwork and sale confirmation.
  3. Build a lot schedule. For each acquisition, record quantity, acquisition date, cash paid, permitted acquisition costs, currency and any later split, merger, bonus or exchange adjustment.
  4. Match the sale to lots. Apply the permitted method. For an Indian demat account without identifiable lots, apply FIFO. In the United States, do not assume average basis for ordinary shares; follow the identification and reporting method allowed for the account.
  5. Compute each lot separately. Subtract the adjusted basis and allowable selling costs from the proceeds attributed to that lot. Keep short-term and long-term results in separate columns.
  6. Apply the jurisdiction’s rules. Check the relevant rate, annual threshold, surcharge or cess, STT or other eligibility condition, loss-offset rules and reporting form for the tax year. For India, aggregate qualifying section 112A long-term gains before testing the ₹125,000 threshold.
  7. Reconcile and retain. Compare your schedule with the broker’s tax statement, investigate every difference and preserve the records for the period required by your tax authority.

Worked India example: FIFO and the annual threshold

Assume an Indian resident holds two demat lots of the same listed company:

Lot Purchase Quantity Sale allocation under FIFO Illustrative gain
1 100 shares at ₹500 100 100 shares sold at ₹1,200 ₹70,000
2 100 shares at ₹800 100 50 shares sold at ₹1,200 ₹20,000

The investor sells 150 shares. Because no specific lots were identified, FIFO uses all 100 shares from lot 1 and 50 from lot 2. The combined illustrative gain is ₹90,000 before allowable selling costs. If both lots satisfy the long-term requirement and the investor has no other qualifying long-term gains, that amount is below the ₹125,000 annual section 112A threshold. Other long-term gains in the same year would be added to the total, and the holding dates must still be verified from the records.

If the sale occurred before lot 2 had crossed the 12-month listed-security threshold, the two lots would need separate short-term and long-term treatment rather than one blended rate.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Events that can change basis or holding period

Splits, bonuses and mergers

A split or bonus issue can change the per-share basis and the apparent acquisition date. A merger or share exchange may carry basis into replacement shares or trigger a taxable event, depending on local law. Obtain the issuer’s corporate-action statement and map old quantities to new ones before calculating a gain.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Employee shares and options

Restricted stock, stock units, employee purchase plans and options can have income recognized at grant, vesting or exercise, with a separate capital-gains calculation on a later sale. Keep the award, vesting and payroll documents; the amount already taxed as employment income may affect basis.

Best Value
Sale
I Will Teach You to Be Rich: No Guilt. No Excuses. Just a 6-Week Program That Works (Second Edition)
  • It can be a gift option
  • Comes with secure packaging
  • Helpful in various ways

Gifts and inherited shares

Gifted and inherited shares often use special carryover or valuation rules and may have a modified holding period. Do not treat the transfer date or the recipient’s cash cost as automatically decisive. Use the transfer documents and jurisdiction-specific guidance.

Foreign shares

Foreign listings add currency conversion, foreign-asset disclosure and possible withholding questions. The country where the company is incorporated, the exchange where it trades and your residence can all matter.

Costs, losses and filing decisions

A profitable sale is only one part of the return. You may need to combine gains and losses under category-specific rules, carry losses to another year, or report a transaction even when tax is ultimately zero. India’s concessional section 112A rate has its own deduction limitation, and STT conditions can determine eligibility. U.S. taxpayers must follow the IRS basis and holding-period categories and any applicable state rules.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Because the facts supplied here do not establish one universal filing form, deadline, loss rule or surcharge, verify those items for your country, residence status and tax year. A professional review is especially prudent where awards, options, foreign currency, inheritance, gifts or reorganizations are involved.

Common mistakes and how to correct them

  • Using the company’s sector as the tax category: Replace “IT shares” with the actual security type, listing venue and taxpayer jurisdiction.
  • Counting from the settlement date automatically: Check the applicable transfer-date rule; in the cited Indian broker-delivery case, the broker-note date is used.
  • Applying one rate to every lot: Split the sale by acquisition date and classify each lot separately.
  • Ignoring FIFO: If Indian demat lots cannot be correlated, document the FIFO calculation instead of selecting the most favorable purchase.
  • Trusting an unadjusted broker basis: Check splits, mergers, transfers, awards and currency conversion against original records.
  • Treating ₹125,000 as a per-stock exemption: For qualifying Indian section 112A gains, it is an annual aggregate threshold.
  • Claiming unrelated deductions: Deductions under sections 80C to 80U are not available against gains taxed at the concessional section 112A rate.
  • Assuming a foreign rule applies locally: Keep Indian and U.S. calculations separate and check residence-based reporting obligations.

What to retain after filing

Keep the purchase and sale confirmations, lot schedule, broker or demat statements, corporate-action notices, award and vesting records, exchange-rate evidence, tax calculations and the filed return. Label each adjustment so another person can reproduce the proceeds, basis, holding period and rate applied. Good records are the strongest defense when a broker statement and your own calculation disagree.

Quick Recap

SaleBestseller No. 1
SaleBestseller No. 2
The Psychology of Money: Timeless lessons on wealth, greed, and happiness
The Psychology of Money: Timeless lessons on wealth, greed, and happiness
Ideal for Gifting; Ideal for a bookworm; Compact for travelling
$10.99
SaleBestseller No. 5
I Will Teach You to Be Rich: No Guilt. No Excuses. Just a 6-Week Program That Works (Second Edition)
I Will Teach You to Be Rich: No Guilt. No Excuses. Just a 6-Week Program That Works (Second Edition)
It can be a gift option; Comes with secure packaging; Helpful in various ways
$9.15

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

capital gains taxFIFOIndia TaxIT shareslong-term capital gainsstock taxesU.S. tax

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.