All tools

Capital Gains Tax Calculator

Estimate US federal capital gains tax on a sale.

Long-term tax owed
$750
Profit $5,000 · holding 18 months
After-tax profit
$4,250
Short vs long gap
$350

Both scenarios

  • If short-term (≤ 12 months): $1,100 taxed at your ordinary rate.
  • If long-term (> 12 months): $750 taxed at 0/15/20%.

Uses 2025 federal brackets and long-term thresholds. State tax and NIIT are not included.

About

Enter your purchase price, sale price, holding period, and income bracket. The calculator picks short-term (taxed as income) or long-term (preferential rate) and shows the federal tax. State tax not included.

How to use

  1. Enter cost basis and sale price.
  2. Pick how long you held the asset.
  3. Pick your income bracket.
  4. See estimated federal tax.

FAQ

What's the long-term rate?+

0%, 15%, or 20% depending on taxable income. Most middle-income Americans pay 15%. The 20% kicks in around $500k single, $600k joint.

What about state tax?+

Varies. CA taxes capital gains as ordinary income (up to 13.3%). FL, TX, WA have no state income tax. Add separately.