Capital Gains Tax Calculator

$

Wages, interest and other income before deductions, not counting this sale.

$

Leave at 0 to use the 2026 standard deduction.

$

Purchase price plus fees and reinvested dividends.

$

Sale proceeds after commissions and fees.

How long you owned it

Federal tax on this gain

$3,000.00

Gain
$20,000
Gain taxed at 0%
$0
Gain taxed at 15%
$20,000
Gain taxed at 20%
$0
Net investment income tax (3.8%)
$0.00
Effective federal rate on the gain
15%
Profit after federal tax
$17,000
Taxable income including the sale
$83,900
You keep: 85.0%Federal tax: 15.0%
  • You keep$17,00085.0%
  • Federal tax$3,00015.0%

Federal only; most states tax capital gains as ordinary income. Collectibles, depreciation on real estate and the home-sale exclusion are not included.

Open the full capital gains tax calculator with the formula and FAQs at Calcs for Life