
Published: March 12, 2026 Tax Year: 2026
The first time I sold a stock after holding it for eleven months, I paid almost double the tax rate I would have paid if I had waited thirty more days. That was a $2,400 lesson in the difference between short-term and long-term capital gains.
At Anna Money, where we served 60,000+ SMEs, many of our business owners invested their profits into stocks, real estate, or other assets. A surprisingly common mistake was selling an appreciated asset in December without checking the purchase date. One month of patience could have dropped their tax rate from 32% to 15% — saving thousands. But nobody told them that at the right time.
Capital gains taxation is one of the most consequential tax rules for anyone who invests, sells business assets, or deals with real property. The holding period — whether you held an asset for more or less than one year — determines whether you pay your ordinary income tax rate (up to 37%) or the preferential long-term rate (as low as 0%). For a freelancer earning $100,000 who sells $50,000 worth of stock, that distinction can mean a difference of $5,000 to $10,000 in taxes.
This guide breaks down exactly how short-term and long-term capital gains are taxed in 2026, including the updated thresholds, the Net Investment Income Tax, netting rules, and practical strategies for minimizing your capital gains tax.
The fundamental rule: Assets held for one year or less produce short-term capital gains (taxed as ordinary income). Assets held for more than one year produce long-term capital gains (taxed at preferential rates).
2026 Short-Term Capital Gains Rates (Same as Ordinary Income):
| Taxable Income (Single) | Tax Rate |
|---|---|
| $0–$12,400 | 10% |
| $12,401–$50,400 | 12% |
| $50,401–$103,350 | 22% |
| $103,351–$197,300 | 24% |
| $197,301–$250,525 | 32% |
| $250,526–$626,350 | 35% |
| Over $626,350 | 37% |
2026 Long-Term Capital Gains Rates:
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $49,450 | $49,451–$545,500 | Over $545,500 |
| Married Filing Jointly | Up to $98,900 | $98,901–$613,700 | Over $613,700 |
| Head of Household | Up to $66,200 | $66,201–$579,600 | Over $579,600 |
Net Investment Income Tax (NIIT): Additional 3.8% on investment income if MAGI exceeds $200,000 (single) or $250,000 (MFJ). Not inflation-adjusted.
Maximum effective tax rates:
Net capital loss deduction: Up to $3,000 per year ($1,500 if married filing separately). Unused losses carry forward indefinitely.
Legal basis: IRC §1(h) (capital gains rates), IRC §1222 (definitions), IRC §1231 (business property), IRC §1411 (NIIT), IRS Publication 544, Schedule D, Form 8949

The holding period determines everything. When you sell a capital asset, you calculate the time between two dates:
If the holding period is one year or less, the gain is short-term. If it is more than one year, the gain is long-term.
Example: You buy 100 shares of stock on March 15, 2025. Your holding period starts March 16, 2025.
That one-day difference can change your tax rate from 24% to 15%.
Not all assets follow the standard acquisition date:
| Situation | Holding Period Starts |
|---|---|
| Inherited property | Automatically treated as long-term, regardless of actual holding period |
| Gifted property | Donor's holding period carries over (tacks on) |
| Stock splits | Original purchase date applies |
| Reinvested dividends | Each reinvestment has its own purchase date |
| Wash sale replacement shares | Includes holding period of the original disallowed shares |
| Short sales | Begins when replacement shares are delivered |
Legal citation: IRC §1222 defines short-term and long-term capital gains. IRC §1223 provides rules for determining holding periods. For inherited property, IRC §1014 and §1223(9) establish automatic long-term treatment.
Short-term capital gains are added to your other ordinary income — wages, freelance income, interest — and taxed at the same rates:
| Taxable Income | Marginal Rate |
|---|---|
| $0–$12,400 | 10% |
| $12,401–$50,400 | 12% |
| $50,401–$103,350 | 22% |
| $103,351–$197,300 | 24% |
| $197,301–$250,525 | 32% |
| $250,526–$626,350 | 35% |
| Over $626,350 | 37% |
| Taxable Income | Marginal Rate |
|---|---|
| $0–$24,800 | 10% |
| $24,801–$100,800 | 12% |
| $100,801–$197,300 | 22% |
| $197,301–$250,525 | 24% |
| $250,526–$394,600 | 32% |
| $394,601–$626,350 | 35% |
| Over $626,350 | 37% |
Here is a concrete comparison. Suppose you are a single freelancer with $80,000 in net self-employment income and you sell stock for a $20,000 gain.
If the gain is short-term:
Freelance income: $80,000
Short-term capital gain: $20,000
Total ordinary income: $100,000
Standard deduction: -$16,100
Taxable income: $83,900
The $20,000 gain is taxed in the 22% bracket.
Federal tax on the gain: ~$4,400
If the gain is long-term:
Freelance income: $80,000
Standard deduction: -$16,100
Ordinary taxable income: $63,900
The $20,000 long-term gain is taxed at the 15% rate.
Federal tax on the gain: $3,000
Difference: $1,400 — and the gap widens significantly at higher income levels.
Legal citation: IRC §1(a)–(d) establishes the ordinary income tax brackets. Short-term capital gains are defined under IRC §1222(1) and are not eligible for the preferential rates of IRC §1(h).
Long-term capital gains receive one of three preferential rates based on your taxable income:
Single Filers:
| Taxable Income | LTCG Rate |
|---|---|
| $0–$49,450 | 0% |
| $49,451–$545,500 | 15% |
| Over $545,500 | 20% |
Married Filing Jointly:
| Taxable Income | LTCG Rate |
|---|---|
| $0–$98,900 | 0% |
| $98,901–$613,700 | 15% |
| Over $613,700 | 20% |
Head of Household:
| Taxable Income | LTCG Rate |
|---|---|
| $0–$66,200 | 0% |
| $66,201–$579,600 | 15% |
| Over $579,600 | 20% |
Married Filing Separately:
| Taxable Income | LTCG Rate |
|---|---|
| $0–$49,450 | 0% |
| $49,451–$306,850 | 15% |
| Over $306,850 | 20% |
Source: IRS Revenue Procedure 2025-32 (2026 inflation-adjusted thresholds), as amended by OBBBA
If your taxable income (after deductions) is below the 0% threshold, your long-term capital gains are taxed at zero. This applies to total taxable income including the gains.
Example: A single freelancer has $35,000 in net business income after deductions and $10,000 in long-term capital gains. Total taxable income: $45,000. Since $45,000 is below the $49,450 threshold, the entire $10,000 gain is taxed at 0%.
But the 0% rate also works for gains that partially fall within the bracket:
Example: Same freelancer has $45,000 in ordinary taxable income and $10,000 in long-term gains. The first $4,450 of gains fills up the 0% bracket ($49,450 − $45,000). The remaining $5,550 is taxed at 15%. Total tax on the gains: $832.50.
This is particularly valuable for self-employed people who maximize business deductions — lower taxable income means more room in the 0% bracket.
Use the Capital Gains Tax Calculator to estimate your tax based on your filing status, income, and holding period.
Legal citation: IRC §1(h) establishes the preferential rates for net capital gain. The income thresholds are adjusted annually for inflation under IRC §1(f).
The NIIT adds 3.8% to your tax on investment income — but only if your Modified Adjusted Gross Income (MAGI) exceeds certain thresholds. These thresholds have not been adjusted for inflation since the tax was created in 2013.
2026 NIIT Thresholds:
| Filing Status | MAGI Threshold |
|---|---|
| Single | $200,000 |
| Married Filing Jointly | $250,000 |
| Married Filing Separately | $125,000 |
| Head of Household | $200,000 |
The 3.8% applies to the lesser of:
Example (Single filer):
MAGI: $260,000
NIIT threshold: $200,000
Excess over threshold: $60,000
Net investment income:
Short-term capital gains: $15,000
Long-term capital gains: $30,000
Dividends: $5,000
Total NII: $50,000
NIIT = 3.8% x lesser of ($60,000 or $50,000)
NIIT = 3.8% x $50,000 = $1,900
Subject to NIIT:
NOT subject to NIIT:
Legal citation: IRC §1411 established the NIIT. The thresholds are statutory and not indexed for inflation.
With NIIT, the maximum federal rates on capital gains become:
| Type | Base Rate | + NIIT | Effective Maximum |
|---|---|---|---|
| Short-term | 37% | 3.8% | 40.8% |
| Long-term | 20% | 3.8% | 23.8% |
The difference between maximum rates is 17 percentage points — a significant incentive to hold assets for more than a year.
When you have multiple transactions in a year, the IRS requires a specific netting process. This is not optional — the order matters.
All capital gains and losses are first sorted into two buckets:
| Short-Term | Long-Term |
|---|---|
| Gains: +$8,000 | Gains: +$12,000 |
| Losses: -$3,000 | Losses: -$5,000 |
| Net: +$5,000 | Net: +$7,000 |
Each is taxed at its respective rate. In the example above, $5,000 is taxed as ordinary income and $7,000 at long-term rates. This is the simplest scenario.
The net loss offsets the net gain in the other category:
| Scenario | Short-Term | Long-Term | Result |
|---|---|---|---|
| A | Net gain: +$5,000 | Net loss: -$3,000 | +$2,000 short-term gain |
| B | Net loss: -$4,000 | Net gain: +$10,000 | +$6,000 long-term gain |
| C | Net loss: -$2,000 | Net loss: -$4,000 | -$6,000 total net loss |
In Scenario B, the netting preserves the favorable long-term rate — your remaining $6,000 gain is still taxed at the lower long-term rate, not reclassified as short-term.
If your total net capital losses exceed total net capital gains, you can deduct up to $3,000 per year ($1,500 if married filing separately) against ordinary income. Any remaining loss carries forward to future years indefinitely.
Example: You have $2,000 in net short-term losses and $5,000 in net long-term losses. Your total net capital loss is $7,000. You deduct $3,000 this year. The remaining $4,000 carries forward to 2027, retaining its short-term or long-term character.
Legal citation: The netting process is governed by IRC §1(h) and explained in detail in Schedule D instructions. The $3,000 capital loss limitation is established in IRC §1211(b). Carryforward rules are in IRC §1212(b).
If you sell business property held for more than one year — equipment, vehicles, real property used in your business — these gains may qualify for Section 1231 treatment.
Section 1231 gives you the best of both worlds:
There is a catch. If you claimed ordinary loss treatment on Section 1231 losses in any of the five preceding tax years, an equivalent amount of your current Section 1231 gain is "recaptured" and taxed as ordinary income.
Example: In 2024, you had a $10,000 Section 1231 loss that you deducted as an ordinary loss. In 2026, you sell business equipment for a $15,000 Section 1231 gain. The first $10,000 is recaptured as ordinary income. Only the remaining $5,000 receives long-term capital gains treatment.
If you sell depreciable business property at a gain, you may also face depreciation recapture under Sections 1245 and 1250:
For a detailed breakdown of depreciation recapture rules, see our Depreciation Recapture Guide.
Legal citation: IRC §1231 (business property gains and losses), IRC §1245 (depreciation recapture for personal property), IRC §1250 (depreciation recapture for real property), IRS Publication 544
Long-term gains on collectibles are taxed at a maximum rate of 28% — higher than the standard 20% maximum for other long-term gains. Collectibles include:
Important: If your ordinary income rate is below 28%, you pay your ordinary rate instead. The 28% is a cap, not a flat rate.
If you sell stock in a qualified small business (C corporation with gross assets under $50 million at issuance), you may exclude up to 100% of the gain from federal income tax. The maximum exclusion is the greater of $10 million or 10 times your basis in the stock.
Requirements:
Legal citation: IRC §1(h)(4) sets the 28% rate for collectibles. IRC §1202 provides the QSBS exclusion. IRS Publication 550 covers investment income reporting.
Form 8949 (Sales and Other Dispositions of Capital Assets):
Schedule D (Capital Gains and Losses):
Your brokerage sends Form 1099-B with transaction details. Since 2011, brokers are required to report cost basis for most securities. Check the "basis reported to IRS" indicator — if basis was reported, your Form 8949 filing is simpler.
When you own shares purchased at different prices, the method you use to determine cost basis matters:
| Method | How It Works | Default For |
|---|---|---|
| FIFO (First In, First Out) | Oldest shares sold first | Most brokerages |
| Specific Identification | You choose which shares to sell | Available if you designate at sale |
| Average Cost | Total cost ÷ number of shares | Mutual funds only |
Tax planning tip: Specific identification gives you the most control. If you have shares purchased at $50 and $30, selling the $50 shares first reduces your gain.
Legal citation: Form 8949 and Schedule D are required by IRC §1001 (recognition of gain or loss). Cost basis reporting rules are in IRC §6045(g).
The simplest strategy. If you are considering selling an appreciated asset, check your purchase date. If selling now produces a short-term gain, waiting until you cross the one-year mark can cut your rate from up to 37% to 15% (or even 0%).
Sell losing positions to offset gains. A $10,000 loss offsets a $10,000 gain, dollar for dollar. Just watch out for the wash sale rule — if you buy a substantially identical security within 30 days before or after the sale, the loss is disallowed.
If your taxable income is below $49,450 (single) or $98,900 (MFJ), plan to realize long-term gains in years when your income is lower. This is especially relevant for freelancers whose income fluctuates year to year.
Self-employed people have a unique advantage: business deductions reduce your taxable income, which can push your capital gains into lower rate brackets. Maximizing deductions for your home office, business vehicle, and retirement contributions directly affects which capital gains bracket you fall into.
If you donate long-term appreciated securities to a qualified charity, you can:
This is more tax-efficient than selling the asset, paying capital gains tax, and donating the cash.
If you sell a business asset or real property, an installment sale (IRC §453) spreads the gain over multiple years. This can keep you in a lower tax bracket in each year rather than recognizing the full gain at once.
Investing capital gains into a Qualified Opportunity Zone fund (IRC §1400Z-2) allows you to defer and potentially reduce capital gains tax. The deferral lasts until December 31, 2026 or until you sell the investment, whichever comes first. Investments held for 10 or more years may qualify for a permanent exclusion of gain on the QOZ investment itself.
The holding period must be more than one year for long-term treatment. Exactly 365 days is short-term. This is the most common and most expensive mistake.
Some taxpayers assume all gains are taxed at the same rate. They're not. Short-term and long-term gains are netted separately first, and the order affects your total tax.
Selling a stock at a loss and buying it back within 30 days disallows the loss. The rule applies even if you buy the replacement in a different account — including your spouse's account or your IRA. Read our full Wash Sale Rule Guide.
If you cannot prove your cost basis, the IRS may treat your entire sale price as gain. Keep records of every purchase, especially for assets acquired before brokers were required to track basis (pre-2011 stocks, cryptocurrency, real property).
Taxpayers often calculate their capital gains tax using only the 0%/15%/20% rates and forget about the 3.8% NIIT. If your MAGI exceeds $200,000 (single), the effective rate on long-term gains jumps from 15% to 18.8% or from 20% to 23.8%.
Crypto-to-crypto transactions are taxable events. Trading Bitcoin for Ethereum triggers a capital gain or loss on the Bitcoin. Many crypto investors fail to track the holding period for each individual transaction, resulting in short-term treatment when long-term would have applied.
Federal rates are only part of the picture. States like California (up to 13.3%), New York (up to 10.9%), and New Jersey (up to 10.75%) tax capital gains as ordinary income. Meanwhile, nine states — including Florida, Texas, and Wyoming — have no state income tax at all. See our States With No Income Tax Guide for the full list.
Capital gains tracking requires knowing the purchase date, cost basis, and holding period for every asset you sell. When you also have self-employment income, quarterly estimated taxes, and multiple income sources, keeping everything organized becomes a real challenge.
Jupid is an AI-powered tax assistant built specifically for freelancers, solopreneurs, and LLC owners. Here is how it helps with capital gains:
Automatic income categorization. When you connect your bank and brokerage accounts, Jupid categorizes investment income separately from business income, so you always know where you stand with both.
Real-time tax estimates. Jupid calculates your estimated tax liability throughout the year — factoring in your self-employment income, capital gains, deductions, and quarterly payments. If a stock sale pushes you into a higher bracket or triggers NIIT, you will see it immediately.
WhatsApp and iMessage access. Have a quick question about whether selling a stock now versus next month changes your tax situation? Ask Jupid through WhatsApp or iMessage. You get an answer in seconds, not days.
95.9% categorization accuracy. Jupid correctly categorizes 95.9% of your transactions automatically. For self-employed people juggling business expenses, personal spending, and investment activity, that accuracy prevents costly misclassifications.
Before building Jupid, I spent eight years at Anna Money serving 60,000+ small business owners. The number one complaint was always the same: tax surprises. Capital gains — especially the interaction between investment income and self-employment income — was one of the biggest sources of those surprises.
Try Jupid free and get your capital gains organized →
Capital gains taxation rewards patience. The one-year holding period is the single most impactful factor — waiting just one extra day can drop your rate from 37% to 15%, or from 24% to 0%. That is not a rounding error; it is thousands of dollars on any meaningful gain.
For self-employed people, the interaction between business income and investment income makes planning even more important. Your business deductions directly affect which capital gains bracket you land in. A well-timed retirement contribution or equipment purchase can push your taxable income below the 0% threshold, making your long-term gains tax-free.
Track your holding periods, document your cost basis, understand the netting rules, and plan your sales with the calendar in mind. The tax code rewards those who do.
Disclaimer: This article is for informational purposes only and does not constitute tax, legal, or financial advice. Tax laws change frequently, and individual circumstances vary. Consult a qualified tax professional before making decisions based on this content. The 2026 figures cited are based on IRS Revenue Procedure 2025-32 and current law as of the publication date.
Join 1,000+ businesses using Jupid to save time and money. Start simplifying your finances today.
30-day money-back guarantee