The 1031 Exchange Calculator: How to Defer Taxes When You Sell Investment Property
If you own rental or investment real estate and you’re thinking about selling, one of the most powerful tools available to you is the 1031 Like-Kind Exchange. It’s also one of the most misunderstood — and most easily botched — strategies in real estate tax planning.
As one of my clients, I want to make sure you understand exactly how this works before you ever sign a purchase agreement on the sale side. Getting the timing or structure wrong can cost you a significant amount in unnecessary taxes. Getting it right can let your equity keep compounding, tax-free, into your next investment.
To help with that, I built a 1031 Exchange Calculator that handles the full analysis: gain calculation, boot testing, basis allocation, and a depreciation schedule for your replacement properties. This article walks you through how the exchange works and how the tool supports every step of the process. Access the calculator here.
What a 1031 Like-Kind Exchange Actually Is
Under Internal Revenue Code Section 1031, when you sell an investment property and reinvest the proceeds into a “like-kind” replacement property, you can defer paying capital gains tax on the sale. The gain doesn’t disappear — it carries forward into your new property’s tax basis — but you don’t owe it now.
This is a significant advantage. If you’ve held a property for years and it’s appreciated substantially, the tax bill on an outright sale can be substantial. A 1031 exchange lets you roll that gain forward and keep all of your equity working in the next deal.
The exchange applies to real property held for investment or productive use in a trade or business. Your primary residence does not qualify.
The Rules You Cannot Miss
The IRS has strict rules around 1031 exchanges. These are non-negotiable, and missing any of them collapses the exchange and triggers the tax immediately.
Understanding Boot — and Why It Triggers Tax
“Boot” is what the IRS calls any portion of the exchange that doesn’t get reinvested into like-kind property. Boot is taxable.
There are two types of boot you need to watch for:
The Exchange Calculator automatically tests both of these for you. It flags whether you’ve met the value requirement and the debt requirement, so you can see upfront whether you’re on track for a full tax deferral or heading into a partial exchange.
How the Calculator Works
The tool is built across three linked worksheets, each handling a distinct piece of the analysis.
Tab 1: Exchange Calculator
This is your main input sheet. You enter the details of the property you’re selling — original purchase price, capital improvements, accumulated depreciation, sale price, selling costs, and existing mortgage. The sheet calculates your adjusted tax basis, total gain realized, and the net equity going to your Qualified Intermediary.
You can enter up to three replacement properties. The sheet then runs the Exchange Analysis: checking whether the replacement value is high enough and whether the debt is covered. If either test fails, you’ll see exactly where the gap is and what you need to close it.
Tab 2: Basis Allocation
This is where most CPAs and investors get it wrong. After a 1031 exchange, your basis in the replacement property is not the purchase price — it’s a carried-forward, adjusted figure that accounts for the deferred gain, additional cash you put in, new closing costs, and the change in debt.
The Basis Allocation sheet calculates the correct new basis under IRS Regulation §1.1031(d)-1, then splits it across your replacement properties by purchase price percentage, and further divides each property into its land (non-depreciable) and building (depreciable) components. This directly determines how much depreciation you can claim each year.
Tab 3: Depreciation Schedule
The Depreciation Schedule tab pulls the correct depreciable basis from the Basis Allocation sheet and generates a 10-year straight-line depreciation schedule for each replacement property. It also shows you the difference between the correct Section 1031 basis method and the simplified purchase-price method — a comparison that frequently reveals hundreds or even thousands of dollars in overstated or understated deductions per year.
Why Getting the Basis Right Is So Important
The depreciation deduction is one of the biggest ongoing tax benefits of owning rental property. If you use the wrong basis — which is easy to do after a 1031 exchange — you could be either underpaying or overpaying your taxes every year for the life of the property.
The calculator shows the annual difference between the correct method and the simplified method, as well as the cumulative 10-year impact. In many exchanges, this difference can exceed $9,000 over a decade. That’s real money — and it’s exactly the kind of thing I catch when I’m handling your returns.
Common 1031 Exchange Mistakes
How I Can Help
A 1031 exchange has to be structured correctly before you close on the sale side — not after. If you’re considering selling investment property and want to explore whether an exchange makes sense for your situation, let’s talk through the numbers before you go under contract.
The calculator is a great starting point. I’ve made it available to my clients so you can model your own scenarios and see the tax deferral potential in real time. But the real value is in reviewing it together, making sure the exchange is set up properly with a qualified intermediary, and then managing your basis and depreciation correctly on every return going forward. That’s where I come in.
One More Thing — Referrals Mean the World to Me
If you know a real estate investor, business owner, or anyone who could use help with accounting, bookkeeping, or payroll services, I’d be so grateful if you’d pass my name along. Word-of-mouth from clients I already trust is how I’ve built this practice, and I’ll always make sure anyone you refer receives the same level of personal attention you do.
They can reach me directly at [email protected]. Thank you for your continued trust — it’s the foundation of everything I do.
Received This From a Friend?
If someone shared this article with you and you don’t currently have an accountant keeping an eye on your tax strategy, I’d love to connect. Schedule a free 30-minute consultation to review your business needs — no pressure, just a real conversation about where your business stands. Click here to schedule your free consultation.
Andrew Walsh is a CPA, CFP®, and CTFA with over 10 years of experience in tax and 4 years in financial planning. He founded Fountain City CPA, LLC to serve the clients and relationships he'd built over his career — people who trusted him and wanted to keep working with him as he went out on his own.
Andrew is a graduate of Columbus State University and is licensed as a CPA in the state of Georgia. He specializes in complex individual tax returns and works closely with new business owners who want to grow and build something lasting. His background across tax, financial planning, and trust and fiduciary advising gives him a rare breadth of knowledge that lets him serve clients as a true strategic advisor — not just someone who files your return once a year.
At Fountain City CPA, Andrew's goal is to go deep with clients, understand their full financial picture, and help them make smart decisions year-round. When you work with Fountain City CPA, you work directly with Andrew.

Owner/Operator
We look forward to helping you. Please contact us with the information below and we will get back to you as soon as possible.
+1 (706) 587 9803
2422 Lancaster Drive, Columbus, GA 31904
