Skip to main content

Rental Property Sale Tax Calculator

Estimate rental-sale tax, recapture and after-tax proceeds.

🧮

Rental Property Sale Tax Calculator

Loading calculator...

How to use

Using this calculator

Formula 2026.3 · Updated Nov 2, 2026

Planning estimate. No independent professional review is claimed. Check the method and sources before making a financial decision.

Getting started

A rental-property sale can involve ordinary section 1231 look-back treatment, unrecaptured section 1250 gain, regular capital gain and NIIT. Adjusted basis generally reflects depreciation allowed or allowable, not only deductions actually claimed. Missing a depreciation deduction does not automatically preserve basis.

This model estimates one entered sale and an entered five-year look-back amount. It does not compute depreciation schedules, coordinate multiple business-property sales, allocate every mixed asset, or determine currently deductible losses. Those records and restrictions need a separate review.

Reading your results

The estimate separates modeled ordinary look-back tax, unrecaptured section 1250 tax, regular capital-gain tax and NIIT. Compare the breakdown with your depreciation and prior-year loss records before using it.

A reported economic loss is not an approved deduction. A fully taxable disposition to an unrelated buyer can affect suspended passive losses, while at-risk, business-loss and other rules can still matter. Real-estate-professional status does not create an unlimited deduction by itself. Use the applicable forms or professional help for the full-year result.

Method & formulas

Use adjusted-basis records, Form 4797, Schedule D and their applicable worksheets:

  1. Gain equals net sale proceeds less adjusted basis. Basis generally includes eligible acquisition and improvement costs and reductions for depreciation allowed or allowable.

  2. Section 1231 look-back can recharacterize a net gain as ordinary income to the extent of applicable nonrecaptured net section 1231 losses from the preceding five tax years. This model treats the entered sale as the only current section 1231 transaction.

  3. Remaining long-term gain can include an unrecaptured section 1250 portion, generally subject to ordinary rates capped at 25%, and regular gain subject to the applicable preferential bands. A 25% maximum is not a flat tax on every depreciation dollar.

  4. Holding period and NIIT affect the result. The usual long-term model requires more than one year. Nonpassive trade-or-business treatment and real-estate-professional status require a fact-specific analysis; status alone is not proof that every gain avoids NIIT.

  5. A loss is shown before a final deductibility determination. At-risk rules, passive-activity rules, suspended losses, disposition conditions and other limitations can change the usable amount.

The calculator does not compute depreciation or replace the return worksheets. Section 1245 assets, accelerated-depreciation recapture, exchanges and complex allocations need separate treatment.

Optional 1031 gain worksheet

The separate worksheet illustrates Form 8824 lines 15 through 25 for a qualifying U.S. real-property exchange without ordinary recapture. It verifies that property values, cash and assumed liabilities balance. Cash received is not offset by additional borrowing; eligible exchange expenses reduce boot first, with remaining expenses added to basis. Recognized gain is limited to realized gain and net boot. Losses are deferred, not currently deducted. Replacement basis equals replacement fair market value less deferred gain (or plus deferred loss). These are gain and basis amounts, not estimated tax savings.

This illustration does not establish eligibility or model personal-residence exclusions, related parties, dealer property, non-like-kind assets, cost segregation, ordinary recapture, installment terms, state tax, or mixed-asset netting. The rental tax estimate above remains a taxable-sale calculation and does not incorporate this worksheet. Identification and receipt deadlines use calendar days, with receipt limited by the earlier of 180 days or the applicable return deadline including an obtained extension. Special relief and reverse exchanges are excluded. Export the separate CSV to retain these assumptions.

Assumptions & limitations

Scope

  • Federal estimate only -- state tax is not included
  • Requires you to already know your total depreciation claimed; does not compute depreciation schedules
  • Does not model passive-activity-loss limitations, 1031 exchanges, or multiple/partial-year-owned properties
  • Does not net this sale against other capital gains or losses realized the same year

Important notes

  • This calculator covers a single rental property sale only.
  • It does not calculate depreciation schedules, passive-activity-loss limitations, 1031 like-kind exchanges, or sales involving multiple properties or partial-year ownership changes -- each has rules a general calculator would misrepresent if it guessed.
  • State tax is not included in this version.
  • This calculator is publicly available as a planning estimate and is undergoing final professional tax review.

Before you act

  • This tool provides an estimate for planning purposes only. It is not tax advice and does not replace Form 4797, Schedule D, or a qualified tax professional.
  • Results depend entirely on the accuracy of what you enter, especially your total depreciation claimed. Verify it against Form 4562 or your tax preparer's records before relying on any number here.
  • Tax law can change. Figures are specific to the 2026 tax year as understood at the time this calculator was published.

Related Calculators

Examples

Examples & background

Why rental property gain isn't taxed like a stock sale

When you claim depreciation on a rental property, the IRS lets you deduct a portion of the building's cost against your rental income each year -- but that deduction reduces your basis. When you sell, the gain "made up" of that depreciation is recaptured and taxed at up to 25%, not the lower long-term capital gains rates that apply to the rest of your gain.

Worked example

You bought a rental property for $250,000, spent $14,000 on acquisition costs and capital improvements over the years (adjusted basis before depreciation: $264,000), and claimed $60,000 of depreciation while renting it out -- bringing your adjusted basis down to $204,000. You sell for $400,000, paying $24,000 in selling costs, for net proceeds of $376,000. Total gain: $376,000 − $204,000 = $172,000. Of that, $60,000 (matching the depreciation claimed) is unrecaptured Section 1250 gain, taxed at up to 25%. The remaining $112,000 is taxed at the regular 0/15/20% long-term rates.

When the cap doesn't bind

The 25% figure is a maximum, not a flat rate. If your ordinary tax bracket at the relevant income level is lower than 25% -- for example, if you're in the 22% or 24% bracket -- your unrecaptured Section 1250 gain is taxed at that lower rate instead. The cap only matters for taxpayers whose ordinary rate at that income level would otherwise exceed 25%.

A loss works differently than a personal residence

Unlike a loss on selling your home, a loss on a rental property is potentially tax-deductible, since it is investment/business property. But exactly how much of it you can deduct this year, versus carry forward as a suspended loss, depends on passive-activity-loss rules -- including a $25,000 special allowance for active participation that phases out between $100,000 and $150,000 of MAGI, and no limit at all for a qualifying real estate professional. This calculator reports the raw loss amount and stops there; the deductibility question needs a tax professional who knows your full situation.

FAQs

Common questions (9)
How is selling a rental property taxed differently from selling stock?

A rental sale can involve section 1231 look-back ordinary income, unrecaptured section 1250 gain, regular capital gain and NIIT. Depreciation allowed or allowable generally reduces basis. Classification, holding period and other transactions determine the final treatment.

What is depreciation recapture?

Depreciation-related gain can face special treatment on sale. For qualifying real property, unrecaptured section 1250 gain generally has an ordinary-rate maximum of 25%; other recapture categories can be ordinary income. Basis can be reduced by allowable depreciation even if it was not claimed.

Is the 25% rate on depreciation recapture a flat rate?

No, it is a maximum. If your ordinary tax bracket at that income level is below 25%, the unrecaptured Section 1250 gain is taxed at your actual (lower) ordinary rate instead. The 25% only binds for taxpayers who would otherwise be in a higher bracket.

Do I need to know my exact depreciation amount?

Use the depreciation allowed or allowable under the applicable rules, supported by your schedules and property records. The calculator does not determine placed-in-service classifications, missed depreciation corrections or the depreciation schedule. An amount copied from deductions actually claimed can be incomplete.

Can I deduct a loss on selling a rental property?

A loss may be deductible, but this model does not determine the usable amount. At-risk rules, passive-activity restrictions, suspended losses, disposition conditions and other business-loss rules can matter. Real-estate-professional status alone does not provide an unlimited deduction.

Does the calculator net this sale against my other capital gains or losses?

No. Other section 1231 transactions, capital items and carryovers can change the full-year result. Use the correct Form 4797 and Schedule D worksheets. Do not classify the entire rental gain as a regular long-term stock gain in another calculator.

What if I held the property for a year or less?

The unrecaptured-Section-1250 treatment only applies to long-term sales. A short-term sale is taxed entirely as ordinary income on the full gain, with no 25% cap involved at all.

Does this include a 1031 exchange?

No. A qualifying real-property exchange can defer some gain, but cash, debt changes or nonqualifying property can still produce recognized amounts. Exchanges and related allocations require a separate calculation.

Does my state tax this gain?

This is a federal estimate. Check both the property location and the taxpayer’s residence and filing obligations. Owning out-of-state property can create a nonresident filing obligation even when the home state has no general income tax. Credits and property-related taxes can also matter.

Sources

Sources (6)
  1. IRS Publication 544, Sales and Other Dispositions of Assets
  2. IRS Form 4797, Sales of Business Property
  3. IRS Topic No. 425, Passive Activities -- Losses and Credits
  4. IRS Schedule D (Form 1040), Capital Gains and Losses
  5. IRS Form 8960, Net Investment Income Tax
  6. IRS Form 8824: like-kind exchange instructions