Home / Capital Gains Tax Calculator for Real Estate

Financing and taxes

Capital Gains Tax Calculator for Real Estate

Estimate the tax on selling a rental or flip: the gain, depreciation recapture and state tax.

Your numbers

See result

How the gain is taxed

Gain = Net sale price − (Purchase price + Improvements − Depreciation)

The part of the gain equal to depreciation you took is "recaptured" and taxed at up to 25%. The rest is a long-term capital gain if you owned the property more than a year, taxed at 0%, 15% or 20% federally depending on income. Most states tax the gain too.

Example

A rental bought for $250,000, with $30,000 of improvements and $45,000 of depreciation taken, has an adjusted basis of $235,000. It sells for $400,000 minus 7% selling costs: $372,000. The $137,000 gain splits into $45,000 of recapture taxed at 25% and $92,000 taxed at 15%, about $25,050 federal plus $6,850 state.

Flips are different

Property held a year or less, and most flips, are taxed at ordinary income rates. Enter your income tax bracket as the capital gains rate to estimate it. This is an estimate only; a tax professional can confirm your situation.

Common questions

Can I avoid the tax?

A 1031 exchange can defer it by reinvesting in another investment property.

Is there a net investment income tax?

Higher earners may owe an extra 3.8%, which isn't included here.

Take your numbers offline

The DealSheet investor toolkit has flip, BRRRR and rental spreadsheets you can save, tweak and share with partners and lenders.

See the toolkit