Skip to content

How Investment Gains Get Taxed

realised vs unrealised, short vs long term holding

Study this properly

Free flashcard deck: investing_101_etfs_index_funds_asset_allocation_200 - 235 cards

Start studying

Investment gains are taxed when you realise them, usually by selling the asset or receiving a distribution. A rise in value on paper, before any sale, generally triggers no tax at all.

The Mechanism Behind a Capital Gain

When you sell an investment, the tax calculation has three inputs: the proceeds (what you received), the cost basis (what you originally paid plus any purchase fees), and the holding period. The proceeds minus the cost basis equals the gain or loss. Only the gain is taxable, and the rate applied depends on how long you owned the asset before selling.

A Worked Example

Suppose you buy 100 shares of a fund at $50 each, paying $10 in brokerage fees. Your cost basis is $5,010. Two years later you sell those shares at $80 each, paying another $10 in fees. Your proceeds are $7,990, and your taxable gain is $7,990 minus $5,010, which equals $2,980. In a system with a 15% long-term capital-gains rate, the tax owed on this sale is about $447. If you had sold the same shares after holding them for only seven months, that same $2,980 gain would likely be added to your ordinary income and taxed at your marginal income-tax rate, which in many brackets is higher.

Common Misunderstandings

When These Rules Don't Apply

Tax-deferred accounts such as traditional retirement accounts postpone capital-gains tax until withdrawal, at which point withdrawals are usually taxed as ordinary income rather than at capital-gains rates. Tax-free accounts allow gains to accumulate and be withdrawn without tax, provided specific conditions are met. Foreign currency, derivatives, and certain collectibles often follow different rules again. And across borders, the rates, the holding-period thresholds, and even the definition of a "sale" can differ substantially, which is why the video ends by reminding you to check your own jurisdiction rather than relying on a general rule.

Transcript

Cram: I sold some shares this year, but I left the money sitting in the account. So there is nothing to report yet. Rep: The tax usually follows the sale, not the withdrawal. Selling is what turns a paper gain into a real one. Cram: So just holding something that went up in value is not taxed? Rep: In most systems, no. An unrealised gain is a number on a screen. Nothing is owed until you sell and lock it in. Cram: Then what gets taxed when I do sell? The whole amount that lands in the account? Rep: Only the gain. Your cost basis, what you paid plus fees, comes off first. What is left is the taxable part. Cram: And if a sale went badly, that loss just disappears? Rep: Often it does not. Many systems let a realised loss offset a realised gain, which shrinks the taxable total. Cram: Fine. So one flat rate on whatever is left over. Rep: Usually not flat. How long you held it matters. Many countries treat short holdings differently from long ones. Cram: How different are we talking about here? Rep: Short holdings are commonly taxed like ordinary income. Longer holdings often get a lower rate. The clock starts at purchase. Cram: What about dividends? I never sold anything to receive those. Rep: Dividends are taxed when they are paid, sale or no sale. That is income arriving, not a gain you unlocked. Cram: So the trigger is the event, not the balance. Rep: That is the model. Sales and payouts create tax events. The exact rules and rates vary by country, so check your own.

More lessons