Capital Gains Tax Calculator

Calculate gains, tax owed, and net proceeds from selling an investment.

Investment details

$
$
$

Used to find your LTCG bracket.

Tax estimate

Capital gain

$8,000

Federal CG tax

$1,200

State CG tax

$744

Total tax

$1,944

Net profit after tax

$6,056

Net proceeds

$16,056

After-tax cash from sale

Effective tax on gain: 24.30%

How this calculator works

For long-term holdings (over one year), we apply 0%/15%/20% federal LTCG rates stacked on top of your other taxable income. Short-term gains are taxed at your ordinary marginal rate. State tax uses your state's investment income rate.

Understanding Capital Gains Tax

Capital gains taxes apply when you sell an investment — stocks, bonds, real estate, crypto, collectibles — for more than you paid. How much you pay depends on how long you held the asset and your total income.

Short-term vs long-term

Hold for one year or less, and gains are short-term, taxed as ordinary income at rates up to 37%. Hold for more than one year, and they qualify as long-term, taxed at preferential rates of 0%, 15%, or 20%. Waiting one extra day can save you 10–20 percentage points.

2024 long-term capital gains brackets

For single filers, gains stack on top of your ordinary taxable income: 0% up to $47,025, 15% up to $518,900, and 20% above. Married joint thresholds are roughly doubled. High earners may also owe the 3.8% Net Investment Income Tax (NIIT) on top.

State capital gains

Most states tax capital gains as ordinary income, with no preferential rate. A few — Washington, for example — have specific capital gains taxes. Nine states have no income tax at all and so don't tax capital gains.

Strategies to reduce capital gains tax

Hold for over a year. Harvest losses to offset gains. Use tax-advantaged accounts like IRAs and 401(k)s where gains aren't taxed until withdrawal. Donate appreciated stock to charity — avoid the gain and get a deduction. Time sales for low-income years to fall in the 0% bracket.

Frequently asked questions

Quick answers about the capital gains tax calculator.

Short-term (held ≤1 year) is taxed at ordinary income rates. Long-term (>1 year) gets preferential 0%/15%/20% rates.

Trusted services for your taxes

Hand-picked tools and pros for capital gains tax.

Ledgerly CPA

On-demand licensed CPAs

4.8

Match with a vetted CPA in your state for filing, planning, and audit support.

  • 50-state coverage
  • Flat-rate pricing
  • Year-round support
From $199Match Me

Affiliate partner · We may earn a commission

Plannora

Fee-only financial planning

4.7

CFP®-led planning across taxes, retirement, and investments — no commissions.

  • CFP® professionals
  • Tax + retirement
  • Fee-only
From $99 / moBook a Call

Affiliate partner · We may earn a commission

Get Tax Tips, Updates, and Financial Insights

One short email a month. No spam. Unsubscribe anytime.

By subscribing you agree to our Privacy Policy. We never sell your data.

Related calculators