Home / Capital Gains Calculator

Capital Gains Tax Calculator

This one isn't specific to real estate. Stock, a business sale, a coin collection: three fields and a rate get you a federal estimate for any capital asset.

Details

Results

Capital gain--
Estimated tax--
Net after tax--

Federal only. Your state may add its own rate on top.

Three fields, no property required. Enter what you sold it for, what you paid for it, and a rate, and the math underneath is the same whether the asset was a rental house, a brokerage account, or a comic book collection that finally paid off.

What the calculator is doing

Gain equals sale price minus cost basis. Tax equals that gain multiplied by whatever rate you enter. Net proceeds equal sale price minus basis minus the estimated tax. There's no hidden adjustment for state tax, depreciation recapture, or the NIIT here; those live on the real-estate-specific capital gains tax calculator instead.

Rates this page's FAQ cites, tax year 2025
BracketApplies up to (single filer)
0%~$47,025 taxable income
15%~$518,900 taxable income
20%Above $518,900

Selling investment real estate instead of a stock? The 1031 exchange calculator shows what a like-kind swap could defer, and the depreciation recapture calculator handles the piece unique to property.

Good to know

FAQs

I sold stock, not real estate. Does this calculator still work?

Yes. This version is built for any capital asset, stock, a business, a collectible, not just property. Enter your sale price, basis, and rate and the math is identical regardless of what you sold.

Where do the 0%, 15%, and 20% brackets actually kick in?

For 2025 single filers, the 0% bracket covers gains up to roughly $47,025 of total taxable income, 15% runs up to about $518,900, and 20% applies above that. Married filing jointly thresholds run close to double. Confirm the exact cutoffs for your filing status before relying on them.

I held the asset for eight months. Which rate do I enter?

Under a year counts as short-term, taxed as ordinary income rather than at capital gains rates. Enter your marginal income tax bracket, not 0/15/20, into the rate field.

Why doesn't my result match what my state return shows?

This tool only calculates the federal side. States that tax capital gains do it at rates from 0% up to 13.30% in California, layered on top of, not instead of, the federal number here.

I'm selling a rental, not a stock portfolio. Is there a better tool for that?

Yes. A 1031 exchange can defer this entire bill on investment real estate. The 1031 exchange calculator models the deferral; the capital gains tax calculator adds in depreciation recapture and NIIT specific to property sales.