Learning as a guest. Your progress lasts until you close this tab. Save it free
Capital Gains: The Taxable Account's Hidden Perks
- Warm-up
- Story
- Learn
- Play
- Quiz
- Remember
- Try it
- Finish
About this lesson
About 15 minutes · 5 quiz questions
The big idea: Profit on things you owned over a year gets lower tax rates, and some retirees owe nothing on it. Heirs may also get a fresh starting price.
Lesson outline
The big idea: Profit on things you owned over a year gets lower tax rates, and some retirees owe nothing on it. Heirs may also get a fresh starting price.
The story: Alma sells shares in a low-income year
Alma and Cyrus sit at the kitchen table and work out the tax on selling fund shares at a low income and at a high income.
- Narrator: Alma owns shares, small pieces, of a fund that owns parts of many companies. They sit in a taxable account, an investing account not meant for retirement.
- Narrator: Alma paid $20,000, called the cost basis. Now the shares are worth $50,000. Selling gives a gain, a profit: $50,000 minus $20,000 is $30,000.
- Narrator: Alma owned them 5 years, so it is a long-term gain. Its tax rate is 0%, 15% or 20%, set by taxable income: income minus what the law lets you subtract.
- Cyrus: Would it be different if you had owned the shares for only six months?
- Narrator: Yes. Shares owned a year or less give a short-term gain, and it is taxed like regular income instead.
- Narrator: Alma’s other taxable income this year is $10,000. Adding the $30,000 gain makes $40,000. That is under the line for 0%, which the IRS sets each year.
- Narrator: So the tax on Alma’s $30,000 gain is $0.
- Cyrus: What if my income were much higher?
- Narrator: At a much higher income the rate could be 15%. 10% of $30,000 is $3,000, and 5% is $1,500. So the tax on the same gain would be $4,500.
- Alma: So the same sale can cost nothing or a lot, depending on my income that year.
What you’ll learn
Gain, cost basis and time
A capital gain is the profit when you sell something, such as shares, for more than you paid. What you paid is the cost basis. The gain is the sale price minus the cost basis. Owned more than a year, it is a long-term gain. Owned a year or less, it is short-term and taxed like regular income.
Bea buys shares for $200 and sells them for $300. The gain is $300 minus $200, which is $100. Bea held them 2 years, so it is long-term.
Long-term rates
A long-term gain is taxed at 0%, 15% or 20%, set by your taxable income: income minus what the law lets you subtract. It is 0% up to $49,450 for one person, or $98,900 for a married couple. The lines change yearly. Very high incomes may owe a 3.8% extra tax too.
Rue and Sol are married and file together. With a $15,000 gain, their taxable income is $80,000. That is under their line, $98,900, so they owe $0 tax on the gain.
Losses and the wash sale rule
A loss is selling for less than you paid. Losses first cancel gains. If losses are bigger, up to $3,000 a year can lower other income, and the rest moves to later years. A wash sale is selling at a loss and buying the same investment within 30 days before or after. The loss waits, added to the new shares’ cost basis.
Kay sells one fund at a $4,000 loss and another at a $6,000 gain. $6,000 minus $4,000 leaves a $2,000 gain to tax.
What heirs get
An heir is a person who gets what someone leaves. Under current law, shares an heir inherits usually get a new cost basis: their value on the date of the owner’s death. People call it a step-up in basis. An heir who sells soon after has little or no gain to tax. Rules can change, so check the IRS.
Mo bought shares for $10,000, and the gain was never taxed. At Mo’s death they are worth $40,000. A child inherits them with a $40,000 basis. Selling at $40,000 gives a $0 gain.
Key words
- cost basis
- what you paid for something
- long-term capital gain
- profit on something you owned over a year
- step-up in basis
- an heir’s new starting price, the value on the date of death
- wash sale
- buying the same investment again soon after selling it at a loss
Common questions
- What is gain harvesting?
- It means selling shares that have grown in a year when the gain is taxed at 0%, then buying again, so the new cost basis is the higher price you paid. Rules can change, so ask a tax preparer.
- Why keep papers showing what I paid?
- The IRS says an asset’s basis is generally its cost to the owner. The gain is the sale price minus that cost, so you need the cost to show the right gain.
- Is IRA money taxed at these gain rates?
- No. The IRS says money taken from a traditional IRA is taxed as ordinary income, with no capital gain treatment.
- Does my state tax gains too?
- Many states have their own income tax, and the rules differ. Check your state’s tax agency.
Remember this
In a low-income year, some gains can be tax-free.
Try it: List what you paid
- Find your last statement for each taxable account, the kind that is not a retirement account.
- For each holding, write down what you paid, the cost basis, and the date you bought it.
- Mark which ones you have owned more than a year.
Your account statements and a paper list (no account needed).
Live facts
Numbers that change over time, with when they were last checked and where they come from.
0% capital gains line, single
$49,450of taxable income
A single filer’s long-term gains are taxed at 0% while taxable income stays at or under this line
As of 2026
Source: IRS.gov(opens in a new tab)0% capital gains line, married filing jointly
$98,900of taxable income
A married couple filing together pays 0% on long-term gains while taxable income stays at or under this line
As of 2026
Source: IRS.gov(opens in a new tab)Held more than one year is long-term; net short-term gains are taxed as ordinary income; losses can lower income by up to $3,000 a year, with the rest carried forward; a basis is generally its cost to the owner
Source: IRS.gov (Topic no. 409)(opens in a new tab)A wash sale occurs when you sell or trade stock or securities at a loss and within 30 days before or after the sale you buy substantially identical stock; the disallowed loss is added to the cost of the new stock
Source: IRS.gov (Publication 550)(opens in a new tab)Generally, the basis of property inherited from a decedent is the FMV of the property at the date of the individual’s death
Source: IRS.gov (Publication 551)(opens in a new tab)A 3.8 percent net investment income tax applies to net investment income above applicable threshold amounts, including net gains from the disposition of property such as stocks
Source: IRS.gov (Topic no. 559)(opens in a new tab)Distributions from traditional IRAs that you include in income are taxed as ordinary income; you can’t use capital gain treatment
Source: IRS.gov (Publication 590-B)(opens in a new tab)
Lessons teach how money works. They are not financial advice.