Tax on selling vs. exchanging investment property
estimate_exchange_taxEstimates the tax on selling investment real estate outright (gain, section 1245 recapture, unrecaptured 1250 gain at up to 25%, 0/15/20% capital gains stacked on other income, 3.8% NIIT, state tax, cash left) and, when a replacement price is given, the 1031 exchange result: cash and mortgage boot, tax on the boot, gain deferred and replacement basis. 2025 or 2026 federal brackets. Same engine as the 1031.help calculator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Two-letter state you will owe tax to, e.g. CA. Omit to leave state tax out. | |
| new_loan | No | New loan on the replacement. Default 0. | |
| tax_year | No | Year of the sale. | 2026 |
| cash_added | No | Extra cash added beyond the sale proceeds. Default 0. | |
| sale_price | Yes | Sale price in dollars. | |
| depreciation | No | Total depreciation taken or allowable. Default 0. | |
| improvements | No | Capital improvements. Default 0. | |
| include_niit | No | Include the 3.8% net investment income tax. False only for a real estate professional whose property was a trade or business. | |
| filing_status | Yes | single, mfj (married filing jointly), mfs (married filing separately), hoh (head of household), estates_trusts. | |
| selling_costs | No | Commission, title, transfer tax. Default 0. | |
| purchase_price | Yes | Original purchase price plus buying costs. | |
| mortgage_paid_off | No | Loan paid off at the sale closing. Default 0. | |
| replacement_price | No | Replacement property price. Give it to also get the exchange (boot) result. | |
| other_taxable_income | No | Other taxable income that year, after deductions. Default 0. | |
| depreciation_personal_property | No | Part of depreciation taken on personal property (cost segregation, bonus). Default 0. |