What Capital Gains Tax Is
Capital gains tax is a tax on the profit you make when you sell something you own — a stock, a house, a piece of land, a business, or a valuable collection. The tax applies only to the gain, not the full sale price. If you bought a stock for $1,000 and sold it for $1,500, your capital gain is $500, and that $500 is what gets taxed.
You do not pay capital gains tax on money you earn from work, rent, or dividends. You pay it only when you sell an asset for more than you paid for it. The tax rate depends on how long you held the asset and how much total income you earned that year.
Key Takeaways
- Capital gains tax applies only to profit from selling an asset, not to the full sale price or to income from work.
- Long-term capital gains (assets held over one year) are taxed at lower rates than short-term gains, which are taxed as ordinary income.
- Your total income for the year determines which tax bracket applies to your capital gains.
- Some assets like your primary home may have exemptions that let you avoid tax on part or all of the gain.
Short-Term vs. Long-Term Capital Gains
The length of time you hold an asset before selling it changes how much tax you owe. If you sell something you owned for one year or less, the gain is short-term capital gain and is taxed as ordinary income — at the same rate as your wages or salary. If you hold it for more than one year before selling, it is a long-term capital gain and gets a lower tax rate.
Long-term capital gains rates are 0%, 15%, or 20% depending on your income level. Short-term gains use your regular income tax brackets, which can be 10%, 12%, 22%, 24%, 32%, 35%, or 37%. For most people, holding an asset longer means paying less tax on the profit.
The difference matters most when you are trading stocks or selling property within a short window. A trader who buys and sells stocks within weeks pays tax at their full income rate. An investor who holds the same stocks for two years pays the lower long-term rate.
How the Tax Is Calculated
To find your capital gain, subtract what you paid for the asset (your cost basis) from what you sold it for. If you bought 100 shares at $10 each and sold them at $15 each, your cost basis is $1,000, your sale price is $1,500, and your capital gain is $500.
Your total capital gains for the year are added to your other income to determine your tax bracket. If you earned $50,000 in wages and had $10,000 in long-term capital gains, your taxable income is $60,000. The capital gains are taxed at the long-term rate that applies to your income level, not at a flat percentage.
You can also subtract capital losses from capital gains. If you sold one stock for a $3,000 gain and another for a $1,000 loss, your net capital gain is $2,000. If your losses exceed your gains in a year, you can deduct up to $3,000 of the loss against other income, and carry the rest forward to future years.
Primary Home Exemption
If you sell your primary residence, you may not owe capital gains tax on part of the profit. Single filers can exclude up to $250,000 of gain; married couples filing jointly can exclude up to $500,000. You must have owned the home and lived in it as your main residence for at least two of the five years before the sale.
This exemption applies once every two years. If you bought a house for $200,000, lived in it for three years, and sold it for $400,000, your gain is $200,000 but you owe tax on zero dollars (as a single filer). If the gain was $300,000, you would owe tax only on the $50,000 above the exemption.
Who Pays and When
You report capital gains on your federal tax return (Form 1040) when you file. Long-term gains go on Schedule D; short-term gains also go on Schedule D. You do not pay the tax when you sell the asset — you pay it when you file your return, usually by April 15 of the following year.
If you expect a large capital gain, you may need to make estimated tax payments during the year to avoid penalties. Your broker or financial institution will send you a Form 1099-B listing all sales you made during the year, which helps you calculate your gains.
Some states also tax capital gains. A few states (California, New York, Oregon, and others) have their own capital gains taxes on top of the federal tax. A handful of states have no income tax at all and therefore no capital gains tax. Your state's rules vary, so check your state's tax authority website for details.
Assets That Trigger Capital Gains Tax
Capital gains tax applies to stocks, bonds, mutual funds, real estate, cryptocurrency, collectibles, and business interests. It also applies to inherited assets if you sell them for more than their value on the date of inheritance (though the "step-up in basis" rule often means you owe little or no tax on inherited property).
Some assets are taxed differently. Collectibles like art, coins, and precious metals are taxed at a maximum rate of 28% on long-term gains, higher than the standard long-term rate. may have access to small business stock can receive special treatment under Section 1202, allowing you to exclude part of the gain.
Strategies to Reduce Capital Gains Tax
Holding assets for more than one year before selling is the simplest way to reduce your tax bill — you move from short-term rates (up to 37%) to long-term rates (up to 20%). Harvesting losses by selling losing investments to offset gains in the same year can also lower your tax. If you have $5,000 in gains and $2,000 in losses, you report only $3,000 in net gains.
Donating appreciated assets to charity instead of selling them lets you avoid the capital gains tax entirely while getting a charitable deduction. Timing the sale of large gains across two tax years can keep you in a lower bracket. Placing investments in tax-advantaged accounts like 401(k)s and IRAs means you do not pay capital gains tax on sales within those accounts.
These strategies work best when planned ahead of time. Consulting a tax professional before a large sale can reveal options you might otherwise miss.
Frequently Asked Questions
Do I owe capital gains tax if I sell at a loss?
No. If you sell an asset for less than you paid for it, you have a capital loss, not a gain, and owe no capital gains tax. You can use the loss to offset gains from other sales that year, or deduct up to $3,000 against other income. Losses beyond that carry forward to future years.
What if I inherit stock or property?
Inherited assets receive a "step-up in basis," meaning their cost basis is reset to their value on the date of death. If your parent bought a house for $100,000 and it was worth $300,000 when they died, your new cost basis is $300,000. If you sell it when ready for $300,000, you owe no capital gains tax.
How do I report capital gains on my tax return?
Use Schedule D (Form 1040) to report all sales of capital assets. List each sale with the date bought, date sold, cost basis, and sale price. Your broker sends you Form 1099-B with this information. Long-term and short-term gains are reported separately on the form.
Can I avoid capital gains tax by not selling?
Yes. Capital gains tax applies only when you sell. If you hold an investment and it grows in value, you owe no tax until you sell it. This is why some people hold stocks for decades — they defer the tax indefinitely. When you die, heirs receive the step-up in basis and may owe little or no tax.
Are cryptocurrency sales taxed as capital gains?
Yes. The IRS treats cryptocurrency as property. When you sell Bitcoin, Ethereum, or other coins for a profit, that profit is a capital gain taxed at short-term or long-term rates depending on how long you held it. Trading one cryptocurrency for another is also a taxable event.