Selling Investment Property Tax Calculator – Free Capital Gains & Depreciation Recapture Estimator (2026)

Use this free selling investment property tax calculator to estimate your capital gains tax, depreciation recapture (Section 1250), Net Investment Income Tax, and net proceeds when you sell a rental, commercial, or other investment property. Built using current 2026 federal capital gains brackets and IRS depreciation recapture rules.


Gross contract price before closing costs
Agent commission, closing costs, transfer tax (typ. 6–8%)
Or stepped-up basis if inherited
Renovations, additions (not repairs)
From Form 4562 / Schedule E over your holding period

Determines which capital gains bracket applies
0% in TX, FL, WA, NV, etc. Check your state

2026 Federal Long-Term Capital Gains Tax Brackets

These brackets apply to long-term capital gains (assets held more than one year) for tax year 2026, per IRS Revenue Procedure 2025-32. Short-term gains are instead taxed at your ordinary income rate (10%–37%).

RateSingle FilersMarried Filing JointlyHead of Household
0%$0 – $49,450$0 – $98,900$0 – $66,200
15%$49,451 – $545,500$98,901 – $613,700$66,201 – $579,600
20%Above $545,500Above $613,700Above $579,600

* An additional 3.8% Net Investment Income Tax (NIIT) applies to investment gains when modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). Depreciation recapture on real property is taxed separately at a maximum 25% federal rate, regardless of your capital gains bracket.

Selling Investment Property Tax Calculator: The Complete 2026 Guide

Selling an investment property is rarely as simple as subtracting your purchase price from your sale price. Between depreciation recapture, federal and state capital gains tax, and the Net Investment Income Tax, real estate investors often underestimate what they'll actually owe the IRS — and what's left over after the sale closes. This selling investment property tax calculator is built to walk you through every layer of that calculation using current 2026 federal tax brackets, so you can plan ahead instead of being surprised at tax time. This guide also covers related scenarios investors commonly search for: capital gains tax on the sale of a primary residence, inherited property, and vacant land.

How to Use This Selling Investment Property Tax Calculator

To get an accurate estimate, gather a few numbers from your closing documents, depreciation schedule, and recent tax returns:

  1. Sale price and selling costs — Your gross contract price, minus realtor commissions, closing costs, and any transfer taxes (typically 6–8% of sale price combined).
  2. Original purchase price and capital improvements — What you originally paid, plus any qualifying improvements (a new roof, an addition, major renovations) — not routine repairs or maintenance.
  3. Total depreciation claimed — Found on your Form 4562 or cumulative Schedule E filings across your ownership period. This is the figure the IRS "recaptures" at sale.
  4. Property type — Rental, commercial, vacant land (which isn't depreciable), or inherited property (which uses a stepped-up basis instead of original purchase price).
  5. Filing status and other taxable income — This determines which long-term capital gains bracket (0%, 15%, or 20%) applies to the non-depreciation portion of your gain.
  6. Holding period and state rate — Confirms whether you qualify for long-term rates, and adds an estimate of state-level capital gains tax on top of federal.
Pro Tip: This calculator gives a strong planning estimate, but depreciation recapture rules, basis adjustments, and state tax treatment can get complex — especially with cost segregation studies, partial 1031 exchanges, or multiple owners. Always confirm final numbers with a CPA or tax professional before closing on a sale.

How Capital Gains Tax on Sale of Property Actually Works

When you sell an investment property, the IRS taxes your profit — not your total sale price. Your taxable gain is calculated as:

Adjusted Cost Basis = Purchase Price + Capital Improvements − Total Depreciation Claimed
Total Gain = (Sale Price − Selling Costs) − Adjusted Cost Basis

That total gain is then split into two pieces that the IRS taxes differently — and this is the part most generic capital gains tax calculators on the sale of property get wrong by treating investment real estate the same as stocks.

Piece 1: Depreciation Recapture (Section 1250)

If you claimed depreciation deductions while you owned the property — which lowered your taxable rental income each year — the IRS "recaptures" that benefit when you sell. The portion of your gain equal to the depreciation you claimed (or were entitled to claim, even if you didn't) is taxed as unrecaptured Section 1250 gain at a maximum federal rate of 25%. This applies whether or not you actually took the deduction, so skipping depreciation on purpose does not protect you from recapture.

Piece 2: Remaining Capital Gain

Any gain left over after accounting for depreciation recapture is taxed at standard long-term capital gains rates — 0%, 15%, or 20% in 2026, depending on your total taxable income and filing status — provided you held the property for more than one year. If you held it for one year or less, the entire gain is instead taxed as a short-term gain at your ordinary income tax rate, which can run as high as 37%.

Example: You bought a rental for $280,000, claimed $65,000 in depreciation over the years, and sell it for $450,000 with $27,000 in selling costs. Adjusted basis = $280,000 − $65,000 = $215,000. Net sale price = $450,000 − $27,000 = $423,000. Total gain = $423,000 − $215,000 = $208,000. Of that, $65,000 is taxed as depreciation recapture (up to 25%), and the remaining $143,000 is taxed at your long-term capital gains rate (0/15/20%).

Capital Gains Tax Calculator on Sale of Primary Residence vs. Investment Property

One of the most important distinctions in real estate tax planning is that investment properties and primary residences are taxed very differently. If you're searching for a capital gains tax calculator on the sale of a primary residence rather than a rental or investment property, the math changes significantly because of the IRS Section 121 home sale exclusion.

FactorInvestment PropertyPrimary Residence
Capital gains exclusionNone$250,000 single / $500,000 MFJ
Eligibility requirementN/AOwned + lived in 2 of last 5 years
Depreciation recaptureYes, if claimedOnly if a home office or rental portion was depreciated
1031 exchange eligibleYesNo (personal-use property doesn't qualify)

In practice, this means a couple selling a primary residence with a $400,000 gain may owe $0 in federal capital gains tax thanks to the $500,000 exclusion, while the same $400,000 gain on a rental property would be fully taxable (minus basis adjustments). If a property was both — for example, a former primary residence later converted to a rental — special allocation rules apply, and the exclusion is generally prorated based on qualifying use.

Capital Gains Tax Calculator on Sale of Inherited Property

Inherited investment property is taxed differently from property you purchased yourself, thanks to the stepped-up basis rule. Instead of using what the original owner paid, your cost basis resets to the property's fair market value as of the date of death (or an alternate valuation date in some cases). This is one of the most significant tax advantages in the U.S. tax code for inherited real estate.

  • If you sell shortly after inheriting, your taxable gain is often minimal, since the sale price is usually close to the stepped-up fair market value.
  • If the property appreciates after you inherit it and before you eventually sell, only that post-inheritance appreciation is taxed as a capital gain.
  • Inherited property automatically qualifies for long-term capital gains treatment regardless of how long you personally owned it before selling.
  • Depreciation recapture can still apply if you rented out the inherited property and claimed depreciation during your own ownership period — recapture is calculated only on depreciation you claimed, not the original owner's.

To use the calculator above for an inherited property, select "Inherited Property" as the property type and enter the stepped-up fair market value (typically from the estate's appraisal or estate tax filing) as your "purchase price."

Capital Gains Tax Calculator on Sale of Land

Vacant land follows the same basic capital gains framework as other investment real estate, with one key simplification: land cannot be depreciated, so there is no depreciation recapture to calculate. Your taxable gain is simply the net sale price minus your adjusted basis (purchase price plus qualifying improvements like clearing, grading, road access, or utility installation — not property taxes or insurance, which are typically deductible as expenses instead).

  • Held more than one year: taxed at long-term capital gains rates (0%, 15%, or 20%).
  • Held one year or less: taxed as a short-term gain at your ordinary income tax rate.
  • Land subdivided and sold as a real estate dealer activity may be treated as ordinary income rather than capital gain — a nuance worth discussing with a tax professional if you're selling multiple parcels.

The Net Investment Income Tax (NIIT) on Property Sales

High-income sellers face an additional layer of tax beyond standard capital gains rates. The 3.8% Net Investment Income Tax applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds $200,000 (single filers) or $250,000 (married filing jointly) in 2026. Gains from selling an investment property generally count as net investment income, so high earners should factor this surtax into their total tax estimate — it stacks on top of both the capital gains tax and the depreciation recapture tax.

How to Defer or Reduce Capital Gains Tax on an Investment Property Sale

While you can't eliminate capital gains tax on an investment property outright, several IRS-sanctioned strategies can defer or reduce it:

1. Section 1031 Like-Kind Exchange

A 1031 exchange allows you to defer both capital gains tax and depreciation recapture by reinvesting your full sale proceeds into another qualifying investment property, following strict IRS timelines: you must identify a replacement property within 45 days of closing and complete the purchase within 180 days. Tax isn't eliminated — it's deferred, carrying your old cost basis into the new property until you eventually sell without exchanging again, or until your heirs inherit it with a stepped-up basis.

2. Installment Sale

Spreading the sale price over multiple years using a seller-financed installment sale lets you recognize the gain gradually, which can keep you in lower capital gains brackets in any single year rather than pushing all of the gain into one tax year at once.

3. Tax-Loss Harvesting

If you have unrealized losses elsewhere in your investment portfolio, realizing those losses in the same tax year can offset some or all of your property sale gain.

4. Opportunity Zone Investment

Reinvesting eligible capital gains into a Qualified Opportunity Fund within 180 days can defer the original gain and potentially reduce tax on appreciation within the fund, subject to current program rules.

5. Hold Until Death (Stepped-Up Basis for Heirs)

If you hold an appreciated investment property until death rather than selling, your heirs inherit it at a stepped-up basis, which can permanently eliminate the capital gains tax that would have applied to appreciation during your lifetime — though estate tax may apply separately for larger estates.

Important: A 1031 exchange only defers tax — it does not make it disappear. If you eventually sell a replacement property without exchanging again, you'll owe tax on the full deferred gain (including from the original property) at that time, unless you again qualify for an exchange or pass the property to heirs.

Frequently Asked Questions – Selling Investment Property Tax

How do I calculate capital gains tax on the sale of an investment property?

Determine your adjusted cost basis (purchase price plus improvements, minus depreciation claimed), subtract it from your net sale price to find your total gain, then split that gain into a depreciation recapture portion (taxed up to 25%) and a remaining capital gain portion (taxed at 0%, 15%, or 20% based on your income). High earners may also owe the 3.8% Net Investment Income Tax.

What is the capital gains tax rate on sale of a primary residence?

Primary residence sales benefit from the Section 121 exclusion — up to $250,000 in gain excluded for single filers, or $500,000 for married couples filing jointly — provided you owned and lived in the home for at least 2 of the last 5 years. Gain above the exclusion is taxed at standard 2026 long-term capital gains rates of 0%, 15%, or 20%.

How is capital gains tax calculated on inherited property?

Inherited property uses a stepped-up basis equal to its fair market value on the date of death. You're only taxed on appreciation that occurs after you inherit it, and the gain automatically qualifies for long-term capital gains treatment regardless of how long you personally held the property before selling.

How is capital gains tax calculated on the sale of land?

Land sale gains are calculated as net sale price minus adjusted basis (purchase price plus qualifying improvements). Since land isn't depreciable, there's no depreciation recapture — gain is simply taxed at long-term rates (0/15/20%) if held over a year, or ordinary income rates if held a year or less.

Can I avoid capital gains tax when selling an investment property?

You can't eliminate it outright, but you can legally defer it through a 1031 like-kind exchange, spread it out with an installment sale, offset it with investment losses, or hold the property until death so heirs receive a stepped-up basis. Each strategy has specific IRS rules and deadlines that should be reviewed with a tax professional.

Does depreciation recapture apply if I never claimed depreciation?

Yes. The IRS calculates recapture based on depreciation that was "allowed or allowable" during your ownership period, not just what you actually claimed on your tax returns. Skipping depreciation deductions does not protect you from recapture tax at sale.

Final Thoughts: Plan Your Sale Before You List

The biggest mistake real estate investors make is calculating their expected profit using only sale price minus purchase price — ignoring depreciation recapture, selling costs, and the layered structure of federal capital gains tax. Use this selling investment property tax calculator early in your planning process, ideally before you list the property, so you have time to evaluate strategies like a 1031 exchange or installment sale while they're still available to you. Once a sale closes without an exchange in place, most deferral options are off the table.

Key takeaways: your total gain splits into a depreciation recapture portion (taxed up to 25%) and a standard capital gains portion (taxed at 0/15/20% based on income); primary residences get a substantial exclusion that investment properties don't; inherited property benefits from a stepped-up basis; land sales skip depreciation recapture entirely; and a 1031 exchange remains the most powerful tool for deferring tax on a qualifying investment property sale. Always confirm final figures with a qualified CPA or tax advisor before closing.

📋 2026 Tax Quick Facts
LTCG Rates: 0% / 15% / 20%
0% Threshold (Single): $49,450
0% Threshold (MFJ): $98,900
Depreciation Recapture: Up to 25%
NIIT Surtax: 3.8% (high earners)
Home Sale Exclusion: $250K / $500K
1031 ID Deadline: 45 days
1031 Close Deadline: 180 days