Capital gains and losses
Intro
When you sell an asset for more than your basis, you have a capital gain. Sell for less, and you have a capital loss. Simple enough. What makes capital gains worth understanding is that the tax on them depends heavily on one thing you often control: how long you held the asset before selling.
In plain terms, a capital gain or loss is the gain or loss on the sale of a capital asset, measured as the sale price minus your tax basis. The Code splits these into short-term and long-term based on a one-year holding period (IRC §1222), and long-term gains are taxed at preferential rates well below ordinary rates (IRC §1(h)).
Our stance: the holding period is a planning lever, not a technicality. The difference between selling at eleven months and thirteen months can be the difference between ordinary rates and the long-term capital gains rate, and that gap is often larger than people realize.
Body
Short-term vs long-term: the one-year line
A capital asset held one year or less produces a short-term gain, taxed at your ordinary marginal rate. Held more than one year, it produces a long-term gain, taxed at the preferential long-term rates (§1222, §1(h)). The line is the holding period, measured generally from the day after you acquire the asset through the day you sell.
That one-year line is the single biggest lever in the capital gains rules. Long-term rates are meaningfully lower than ordinary rates for most people, so pushing a sale past the one-year mark can cut the tax on the gain substantially. It is one of the few places where simply waiting changes the rate.
The catch is that the lever only helps when the economics agree. Holding an asset purely to cross the line can backfire if the price drops in the meantime. The point is to know the line exists and to weigh it, not to let the tail wag the dog.
How gains and losses net against each other
Capital gains and losses are netted before anything is taxed. Short-term losses first offset short-term gains, long-term losses offset long-term gains, and then the two categories net against each other. What survives is your net capital gain or net capital loss for the year.
If you end up with a net capital loss, you can use it to offset up to $3,000 of ordinary income per year, and carry the rest forward indefinitely (IRC §1211 and §1212). That carryforward is an asset. A bad year in the market creates a loss that can shelter gains or income for years to come, which is the logic behind deliberate tax-loss harvesting.
Netting is also why the character of your sales matters. Realizing a long-term loss to offset a short-term gain, or the reverse, changes the math. Planning the order and timing of sales within a year is a real, if unglamorous, lever.
The rate is not the only cost
The headline long-term rates are the preferential ones, but they are not the whole bill. Higher-income taxpayers can owe an additional net investment income tax on top of the capital gains rate, which raises the real rate on investment gains. And a large gain raises your adjusted gross income, which can quietly reduce other benefits keyed to AGI.
So the true cost of a gain is the capital gains rate, plus any net investment income tax, plus any AGI-driven side effects. People anchor on the preferential rate and forget the add-ons. The preferential rate is real, but it is a floor, not the finish.
This also means timing a large gain is about more than the rate in a vacuum. Spreading gains across years, or pairing a gain with a harvested loss, can keep you out of the ranges where the add-ons bite hardest.
Where character gets tricky
Not everything that feels like a capital gain is taxed as one. Depreciation you took on a business or rental asset comes back as depreciation recapture, taxed at higher rates than ordinary long-term gain. Certain assets, like collectibles, have their own higher long-term rate. And the wash sale rule can disallow a loss you tried to harvest if you buy back the same security too quickly.
The theme is that character is not automatic. The holding period sets the baseline, but recapture, asset type, and anti-abuse rules can change the rate or disallow a loss. Knowing where those exceptions sit is what separates a clean result from a surprise.
Still, the core lever holds. For most straightforward investments, the one-year holding period is the difference between ordinary and preferential rates, and it is the first thing to check before selling.
Summary
A capital gain or loss is the gain or loss on selling a capital asset, measured against your basis. The Code splits them into short-term and long-term at a one-year holding period (IRC §1222), and long-term gains get preferential rates (§1(h)), which makes the holding period a real planning lever. Gains and losses net against each other, and a net loss offsets up to $3,000 of ordinary income a year with the rest carrying forward (§§1211, 1212). The preferential rate is a floor, not the finish: net investment income tax, AGI effects, recapture, and the wash sale rule can all change the real cost. Check the holding period before you sell.
Sources
Related articles
More in Federal income tax - core concepts
- Gross incomewhat counts as income under §61
- Adjusted gross income (AGI)the above-the-line subtotal that drives everything
- Taxable incomeincome after deductions
Related prompts & skills
Put this to work
5 free prompts and skills from the library, matched to this article.