Capital Gains Tax Calculator 2026: How to Calculate Capital Gains Tax Step-by-Step

Capital Gains Tax Calculator 2026 showing how to calculate short term and long term capital gains tax
Capital Gains Tax Calculator 2026 โ€“ Estimate your short-term and long-term investment gains.

What Is Capital Gains Tax?

Capital gains tax is the tax you pay when you sell an asset for more than you paid for it.

Common capital assets include:

  • Stocks
  • ETFs
  • Mutual funds
  • Real estate
  • Cryptocurrency
  • Business property

If you sell for more than your purchase price โ†’ you have a capital gain.
If you sell for less โ†’ you have a capital loss.

You only pay capital gains tax when the gain is realized (meaning you actually sold the asset).

How to Calculate Capital Gains Tax (Simple Formula)

Hereโ€™s the basic formula:

Capital Gain = Selling Price โ€“ Cost Basis

Where:

Cost Basis = Purchase price + fees + commissions + improvements

Step-by-Step: How to Calculate Capital Gains Tax in 2026

Step 1: Determine Your Cost Basis

Your cost basis usually includes:

  • Purchase price
  • Broker commissions
  • Transaction fees
  • Capital improvements (for property)

Example:

  • Bought stock for $10,000
  • Paid $200 commission

Your basis = $10,200

Step 2: Calculate Net Sale Proceeds

Subtract selling costs from the sale price.

Example:

  • Sold for $15,000
  • Paid $300 in fees

Net proceeds = $14,700

Step 3: Calculate Capital Gain

$14,700 โ€“ $10,200 = $4,500 capital gain

Now you must determine whether itโ€™s:

  • Short-term (1 year or less)
  • Long-term (more than 1 year)

This changes everything.

Short-Term vs Long-Term Capital Gains (2026 Rules)

Short-Term Capital Gains (Held 1 Year or Less)

Short-term gains are taxed as ordinary income.

2026 federal income tax rates:

  • 10%
  • 12%
  • 22%
  • 24%
  • 32%
  • 35%
  • 37%

So if you’re in the 24% tax bracket, your short-term gain is taxed at 24%.

๐Ÿ‘‰ Read: 2026 Federal Income Tax Brackets Calculator

Long-Term Capital Gains Tax Rates 2026

Filing Status0% Rate15% Rate20% Rate
SingleUp to ~$48k~$48kโ€“$533kOver ~$533k
Married Filing JointlyUp to ~$97k~$97kโ€“$600kOver ~$600k

(Exact thresholds updated annually by IRS.)

2026 Capital Gains Tax Example

Letโ€™s say:

  • Filing status: Single
  • Taxable income: $60,000
  • Long-term capital gain: $10,000

Your income places you in the 15% long-term capital gains bracket.

Tax owed:

$10,000 ร— 15% = $1,500

Special Capital Gains Rules for 2026

Some assets have different tax rates:

  • Collectibles: max 28%
  • Depreciation recapture (real estate): max 25%
  • Net Investment Income Tax (NIIT): additional 3.8%

NIIT applies if income exceeds:

  • $200,000 (Single)
  • $250,000 (Married Filing Jointly)

How to Reduce Capital Gains Tax Legally

1. Hold Assets for More Than One Year

Long-term rates are lower than short-term rates.

2. Use Tax Loss Harvesting

Offset gains with capital losses.

If total losses exceed gains:

  • Deduct up to $3,000 per year from ordinary income.
  • Carry forward remaining losses.

3. Use Retirement Accounts

Invest through:

  • Traditional IRA (tax-deferred)
  • Roth IRA (tax-free growth)

4. Home Sale Exclusion (Section 121)

You may exclude:

  • $250,000 (Single)
  • $500,000 (Married Filing Jointly)

If it’s your primary residence.

Capital Gains Tax Forms You Need

To report capital gains:

  • Form 8949 โ€“ Report each transaction
  • Schedule D โ€“ Summarize gains and losses
  • Form 1040 โ€“ Final reporting

Frequently Asked Questions

How do I calculate capital gains tax in 2026?

To calculate capital gains tax:
Subtract your cost basis from selling price.
Determine holding period.
Apply short-term or long-term tax rate.
Add 3.8% NIIT if applicable.

Do I pay capital gains tax if I donโ€™t sell?

No. You only pay capital gains tax on realized gains, not unrealized gains.

How much is capital gains tax in 2026?

Long-term rates are 0%, 15%, or 20% depending on income.
Short-term gains are taxed at ordinary income rates (10%โ€“37%).

Use Our 2026 Capital Gains Tax Calculator

Want exact numbers?
Use our free Capital Gains Tax Calculator 2026 to:
Calculate short-term gains
Calculate long-term gains
Estimate NIIT
See after-tax profit

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top