WealthPulse.
Calculator · Tax & Refunds

Capital Gains Tax Calculator

Short-term vs long-term treatment, including the net investment income surtax.

Read the how-to
The formula

How this number is built

tax = (proceeds − basis − losses) × rate + surtax + state tax
Step by step

Doing it by hand

Step 1

Work out the true cost basis including commissions and reinvested dividends.

Step 2

Confirm the holding period from trade dates, not settlement dates.

Step 3

Add other income, since the long-term rate brackets stack on top of it.

Step 4

Offset with realised losses, which reduce the taxable gain directly.

Step 5

Check whether the net investment income surtax applies at your income level.

Questions

What people ask next

Can losses offset ordinary income?

A limited amount each year, with the remainder carried forward to future years.

What about a home sale?

A primary residence has its own exclusion rules that this calculator does not model.

Search intent

Searches this page answers

Related searchGoes to
capital gainsHow to Calculate Capital Gains Tax
how to calculate capital gainsHow to Calculate Capital Gains Tax