brainax

Tax on investment gains

Lesson 36 of 42 in the course “The Financial System, Simply”. Free, with animations and a quiz.

Tax appears when you sell

You buy a stock for $1,000. That’s your basis: the gain is measured from it. The stock grows to $1,500, but as long as you hold it there’s no tax. That gain only exists on paper. Tax appears when you sell: the $500 gain goes on your return. In the US crypto counts as property. So swapping one coin for another is also a sale, even if you never cashed out to dollars.

A year and a day

How long you held the asset matters. Sold within a year: the gain is short-term. It’s taxed like salary, at your bracket, up to 37%. Held more than a year: the gain is long-term. It has just three rates: 0%, 15% or 20%. The gap is huge: for Mia at 22%, the tax on the same gain drops to 15%. That’s why it often pays to wait until the year is up.

Where the rate is 0%

The long-term rate depends on your whole taxable income for the year. In 2026 a single person with income up to $49,450 pays 0%. Above that it’s 15%, and above $545,500 it’s 20%. People earning over $200,000 also pay an extra 3.8% net investment income tax. So a student, or someone in a year without work, can sell stocks at a gain and legally pay nothing.

Losses work too

A loss on a sale reduces your gains. If Mia made $3,000 on one stock and lost $2,000 on a coin, tax is worked out on just $1,000. If losses beat gains, up to $3,000 a year can come off salary income and the rest carries to future years. Selling at a loss on purpose for this is called tax-loss harvesting. Stocks have a trap: buy the same security back within 30 days and the loss doesn’t count.

Zero percent, legally

Here’s what a 0% rate looks like in real life. A retired couple lives on savings and a small pension. Their taxable income is under $98,900, the 2026 line for married couples. They sell stocks they’ve held for ten years, and the tax on the gain is zero. Another legal zero is a Roth account: growth inside it isn’t taxed at all after age 59½.

How it hits you

In the UAE individuals pay no tax on stock or crypto gains. But if Anna is tax resident in another country, tax may be waiting for her there, so it matters where you’re resident. Mia should remember two things from this lesson. Under US rules, swapping USDT for bitcoin is a sale, not just a shuffle. And holding an asset over a year means paying 15% instead of up to 37%.

Check yourself

  1. Mia’s stock grew from $1,000 to $1,500, but she didn’t sell. How much tax?
    Correct answer: Zero until she sells. Paper gains aren’t taxed. Tax appears at the moment of sale.
  2. How long must you hold an asset in the US for the gain to count as long-term?
    Correct answer: More than one year. Then instead of up to 37% the rate is 0%, 15% or 20%.
  3. Mia swapped USDT for bitcoin and never cashed out to dollars. Under US rules this is…
    Correct answer: A sale: the gain or loss must be reported. In the US crypto is property, and any swap counts as a sale.

← Deductions and write-offs: the basics Buy, borrow, don’t sell: how the rich live tax-free →