InvestMAUS

Capital gains tax calculator

Enter what you paid, what you sell for and your other income: the tax updates instantly, using 2026 IRS figures. Nothing you enter leaves your browser.

The sale
USD

What you paid, purchase fees included.

USD

What you receive, after selling fees.

Your tax situation
USD

Wages and other ordinary income this year, before the standard deduction.

%

Your own assumption, applied as a flat rate to dividends and gains.

Tax on this sale
$1,500.00

Effective rate on the gain: 15.0%

Capital gain$10,000.00

Federal income tax$1,500.00

Net investment income tax (3.8%)$0.00

State tax (your assumption)$0.00

You keep after tax$28,500.00

How the gain is taxed
  • At 15%$10,000.00

How long you held it

Held a year or less, the same gain would cost $2,200.00 in tax: $700.00 more.
Tax rules applied
  • 2026 federal brackets, standard deduction and capital-gains rates

    Rev. Proc. 2025-32, sections 4.01 (brackets), 4.03 (capital gains), 4.14 (standard deduction); IRS Notice 2025-67 (retirement limits); IRC §1(h)

    verified on 10/24/2026
  • Net investment income tax: 3.8% above $200,000 (single) / $250,000 (joint) of modified AGI

    IRC §1411

    verified on 10/24/2026
  • Net capital loss deductible up to $3,000 a year; the rest carries forward

    IRC §1211(b), §1212(b); IRS Publication 550

    verified on 10/24/2026

Assumes this is your only sale this year, the standard deduction, no other capital gains or dividends and no loss carried in from earlier years. Collectibles, real estate and other special categories are not covered.