Rental Property Sale Tax Calculator – Capital Gains

Rental Property Sale Tax Calculator

Estimate the tax owed when you sell an investment or rental property. This tool separates your gain into depreciation recapture taxed at up to 25 percent under Section 1250 and long-term capital gain taxed at 0, 15, or 20 percent, then adds the 3.8 percent Net Investment Income Tax and any state tax to show total tax and net proceeds after tax.

🎯Real Sale Scenario Presets

📝Sale & Basis Inputs

What you paid to acquire the property.

New roof, additions, major renovations that add to basis.

Total depreciation claimed (or allowable) while renting.

Gross contract price the buyer pays.

Agent commission, transfer tax, closing fees.

Over 1 year qualifies for long-term rates.

Sets the long-term gains and NIIT thresholds.

Taxable income before this sale, to pick the 0/15/20% band.

Flat state rate applied to the whole gain. Use 0 if none.

Net Investment Income Tax on high earners.

Total Capital Gain $0 net sale minus adjusted basis
Depreciation Recapture Tax $0 Section 1250, up to 25%
Capital Gains Tax + NIIT $0 0/15/20% plus 3.8% NIIT
Total Tax & Net Proceeds $0 net after tax: $0

🔱Tax Snapshot

25%Recapture cap
0/15/20LTCG bands %
3.8%NIIT surtax
1031Defer option

📊2025 Long-Term Capital Gains Brackets

RateSingleMarried JointHead of HouseholdMarried Separate
0%Up to $48,350Up to $96,700Up to $64,750Up to $48,350
15%$48,351 - $533,400$96,701 - $600,050$64,751 - $566,700$48,351 - $300,000
20%Over $533,400Over $600,050Over $566,700Over $300,000

đŸ’”Net Investment Income Tax (NIIT) 3.8% MAGI Thresholds

Filing StatusMAGI ThresholdSurtax RateApplies To
Single$200,0003.8%Lesser of net gain or MAGI over line
Married filing jointly$250,0003.8%Investment income above threshold
Head of household$200,0003.8%Rental sale gain counts as NII
Married filing separately$125,0003.8%Lower threshold, plan carefully

📋Recapture, Rates & the 1031 Alternative

ItemRate or RuleWhat It MeansNote
Section 1250 recaptureUp to 25%Depreciation is taxed back on saleOrdinary rate capped at 25%
Long-term gain0/15/20%Remaining gain after recaptureHeld over 1 year
Short-term gainOrdinaryHeld 1 year or lessTaxed like wages
NIIT surtax3.8%Extra tax on high-MAGI investorsOn top of income tax
1031 exchangeDefer 100%Swap into like-kind property45 / 180 day rules
Installment saleSpreadReport gain over several yearsMay keep bracket lower

🗃Income vs Rate vs Tax Comparison Grid

Other IncomeFiling StatusLTCG BandSample GainEst. Cap-Gains TaxNIIT Added
$35,000Single0%$100,000$0$0
$90,000Single15%$100,000$15,000$3,800
$250,000Single20%$100,000$20,000$3,800
$60,000Married Joint0%$120,000$0$0
$180,000Married Joint15%$120,000$18,000$1,900
$620,000Married Joint20%$120,000$24,000$4,560
$70,000Head of House15%$80,000$12,000$0
$300,000Head of House20%$80,000$16,000$3,040
$45,000Single15%$50,000$7,500$0
$900,000Married Joint20%$250,000$50,000$9,500

⚙How the Math Works

Adjusted basisAdjusted cost basis = purchase price + capital improvements − accumulated depreciation. Example: 300,000 + 30,000 − 40,000 = 290,000.
Net sale proceedsNet sale = sale price − selling costs. Example: 450,000 − 27,000 = 423,000.
Total gainTotal gain = net sale − adjusted basis. Example: 423,000 − 290,000 = 133,000.
Recapture portionThe lesser of depreciation taken or total gain is unrecaptured Section 1250 gain, taxed at your ordinary rate but capped at 25%.
Remaining LTCGLong-term gain = total gain − recapture portion. Taxed at 0%, 15%, or 20% based on your income and filing status.
NIIT surtaxIf MAGI (income + gain) exceeds the threshold, add 3.8% on the lesser of the gain or the amount above the threshold.
State & effective rateState tax = state rate × total gain. Effective rate = total tax Ă· total gain. Net proceeds = net sale − total tax.

💡Smart Selling Tips

Recapture is unavoidable: Depreciation recapture is taxed at up to 25% even if you never claimed the deduction. On $40,000 of depreciation that is up to $10,000 of tax, so always claim depreciation every year you rent.
Defer with a 1031: A qualified 1031 like-kind exchange can defer this entire tax bill, including recapture and NIIT. On a $133,000 gain that can push $30,000-plus of tax into the future if you reinvest on time.
Estimate only. This calculator uses simplified 2025 assumptions and a flat state rate, and it does not model AMT, passive-activity carryforwards, partial-year proration, or state-specific recapture. Always consult a qualified tax professional or CPA before you sell.

Selling a rental property often feels like winning lottery until you see your tax bill. That’s because the IRS doesn’t view investment real estate in quite the same way as your main home. It carves up your profit into two different buckets, which has different tax rates. This calculator shows you how much you’ll owe, well before you sign anything.

This is your adjusted cost basis. The basis isn’t simply what you paid for the home. It is what you paid plus any major improvements you’ve made, such as adding on or putting in a new roof. Then, subtract the depreciation you took each year. The depreciation reduces your basis, thereby artificially increasing your gain upon sale. And this is precisely why the government want a portion of it. That’s your adjusted basis.

How to Calculate Your Rental Property Taxes

Then subtract it from total amount you received when you sold. That’s your total gain, after adjusting for the commission and closing costs (which can cost thousands of dollars before we start talking about taxes). From there, the math split into two parts: one piece for depreciation recapture. If you depreciated anything during ownership, however long ago, the government taxes that back out of your pocket at a rate as high as 25 percent; regardless of your ordinary income tax rate. Yes, even if you didn’t take the deduction, the IRS will collect based on how much they let you deduct.

The other piece are your capital gains. The Long-Term Capital Gains Bucket includes the appreciation from your purchase price plus any upgrades. It’s taxed at lower rates (zero, fifteen, or twenty percent) if it was sold after a year of ownership. This rate depend on your income level. Lowest income earners might owe no tax on this bucket, while highest earners will owe the highest rate. The calculator will layer your other income on top of those brackets to calculate your exact rate (because you’ll be somewhere on that scale).

The other not-so-obvious tax that can catch well-off folks: the Net Investment Income Tax (a.k.a. The “hidden tax”). If your modified adjusted gross income is more than $200k for singles, or $250k for joint filers, you’ll get hit with a 3.8 percent surcharge on top of that. Even if your regular salary doesn’t land above that line, one big property sale could put you there, and over the edge, in a given year. On top of that, most states will tax the gain at ordinary income rates, which can be a wild variation from state to state.

In this case, the tool breaks it down for you. The total gain. Then comes the recapture tax. Next comes the capital gains tax + surtax (if applicable). And lastly, here’s how much cash you’ll have in hand after paying all those taxes. That gives you a target number that will help you know whether you can tolerate a straight sale or explore some of the alternatives.

For example: a 1031 exchange lets you defer this entire tax payment. As long as you swap into another investment property within tight deadlines, you gets to keep all the money. This is an extremely useful tool for keeping capital, but only with the right timing and discipline.

This takes away the mystery from a complicated transaction. Now, when you sell, you know exactly how much money lands in your bank account (after state + IRS). Now you can weigh the options: reinvest? You could hold longer. Or you can sell quickly. Crunch the numbers based off the outset to make an informed decision. Your exit strategy can mean a difference of tens of thousands of dollars
 And that’s always better than being reactionary.

It turns a daunting tax system into a practical financial decision. This is actualy more easier than it looks if you plan ahead, though most people should of known sooner. It makes the whole process feel much more comfortabley.

Rental Property Sale Tax Calculator – Capital Gains