What taxes do you pay when you sell shares?

Asked by: Ayden Erdman  |  Last update: October 11, 2026
Score: 4.5/5 (16 votes)

When you sell shares for a profit (a capital gain), the tax depends on how long you held them: profits from shares held over a year (long-term) get lower rates (0%, 15%, 20%) based on income, while profits from shares held a year or less (short-term) are taxed as ordinary income (10-37%). You may also owe an extra 3.8% Net Investment Income Tax (NIIT) if your income is high, plus state taxes.

How much will I be taxed if I sell my stock?

When selling stock, the tax rate depends on how long you held it: profits from stocks held a year or less (short-term) are taxed as ordinary income (10-37%), while profits from stocks held over a year (long-term) are taxed at lower rates (0%, 15%, or 20%), determined by your overall taxable income. You only pay tax on the profit (capital gain), not the total sale amount, and this applies to investments outside of tax-advantaged accounts like IRAs. 

How much tax do you pay when selling shares?

The main rate of CGT is 18% for basic rate taxpayers. For higher or additional rate taxpayers, the rate is 24%. If you are normally a basic-rate taxpayer but when you add the gain to your taxable income you are pushed into the higher-rate band, then you will pay some CGT at both rates.

Do I need to pay tax if I sell my shares?

Long-Term Capital Gains (LTCG) on shares and equity-oriented mutual funds in India are taxed at a 12.5% rate (plus surcharge and cess) if they reach Rs. 1.25 lakh in a fiscal year. LTCG is defined as profits on the sale of shares or equity-oriented mutual funds held for more than a year.

How much capital gains do I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

Stock Market Taxes Explained For Beginners

24 related questions found

How to avoid 20% capital gains tax?

A common way to defer or reduce your capital gains taxes is to use tax-advantaged accounts. Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes on assets while they remain in the account.

How much tax do I have to pay if I sell shares?

Capital gains tax is based on an investor's marginal tax rate, which means it is determined by the tax bracket they fall into. However, there is a special provision that allows for a 50% discount on capital gains if the investment has been held for more than 12 months.

How to sell shares without being taxed?

The simplest way to avoid capital gains tax is to regularly use your capital gains tax allowance (officially known as your annual exempt amount or AEA). How easy this is to do depends on the assets you are selling.

How do you calculate tax on shares?

The formula is: STCG = Sale Price - Purchase Price - Expenses related to sale. STCG on listed shares in India is taxed at 15%, as per Section 111A of the Income Tax Act, after considering expenses like brokerage and transaction fees. Tax exemptions may apply in specific cases.

What is the 6 year rule for capital gains tax?

The "6-year rule" for Capital Gains Tax (CGT) in Australia allows you to treat a former main residence as tax-exempt for up to six years after you move out, even if you rent it out, enabling you to avoid CGT on any growth during that period. You qualify by moving out, choosing to treat it as your main home for tax, and can reset the rule by moving back in. If you rent it out for longer than six years, only the portion of the gain after the six-year mark becomes taxable.
 

Can I sell stock and reinvest without paying capital gains?

Does reinvesting reduce capital gains? Real estate investors can employ certain tax strategies to potentially defer gains on the sale of a property. But with stocks, reinvesting your gains does not reduce the federal income taxes you may owe.

How much will I be taxed if I sell my shares?

Basic rate taxpayers will be charged at a rate of 18% on gains from shares, while higher and additional rate taxpayers will need to pay 24%. The tax is only charged on your gains, not the total sale price of the shares.

How long do you have to hold a stock to avoid capital gains?

To avoid the higher ordinary income tax rates on stock profits (short-term), you must hold the stock for more than one year, qualifying for the generally lower long-term capital gains tax rates; selling after one year or less results in short-term gains taxed at your regular income bracket, while holding over a year offers preferential rates, potentially saving you significantly on taxes.

How much will I get taxed if I sell my stock?

When selling stock, the tax rate depends on how long you held it: profits from stocks held a year or less (short-term) are taxed as ordinary income (10-37%), while profits from stocks held over a year (long-term) are taxed at lower rates (0%, 15%, or 20%), determined by your overall taxable income. You only pay tax on the profit (capital gain), not the total sale amount, and this applies to investments outside of tax-advantaged accounts like IRAs. 

Do I pay tax on share dividends?

Tax on dividends is calculated pretty much the same way as tax on any other income. The biggest difference is the tax rates - instead of the usual 20%, 40%, 45% (depending on your tax band), you'll be taxed at 8.75%, 33.75%, and 39.35%.

What is the 7% sell rule?

The 7% sell rule is a stock trading guideline to cut losses quickly, advising you to sell a stock if it drops 7-8% below your purchase price to protect capital, remove emotion, and prevent small losses from becoming catastrophic, a strategy popularized by William O'Neil's CAN SLIM method for growth investing. It assumes that truly strong stocks typically don't fall much below their buy point, so a dip signals something is wrong, requiring you to exit the trade to preserve funds for better opportunities.
 

How to pay less tax when selling shares?

You may be able to reduce your capital gain if you either:

  1. owned your shares for at least 12 months.
  2. gifted them to a deductible gift recipient, provided both. they are valued at less than $5,000. you acquired them at least 12 months earlier.

How to get 0% tax on capital gains?

Capital gains tax rates

A capital gains rate of 0% applies if your taxable income is less than or equal to: $48,350 for single and married filing separately; $96,700 for married filing jointly and qualifying surviving spouse; and. $64,750 for head of household.

What is the 6 year rule for capital gains?

The "6-year rule" for Capital Gains Tax (CGT) in Australia allows you to treat a former main residence as tax-exempt for up to six years after you move out, even if you rent it out, enabling you to avoid CGT on any growth during that period. You qualify by moving out, choosing to treat it as your main home for tax, and can reset the rule by moving back in. If you rent it out for longer than six years, only the portion of the gain after the six-year mark becomes taxable.
 

What is the loophole for capital gains tax?

Second, capital gains taxes on accrued capital gains are forgiven if the asset holder dies—the so-called “Angel of Death” loophole. The basis of an asset left to an heir is “stepped up” to the asset's current value.

What is the 2 year 5 year rule?

The "2-year, 5-year rule" primarily refers to the IRS rule allowing homeowners to exclude up to $250,000 (or $500,000 married) of capital gains from the sale of their primary residence if they owned and lived in it as their main home for at least 2 years out of the 5 years before the sale, meeting both ownership and use tests within that 5-year window. There's also a "5-year rule" for Roth IRAs, requiring separate 5-year periods for contributions and conversions to avoid taxes.