What Is Capital Gains Tax? Definition & How It Works
Learn what capital gains tax is, including realized vs. unrealized gains. Understand how this tax applies to profits from selling assets like stocks, bonds, and real estate.
What Is Capital Gains Tax?
Capital gains tax is a tax on the profit you make from selling a capital asset. A capital asset can be anything you own for personal use or as an investment, such as stocks, bonds, real estate, or even collectibles. When you sell an asset for more than you paid for it, that profit is called a capital gain, and it's generally considered taxable income.
It's important to understand the difference between realized and unrealized gains. An unrealized gain is the potential profit on an asset you still own. You don't owe taxes on unrealized gains. A realized gain occurs when you sell the asset, and that's when capital gains tax comes into play.
For a practical example, imagine you bought 100 shares of a company's stock for $50 per share, for a total investment of $5,000. A few years later, the stock price has risen to $75 per share. If you sell all 100 shares, your proceeds would be $7,500. Your capital gain is the difference between the selling price and your original purchase price (also known as your cost basis), which in this case is $2,500 ($7,500 - $5,000). You would then owe capital gains tax on this $2,500 profit.
How It Works
The mechanics of capital gains tax depend on two primary factors: your taxable income and how long you held the asset before selling it. The holding period determines whether the gain is considered short-term or long-term, each with its own set of tax rates.
Short-Term vs. Long-Term Capital Gains
-
Short-Term Capital Gains: If you hold an asset for one year or less before selling it, any profit is considered a short-term capital gain. Short-term gains are taxed at your ordinary income tax rate, which is the same rate you pay on your salary or wages. These rates can range from 10% to 37%, depending on your income bracket.
-
Long-Term Capital Gains: If you hold an asset for more than one year, the profit from its sale is a long-term capital gain. These gains are taxed at more favorable rates, which are 0%, 15%, or 20%, depending on your taxable income and filing status. For many investors, these rates are significantly lower than their ordinary income tax rates.
To determine if you've held an asset for more than a year, you start counting from the day after you acquired it. For example, if you bought a stock on April 1, 2025, your long-term holding period would begin on April 2, 2026.
Capital Gains Tax Rates (2024 & 2025)
The income thresholds for the long-term capital gains tax rates are adjusted periodically for inflation. Here are the rates for the 2024 and 2025 tax years:
2024 Long-Term Capital Gains Tax Brackets
| Tax Rate | Single Filers | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% | Up to $47,025 | Up to $94,050 | Up to $63,000 |
| 15% | $47,026 to $518,900 | $94,051 to $583,750 | $63,001 to $551,350 |
| 20% | Over $518,900 | Over $583,750 | Over $551,350 |
Source: Vanguard
2025 Long-Term Capital Gains Tax Brackets
| Tax Rate | Single Filers | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% | Up to $48,350 | Up to $96,700 | Up to $64,750 |
| 15% | $48,351 to $533,400 | $96,701 to $600,050 | $64,751 to $566,700 |
| 20% | Over $533,400 | Over $600,050 | Over $566,700 |
Source: Vanguard
It's also worth noting that high-income earners may be subject to an additional 3.8% Net Investment Income Tax (NIIT) on top of the standard capital gains tax rates.
Why It Matters for Dividend Investors
At first glance, capital gains tax might seem separate from dividend investing, which focuses on generating income from dividend payments. However, the two are closely related, especially concerning how dividends are taxed and the eventual sale of dividend-paying stocks.
Qualified Dividends
Dividends are taxed in two ways: as ordinary income or as qualified dividends. Ordinary dividends are taxed at your regular income tax rate. Qualified dividends, on the other hand, are taxed at the more favorable long-term capital gains tax rates (0%, 15%, or 20%).
For a dividend to be considered "qualified," it must be paid by a U.S. corporation or a qualified foreign corporation, and you must hold the stock for a specific period—more than 60 days during the 121-day period that begins 60 days before the ex-dividend date. This holding period requirement discourages investors from buying a stock just to capture the dividend and then immediately selling it.
For dividend growth investors, who typically hold stocks for the long term, most of their dividends will likely be qualified, resulting in a lower tax bill on their dividend income.
Capital Appreciation of Dividend Stocks
While the primary goal of dividend growth investing is a rising stream of income, the underlying stocks can also appreciate in value. When you eventually decide to sell some of your holdings, perhaps in retirement to supplement your income, you will have a capital gain (or loss). By holding these stocks for more than a year, you ensure that any gains will be taxed at the lower long-term capital gains rates. This long-term perspective is a core tenet of dividend growth investing and aligns perfectly with minimizing capital gains tax.
Real-World Example
Let's consider a married couple, filing jointly, with a taxable income of $120,000 in 2024. They are in the 15% long-term capital gains tax bracket.
-
Scenario 1: Short-Term Gain They bought 50 shares of a non-dividend-paying tech stock at $200 per share ($10,000 total) and sold them 10 months later for $250 per share ($12,500 total). This results in a short-term capital gain of $2,500. Since it's a short-term gain, it will be taxed at their ordinary income tax rate. Assuming their income falls into the 22% federal income tax bracket, their tax on this gain would be $550 ($2,500 * 0.22).
-
Scenario 2: Long-Term Gain They also bought 100 shares of a dividend-paying blue-chip stock at $100 per share ($10,000 total) five years ago. They decide to sell these shares for $150 per share ($15,000 total). This results in a long-term capital gain of $5,000. Because they held the stock for more than a year, this gain is taxed at the 15% long-term capital gains rate. Their tax on this gain would be $750 ($5,000 * 0.15).
If they had sold the blue-chip stock in under a year, the $5,000 gain would have been taxed at their 22% ordinary income rate, resulting in a tax of $1,100—a difference of $350.
Common Mistakes to Avoid
Navigating capital gains tax can be tricky, and a few common mistakes can lead to a higher tax bill.
-
Ignoring the Holding Period: One of the most frequent errors is selling an appreciated asset just before it qualifies for long-term capital gains treatment. Selling a stock after holding it for 11 months instead of 13 months can mean the difference between paying your ordinary income tax rate and the lower long-term capital gains rate.
-
Miscalculating Cost Basis: Your cost basis isn't just the purchase price. It also includes commissions and fees. For stocks, if you reinvest dividends, each reinvestment buys more shares at a new price, which increases your overall cost basis. An inaccurate cost basis can lead to paying more tax than necessary.
-
Forgetting to Harvest Losses: Investors often focus on their winners and forget that their losing investments have value at tax time. Tax-loss harvesting involves selling investments at a loss to offset capital gains realized elsewhere in your portfolio.
-
The Wash-Sale Rule: When tax-loss harvesting, you must be aware of the wash-sale rule. This IRS rule prevents you from claiming a loss on a security if you buy the same or a "substantially identical" security within 30 days before or after the sale.
How to Use Capital Gains Tax in Your Strategy
Understanding capital gains tax allows you to make more tax-efficient investment decisions.
-
Hold for the Long Term: The simplest strategy is to hold your investments for more than a year to qualify for lower long-term capital gains tax rates. This aligns perfectly with a dividend growth investing strategy, which is inherently long-term.
-
Tax-Loss Harvesting: Strategically sell losing investments to offset gains. You can use capital losses to offset capital gains without limit. If your losses exceed your gains, you can use up to $3,000 per year to offset your ordinary income. Any remaining losses can be carried forward to future years.
-
Asset Location: Place assets that are expected to have high growth (and thus, high potential capital gains) in tax-advantaged retirement accounts like a 401(k) or IRA. Growth within these accounts is tax-deferred or tax-free, so you won't pay capital gains tax each year.
-
Be Strategic About When You Sell: If you plan to sell a significant asset, consider doing so in a year when your income is lower, potentially qualifying you for a lower (or even 0%) capital gains tax rate.
For dividend investors, keeping meticulous records is crucial for tax purposes. This is where a tool like DripEdge can be invaluable. DripEdge helps you track your dividend income, monitor your portfolio's cost basis (especially with dividend reinvestment), and visualize the long-term growth of your investments. By having a clear picture of your portfolio's metrics, you can better simulate the tax implications of selling certain assets and plan your strategy accordingly, making it easier to see how your dividend snowball is growing and when it might be most tax-efficient to rebalance or take profits.
FAQ
What is the difference between capital gains and dividends?
Capital gains are the profits from selling an asset for more than you paid for it. They are only realized (and taxed) upon the sale of the asset. Dividends are a portion of a company's earnings distributed to shareholders. They are a form of income you receive for holding the investment and are taxed in the year they are received, regardless of whether you sell the stock.
Can capital losses be used to offset dividend income?
Not directly. Capital losses are first used to offset capital gains. However, if you have more capital losses than gains, you can use up to $3,000 of the excess loss to reduce your ordinary income, which can include dividend income.
Are capital gains on a primary residence taxable?
Often, they are not. If you sell your primary residence, you may be able to exclude up to $250,000 of capital gains if you are single, and up to $500,000 if you are married filing jointly. To qualify, you must have owned and lived in the home as your primary residence for at least two of the five years leading up to the sale.
Disclaimer: The information provided is for educational and informational purposes only and does not constitute financial, investment, or legal advice. DripEdge is not a registered investment advisor. Past performance does not guarantee future results. Always do your own research or consult a qualified financial professional before making investment decisions.
DripEdge Team
Sharing insights on dividend growth investing and building sustainable passive income.
Ready to Track Your Dividends?
Use DripEdge to visualize your dividend growth and reach financial freedom faster.
Start Tracking Free