Who should use this
Estimate deferred federal capital gains, unrecaptured § 1250 depreciation recapture (up to 25%), 3.8% NIIT, cash and mortgage boot, carryover basis, and your exact 45-day and 180-day IRS Form 8824 deadlines.
How a 1031 exchange defers tax (Form 8824 rules)
To defer 100% of your federal tax on a real estate sale under IRC § 1031, you must reinvest all net sale proceeds into like-kind US investment or business real estate of equal or greater value, and replace any paid-off mortgage with equal or greater new debt (or additional out-of-pocket cash). You report the exchange on IRS Form 8824 (Like-Kind Exchanges).
If you keep any cash or reduce your mortgage without adding cash to make up the difference, that shortfall is taxable boot. You pay federal tax on the smaller of your boot or your realized gain — with IRS rules taxing unrecaptured § 1250 depreciation (up to 25%) before regular long-term capital gain.
Worked examples
Example 1 — Full 1031 tax deferral (trading up with $0 boot): A married couple with $150,000 of other taxable income sells a rental bought for $350,000 (plus $30,000 in capital improvements and $80,000 of accumulated depreciation, giving an adjusted basis of $300,000). Selling for $650,000 minus $40,000 in selling expenses leaves $610,000 net proceeds and a $310,000 realized gain ($80,000 unrecaptured § 1250 plus $230,000 LTCG). Without a 1031 exchange, their estimated 2026 federal tax would be $60,452 ($17,972 § 1250 + $34,500 LTCG + $7,980 NIIT). By rolling all $410,000 of net equity into a $700,000 replacement property with a $290,000 mortgage, boot is $0, federal tax deferred is $60,452, and their new carryover basis is $390,000.
Example 2 — Partial exchange with mortgage boot: Using the same relinquished property, suppose the couple instead buys a $560,000 replacement property with a $150,000 mortgage and adds $0 cash. Because their new mortgage is $50,000 smaller than the $200,000 loan paid off, they have $50,000 of mortgage boot (total boot $50,000). They recognize $50,000 of gain — all allocated to unrecaptured § 1250 recapture first — owing an estimated $11,000 now while still deferring $260,000 of gain and $49,452 in federal tax.
Need to check your rental property's accumulated depreciation before selling, or estimate tax on a non-1031 sale? Try the rental property depreciation calculator, the capital gains tax calculator, or fill out Form 8824 directly in your browser.
What this calculator does not cover
- State income taxes, non-conforming state exchange rules, or state clawback tracking when exchanging across state lines.
- Related-party exchange restrictions (2-year holding rule under IRC § 1031(f)), reverse exchanges, or improvement (build-to-suit) exchanges.
- Mixed-use properties (part primary residence under IRC § 121 and part rental under IRC § 1031) or personal property / cost-segregation § 1245 recapture.
- Alternative Minimum Tax (AMT), passive activity loss (PAL) carryforwards released on a fully taxable sale, or installment sale (Form 6252) notes.