1031 Exchange Calculator

๐Ÿข Finance & Money

1031 Exchange Calculator

See exactly how much capital gains tax a like-kind exchange defers compared to selling outright.

Advertisement
โš ๏ธ Important: 1031 exchanges have strict requirements โ€” a qualified intermediary, 45-day identification period, and 180-day closing period, among others. This calculator estimates the tax impact only. It is not tax or legal advice. Work with a qualified intermediary and CPA before attempting an exchange.
๐Ÿ”„
1031 Exchange Calculator

Based on 2026 federal rates: 25% max depreciation recapture, 0/15/20% long-term capital gains, 3.8% NIIT.

The Property You're Selling
Commissions, closing costs โ€” typically 6โ€“8% of sale price
Tax Assumptions
The Replacement Property (1031 Exchange)
Must equal or exceed net sale proceeds to defer 100% of the gain
Please enter the original purchase price and selling price.
Tax Deferred via 1031 Exchange
$0
Sell Outright
$0
With 1031 Exchange
$0
Total Gain
$0
Depreciation Recapture
$0
Remaining Cap Gain
$0
New Cost Basis
$0
Reminder: Gains are deferred, not eliminated โ€” they carry forward into the replacement property's cost basis and become taxable if you eventually sell without exchanging again.
Advertisement

What Is a 1031 Exchange?

A Section 1031 like-kind exchange lets real estate investors defer capital gains tax โ€” including depreciation recapture โ€” by reinvesting sale proceeds into another qualifying investment property, rather than cashing out and paying tax immediately. The gain isn't eliminated; it carries forward into the new property's cost basis.

How the Tax Calculation Works

Adjusted Basis = Original Price โˆ’ Accumulated Depreciation
Total Gain = Selling Price โˆ’ Selling Costs โˆ’ Adjusted Basis
Depreciation Recapture (taxed up to 25%) + Remaining Gain (taxed at 0/15/20% + NIIT)

The depreciation you claimed over the years reduced your taxable income each year โ€” when you sell, that benefit gets "recaptured" and taxed at up to 25%, separately from the rest of your gain, which qualifies for standard long-term capital gains rates.

The Strict Timeline Requirements

  • Qualified intermediary required: you cannot touch the sale proceeds directly โ€” a third party holds them
  • 45-day identification period: you must identify potential replacement properties within 45 days of selling
  • 180-day closing period: you must close on the replacement property within 180 days of the original sale
  • Like-kind requirement: both properties must be held for investment or business use โ€” your personal residence doesn't qualify

How to Use This Calculator

Enter your original purchase price and total depreciation claimed (your tax preparer or depreciation schedule has this figure) to establish your adjusted basis. Add your expected selling price and costs. Select your capital gains bracket and whether NIIT applies. Then enter the replacement property price โ€” if it's equal to or greater than your net sale proceeds, the full gain is deferred.

What Happens If You Don't Fully Reinvest ("Boot")

If your replacement property costs less than your net sale proceeds, the difference โ€” called "boot" โ€” is taxable in the year of the exchange, even though the rest of the gain is deferred. This calculator flags any boot and estimates its tax impact, applying depreciation recapture rules first, as the IRS requires.

๐Ÿ’ก To defer 100% of your gain, the replacement property must cost at least as much as your net sale proceeds (selling price minus selling costs) โ€” and you generally need to reinvest all the proceeds, not just match the gain amount.

Worked Example

An investor bought a property for $320,000, claimed $70,000 in depreciation, and now sells for $520,000 with $31,000 in selling costs. Adjusted basis is $250,000, total gain is $239,000. Of that, $70,000 is taxed as depreciation recapture (up to 25% = $17,500) and $169,000 as long-term capital gain (at 15% = $25,350, plus NIIT if applicable). Selling outright costs roughly $42,850โ€“$51,930 in federal tax. A full 1031 exchange into a $550,000+ replacement defers all of it.

Delaware Statutory Trusts (DSTs)

If you want to exit active property management but still complete a 1031 exchange, a DST lets you exchange into fractional, professionally managed ownership of larger institutional-grade real estate โ€” still qualifying as like-kind property under current rules.

State Tax Considerations

Some states (California notably) track 1031 exchanges with "clawback" rules โ€” if you exchange a property in that state for one out-of-state and later sell without exchanging again, the state can tax the originally deferred gain. Check your state's specific rules before exchanging across state lines.

Where This Fits Your Bigger Picture

Compare the ongoing returns of keeping your property against selling and exchanging using our sell vs. keep calculator, and screen replacement properties with our cap rate calculator and cash flow calculator.

Frequently Asked Questions

Does a 1031 exchange eliminate capital gains tax?
No โ€” it defers the tax. The gain carries forward into the replacement property's cost basis and becomes taxable when you eventually sell without doing another exchange.
What is "boot" in a 1031 exchange?
Boot is any value you receive that isn't reinvested into the replacement property โ€” typically because the replacement costs less than your net sale proceeds. Boot is taxable in the year of the exchange.
Can I do a 1031 exchange on my personal residence?
No โ€” 1031 exchanges only apply to property held for investment or business use, not a primary residence (which has its own separate home-sale exclusion rules).
What is the 45-day rule?
You must identify potential replacement properties in writing within 45 days of selling your original property โ€” missing this deadline disqualifies the exchange.
What is depreciation recapture?
When you sell depreciated real estate, the IRS "recaptures" the tax benefit you received from depreciation deductions, taxing that portion of your gain at up to 25% federally, separately from the standard capital gains rate.
Do I need a qualified intermediary?
Yes โ€” you cannot receive or control the sale proceeds directly during a 1031 exchange. A qualified intermediary holds the funds and facilitates the transaction according to IRS rules.
Can I 1031 exchange into a different type of property?
Yes โ€” "like-kind" for real estate is broadly interpreted; you can exchange a rental house for an apartment building, raw land, or commercial property, as long as both are held for investment or business use.
Is there a limit to how many times I can do a 1031 exchange?
No โ€” investors can chain multiple 1031 exchanges over many years, continuing to defer gains indefinitely, until eventually selling outright or passing the property to heirs (who may receive a stepped-up basis).
Advertisement

Scroll to Top