Cap. Gains Mortgage Paycheck Car Loan
IRS-Accurate 2026 Brackets · Rev. Proc. 2025-32

2026 Capital Gains Tax Calculator

Enter your numbers and get an IRS-accurate breakdown of the federal capital gains tax you'll owe on stocks, crypto, or real estate — whether you've already sold or are planning to. No signup. No data stored.

IRS-aligned brackets No signup required Instant results
Federal Tax — Free Forever 2026 IRS Rates Short & Long Term All 50 States — Pro Multi-Stock & Harvesting — Pro
Tax Estimate Long-Term · 15%
Estimated Tax Owed
$8,250 federal
Capital Gain
$55,000
Net Proceeds
$46,750
Fed Rate
15%
Held
2 yrs 3 mo
Tax as % of gain15%

What is a Capital Gain?

When you sell stock for more than you paid, the profit is a "capital gain" — and the IRS taxes it. Hold for over 1 year → lower long-term rates (0–20%). Hold 1 year or less → taxed at your regular income rate (10–37%). This calculator shows exactly which bracket you land in for any tax year.

The year you sold the stock
How you file your return
$
Your wages/salary before adding the stock profit — this determines your tax bracket Please enter a valid income (0 or more)

State taxes can significantly increase your total —

$
Cost per share when you bought Please enter a valid purchase price
$
Price per share when you sold Please enter a valid sale price
How many shares did you sell? Please enter at least 1 share
$
Commissions reduce your taxable gain Please enter a valid fee amount (0 or more).
When did you buy? Please enter a valid purchase date
When did you sell? Sale date must be after purchase date
Your Results
Long-term gain (>1 year) Held 2yr 2mo
Total Gain / Loss
$5,000
Profit from sale
Effective Tax Rate
15.0%
Of your total gain
Total Tax Owed
$750
Federal tax only
Federal State NIIT (3.8%)
State tax not included — unlock Pro to add your state
You Keep (After Tax)
$4,250
Federal only
Federal Rate Applied
15.0%
Long-term capital gains
💡
Smart Tax Insights

In Plain English

Your result will appear here.

Full Calculation Breakdown

Total sale proceeds
Original cost basis
Broker fees deducted
Capital gain (profit)
Gain type
Federal tax rate applied
Federal tax owed
State tax
NIIT (3.8% surtax)
Net profit after tax
⚠ You may also owe Net Investment Income Tax (NIIT) — 3.8% Your income exceeds the NIIT threshold.

What if you wait to sell?

SHORT-TERM → LONG-TERM
Sell now
Short-term tax owed
Wait until long-term
Long-term tax instead
💰
You could save by holding past the 1-year mark
Assumes same gain amount and income when you sell. Actual savings may vary.
💡
Save even more with state-aware planning Some states have 0% capital gains tax. If you're flexible on timing and location, Pro shows your tax across all 50 states — find where you'd keep the most.
🗺️
You may be underestimating your tax
This estimate is federal only. Most states add 3–13% on top — that could mean hundreds more owed.
📊 Your Full Tax Picture
PRO
Based on your location: California
Federal Only
$8,250
Federal + State
$12,567
California state tax: $4,317 (~13.3%)
One-time payment · Lifetime access · All 50 states
Don't forget state taxes

Depending on where you live, you may owe an extra 0–13.3% on top of federal. California can add thousands. Most states tax capital gains as ordinary income.

Want the complete picture?
Capital Gain Pro (All 50 states, Multi-stock, Tax-loss harvesting) Mortgage Pro Toolkit (Extra payments, Refi, Affordability) Paycheck Pro (Job compare, Bonus & OT, 401k optimizer, Raise) Car Loan Pro (Extra payments, Loan compare, Refinance & Affordability)
$10 one-time

What to do next

📅
Pay estimated taxes if you owe more than $1,000 You may need quarterly payments to avoid an IRS underpayment penalty. Due dates: April 15, June 15, Sept 15, Jan 15.
📄
Report on Schedule D when you file Your broker sends Form 1099-B with all your sales. Report on Schedule D of Form 1040 — due April 15.
💡
Consider tax-loss harvesting If other positions are underwater, selling them can offset this gain and reduce your total tax bill for the year.

Disclaimer: This calculator provides estimates only and is not tax advice. Actual tax liability may vary based on your full financial situation. Please consult a qualified tax professional.

Last updated: 2026 IRS brackets (Rev. Proc. 2025-32)
Upgrade to Pro
You're missing part of your tax picture

Your result excludes state taxes and advanced optimizations. Unlock full accuracy.

All 50 state tax rates Multi-stock calculator Full Mortgage Calculator Future Calculators Included
IRS-accurate 2026 brackets
No data stored — 100% private
Instant calculation — no login
Federal calculation always free

Frequently Asked Questions

Capital gains tax, explained in plain language.

Long-term (held over 1 year): 0%, 15%, or 20% depending on income. Single filers: 0% up to $49,450 · 15% from $49,451–$545,500 · 20% above $545,500. Short-term (1 year or less): taxed at your regular income rate (10%–37%). Married filing jointly thresholds are roughly double the single thresholds.
Short-term: sold within 12 months — taxed at your ordinary income rate (10–37%). Long-term: held more than 12 months — taxed at preferential rates (0%, 15%, or 20%). Example: On a $10,000 gain, a 37% taxpayer pays $3,700 short-term vs. $2,000 long-term. Holding just one extra day past 12 months can save thousands.
Most states tax capital gains as ordinary income. Zero-tax states: Florida, Texas, Nevada, Alaska, Washington, Wyoming, South Dakota, Tennessee, New Hampshire. Highest rates: California 13.3%, New Jersey 10.75%, New York 10.9%, Oregon 9.9%. Most others range 3–7%. Upgrade to Pro to automatically calculate your state tax.
An extra 3.8% surtax on investment income for high earners. It applies when your modified AGI exceeds $200,000 (single) or $250,000 (married filing jointly). This calculator warns you when your income may trigger NIIT — but always confirm with a CPA since the calculation can be complex.
If you sell a stock at a loss and repurchase the same or substantially identical stock within 30 days before or after the sale, the IRS disallows the loss deduction. The disallowed loss is added to your cost basis in the new shares instead. Our Pro harvesting tool flags wash sales automatically so you don't accidentally lose your deduction.
Your broker sends a Form 1099-B each year listing every sale. You report these on Schedule D of Form 1040. Most tax software can import your 1099-B directly so you don't need to enter each trade manually. Annual returns and taxes are due April 15.
Selling losing positions to realize a loss that offsets your gains, reducing your tax bill. Example: $8,000 profit on Apple, $3,000 loss on another stock → you only pay tax on $5,000 net gain. Up to $3,000 in excess losses can also offset ordinary income each year, with the remainder carrying forward indefinitely.
This calculator uses official IRS 2026 brackets (Rev. Proc. 2025-32) and is accurate for straightforward stock sales. It does not account for AMT, depreciation recapture, Qualified Opportunity Zone investments, or other edge cases. Always consult a qualified CPA or tax professional before filing. This tool is for estimation purposes only.
Understanding Your Tax Obligation

A Complete Guide to Capital Gains Tax in 2026

Whether you sold stocks, crypto, real estate, or mutual funds — this guide breaks down exactly how the IRS taxes your profits, what rates apply, and strategies to minimize your bill. Updated for the 2026 tax year using IRS Revenue Procedure 2025-32.

How Capital Gains Tax Actually Works

When you sell an investment for more than you paid, the profit is called a capital gain. The IRS doesn't tax unrealized gains — only the profit you realize by selling. Your tax depends on three factors: the size of the gain, how long you held the asset, and your total taxable income for the year.

The U.S. tax code divides capital gains into two categories based on your holding period:

  • Short-term gains — assets held for 1 year or less. Taxed at your ordinary income tax rate (10%–37% for 2026).
  • Long-term gains — assets held for more than 1 year. Taxed at preferential rates of 0%, 15%, or 20%.

The holding period is measured from the day after you acquire the asset to the day you sell it. Selling on the 366th day qualifies as long-term. This single-day distinction can mean thousands of dollars in tax savings — a $50,000 gain might cost $18,500 in short-term tax (37%) versus $7,500 long-term (15%).

The Stacking Method: How Your Rate Is Determined

The IRS uses a "stacking" method to determine your capital gains rate. Your ordinary income fills the brackets first. Then your capital gains are "stacked on top" to determine which rate applies. This means someone with $40,000 in ordinary income and a $20,000 capital gain gets a different rate than someone with $500,000 in ordinary income and the same $20,000 gain.

This is why our calculator asks for both your annual income and your capital gain — both numbers are required to determine the correct rate.

2026 Long-Term Capital Gains Brackets

For the 2026 tax year (per IRS Rev. Proc. 2025-32), long-term capital gains rates are:

RateSingleMarried Filing JointlyHead of Household
0%Up to $49,450Up to $98,900Up to $66,200
15%$49,451 – $545,500$98,901 – $613,700$66,201 – $579,600
20%Over $545,500Over $613,700Over $579,600

These thresholds are based on your total taxable income (ordinary income + capital gains combined), not just the gain alone.

The Net Investment Income Tax (NIIT)

High earners face an additional 3.8% surtax called the Net Investment Income Tax (IRC §1411). This applies when your Modified Adjusted Gross Income (MAGI) exceeds:

  • $200,000 for single filers and head of household
  • $250,000 for married filing jointly
  • $125,000 for married filing separately

The NIIT is calculated on the lesser of your net investment income or the amount your MAGI exceeds the threshold. Unlike most tax brackets, these thresholds have not been adjusted for inflation since 2013, catching more taxpayers each year.

At the highest federal level, this means a combined rate of 20% + 3.8% = 23.8% on long-term capital gains — and potentially over 37% when state taxes are added in high-tax states like California (13.3%) or New York (10.9%).

State Capital Gains Taxes

Federal tax is only part of the picture. 41 states (plus D.C.) levy additional taxes on capital gains, typically treating them as ordinary income with no preferential rate. The impact varies dramatically by state:

  • No state tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington (except 7% on gains over $262,000), Wyoming
  • Low rates (under 5%): Arizona (2.5%), Indiana (2.95%), Pennsylvania (3.07%), North Dakota (1.95%), Colorado (4.4%)
  • High rates (over 9%): California (13.3%), New York (10.9%), New Jersey (10.75%), Oregon (9.9%), Minnesota (9.85%)

For a high earner in California, the total tax on a long-term capital gain can reach 37.1% (20% federal + 3.8% NIIT + 13.3% state) — nearly the same as the top ordinary income rate. This makes state-level planning critically important.

Cost Basis: The Starting Point of Every Calculation

Your capital gain is calculated as: Sale Price − Cost Basis = Capital Gain. Getting your cost basis right is the foundation of accurate tax calculation.

Cost basis includes:

  • The original purchase price of the asset
  • Commissions and transaction fees paid at purchase and sale
  • Reinvested dividends (each reinvestment creates a new tax lot)
  • Improvements made to real property (renovations, additions)
  • Stock splits adjust per-share basis but not total basis

Inherited assets receive a "stepped-up" basis to fair market value at the date of death, effectively wiping out decades of unrealized gains. Gifted assets carry over the donor's original basis — the recipient inherits the embedded tax liability.

Specific Identification vs. FIFO

If you purchased the same stock at different times and prices, you have multiple "tax lots." When you sell, which lots are you selling? By default, the IRS uses FIFO (First In, First Out) — your oldest shares are sold first. However, you can use specific identification to designate which lots to sell, potentially choosing higher-cost lots to minimize your gain. You must identify the lots at the time of sale and your broker must confirm.

Key Tax-Saving Strategies

Several legal strategies can significantly reduce your capital gains tax burden:

  • Tax-loss harvesting: Sell losing positions to offset gains. Net losses beyond your gains can offset up to $3,000 of ordinary income per year, with excess carrying forward indefinitely.
  • 0% bracket harvesting: If your taxable income is below the 0% threshold ($49,450 single / $98,900 MFJ), you can sell appreciated assets completely tax-free to reset your cost basis.
  • Charitable giving: Donate appreciated stock directly to charity. You avoid capital gains tax entirely and receive a deduction for the full fair market value.
  • Hold for long-term treatment: If you're close to the 1-year mark, waiting even a single day can cut your rate from up to 37% down to 15% or even 0%.
  • 1031 exchanges (real estate): Swap one investment property for another of equal or greater value. Capital gains tax is deferred indefinitely.

Our full tax reduction strategies guide covers 8 legal methods in detail, including Qualified Opportunity Zones and installment sales.

How to Report Capital Gains on Your Tax Return

Capital gains are reported using these IRS forms:

  • Form 8949: Lists each individual sale with dates, proceeds, basis, and gain/loss
  • Schedule D (Form 1040): Summarizes all capital gains and losses
  • Form 1099-B: Sent by your broker each January with all sale details
  • Form 8960: Calculates NIIT (only if applicable)

Most tax software can import your Form 1099-B directly from major brokerages. If you sold stock, crypto, real estate, or other assets during the year, you must report the transaction even if you had a net loss.

Estimated Tax Payments

If you expect to owe more than $1,000 in tax after subtracting withholding, you may need to make quarterly estimated payments to avoid underpayment penalties. Due dates for 2026: April 15, June 16, September 15, and January 15 (2027).

This is especially relevant for freelancers, retirees, and anyone with significant investment gains that aren't subject to employer withholding.

Special Situations

Cryptocurrency

The IRS treats cryptocurrency as property, not currency. Every sale, trade, swap, and use of crypto to purchase goods is a taxable event. However, crypto is currently exempt from the wash-sale rule, meaning you can sell at a loss and immediately repurchase to harvest losses — unlike stocks. See our crypto tax guide for complete details.

Real Estate

Homeowners can exclude up to $250,000 (single) or $500,000 (married) of gain from a primary residence sale under Section 121, provided they lived in the home for at least 2 of the last 5 years. Rental property owners face depreciation recapture taxed at 25% on top of regular capital gains rates. Read our real estate capital gains guide.

Mutual Funds and ETFs

Mutual funds may distribute capital gains to shareholders annually — you owe tax on these distributions even if you didn't sell any shares. These are reported on Form 1099-DIV. ETFs are generally more tax-efficient due to their in-kind creation/redemption process, which avoids triggering taxable events.

Need your exact number? Our calculator above uses official 2026 IRS brackets (Rev. Proc. 2025-32) to give you an instant, accurate federal capital gains estimate. No signup required.

Calculate Your Tax →
Guides & Resources

How to Calculate Capital Gains Tax

Everything you need to know about short-term and long-term capital gains tax rates, IRS brackets, and how to determine what you owe.

Long-Term Gains

How to Calculate Long-Term Capital Gains Tax

Held your investment for over a year? You qualify for preferential long-term rates — 0%, 15%, or 20% depending on your income. Here's the step-by-step formula.


In this guide
  1. What counts as a long-term gain?
  2. 2026 rate brackets
  3. Step-by-step formula
  4. The 3.8% NIIT surcharge
  5. Worked example
Read full guide
Short-Term Gains

Short-Term vs Long-Term Capital Gains: What's the Difference?

Selling within a year? Your gain is taxed as ordinary income — the same rate as your salary. Understanding the holding period rule can save you thousands.


In this guide
  1. The 1-year holding period rule
  2. Short-term ordinary income rates
  3. Side-by-side rate comparison
  4. When to wait for long-term treatment
Read full guide
Tax Estimation

How Much Capital Gains Tax Will I Owe?

The amount you owe depends on three things: the size of your gain, how long you held the asset, and your total income for the year. Here's a quick reference.


Quick reference: 2026 long-term rates

  • 0% — Taxable income under $49,450 (single) or $98,900 (married)
  • 15% — Most middle and upper-middle income earners
  • 20% — High earners above $545,500 (single) or $613,700 (married)
  • +3.8% NIIT may apply above $200k / $250k MAGI

Short-term gains are taxed at your ordinary income rate (10%–37%). Use the calculator above to find your exact number in seconds.

State Taxes

Do States Tax Capital Gains Separately?

Yes — most states add their own capital gains tax on top of federal. Rates vary widely: from 0% in states like Florida and Texas, to over 13% in California.


States with no capital gains tax

  • Florida, Texas, Nevada, Washington, Wyoming, South Dakota, Alaska, Tennessee, New Hampshire (no state income tax)

States with highest rates

  • California: Up to 13.3% (taxed as ordinary income)
  • New Jersey: Up to 10.75%
  • Oregon: Up to 9.9%
  • Minnesota: Up to 9.85%

Most states treat capital gains as regular income and apply the same brackets. Unlock all 50 state rates with Pro above.

Compare all 50 states
Real Estate

Capital Gains Tax on Real Estate Sales

Selling a home? Married couples can exclude up to $500,000 of gain tax-free. Rental property owners face depreciation recapture at 25%. Learn what you'll owe.


Key concepts

  • Section 121 exclusion: $250k (single) / $500k (married) — primary residence only
  • Depreciation recapture: Taxed at 25% on prior depreciation claimed
  • 1031 exchange: Defer 100% of gains by rolling into a like-kind property
Read full guide
Tax Strategy

8 Ways to Legally Reduce Capital Gains Tax

0% bracket harvesting, tax-loss harvesting, charitable stock donations, 1031 exchanges — these legal strategies can save you thousands. Here's how each works.


Top strategies

  • Hold over 1 year for long-term rates (up to 17% lower)
  • Sell in a 0% bracket year to permanently reset your cost basis
  • Donate appreciated stock — skip the gain, keep the deduction
Read full guide
Crypto Taxes

How Crypto Is Taxed in 2026

Bitcoin, Ethereum, NFTs, staking rewards — the IRS treats crypto as property. Every sale, trade, and swap is a taxable event. Here's what you need to know.


Key rules

  • Held >1 year → long-term rates (0%, 15%, 20%)
  • No wash-sale rule on crypto — harvest losses freely
  • Staking and mining income — taxed as ordinary income on receipt
Read full guide
2026 Updates

Capital Gains Tax Changes 2026 — What's New

The IRS updated all capital gains brackets for inflation. See exactly what changed from 2025 to 2026 — new thresholds, wider 0% bracket, and which rules stayed the same.


Key changes

  • 0% bracket: $49,450 (single) vs $48,350 in 2025
  • 15% ceiling raised to $545,500 (from $533,400)
  • Standard deduction: $15,000 single / $30,000 MFJ
  • NIIT thresholds still NOT inflation-adjusted
Read full guide

State Capital Gains Tax Rates at a Glance

Color intensity = tax burden. Click any state for details. Full state calculations with Pro

0% (no tax) 1–4% 4–7% 7–10% 10%+

Rates shown are top marginal rates. Actual effective rate depends on income. See full comparison →

Free Calculator Skip the math — get your exact number instantly. Enter your gain, income, and filing status. Federal results are free forever.