Skip to main content
Module 02 · Economic Foundations & Personal Finance

Taxes on Investments

5 min readYou'll be able to Estimate the after-tax result of a trade or investment, explain how holding period, account type and instrument change the tax bill, and see why tax drag compounds into a large gap over decades.

Investment taxes are the taxes owed on the income and gains your investments produce: capital gains tax when you sell an asset for more than you paid, and income tax on dividends and interest. The rate often depends on how long you held the asset, what kind of income it is and which type of account holds it, so two investors with the same pre-tax return can keep very different amounts. Only after-tax returns pay for anything, which is why taxes belong in every trading and investing decision. Rules differ by country and change over time; the examples below use US federal concepts with hypothetical rates and are not tax advice.

Taxes on Investments
Quick demo

Sam makes a $10,000 gain on a stock. Assume, hypothetically, an ordinary income tax bracket of 32% and a long-term capital gains rate of 15%.

  • Sold after 11 months (short-term): tax = 10,000 × 32% = $3,200. Sam keeps $6,800.
  • Sold after 13 months (long-term): tax = 10,000 × 15% = $1,500. Sam keeps $8,500.

Holding two more months is worth $1,700, assuming the price holds; that is a real trade-off against the market risk of waiting.

Now compare a futures trader with the same $10,000 gain. US regulated futures fall under Section 1256, which treats gains as 60% long-term and 40% short-term regardless of holding period. The blended rate is 0.6 × 15% + 0.4 × 32% = 21.8%, a tax of $2,180. Rates, brackets and thresholds change; always check current rules for your situation.

Tax on a $10,000 gain under different treatments (hypothetical rates)
$3,200Short-term (32%)$2,180Section 1256 (21.8%)$1,500Long-term (15%)

Illustrative arithmetic using assumed rates of 32% ordinary income and 15% long-term gains. Actual rates depend on income, jurisdiction and current law.

What gets taxed

  • Capital gains: sale price minus cost basis (what you paid, including commissions). Only realised gains are taxed in most systems.
  • Dividends: in the US, qualified dividends (from eligible companies held for a minimum period) are taxed at long-term capital gains rates; ordinary dividends are taxed as income.
  • Interest: from bonds and savings is generally taxed as ordinary income, though some government and municipal bonds have exemptions.
  • Additional taxes: US higher earners may also owe the 3.8% Net Investment Income Tax on investment income.

Holding period matters

The one-year line in the US is the most important tax rule for active traders. Almost all day-trading and swing-trading profits in stocks are short-term, taxed at ordinary rates. That means an active strategy must earn noticeably more pre-tax than a buy-and-hold approach just to keep the same after-tax amount. In the demo above, a short-term trader needs a gain of about $12,500 to keep what a long-term holder keeps from $10,000: 8,500 ÷ (1 − 0.32) = $12,500.

Using losses: harvesting and its limits

Realised losses offset realised gains. In the US, if losses exceed gains, up to $3,000 a year can be deducted against ordinary income, and the rest carries forward to future years. Tax-loss harvesting means selling a losing position to realise the loss, often replacing it with a similar (but not substantially identical) holding to stay invested.

The wash-sale rule disallows the loss if you buy the same or a substantially identical security within 30 days before or after the sale. The disallowed loss is added to the cost basis of the new position rather than vanishing, but you cannot use it now. Active traders who repeatedly trade the same ticker trigger this often without noticing.

1 year
US short-term vs. long-term dividing line
Held more than one year = long-term
$3,000
Annual US net capital loss deductible against income
Excess carries forward
30 days
Wash-sale window, before and after the sale
Same or substantially identical security
60/40
Section 1256 split for regulated futures
Long-term / short-term, any holding period

Tax drag: the compounding cost

Taxes do not just reduce one year's return; they reduce the base that compounds. Compare $10,000 growing at 7% for 30 years with a hypothetical 20% tax on gains:

  • Taxed every year: the after-tax growth rate is 7% × 0.8 = 5.6%. After 30 years: 10,000 × 1.056³⁰ ≈ $51,276.
  • Tax deferred until the end: the account grows to 10,000 × 1.07³⁰ ≈ $76,123, then tax is paid on the $66,123 gain. After tax: 10,000 + 0.8 × 66,123 ≈ $62,898.

Deferral is worth about $11,600, roughly 23% more money, from the same investment and the same tax rate. This is why buy-and-hold investing, low-turnover funds and tax-advantaged retirement accounts (such as IRAs and 401(k)s in the US, or ISAs and pensions in the UK) are so powerful over long horizons.

How taxes move markets

  • Year-end selling: investors harvesting losses in December can add selling pressure to the year's losers, and some of it reverses in January when the pressure ends.
  • Holding-period effects: investors sitting on large gains sometimes wait to cross the one-year line before selling.
  • Policy changes: proposed changes to capital gains or dividend tax rates can shift demand between growth stocks, dividend payers and bonds as investors reposition.
  • Asset location: professionals hold tax-inefficient assets (high-interest bonds, high-turnover strategies) in tax-advantaged accounts and tax-efficient ones (long-term stock holdings) in taxable accounts.

The advanced nuance: taxes on nominal gains

Taxes apply to nominal gains, not real ones. If an asset rises 5% while inflation is 4%, you are taxed on the full 5% even though only about 1% was a real gain. At 20% tax, the after-tax nominal gain is 4%, roughly zero in real terms. High-inflation periods therefore raise the effective tax rate on real returns, which is one reason after-tax real returns on bonds were poor in the 1970s.

Common mistakes

  • Ignoring taxes when comparing strategies. Compare after-tax, after-cost returns.
  • Triggering wash sales unknowingly by re-buying a position within 30 days.
  • Letting the tax tail wag the dog. Holding a deteriorating position only to reach long-term status can cost more than the tax saved.
  • Forgetting estimated taxes. Active traders with large gains may owe tax during the year, not just at filing time.
Check yourself

1. A $4,000 short-term gain is taxed at a hypothetical 24% ordinary rate. What is the tax?

2. You sell a stock at a loss on June 1 and buy it back on June 20. What happens under the US wash-sale rule?

3. Under Section 1256 with hypothetical rates of 15% long-term and 37% short-term, what is the blended rate?

4. Why does deferring tax increase ending wealth even at the same tax rate?