Capital gains are profits earned from selling investments or property at a higher price than their original cost basis. These gains are taxable under U.S. federal law when realized through a sale or exchange.
When you sell stocks, real estate, or other assets for more than you paid, the difference is a capital gain. The IRS classifies these gains as either short-term (held less than one year) or long-term (held one year or longer), which determines the applicable tax rate. For example, in 2023, long-term capital gains were taxed at 0%, 15%, or 20% depending on income level, while short-term gains are taxed at ordinary income rates-up to 37%.
Not all increases in asset value count as capital gains. You only realize a capital gain when you actually sell the asset. Holding onto a stock that rises in value doesn't trigger taxation until you dispose of it. This distinction prevents investors from being taxed on paper profits.
To calculate capital gains, subtract your adjusted cost basis from the net proceeds of the sale. The cost basis includes the original purchase price plus any associated fees, commissions, or improvements. For real estate, this may include renovation costs or legal fees paid during acquisition.
For example: You bought a rental property for $250,000 in 2018. Over time, you spent $20,000 on repairs and upgrades. In 2023, you sold it for $400,000. Your adjusted cost basis is $270,000 ($250,000 + $20,000). The capital gain is $130,000 ($400,000 - $270,000).
If you held the property for more than 12 months, this qualifies as a long-term capital gain. In 2023, a taxpayer in the 24% marginal income tax bracket would owe 15% on this gain-$19,500-on top of their regular income taxes.
Common assets subject to capital gains treatment include:
Each category has specific rules. For instance, collectibles are taxed at a maximum rate of 28%, regardless of holding period. Cryptocurrency transactions are treated like any other capital asset under IRS Notice 2014-21.
| Asset Type | Holding Period | Tax Rate (2023) | Special Rules |
|---|---|---|---|
| Stocks | Less than 1 year | Up to 37% | Short-term gains taxed as ordinary income |
| Real Estate | 1+ years | 0%, 15%, or 20% | Primary residence exclusion up to $250,000 ($500,000 married filing jointly) |
| Collectibles | Any duration | 28% | Applies to gold, silver, artwork, etc. |
| Cryptocurrency | Varies | 0%, 15%, or 20% | Treated as property, not currency |
One overlooked rule: losses on one asset can offset gains on another. This is known as capital loss harvesting. If you sold a stock at a $10,000 loss and another at a $6,000 gain, you'd only owe tax on the $4,000 net gain. The IRS allows up to $3,000 in capital losses to offset ordinary income annually.
Many people assume that simply owning an asset that increased in value results in taxable income. That's incorrect. Taxable capital gains occur only upon disposition-the actual sale or exchange. A stock rising from $50 to $100 per share doesn't create a tax liability until you sell it.
Another frequent error is confusing capital gains with ordinary income. Dividends from stocks are taxed as ordinary income, not capital gains. However, if you sell shares after holding them long enough, the profit is classified as capital gain, even if the dividends were reinvested.
A lesser-known fact: certain retirement accounts like IRAs and 401(k)s defer capital gains taxation entirely. Profits grow tax-free inside these accounts. When withdrawn in retirement, distributions are taxed as ordinary income-not capital gains-even though the underlying assets may have appreciated.
In 2015, I purchased a duplex in Denver for $320,000. Over five years, I invested $45,000 in renovations and paid $12,000 in property taxes and maintenance. In 2020, I sold it for $580,000. My adjusted cost basis was $377,000 ($320,000 + $45,000 + $12,000). The capital gain was $203,000.
I held the property for six years, qualifying for long-term capital gains treatment. As a single filer earning $120,000 annually, my capital gains rate was 15%. I owed $30,450 in capital gains tax on the transaction.
This scenario illustrates why accurate recordkeeping matters. Without documented repair costs and tax payments, my cost basis would've been lower, increasing the taxable gain.
You report capital gains on Form 8949 and Schedule D of IRS Form 1040. The IRS requires reporting for any sale resulting in a gain or loss exceeding $0. Even small gains must be declared.
Failure to report capital gains leads to penalties and interest. The IRS cross-references brokerage statements with tax returns using Form 1099-B, which reports sales activity. Discrepancies trigger audits.
For those who frequently trade, software tools like TurboTax or QuickBooks Self-Employed can track cost basis and generate required forms automatically. But manual oversight remains essential-especially for complex trades involving multiple lots or wash sales.
Understanding what is considered capital gains helps avoid surprises at tax time. Knowing the difference between short-term and long-term rates, recognizing eligible deductions, and tracking cost basis properly ensures compliance and reduces tax burden.