1031 Exchange Tax Estimator

Estimate what a taxable sale of your investment property would cost in federal capital gains tax, depreciation recapture, net investment income tax, and New Mexico income tax, and how much equity a completed 1031 exchange keeps working.

$
$

Commissions, title, legal, and closing costs. In New Mexico, gross receipts tax on the commission belongs here too.

$

Include acquisition costs that were capitalized.

$
$

From your depreciation schedule. Includes any bonus or cost-segregation depreciation.

$

Used only to compute the equity available to reinvest.

%

New Mexico taxes gains as ordinary income; the top rate is 5.9 percent.

This is general information, not tax or legal advice. Confirm details with your CPA, attorney, and qualified intermediary before acting.

Estimated tax on a taxable sale

$293,563

31.6% of a $930,000 gain. A completed 1031 exchange defers all of it.

Gain

  • Amount realized (price less selling costs)$1,880,000
  • Adjusted basis (purchase + improvements - depreciation)($950,000)
  • Total gain$930,000
  • Attributable to depreciation (unrecaptured Section 1250)$350,000
  • Remaining long-term capital gain$580,000

Tax

  • Federal depreciation recapture at 25%$87,500
  • Federal capital gains at 20%$116,000
  • Net investment income tax at 3.8%$35,340
  • New Mexico income tax at 5.9% (after $2,500 deduction)$54,723
  • Total estimated tax$293,563

Equity after a taxable sale

$986,438

After paying off the loan and the tax.

Equity reinvested through a 1031

$1,280,000

$293,563 more working for you.

At a 7 percent cap rate, the $293,563 of deferred tax buys roughly $4,193,750 of additional property and about $20,549 of additional annual NOI. To defer the full gain, the replacement property must cost at least $1,880,000 with all $1,280,000 of equity reinvested and $600,000 of debt replaced.

How the estimate is calculated

The gain on a sale is the amount realized (sale price minus selling costs) less the adjusted basis (purchase price plus capital improvements minus depreciation taken). Federal law taxes the part of the gain attributable to straight-line depreciation on real property as unrecaptured Section 1250 gain at a maximum rate of 25 percent, and the remainder as long-term capital gain at 0, 15, or 20 percent depending on taxable income. The 3.8 percent net investment income tax applies to investors above the income thresholds. New Mexico taxes the gain as ordinary income at its graduated rates, with a general capital gains deduction limited to $2,500 beginning in tax year 2025.

A completed 1031 exchange defers all of these taxes by carrying the gain and the old basis into the replacement property. The deferral requires buying property of equal or greater value, reinvesting all net equity, and replacing the debt paid off at closing; anything short of that is boot and is taxed to the extent of the gain. Our complete 1031 guide covers the rules, and the deadline calculator gives you the 45-day and 180-day dates.

What this estimator does not do

  • It applies a single federal rate and a single New Mexico rate. Actual tax depends on your full return: brackets, other income, suspended passive losses, the alternative minimum tax, and state credits.
  • It treats all depreciation as Section 1250 recapture at 25 percent. Personal property components identified in a cost segregation study are Section 1245 property recaptured at ordinary rates, which can be higher.
  • It assumes an individual or pass-through owner. C corporations, trusts, and nonresident owners face different rules and withholding.
  • It does not model installment sales, partial exchanges, or the basis step-up at death that ends the deferral for heirs.

Use the result to decide whether an exchange is worth planning, then have your CPA run the real numbers before you list the property. Deferral only works if the exchange is set up before the sale closes.

Tax on a sale: common questions

Related resources

Tim House, President and Qualifying Broker at Team Southwest Commercial Real Estate

Written by

Tim House

President and Qualifying Broker, Team Southwest Commercial Real Estate

Tim has more than 25 years of commercial real estate experience in Albuquerque and the Southwest, with an emphasis on NNN investment properties, 1031 tax-deferred exchanges, development land, and special assets. He is a Past President of the Commercial Association of Realtors New Mexico and a former licensed general contractor.

Thinking about selling? Plan the exchange first.

Send us the property and your timeline. We will pair the tax estimate with real replacement options so you know what the exchange buys before you list.