What Are Capital Gains?
A capital gain is the profit you make when you sell a capital asset — a stock, a mutual fund, a bond, real estate, or even cryptocurrency — for more than you paid for it. Your profit is the difference between the sale price and your cost basis (generally what you paid, plus reinvested dividends and certain expenses). Until you sell, any rise in value is just a "paper gain" and is not taxed. The tax event happens in the year you actually sell.
How much you owe hinges on one deceptively simple factor: how long you held the asset before selling. The IRS splits gains into two buckets — short-term and long-term — and the rates are dramatically different. Getting the holding period right is one of the highest-impact tax decisions an ordinary investor can make.
Use our Capital Gains Tax Calculator to compare your short-term vs long-term tax liability side by side.
- Hold an asset one year or less and the gain is taxed as ordinary income — up to 37%.
- Hold it more than one year and you qualify for the long-term rates of 0%, 15%, or 20%.
- The holding-period line is a true cliff: selling one day early can move your gain from the 15% bracket into a much higher ordinary-income bracket.
Short-Term vs Long-Term: The Holding Period
The dividing line is one year. According to the IRS, if you hold an asset for one year or less before selling, the gain is short-term; if you hold it for more than one year, it is long-term (IRS Topic No. 409, Capital Gains and Losses). The clock starts the day after you acquire the asset and runs through the day you sell it, so "more than one year" really does mean a year and a day.
Short-Term Capital Gains
Short-term gains receive no special treatment. They are taxed as ordinary income at your regular graduated rate, exactly like wages from a job (IRS Topic No. 409). For 2025, the top ordinary rate of 37% applies to taxable income above $626,351 for single filers and $751,601 for married couples filing jointly (IRS, Federal income tax rates and brackets). For tax year 2026, the 37% bracket begins at $640,600 for single filers and $768,700 for married couples filing jointly (IRS, Tax inflation adjustments for tax year 2026). Even middle-income investors typically pay 22% or 24% on short-term gains — well above the long-term rates below.
Long-Term Capital Gains
Long-term gains get preferential rates of 0%, 15%, or 20%, and which rate applies depends on your total taxable income. These brackets are indexed for inflation, so they rise slightly each year.
For tax year 2025 (the return most people file in early 2026), the 0% rate applies to taxable income up to $48,350 (single or married filing separately), $96,700 (married filing jointly and qualifying surviving spouse), or $64,750 (head of household). The 15% rate then applies up to $533,400 (single), $600,050 (married filing jointly), $566,700 (head of household), or $300,000 (married filing separately); income above those ceilings is taxed at 20% (IRS Topic No. 409).
For tax year 2026, the 0% maximum rises to $98,900 (married filing jointly), $66,200 (head of household), and $49,450 (single or married filing separately). The 15% rate runs up to $613,700 (married filing jointly), $579,600 (head of household), $545,500 (single), and $306,850 (married filing separately), with the 20% rate above those amounts (IRS Rev. Proc. 2025-32, §3.03).
| 2026 long-term rate | Single | Married filing jointly |
|---|---|---|
| 0% | Up to $49,450 | Up to $98,900 |
| 15% | $49,451 – $545,500 | $98,901 – $613,700 |
| 20% | Over $545,500 | Over $613,700 |
One nuance that trips people up: the bracket is based on your total taxable income, and the long-term gain itself counts toward that total. A large gain can push part of itself from the 0% band into the 15% band. The rate is also applied progressively — only the portion of gain that lands in each band is taxed at that band's rate.
A Worked Example
Suppose you are single, have $60,000 of taxable income from your job, and sell stock in 2026 for a $20,000 profit.
- If you held the stock for 11 months (short-term): the $20,000 is ordinary income stacked on top of your salary, taxed at your marginal rate (22% for much of this range), costing roughly $4,400.
- If you held it for 13 months (long-term): your income sits above the $49,450 zero-rate ceiling, so the gain is taxed at 15% — about $3,000.
Waiting two extra months saved roughly $1,400 on the same $20,000 of profit. For an investor whose total taxable income stays under the 0% ceiling, a long-term gain could be taxed at nothing at all — while the identical short-term gain would still be taxed as ordinary income.
Don't Forget the Net Investment Income Tax
Higher earners may owe an extra 3.8% Net Investment Income Tax (NIIT) on capital gains and other investment income, on top of the rates above (IRS Topic No. 409). The NIIT applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds the statutory threshold. Effectively, this can push a top long-term rate of 20% up to 23.8%. If your income is anywhere near the upper brackets, factor this in.
What If You Sell at a Loss?
Capital losses first offset capital gains of the same type. If your losses exceed your gains, you can deduct up to $3,000 of the excess against ordinary income each year ($1,500 if married filing separately), and carry any remaining loss forward to future years (IRS Topic No. 409). This carryforward never expires, so a bad year can keep reducing your tax bill for years to come.
Strategies to Minimize Capital Gains Tax
- Hold for more than a year. The single biggest lever — crossing the one-year mark moves you from ordinary rates (up to 37%) to long-term rates (0%, 15%, or 20%).
- Harvest losses. Selling losing positions to offset gains (and up to $3,000 of ordinary income) is known as tax-loss harvesting. Mind the IRS wash-sale rule, which disallows the loss if you buy a substantially identical security within 30 days.
- Use tax-advantaged accounts. Gains inside a 401(k), traditional IRA, or Roth IRA are not taxed as they accrue, so you can rebalance without triggering capital gains.
- Mind your bracket. If your taxable income falls in the 0% long-term band in a given year, realizing gains up to that ceiling can be entirely tax-free.
- Donate appreciated assets. Gifting long-held appreciated stock to a qualified charity can let you skip the capital gain and potentially claim a deduction.
The Bottom Line
The difference between short-term and long-term capital gains tax comes down to a single year of patience that can cut your tax rate by half or more. Short-term gains are taxed like a paycheck; long-term gains enjoy rates as low as 0%. Know your holding periods, track your cost basis, and check where your total taxable income lands before you sell.
Check your current bracket with our Tax Bracket Calculator, and run side-by-side scenarios with our Capital Gains Tax Calculator.
This article is general educational information, not tax, legal, or investment advice. Tax brackets and rules change annually and your situation is unique — verify current figures with the IRS and consult a qualified tax professional before making decisions.