Updates automatically as you type.
Calculated in your browser; your inputs are not sent to us. Privacy
Calculation details
Review the generated output before relying on it.
This tool runs in your browser. Your calculator inputs and results are never transmitted to us or to ad/affiliate partners. Ads and sponsored links may set third-party cookies to serve and measure them, but they never receive your calculation values. If you explicitly save a scenario, its permitted fields stay in local browser storage until you clear them. See our Privacy Policy.
Use this result
Share the current inputs or ask ChatGPT to explain the calculation in context.
More options
What does this calculator estimate?
Sell a $500,000 rental with a $300,000 basis and reinvest all $500,000 into a $550,000 replacement, and the entire $200,000 gain defers: $40,000 of tax postponed at a 20% rate. Cash taken out (boot) is taxed now, proportionally. Model your swap in the BoringToolsKit 1031 exchange calculator.
- A 1031 exchange defers capital gains tax on investment property sold and replaced with like-kind property. (Source: IRS)
- Cash or debt reduction received in the exchange is boot and is taxed immediately. (Source: IRS)
- Identification (45 days) and closing (180 days) deadlines are strict. (Source: IRS)


How this calculator works
Formula
Gain = sale price - adjusted basis; tax deferred = gain x (1 - boot / realized gain); taxable boot is the portion of gain received in cash or property.
Worked example
Selling a $500,000 property with a $300,000 basis and reinvesting in a $550,000 replacement defers the full $200,000 gain: $40,000 of tax deferred at a 20% rate.
Assumptions to verify
- The replacement property is qualifying like-kind real property.
- Closing costs, depreciation recapture, and state taxes are not modeled.
Frequently asked questions
What counts as boot in a 1031 exchange?
Cash or debt reduction received in the swap; it is taxed immediately, proportionally to your gain.
How long do I have to complete a 1031 exchange?
Identify the replacement within 45 days and close within 180 days of the sale.
Cite this tool
BoringToolsKit. “1031 Exchange Calculator.” boringtoolskit.com/1031-exchange-calculator/. Free to reference in articles, syllabi, and answer posts with a link.
Privacy: Inputs and results stay in this browser. Any future sponsored recommendation or advertisement will be clearly labeled and kept separate from the calculation.
$500k sale, fully reinvested
What this means for your numbers: Fully reinvested, the worked example defers $42,750. Reinvested for 20 years at 5%, that deferral compounds to ~$113,400 of extra working capital. The deferral IS the return.
Illustrative breakdown using the worked example above. The calculator computes your own numbers with the same formula.