ACCT 330 · Federal Income Tax I: Individuals
Capital Gains and Losses
How gains and losses on investments are sorted by holding time, netted together, taxed at special rates, and capped when they are losses.
Key takeaways
- A capital asset is most property you own for investment or personal use, such as stock, a home or a coin collection.
- A gain on an asset held more than one year is long-term and usually taxed at lower rates than ordinary income.
- Gains and losses are netted in a set order: short-term with short-term, long-term with long-term, then the two results together.
- A net capital loss lets you deduct a limited amount each year against other income, with the rest carried forward.
- The wash sale rule blocks a loss if you buy back the same investment too soon.
Two friends each earn $10,000 on the stock market. Ava buys a stock in March and sells it in October. Ben buys a stock in March and sells it the next April. Their profits are identical, but their tax bills are not. Ben, who waited just over a year, will usually pay a noticeably lower rate. The calendar changes the tax.
That odd little rule is the doorway into capital gains. The tax law treats profit from selling certain assets differently from wages or business income. It also treats losses with special limits. Once you know the pattern, you can read a brokerage statement and work out what the bill will be.
This lesson builds on basis and gains on property, where you learned how to find a gain or loss on one sale. Here we combine many sales into one tax result.
What counts as a capital asset
A capital asset is, broadly, property you own other than certain business items. Your stocks, bonds, land, a vintage guitar and your personal car are capital assets. Business inventory, accounts receivable and depreciable business equipment are not. Business property has its own rules in business property sales and recapture.
A capital gain or capital loss is what you report when you sell a capital asset. The amount is what you learned in the last lesson: the amount realized minus the adjusted basis. Remember that losses on personal-use property, like a family car sold for less than you paid, are not deductible. Gains on such property are taxable.
Short-term and long-term
The holding period decides the label. If you held the asset for one year or less, the result is short-term. If you held it more than one year, it is long-term. The count starts the day after you acquire the asset and includes the day you sell it. Selling on the one-year anniversary is still short-term, and you need to wait one more day.
Short-term gains are taxed like ordinary income, at the brackets from computing the tax. Long-term gains usually get a separate and lower schedule. Congress has used three main rates for most long-term gains in recent years: 0%, 15% and 20%, depending on your taxable income. A few kinds of gain are taxed at higher special rates, such as gains on collectibles and a portion of gain on depreciated real estate. High-income taxpayers may also owe the net investment income tax. The thresholds change, so verify them with the IRS each year.
Ava and Ben made the same profit. Only the holding period differs.
Tax should not drive every investment choice. A stock that is about to drop is a poor candidate for waiting just for a tax break. But when two choices are otherwise equal, the calendar matters.
The netting order
When you sell several things in a year, you do not tax each sale on its own. You net them in steps.
- Add all short-term gains and losses together to get the net short-term result.
- Add all long-term gains and losses to get the net long-term result.
- Combine the two nets.
The outcome falls into one of a few cases. Two gains give a gain of each type. Two losses give a net capital loss. A gain and a loss offset each other, and what remains keeps the character of the larger side.
A worked example: Taylor's year
Taylor, who owns a few stocks, has these sales in a year. All numbers are invented.
- Short-term gains: $2,000
- Short-term losses: $3,500
- Long-term gains: $6,000
- Long-term losses: $1,000
Step one: net short-term = 2,000 − 3,500 = −$1,500, a short-term loss.
Step two: net long-term = 6,000 − 1,000 = $5,000, a long-term gain.
Step three: combine them. The short-term loss offsets the long-term gain: 5,000 − 1,500 = $3,500. The result is a net long-term capital gain of $3,500, since the long-term side is the larger.
A short-term loss can shrink a long-term gain. Example with made-up numbers.
Suppose Taylor's long-term rate is 15%, and the ordinary rate is 22%. These are made-up rates. The tax on the $3,500 is 3,500 × 15% = $525. If it had been taxed as ordinary income, it would be 3,500 × 22% = $770. The special rate saves $245.
Should you wait for the long-term rate? A quick test
Go back to Ava and Ben. Suppose Ava, in the 24% bracket, has a $10,000 short-term gain in October. She could sell now or wait until the next April to get the long-term rate. Say her long-term rate would be 15%. Both rates are made up here.
- Sell in October: 10,000 × 24% = $2,400 of tax.
- Sell the next April: 10,000 × 15% = $1,500 of tax.
Waiting would save 2,400 − 1,500 = $900, if the price is the same. But the price might not be the same. If the stock falls 10% in the meantime, she loses $1,000 of value to save $900 of tax. The tax savings do not make a falling stock a good hold. The lesson is to weigh the tax in the decision, not to let it make the whole decision. The idea of timing income to a better year has its own lesson in tax planning concepts.
Why gains get a lower rate, and the argument over it
People disagree about special rates for long-term gains. Supporters argue that a lower rate encourages saving and investment, that part of a long-term gain is just inflation rather than real profit, and that a high rate may discourage people from selling and moving money to better uses. Critics argue that the benefit goes mostly to people with large investment portfolios, that it lets wealthy people pay a lower rate than wage earners, and that it pushes people to relabel ordinary income as gains. Each side has real evidence and real values behind it, and the law has swung back and forth over the decades. Whatever your view, the effect on your own tax is a matter of arithmetic.
When losses win: the $3,000 limit
What if the year ends with a net loss? Here the law is generous but limited. You may deduct a net capital loss against other income, such as wages, up to $3,000 a year, or $1,500 if you are married and file separately. Anything beyond that is carried forward to the next year with no time limit. Congress could change the cap, so check it.
Consider Priya, who has a short-term net of −$1,500 and a long-term net of −$4,000.
- Total net capital loss: 1,500 + 4,000 = $5,500.
- Deduction this year: $3,000, which reduces ordinary income.
- Carryforward: 5,500 − 3,000 = $2,500.
Short-term losses are used first for the deduction, so the whole $1,500 short-term loss and $1,500 of the long-term loss go this year. The remaining $2,500 is a long-term loss carried forward. Next year it joins the pile of losses and gains and may offset a gain, or give another $3,000 deduction.
The carryforward is why a bad year is not wasted. A big loss can offset gains for years to come. This is also the idea behind tax-loss harvesting, where an investor sells losing positions on purpose to offset gains. It works fine when done with care, but it runs into the next rule.
The wash sale rule
If you sell at a loss and buy the same or a substantially identical investment within 30 days before or after the sale, the loss is disallowed for now. This is a wash sale. Without the rule, people could sell on December 31 to lock in a deduction, then buy the same stock back on January 2 as if nothing happened.
The loss is not gone, only postponed. It is added to the basis of the new shares, and the holding period carries over as well.
Example: Rin buys 100 shares at $50, for $5,000. She sells them at $40, for $4,000, a loss of $1,000. Ten days later she buys 100 shares again at $41, for $4,100. The loss is disallowed this year. The new basis is 4,100 + 1,000 = $5,100. When she eventually sells, the $1,000 comes back through the lower gain or higher loss. She can avoid a wash by waiting more than 30 days or by buying something that is not substantially identical.
Common mistakes
Counting the holding period wrong. A sale on the one-year anniversary is still short-term. A day can change the rate.
Forgetting that short-term gains are ordinary income. A flurry of quick trades can create a tax bill larger than you expected.
Deducting more than $3,000 of net loss. The cap applies per year. The rest must wait.
Ignoring the wash sale rule when buying back in an IRA. The rules can apply even if the repurchase is in a retirement account, so do not assume it is safe.
Mixing up the sale price with the profit. Your broker's statement lists proceeds. You still need the basis to find the gain, as in basis and gains on property.
Where to look
The IRS instructions for Schedule D and Form 8949 show the exact steps and the current rates and thresholds. Rates for long-term gains, and the income levels where they change, are adjusted each year. Nothing here is investment or tax advice, and for large sales a qualified professional can look at your full picture.
Words to know
Capital asset most property you own for investment or personal use, but not business inventory or depreciable business property.
Short-term a gain or loss on an asset held one year or less.
Long-term a gain or loss on an asset held more than one year.
Netting combining gains and losses of the same kind, then combining the two results.
Capital loss carryforward a loss you could not deduct this year that you may use in later years.
Tax-loss harvesting selling investments at a loss on purpose to offset gains.
Wash sale selling at a loss and buying a substantially identical investment within 30 days before or after, which disallows the loss for now.
Check yourself
- Why might two people with the same profit pay different tax?
- An investor has a short-term gain of $4,000 and a short-term loss of $1,000. What is the net short-term result?
- Short-term net is −$2,000 and long-term net is $7,000. What is the combined result and its character?
- A net capital loss is $8,000. How much is deducted this year, and what is carried forward?
- A share is bought on March 10, 2025, and sold on March 10, 2026. Is it short-term or long-term?
- Explain why the wash sale rule exists, and what happens to the disallowed loss.
Show the answers
- The holding period differs: one year or less is taxed at ordinary rates, and more than a year usually gets a lower rate.
- 4,000 − 1,000 = $3,000 net short-term gain.
- 7,000 − 2,000 = $5,000, a net long-term gain.
- The deduction is $3,000, and 8,000 − 3,000 = $5,000 is carried forward.
- Short-term, because the holding period begins the day after purchase, so a sale on the anniversary is exactly one year, not more than one.
- It stops people from claiming a loss while keeping the same investment; the loss is added to the basis of the replacement shares, so it is postponed, not erased.