Learn
Capital Gains Tax Explained: 2026 Short-Term vs Long-Term Rates
Capital gains tax applies when you sell investments for a profit. Here's how short-term and long-term rates differ, how to minimize your tax bill.
Learn
Capital gains tax applies when you sell investments for a profit. Here's how short-term and long-term rates differ, how to minimize your tax bill.
This guide is designed for first-pass understanding. Start with core terms, then apply the framework in your own account workflow.
Capital gains tax is the price you pay for making money on your investments. Whether you sold stocks, real estate, or crypto, the IRS wants a cut of your profit. Understanding how capital gains work; and the difference between short-term and long-term rates — can save you thousands of dollars every year.
Capital gains tax is the tax you owe on the profit from selling an asset (stocks, real estate, crypto, etc.) for more than you paid. Short-term capital gains (assets held one year or less) are taxed as ordinary income at rates up to 37%. Long-term capital gains (assets held more than one year) receive preferential rates of 0%, 15%, or 20% depending on your taxable income. High earners may also owe the 3.8% Net Investment Income Tax, bringing the top effective rate to 23.8%.
A capital gain is the profit you make when you sell an asset for more than you paid for it. If you bought shares of a company at $50 and sold them at $80, your capital gain is $30 per share. Simple enough. But the tax you owe on that gain depends on two things: how long you held the asset and how much total income you earned that year.
Capital gains only apply when you realize the gain; meaning you actually sell the asset. If your portfolio is up 40% but you haven't sold anything, you don't owe capital gains tax. That unrealized gain is just a number on a screen until you hit the sell button. The IRS Topic 409 covers capital gains and losses in detail.
The IRS draws a hard line at one year. If you held an asset for one year or less before selling, any profit is a short-term capital gain. If you held it for more than one year, it's a long-term capital gain. This distinction matters because the tax rates are dramatically different.
| Feature | Short-Term Capital Gains | Long-Term Capital Gains |
|---|---|---|
| Holding period | 1 year or less | More than 1 year |
| Tax rates | 10-37% (ordinary income rates) | 0%, 15%, or 20% |
| NIIT surcharge | +3.8% if income exceeds threshold | +3.8% if income exceeds threshold |
Short-term capital gains (assets held under 1 year) are taxed at your ordinary income rate — up to 37%. Long-term capital gains (assets held over 1 year) are taxed at preferential rates: 0%, 15%, or 20% depending on your income. Holding for at least one year before selling can save you significant taxes.
Capital gain = sale price minus cost basis (what you paid plus commissions). If you bought stock at $50 and sold at $80, your capital gain is $30 per share. Your cost basis method (FIFO, specific identification) matters — specific identification lets you sell highest-cost lots first to minimize gains.
Yes, but with a large exemption. Single filers can exclude up to $250,000 in gains, and married couples up to $500,000, on the sale of a primary residence they've lived in for at least 2 of the past 5 years. Most homeowners pay zero capital gains tax on their home sale.
Legacy source context
Undated
View sourceTry this workflow
Apply this concept with live balances, transactions, and portfolio data instead of static spreadsheets.
Graph: 6 outgoing / 17 incoming
learn · related-concept · 76%
Crypto Tax Guide 2026: Rules, Reporting, and Common Mistakes
Every crypto sale, swap, and spend is a taxable event. Here's a comprehensive guide to crypto taxes — what's taxable, how to report, and mistakes to avoid.
learn · related-concept · 76%
IRS Form 8949: Reporting Capital Gains and Losses
How to report sales of stocks, crypto, and other capital assets on Form 8949. Covers cost basis reporting, wash sales, and how the form flows into Schedule D.
learn · related-concept · 76%
IRS Schedule D: Capital Gains and Losses Explained
Learn how to report capital gains and losses on Schedule D, including short-term vs. long-term rates, the $3,000 loss deduction, and wash sale rules.
learn · related-concept · 76%
Quarterly Estimated Taxes: 2026 Deadlines, Calculations, and Penalties
| Top effective rate | 40.8% | 23.8% |
| Best for | N/A — avoid when possible | Buy-and-hold investors |
| Applies to | Stocks, crypto, real estate, collectibles | Stocks, crypto, real estate, collectibles |
Long-term capital gains rates depend on your taxable income and filing status. Under the Tax Cuts and Jobs Act (TCJA), which has been recently extended, these preferential rates continue to apply. Here are the 2026 thresholds:
| Rate | Single | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% | Up to $48,350 | Up to $96,700 | Up to $64,750 |
| 15% | $48,351 – $533,400 | $96,701 – $600,050 | $64,751 – $566,700 |
| 20% | Over $533,400 | Over $600,050 | Over $566,700 |
The 3.8% Net Investment Income Tax (NIIT) kicks in for single filers earning over $200,000 or married couples over $250,000, potentially bringing the top effective rate on long-term gains to 23.8%. These NIIT thresholds are not adjusted for inflation; they have remained the same since the tax was introduced in 2013, meaning more taxpayers are affected each year. Check the IRS inflation adjustments for the latest capital gains thresholds.
The formula is straightforward:
Capital Gain = Sale Price – Cost Basis – Selling Fees
Your cost basis is what you originally paid for the asset, including any purchase commissions or fees. If you bought 100 shares at $50 each with a $10 commission, your cost basis is $5,010. If you later sold those shares for $8,000 with a $10 fee, your capital gain is $8,000 – $5,010 – $10 = $2,980.
Things get more complicated when you buy the same stock at different times and prices. That's where cost basis methods come in; FIFO (first in, first out), specific identification, and average cost. Your brokerage typically defaults to FIFO, but specific identification lets you choose which shares to sell, potentially minimizing your tax bill. All realized gains and losses are reported on IRS Form 8949 and Schedule D. Your brokerage — such as Fidelity — will also send you a 1099-B form summarizing your realized gains and losses for the year.
The IRS doesn't let you sell an investment at a loss just to claim the tax deduction and then immediately buy it back. The wash sale rule disallows a loss if you purchase a "substantially identical" security within 30 days before or after the sale. The full rule is covered in IRS Publication 550.
If you trigger a wash sale, the disallowed loss gets added to the cost basis of the replacement shares. You don't lose the deduction forever; it's deferred until you eventually sell the replacement shares without triggering another wash sale.
Watch out for automatic dividend reinvestment plans (DRIPs). If you sell a stock at a loss but your DRIP buys more shares within the 30-day window, you've triggered a wash sale. As of 2025, the wash sale rule also applies to cryptocurrency.
At tax time, your gains and losses go through a netting process. Here's how it works:
This ordering matters because short-term gains are taxed at higher rates. If you have $10,000 in short-term gains and $8,000 in long-term losses, the losses offset the higher-taxed gains first, saving you more money than if it worked the other way around.
If your total capital losses exceed your total capital gains for the year, you can deduct up to $3,000 of the excess loss against your ordinary income ($1,500 if married filing separately). Any remaining losses carry forward to future years indefinitely.
Say you had $2,000 in gains and $12,000 in losses. Your net loss is $10,000. You deduct $3,000 this year and carry forward $7,000. Next year, you can use that carryforward to offset gains or deduct another $3,000; whichever applies.
When you sell your primary residence, you may qualify for a significant exclusion under Section 121. Single filers can exclude up to $250,000 in gains, and married couples filing jointly can exclude up to $500,000. To qualify, you must have owned and lived in the home for at least two of the five years before the sale.
This exclusion is one of the most generous tax breaks available. If you bought a house for $300,000 and sold it for $700,000, your $400,000 gain is completely tax-free as a married couple. You don't even need to report it on your tax return if the gain is below the exclusion amount.
Investment properties and second homes don't qualify for this exclusion. Gains on those are fully taxable, though you can defer them using a 1031 exchange for investment real estate.
Not all long-term capital gains qualify for the preferential 0/15/20% rates. Certain asset types have their own rates. If you trade options contracts, the tax treatment depends on whether you held the underlying position long-term and whether the options expired or were exercised.
| Asset Type | Long-Term Rate | Notes |
|---|---|---|
| Stocks, bonds, ETFs, mutual funds | 0/15/20% | Standard preferential rates |
| Cryptocurrency | 0/15/20% | Treated as property by IRS |
| Real estate | 0/15/20% + 25% recapture | Depreciation recapture taxed at 25% |
| Collectibles (art, coins, wine) | 28% max | Higher rate than standard capital gains |
| Qualified Small Business Stock (QSBS) | 0% (up to $10M) | Section 1202 exclusion, 5-year hold |
There are several legitimate strategies to reduce your capital gains tax bill:
If you realize significant capital gains during the year, you may need to make quarterly estimated tax payments to avoid an underpayment penalty. The IRS expects you to pay taxes as you earn income, not just at year-end. If your capital gains push your total tax liability more than $1,000 above your withholding, you could owe a penalty.
W-2 employees can increase their W-4 withholding to cover expected capital gains instead of making separate estimated payments. The IRS treats all withholding as paid evenly throughout the year, which can help you avoid underpayment penalties even on gains realized late in the year.
One of the biggest mistakes investors make is ignoring capital gains until tax season. By then, it's too late to do anything about it. Clarity gives you a real-time view of your realized and unrealized gains across all your accounts, so you can make tax-smart decisions before December 31st — not after.
Keeping track of your cost basis across multiple brokerages, crypto exchanges, and investment accounts is genuinely difficult without a tool. When you connect your accounts in Clarity, your cost basis and holding periods are tracked automatically, and potential wash sales are flagged before they happen.
Start by understanding where you stand right now. Review your brokerage statements for any realized gains this year. Check whether your gains are short-term or long-term. If you have losing positions, consider whether tax-loss harvesting makes sense before year-end.
Connect your investment accounts to Clarity to get a consolidated view of your gains, losses, and cost basis across every account. The earlier you start tracking, the more opportunities you'll have to minimize your tax bill legally.
This article is for educational purposes and does not constitute tax advice. Consult a CPA or tax advisor for guidance specific to your situation.
If you're self-employed, have investment income, or freelance, you may owe quarterly estimated taxes. Here's how to calculate payments and avoid.