1031 Exchange Calculator
Estimate the recognized gain and deferred tax in a 1031 exchange. Enter your adjusted basis, sale price, and received boot to calculate your position.
By The Calcumatix Team Reviewed by Calcumatix Editorial Review
Result
$75,000.00
Estimated recognized gain is $75,000.00, with $305,000.00 deferred and $75,000.00 total boot.
Educational estimate only. Tax treatment depends on facts, timing, related-party rules, and professional advice.
Quick Answer
A 1031 exchange calculator estimates your recognized gain using IRS boot rules. Realized gain equals sale price minus adjusted basis. Recognized gain is the lesser of that realized gain or the total boot received. If you sell a property for $500,000 (adjusted basis $200,000) and receive $30,000 in cash boot, your recognized gain is $30,000, not $300,000. Source: IRS Publication 544.
What A 1031 Exchange Calculator Does And How It Works
A 1031 like-kind exchange, named after Section 1031 of the Internal Revenue Code, allows a taxpayer to defer capital gains taxes when selling a business or investment property by reinvesting the proceeds into a like-kind replacement property. The exchange does not eliminate the tax; it defers it until the replacement property is eventually sold outside of an exchange. This calculator uses the simplified boot and recognized-gain formulas from IRS Publication 544 to help you estimate whether your planned exchange will result in partial taxation, and how much of your gain may be exposed. It covers cash boot and mortgage boot but does not model state taxes, depreciation recapture, or multi-leg exchanges.
The 1031 Exchange Tax Formula And How It Is Used
Net Sale Price = Sale Price minus Selling Costs. Realized Gain = Net Sale Price minus Adjusted Basis. Recognized Gain = Lesser of Total Boot Received or Realized Gain. Deferred Gain = Realized Gain minus Recognized Gain.
- Net Sale Price = Sale Price − Selling Costs
- Realized Gain = Net Sale Price − Adjusted Basis
- Recognized Gain = Lesser of Total Boot Received or Realized Gain
- Deferred Gain = Realized Gain − Recognized Gain
- Total Boot = Cash Boot Received + Net Mortgage Relief
How To Use A 1031 Exchange Calculator In Five Steps
Inputs
- Sale Price: the closing price of the property being relinquished
- Selling Costs: commissions and closing costs paid to sell the relinquished property
- Adjusted Basis: your cost basis in the relinquished property after depreciation
- Cash Boot Received: any cash you receive from the exchange
- Mortgage Boot Received: net debt relief (old loan balance minus new loan balance; if negative, enter 0)
- Replacement Property Value: the fair market value of the property received
Steps
- Enter the sale price of the property you are selling (the relinquished property).
- Enter your adjusted basis. If you are unsure, consult your prior tax return for the depreciated basis figure.
- Enter any cash boot received. If no cash was received, enter 0.
- Enter your mortgage boot: subtract the new loan balance from the old loan balance. If you took on more debt, enter 0.
- Read your calculated realized gain, recognized gain (the taxable portion), and deferred gain.
1031 Like-Kind Exchange Tax Example, Worked In Full
A taxpayer sells a rental property for $600,000, pays $20,000 in selling costs, has an adjusted basis of $180,000, receives $25,000 in cash boot, and takes on a larger mortgage on the new property.
- Calculate Net Sale Price: $600,000 − $20,000 = $580,000.
- Calculate Realized Gain: $580,000 − $180,000 = $400,000.
- Calculate Total Boot: $25,000 (cash) + $0 (mortgage) = $25,000.
- Calculate Recognized Gain: Lesser of $25,000 and $400,000 = $25,000.
- Calculate Deferred Gain: $400,000 − $25,000 = $375,000.
The taxpayer owes capital gains tax on $25,000 in the year of the exchange. $375,000 of gain is deferred into the replacement property basis.
When A 1031 Exchange Calculator Gives The Right Answer
Use this calculator when evaluating whether a real estate sale qualifies for deferral, when comparing scenarios with different levels of boot, or when preparing initial figures to bring to a qualified intermediary (QI) and tax advisor. This tool is most useful during the planning phase, before the exchange closes.
Assumptions
- The relinquished and replacement properties are both held for investment or business use under Section 1031.
- The 45-day identification and 180-day closing deadlines are met.
- Boot is calculated as net cash and net mortgage relief, not gross figures.
- State tax treatment is not modelled; some states do not conform to federal 1031 deferral rules.
- Depreciation recapture under Section 1250 (taxed at up to 25%) is separate from this calculation and not included.
Limitations
- Does not calculate depreciation recapture (Section 1250 unrecaptured gain).
- Does not model multi-property exchanges or partial exchange scenarios.
- Does not account for state-level capital gains taxes, which vary significantly.
- Does not calculate your replacement property new adjusted basis (carryover basis formula).
In Practice
The most common error in 1031 planning is overlooking mortgage boot. Many taxpayers assume only cash triggers a taxable gain, but trading down in loan balance also counts as boot received. For example, if your relinquished property had a $300,000 mortgage and your replacement property has only a $200,000 mortgage, the $100,000 net relief is treated as boot received, even if you received zero cash at closing (IRS Publication 544, Chapter 1). Always compare loan balances on both sides of the exchange before assuming full deferral.
Related Calculators
Rent Vs Sell Calculator
Compare renting and selling your property using present-value math. Enter your projected rent income, sale proceeds, and holding costs to see which wins.
Open the CalculatorHouse Flipping Calculator
Estimate profit, ROI, and maximum offer price on a house flip. Enter your ARV, purchase price, rehab, and holding costs to run the numbers on your deal.
Open the CalculatorNet Effective Rent Calculator
Find the true average monthly cost of a lease after spreading free-rent periods and concessions across the full lease term. Enter your lease details below.
Open the CalculatorRelated Guides
- How To Calculate 1031 Exchange Boot
Learn how 1031 exchange boot is calculated, including cash boot and mortgage boot, with worked examples of how each type of boot triggers taxable gain.
- How to Calculate 1031 Exchange Gain, Boot, and Deferral
Learn how to calculate realized gain, recognized gain, deferred gain, and boot in a 1031 exchange using IRS Publication 544 concepts clearly.
- How To Calculate Occupancy Percentage For Hotel Rooms
Learn how to calculate occupancy percentage for hotels or property units, with the formula, Excel setup, worked example, and limits to check.
- How To Calculate Overhead Percentage For Business Costs
Learn how to calculate overhead percentage using overhead cost and a chosen base, with accounting context, example, source checks, and limits.
- How To Calculate Sales Percentage For Business Goals
Learn how to calculate sales percentage as sales-to-target or sales growth, with clear formulas, examples, Excel syntax, and business limits.
- How To Calculate Shrinkage Percentage For Retail Loss
Learn how to calculate shrinkage percentage for retail inventory loss, with formula options, worked example, source context, and reporting cautions.
Frequently Asked Questions About 1031 Tax Exchanges
What is a 1031 exchange in simple terms?
A 1031 exchange is a tax deferral strategy that lets you sell an investment property and roll the proceeds into a new like-kind property without paying capital gains tax immediately. The tax is deferred, not forgiven, it carries forward into your basis in the new property and becomes due when you eventually sell outside of an exchange.
What counts as boot in a 1031 exchange?
Boot is any non-like-kind property received in the exchange. The two most common forms are cash boot (cash received at or after closing) and mortgage boot (net reduction in debt, meaning the old loan exceeded the new loan). Personal property, closing costs paid by the seller from exchange funds, and excess depreciation may also count as boot depending on the structure.
What is the 45-day and 180-day rule?
After closing the sale of your relinquished property, you have 45 calendar days to formally identify potential replacement properties in writing. You must then close on at least one of those identified properties within 180 calendar days of the relinquished property closing, or by the due date of your tax return for that year, whichever is earlier. Both deadlines are absolute; missing either one disqualifies the exchange.
Can I do a 1031 exchange on a primary residence?
No. Section 1031 applies only to property held for investment or business use. Your primary residence is specifically excluded under the statute. However, if you convert a former primary residence to rental use for a qualifying period and then sell it, you may be able to use 1031 treatment on the rental portion, though this involves complex dual-use rules that require professional guidance.
How does depreciation recapture affect my 1031 exchange?
Depreciation recapture under Section 1250 is not fully deferred in a 1031 exchange. Unrecaptured Section 1250 gain (the portion of your gain attributable to prior depreciation deductions on real property) is taxed at a maximum federal rate of 25% (per IRS Topic No. 409) and cannot be entirely eliminated by the exchange. This calculator does not model recapture; speak with a tax professional to quantify your Section 1250 exposure before closing.
Sources
Reviewed for accuracy against the formula shown above.