The difference between short term vs long term capital gains is the holding period. Sell an asset within one year and the profit is taxed at your ordinary income rates. Hold it longer than one year and the same profit moves into a separate set of lower brackets, which can be 0%, 15% or 20% depending on your income and filing status.
That single day on the calendar can cost a real amount of money. The example most people remember: an identical 50,000 dollar gain taxed short-term at 24% produces a 12,000 dollar bill, while the same gain held long-term at 15% produces 7,500 dollars. Identical investment outcome, 4,500 dollar gap.
One caution before we start. Everything below covers United States federal tax only, brackets and thresholds are adjusted for inflation every year, and state treatment runs on its own schedule. Check IRS.gov for the figures that apply to your tax year, and talk to a CPA about your own situation. This is general information, not tax advice.
Table of Contents
- Short Term vs Long Term Capital Gains at a Glance
- What Determines Short Term and Long Term Capital Gains?
- Why the holding period decides short term vs long term capital gains
- How the holding period clock starts
- What counts as a sale
- Which lot gets sold: FIFO vs specific identification
- How the wash sale rule disturbs the clock
- How the Federal Tax Rate Differs
- Short-term gains are taxed as ordinary income
- Long-term gains are taxed at 0%, 15% or 20%
- The extra layers: NIIT, the 28% cap and state tax
- What Does Short Term vs Long Term Capital Gains Look Like in an Example?
- How Taxes Affect Your Actual Profit
- How losses offset gains
- Which accounts trigger the tax at all
- Crypto and other assets follow the same clock
- Which Is Better for Your Investing Strategy?
- Frequently Asked Questions
- How much capital gains tax do I pay on a 100,000 dollar gain?
- Is long term capital gains taxed at 15% or 20%?
- How can I avoid short-term capital gains tax?
- Is it better to have short term or long term capital gains?
- Do short-term losses cancel out long-term gains?
- Do retirement accounts have capital gains tax?
Short Term vs Long Term Capital Gains at a Glance

Here is the comparison in the shortest form possible.
- Holding period: Short-Term: one year or less, which means 365 days or fewer. Long-Term: more than one year, which means 366 days or more.
- Tax rate: Short-Term: your marginal ordinary income rate. Long-Term: preferential rates of 0%, 15% or 20%.
- How the gain is measured: Short-Term: sale price minus adjusted cost basis. Long-Term: sale price minus adjusted cost basis. Same formula, different clock.
- Which income bucket it joins: Short-Term: stacks on top of wages and other ordinary income. Long-Term: sits in a separate lower-rate bucket.
- Extra surtax: Short-Term: the 3.8% net investment income tax can apply. Long-Term: the 3.8% surtax can also apply above the same income thresholds.
- Losses: Short-Term: net against short-term gains first. Long-Term: net against long-term gains first, then against short-term gains.
- Reported on: Short-Term: Form 8949, then Schedule D. Long-Term: Form 8949, then Schedule D, in the long-term column.
| Criterion | Short term | Long term |
|---|---|---|
| Holding period | One year or less | More than one year |
| Federal rate applied | Ordinary income rates, up to the top bracket | Preferential rates of 0%, 15% or 20% |
| Stacks with ordinary income | Yes | No, calculated separately |
| 3.8% NIIT exposure | Yes, above the MAGI thresholds | Yes, above the same MAGI thresholds |
| Possible rate ceiling | Top ordinary bracket | 28% for collectibles and certain precious metals |
| Offset order | Offsets short-term gains first | Offsets long-term gains first |
| Form 8949 treatment | Box B | Box D, with a long-term holding code |
Exactly one year is still short term. The rule is not twelve months from today, it is a full year from the day after you acquired the asset, and every extra day past that point matters.
What Determines Short Term and Long Term Capital Gains?
Why the holding period decides short term vs long term capital gains
The holding period is the only thing that separates the two categories. The IRS looks at how long the asset has been in your hands since you acquired it, and nothing about the size of the gain, the quality of the company or how clever the trade was enters into it.
A 40,000 dollar gain on shares held eight months is short term. A 40,000 dollar gain on the same position held thirteen months is long term. That is the entire test.
How the holding period clock starts
The clock starts the day after you acquire the asset, not on the day you buy. The day you buy does not count toward the holding period, which is why an asset bought on the same date twelve months later is still short term.
Reinvesting proceeds does not restart the clock on what you still own. If you sell a position after fourteen months and immediately buy the same shares back, the new lot starts a fresh holding period, but the old lot’s period is already history.
What counts as a sale
Selling is the obvious trigger. So is a swap, a trade-in, and in many cases a distribution from a fund or trust that hands you an asset you did not ask for. Nothing happens while a position is merely sitting there, which is worth saying plainly because unrealized gains are not taxed at all.
Paper gains can be very large and completely invisible to the tax code until you sell.
Which lot gets sold: FIFO vs specific identification
Buy the same shares three times at three different prices and you now hold three lots, each with its own cost basis and its own clock. The moment you sell, you have to tell the IRS which lot left the account.
Specific lot identification lets you choose. You tell your broker which lot to sell, which means you can deliberately sell the lot with the lowest basis to shrink the taxable gain, or sell a long-held lot to keep the rate low. Without instructions, the default is first in, first out, so the oldest shares go first whether you wanted them or not.
Specific identification has to be made in the right way and confirmed at the time of the sale. Retroactive requests after the fact are not accepted, which is a detail worth reading in your broker’s tax guide before you rely on it.
How the wash sale rule disturbs the clock
Buy substantially identical shares within 30 days before or after the sale and the wash sale rule can disallow the loss. The disallowed amount gets added to the cost basis of the replacement shares instead, which means the holding period of those new shares tacks on the time from the old ones.
So a wash sale does not always hurt you. Sometimes it pushes your clock forward instead of resetting it.
How the Federal Tax Rate Differs
Short-term gains are taxed as ordinary income
Short-term capital gains have no special rate of their own. They are added to your wages, interest and other ordinary income, and your entire taxable income is then run up the ordinary rate schedule.
This is where the confusion about “20% and 30%” rates comes from. Those figures are brackets on the ordinary income schedule, not capital gains rates. If your ordinary income pushes you into a 24% bracket, 24% of your short-term gain is what gets added to your bill.
Long-term gains are taxed at 0%, 15% or 20%
Long-term gains sit in their own schedule with only three rates, and the rate depends on your total taxable income including the gain itself.
| Filing status | 0% | 15% | 20% |
|---|---|---|---|
| Single | At or below the 0% ceiling | Above the 0% ceiling, below the 15% ceiling | Above the 15% ceiling |
| Married filing jointly | At or below the 0% ceiling | Above the 0% ceiling, below the 15% ceiling | Above the 15% ceiling |
| Head of household | At or below the 0% ceiling | Above the 0% ceiling, below the 15% ceiling | Above the 15% ceiling |
| Married filing separately | Separate schedule entirely | Separate schedule entirely | Separate schedule entirely |
Those ceilings are set by statute and indexed for inflation, so the exact dollar breakpoints shift every year. Pull the current thresholds from IRS.gov before you run numbers, because an article that quotes last year’s brackets is how people end up surprised in April.
One ceiling gets missed often. Long-term gains from collectibles, artwork, certain coins and precious metals are capped at 28% even though they qualify as long term.
The extra layers: NIIT, the 28% cap and state tax
The federal rate is rarely the whole bill. The 3.8% net investment income tax applies to net investment income, which includes both short-term and long-term gains, once your modified adjusted gross income passes a threshold that differs by filing status. The thresholds are indexed too.
Then there is state tax. Most states tax capital gains as ordinary income, a handful offer a preferential rate, and a few have no separate capital gains rate at all. A state with a top rate near the top federal bracket can meaningfully narrow the federal advantage, and no federal article can tell you how your state treats your situation.
What Does Short Term vs Long Term Capital Gains Look Like in an Example?

Take one position with a 50,000 dollar gain after adjusted cost basis. The investor is in a 24% marginal ordinary bracket and files as a single taxpayer.
The only difference between the two columns is how long the shares were held.
| Line | Short term (10 months) | Long term (14 months) |
|---|---|---|
| Sale proceeds | 150,000 | 150,000 |
| Adjusted cost basis | 100,000 | 100,000 |
| Realized gain | 50,000 | 50,000 |
| Rate applied | 24% ordinary | 15% preferential |
| Federal capital gains tax | 12,000 | 7,500 |
| Tax on gain as a share of profit | 24% | 15% |
The gain before tax was 50,000 either way. After tax, the short-term sale left 38,000 and the long-term sale left 42,500, a difference of 4,500 dollars for roughly four extra months of holding.
Now scale it. A 100,000 dollar gain taxed short-term at 24% costs 24,000. The same 100,000 dollar gain taxed long-term at 15% costs 15,000, and at 20% costs 20,000. If your income is low enough for the 0% bracket, the long-term bill on that same 100,000 dollar gain can be nothing at all, though the 3.8% surtax and state tax still need checking.
These figures are illustrative, not a quote of anyone’s actual bill. Your bracket, your filing status, your other income and your state all move the answer.
How Taxes Affect Your Actual Profit
Proceeds are not gains. The gain is the sale price minus your adjusted cost basis, which is what you originally paid plus brokerage commissions and certain improvement costs, minus anything you already deducted.
A position that returned 150,000 dollars with a 140,000 dollar basis produces a 10,000 dollar gain, and a 10,000 dollar gain taxed short-term at 24% is a 2,400 dollar bill. That mismatch between what you received and what you owe is exactly the small-bill surprise that confuses people. People on investing forums ask about owing tax on a few hundred dollars of gain, and the reason is that the rate applies to the gain, not to the profit after fees and not to a minimum threshold.
How losses offset gains
Losses are netted within each category first. Short-term losses offset short-term gains, long-term losses offset long-term gains, and only the remainder crosses over to the other side. So a short-term loss of 20,000 dollars wipes out 20,000 dollars of short-term gains before a single dollar of long-term gain is touched.
That cross-netting order is the most misunderstood rule in this whole area, and it works in one direction at a time. If you have a big long-term loss year followed by a big short-term gain year, the long-term loss shelters the short-term gains up to its size. A big gain year followed by a big loss year does not work the same way.
When losses exceed gains, the leftover capital loss can offset ordinary income up to 3,000 dollars a year for individuals, with the rest carried forward indefinitely. Married filing jointly, the annual offset is shared between both spouses. A large loss year therefore does not fully shield a large gain year, which surprises people who expect losses to be unlimited.
Which accounts trigger the tax at all
The holding period rule applies everywhere, but the tax consequence depends entirely on the account. Inside a traditional 401(k) or traditional IRA, a sale pays nothing now and the money is taxed later on withdrawal. Inside a Roth, a qualified distribution is tax-free. Inside a taxable brokerage account, the gain is taxed in the year you realize it.
That is the most effective way to remove capital gains tax from a picture, and it is frequently missed by articles that only discuss rates.
Crypto and other assets follow the same clock
Digital assets are treated as property, so the same one-year rule applies and most traders holding for weeks end up with short-term treatment. Real estate, ETFs and precious metals use the same framework, with different special rules layered on top for each.
Which Is Better for Your Investing Strategy?
For a long-term investor, long-term treatment is what the plan already assumes. Selling on a schedule that ignores the one-year mark is how people convert a decade of compounding into a short-term bill for no reason.
For an active trader, short-term gains are simply the cost of the strategy, and the realistic levers are elsewhere: harvesting losses against gains in the same year, choosing which lots to sell, and keeping the activity inside an account that defers the tax.
For a retirement saver, the account type matters more than the rate. If the position sits in a taxable account, you are choosing between 24% and 15% on the same dollar. If it sat in a Roth or a traditional 401(k), that decision largely would not exist.
For a parent with a minor’s custodial account, the child’s gains are generally unearned income taxed at the parent’s top rate with the Kiddie Tax thresholds layered on, so a long holding period helps twice.
For real estate, the primary residence exclusion and a 1031 exchange can matter far more than the ordinary versus preferential rate, and both carry their own holding requirements.
The genuine tension is worth naming. If a thesis has broken, holding another four months to cross the one-year line is a tax decision made with an investment decision attached, and forcing it is how people end up concentrated in something they already want to sell. A lower tax rate on a losing position is not a good outcome.
Tax-loss harvesting complements all of this. Selling a loser to offset a gain is a lot-level decision, and specific identification makes it possible.
Frequently Asked Questions
How much capital gains tax do I pay on a 100,000 dollar gain?
It depends on the holding period and your bracket. A 100,000 dollar gain held one year or less is taxed as ordinary income, so at a 24% marginal rate the federal tax is 24,000 dollars. The same gain held more than one year is taxed at 0%, 15% or 20%, so 15,000 dollars at the 15% rate and 20,000 dollars at 20%. The 3.8% NIIT and state tax may apply on top.
Is long term capital gains taxed at 15% or 20%?
Both, depending on income. Long-term capital gains use only three rates: 0%, 15% and 20%. You land in the 0% or 15% band if your total taxable income, including the gain, falls under the threshold for your filing status, and at 20% above it. The thresholds are adjusted for inflation, so check IRS.gov for the breakpoints that apply to your tax year.
How can I avoid short-term capital gains tax?
You cannot remove the tax, only its timing and size. Hold past the one-year mark so the gain qualifies for preferential rates, use specific lot identification to sell the lowest-cost lot, harvest losses to offset gains in the same year, and consider whether the asset belongs in a tax-advantaged account at all. Deferring into a traditional IRA or 401(k) removes the immediate bill entirely.
Is it better to have short term or long term capital gains?
Long term, for nearly everyone. The same dollar of profit keeps more of its value when it is taxed at 0%, 15% or 20% instead of your ordinary rate, and the only way to get there is holding past one year. The exception is an active trader whose gains are a deliberate part of the strategy, where the realistic levers are loss harvesting, lot selection and account choice.
Do short-term losses cancel out long-term gains?
Eventually, yes, but not immediately. Losses net within their own category first: short-term losses offset short-term gains and long-term losses offset long-term gains. Only the remainder crosses over. So a 20,000 dollar short-term loss clears 20,000 dollars of short-term gains before it touches any long-term gain. Leftover losses can offset up to 3,000 dollars of ordinary income a year, with the rest carried forward.
Do retirement accounts have capital gains tax?
Not while the money stays inside them. A sale inside a traditional 401(k) or traditional IRA triggers nothing now; the gain is taxed later when distributions are taken. A qualified Roth distribution is tax-free. Inside a taxable brokerage account, the same sale is taxed in the year it happens. This is often the single largest tax lever available, and it is a matter of which account holds the asset.
Start by checking where each appreciated position actually sits. If it is in a taxable brokerage account, find the purchase dates, because anything past one year is already sitting in the cheaper bracket. Then decide your sales order deliberately, with specific lot identification in place, and treat the one-year line as a fact about the calendar rather than a decision to agonize over.
Again, this is general information about United States federal rules and it changes as the law changes. For your own numbers, a CPA is worth an hour of their time.


