Skip to content

Seller Tools

Capital Gains Tax Calculator for Rental Property

See roughly how much of your sale price goes to federal and state tax before you decide how and when to sell. The calculator separates depreciation recapture from the rest of your gain so the estimate reflects how rental property is actually taxed.

How is a rental property sale taxed?

When you sell a rental property, the gain is the sale price minus selling costs and your adjusted basis (purchase price plus improvements, minus depreciation taken). Depreciation you claimed is generally recaptured at up to 25% federally, the rest is taxed at long-term capital gains rates of 0%, 15%, or 20%, and higher earners may owe the 3.8% net investment income tax plus state tax.

Why a rental sale is taxed differently from a home sale

When you sell a rental building held for more than a year, your profit is generally a long-term capital gain. Two features make it more involved than selling a primary residence. First, the home-sale exclusion does not apply. Second, every year you owned the building you were entitled to deduct depreciation, and that depreciation lowers your basis. At sale, the portion of your gain that comes from depreciation is taxed separately, at a federal rate of up to 25%.

The rest of the gain is taxed at the long-term capital gains rate of 0%, 15% or 20%, depending on your taxable income. Higher earners may also owe the 3.8% net investment income tax, and most states tax the gain as well.

How the calculator works

Each output builds on the one before it:

  • Adjusted basis = original purchase price + capital improvements − depreciation taken.
  • Total gain = sale price − selling costs − adjusted basis.
  • Depreciation recapture = the smaller of depreciation taken or total gain, taxed at up to 25% federally.
  • Remaining capital gain = total gain − depreciation recapture, taxed at the federal rate you select (0%, 15% or 20%).
  • NIIT, if switched on, adds 3.8% of the total gain. State tax applies your state rate to the total gain.
  • Net proceeds before debt payoff = sale price − selling costs − estimated federal and state tax.

A worked example

An owner bought a building for $1,000,000, spent $200,000 on capital improvements and has taken $400,000 in depreciation. Adjusted basis is $800,000. The building sells for $2,000,000 with $100,000 in selling costs, so the total gain is $1,100,000.

Of that, $400,000 is depreciation recapture; at 25% that is $100,000. The remaining $700,000 at 20% is $140,000. NIIT at 3.8% on $1,100,000 adds $41,800, and a 5% state rate adds $55,000. Estimated tax totals $336,800, leaving about $1,563,200 before paying off any mortgage.

Ways sellers defer or spread the tax

A 1031 exchange lets you defer federal capital gains and recapture tax by reinvesting the proceeds into like-kind real property. You identify replacement property within 45 days of closing and complete the purchase within 180 days, with a qualified intermediary holding the funds in between. Skyline can accommodate 1031 timing, including a delayed closing to line up with your exchange.

An installment sale, such as a seller-financed deal, spreads recognition of the gain over the years you receive principal payments rather than taxing it all in the year of sale. Skyline offers seller-carry structures when they fit the deal. How recapture is handled in an installment sale has its own rules, so review the structure with your CPA before you sign.

Common mistakes

These errors are the usual reasons an estimate misses by a wide margin.

  • Leaving out depreciation because you never claimed it. The IRS generally computes recapture on depreciation that was allowable, whether or not you took it.
  • Counting repairs as capital improvements. Only improvements that added value or extended the building’s life belong in basis.
  • Forgetting acquisition closing costs, which usually add to your original basis.
  • Treating net proceeds as cash in hand. Your mortgage payoff still comes out of the figure shown.
  • Using the wrong state rate, or forgetting that some states tax capital gains as ordinary income.

Common Questions

Is depreciation recapture always taxed at 25%?

No. For real property, the depreciation portion of the gain is taxed at your ordinary income rate, capped at 25% federally. The calculator applies the 25% cap, so if your ordinary rate is lower, this part of the estimate runs high.

Who owes the 3.8% net investment income tax?

It applies to individuals whose modified adjusted gross income is above $200,000 for single filers or $250,000 for married couples filing jointly. Some real estate professionals are exempt on rental income. Switch it on if you expect to be above the threshold in the year of sale.

How do I find my adjusted basis and depreciation?

Your tax returns show the depreciation you have claimed each year, usually on the depreciation schedule for the property. Your closing statement from the purchase and records of improvements fill in the rest. Your CPA can pull these together quickly.

Does a 1031 exchange eliminate the tax?

It defers it. The deferred gain carries into the replacement property through a lower basis. If you later sell without another exchange, the deferred tax generally comes due then.

Can I sell to Skyline as part of a 1031 exchange?

Yes. Skyline can set a closing date that fits your 45-day and 180-day deadlines, including a delayed closing, and works alongside your exchange accommodator.

Submit A Deal

Ready To Talk About Your Building?

Send the basics — address, unit count, and any financials you have. Owners, agents, and brokers are welcome, and every conversation is confidential.

Skyline Capital Investments

Tell Us About
Your Property

Call Text Submit Deal Invest