S&P 500 · SPY
774.34
▲ +4.70 (+0.61%)
DOW JONES · DIA
511.83
▲ +0.73 (+0.14%)
NASDAQ · QQQ
754.80
▲ +5.22 (+0.70%)
GOLD · GLD
$378.78
▼ -1.36 (-0.36%)
OIL (WTI) · USO
$144.83
▼ -2.54 (-1.72%)
BITCOIN
$85,315.00
▲ +12.10 (+0.01%)
--:--:--
NYSE · Live ET

Capital Gains Tax Basics for Investors

Key takeaways
  • You owe tax only when you sell at a profit (a realized gain), not on paper gains.
  • In the US, investments held more than a year usually get lower long-term rates than those held a year or less.
  • Holding in an IRA or 401(k), harvesting losses and holding longer can all reduce the tax bill. This is education, not tax advice.

Realized vs unrealized

If your stock rises from 50 to 80 dollars, you have an unrealized gain. It becomes a capital gain for tax only when you sell. Selling at 80 realizes a 30 dollar gain per share.

Short term vs long term

In the US the holding period decides the rate. Gains on investments held one year or less are short-term and taxed like ordinary income. Gains on investments held more than one year are long-term and taxed at lower rates. Rates and brackets change, so check irs.gov.

Cost basis

Your cost basis is what you paid, including reinvested dividends. Gain equals sale price minus basis. If you bought shares at different prices, brokers track lots and let you pick a method. Keep your records.

Losses can help

Capital losses offset capital gains, and some excess loss can offset other income, with limits. This is the idea behind tax-loss harvesting. The wash sale rule disallows a loss if you rebuy the same security too soon.

Dividends and funds

Dividends are taxed too, at different rates depending on whether they are qualified. Funds can also pass on capital gains distributions. In general, ETFs and index funds trade less, so they tend to distribute fewer gains than actively managed funds.

Ways people reduce the bite

  • Use tax-advantaged accounts such as an IRA or 401(k), where trades are not taxed each year.
  • Hold winners longer than a year when it fits your plan.
  • Avoid trading more than your strategy needs.
  • Never let taxes alone drive an investing decision. A tax professional can help with yours.

Quick answers

Do I owe tax if I reinvest the proceeds?
Yes. Selling is the taxable event, even if you buy something else right away.

Try it on Investz

Go deeper: books

The Bogleheads’ Guide to Investing
Taylor Larimore, Mel Lindauer & Michael LeBoeuf
BasicsBeginner

A practical handbook built on the Bogleheads philosophy: keep costs low, diversify broadly and stay the course.

The Simple Path to Wealth
J.L. Collins
BasicsBeginner

A plain-spoken guide to spending less than you earn, investing in broad low-cost funds and working toward financial independence, grown out of letters to the author’s daughter.

The Four Pillars of Investing
William J. Bernstein
BasicsIntermediate

Covers the theory, history, psychology and business of investing, then turns them into a framework for building a portfolio.

As an Amazon Associate, Investz earns from qualifying purchases. Disclosure.

Keep learning

Share this guideEmailXLinkedInFacebookRedditWhatsApp

This guide is for education only and is not investment, tax or legal advice. Examples use made-up numbers to show how a calculation works. Read our disclosures.