Learn About Capital Gains Tax Rules and Planning
Understanding Capital Gains Tax Basics Capital gains tax is a tax on the profit you make when you sell an asset that has increased in value. When you buy som...
Understanding Capital Gains Tax Basics
Capital gains tax is a tax on the profit you make when you sell an asset that has increased in value. When you buy something—like a stock, rental property, or piece of art—and later sell it for more than you paid, that difference is your capital gain. The federal government taxes this profit, and many states do as well.
According to the Internal Revenue Service (IRS), the long-term capital gains tax rate ranges from 0% to 20% for federal purposes, depending on your income level. This is different from the ordinary income tax rates, which go up to 37%. Short-term capital gains—profits from assets held for one year or less—are taxed as ordinary income, which is typically higher than the long-term rate.
Here's a practical example: If you purchase stock for $5,000 and sell it two years later for $8,000, your capital gain is $3,000. If this qualifies as a long-term gain, you would owe tax on that $3,000 at the preferential long-term rate rather than your regular income tax rate. The actual tax owed depends on your total income and filing status.
Understanding the difference between short-term and long-term gains is crucial because the tax treatment is significantly different. Assets must be held for more than one year to receive long-term capital gains treatment. Even one day short of that mark means your gain is taxed as short-term.
Practical takeaway: Track the purchase date of every investment and asset. Knowing when you bought something helps you determine whether a future sale would qualify for long-term or short-term capital gains treatment, which directly affects the amount of tax you'll owe.
Long-Term vs. Short-Term Capital Gains
The distinction between long-term and short-term capital gains has enormous tax consequences. Long-term capital gains apply to assets you've owned for more than 12 months. Short-term capital gains apply to assets held for one year or less. This one-year threshold is the dividing line that determines your tax rate.
As of 2024, the federal long-term capital gains tax rates are 0%, 15%, or 20%, depending on your income bracket and filing status. For single filers, the 0% rate applies to income up to approximately $47,025; the 15% rate applies to income from about $47,025 to $518,900; and the 20% rate applies to income above $518,900. These thresholds are indexed annually for inflation.
Short-term capital gains are taxed using the same ordinary income tax brackets, which range from 10% to 37%. This means a short-term gain could be taxed at rates significantly higher than long-term gains. For example, if you're in the 32% ordinary income tax bracket and realize a short-term capital gain, that gain is taxed at 32%. The same gain, if held long-term, might only be taxed at 15%.
Consider this real-world scenario: An investor buys a stock for $10,000 and sells it eight months later for $12,000, realizing a $2,000 gain. If they're in the 32% tax bracket, they owe $640 in federal tax on this short-term gain. If they had held that same stock for 13 months and sold it for $12,000, they would owe only $300 in federal tax at the 15% long-term rate—a savings of $340 on the same profit.
The holding period is measured from the date after you purchase to the date of sale. This means if you buy on January 15, 2023, and sell on January 15, 2024, you haven't yet met the long-term requirement. You would need to wait until January 16, 2024, for the sale to qualify as long-term.
Practical takeaway: Before selling an investment, calculate the tax impact of waiting to qualify for long-term rates versus selling immediately. If an asset is close to the one-year mark, the potential tax savings from waiting may outweigh the benefits of selling sooner.
Calculating Your Capital Gains and Adjusted Basis
To calculate your capital gain or loss, you need to know your adjusted basis in the asset. Basis is typically the original purchase price plus certain costs associated with acquiring the asset. Adjusted basis may also include improvements, reinvested dividends, or other adjustments allowed by tax law.
For example, if you purchase rental property for $300,000 and spend $50,000 on capital improvements (like a new roof or foundation repair), your adjusted basis becomes $350,000. If you later sell the property for $450,000, your capital gain is $100,000, not $150,000. The adjusted basis is crucial because it directly reduces the taxable gain.
Basis tracking becomes more complex with inherited assets. Under current tax law, inherited assets receive a "stepped-up basis" equal to the fair market value on the date of the owner's death. This means if someone inherits stock worth $50,000 on the date of death, the heir's basis is $50,000. If the heir sells it immediately for $50,000, there's no capital gain, even if the original owner paid $10,000 decades earlier. This stepped-up basis rule can result in significant tax savings for heirs.
For mutual funds and stocks purchased over time, many investors use specific lot identification to determine which shares they're selling. Instead of assuming you sold the oldest shares first, you can specify which particular shares you're selling. This allows you to choose whether to sell high-basis shares (resulting in smaller gains) or low-basis shares, depending on your tax situation.
Common adjustments to basis include reinvested dividends and capital gains distributions from mutual funds. If your mutual fund automatically reinvests dividends, each reinvestment increases your basis. At tax time, you receive a statement showing how much basis to add. Failing to account for these reinvested amounts causes you to pay tax twice on the same money.
Practical takeaway: Keep detailed records of the purchase price, purchase date, and any improvements or adjustments to basis for every asset you own. Organize these records by asset, and ensure that when you reinvest dividends or make improvements, you document these additions to basis immediately rather than trying to reconstruct them years later.
Tax Planning Strategies for Managing Capital Gains
Several legitimate strategies exist for managing capital gains tax liability. Understanding these approaches allows you to make informed decisions about when and how to sell assets. One common strategy is tax-loss harvesting, where you sell investments at a loss to offset gains realized elsewhere.
Tax-loss harvesting works by matching realized losses with realized gains. If you sell Stock A for a $3,000 gain and Stock B for a $2,000 loss, you can net these together, reporting only a $1,000 net capital gain. The $2,000 loss reduces your taxable gain dollar-for-dollar. The IRS allows capital losses to offset capital gains without limitation, and if your losses exceed your gains in a year, you can deduct up to $3,000 of net losses against ordinary income, with unlimited losses carried forward to future years.
Another strategy involves timing the realization of gains and losses. If you expect your income to be lower in a particular year—perhaps due to retirement or a job change—you might choose to sell appreciated assets that year when your tax bracket is lower. Conversely, if you have a year with unusually high income, you might defer selling appreciated assets until the following year when your income returns to normal.
Holding assets longer to achieve long-term capital gains treatment is perhaps the simplest strategy. As discussed earlier, the difference between short-term and long-term rates can be substantial. Structuring your portfolio sales to maximize the number of transactions that qualify for long-term rates is an important consideration.
Charitable giving of appreciated assets is another tax-efficient approach. If you donate appreciated securities or property to a qualified charity, you avoid paying capital gains tax on the appreciation while also receiving a charitable deduction for the full fair market value. This works particularly well for highly appreciated assets. For example, donating stock worth $50,000 that you bought for $10,000 allows you to deduct $50,000 while avoiding the $40,000 capital gain that would result from selling the stock.
Asset location is a subtler strategy
Related Guides
More guides on the way
Browse our full collection of free guides on topics that matter.
Browse All Guides →