Opens in a new tab

Capital Gains Tax Calculator

Estimate Capital Gains Tax on Investment Property

Selling investment real estate can trigger several types of taxes. Our Capital Gains Tax Calculator helps estimate your taxable gain, potential federal and state taxes, and the amount of tax that may be deferred through a qualifying 1031 exchange.

Unlike a basic capital gains calculator, this tool considers your adjusted tax basis, depreciation, federal capital gains rates, potential Net Investment Income Tax (NIIT), and estimated state taxes. It compares the potential tax liability from an outright sale with the tax that a fully qualifying 1031 exchange might defer.

How to Use This Calculator

Complete three steps to estimate the taxes associated with selling your investment property:

  1. Property Details: Enter your expected sale price, eligible selling expenses, original or carryover tax basis, capital improvements, and depreciation allowed or allowable.
  2. Tax Assumptions: Select your holding period, filing status, estimated taxable income, depreciation classification, state, and applicable NIIT assumptions.
  3. Your Estimate: Click “Calculate My Estimate” to review your adjusted basis, realized gain, estimated tax breakdown, and potential tax deferral from a qualifying 1031 exchange.

Taxes Included in the Estimate

  • Federal Capital Gains Tax: Generally 0%, 15%, or 20% on qualifying long-term gains, depending on your taxable income and filing status.
  • Unrecaptured Section 1250 Gain: Certain gains attributable to depreciation on real property may be taxed at a maximum federal rate of 25%. The applicable rate is not automatically 25%.
  • Net Investment Income Tax (NIIT): An additional 3.8% tax may apply to certain investment income when modified adjusted gross income exceeds the applicable threshold.
  • State Capital Gains Tax: An estimated amount based on the selected property’s state. Actual state treatment may differ depending on the transaction.

Important: This calculator provides an educational estimate, not an exact tax bill. It does not calculate taxable boot from a partial exchange or establish eligibility for Section 1031 treatment. Consult your CPA or tax advisor before making decisions based on the results.

Tax planning · 2026 tax rules · About 3 minutes

1031 Exchange Tax Savings Calculator

Estimate the taxes on an outright investment-property sale and the amount a qualifying full 1031 exchange might defer. Replace the sample figures with your own.

  1. 1Property details
  2. 2Tax assumptions
  3. 3Your estimate

1. Your property sale

Use the total tax basis that applies to the property. If it came from an earlier 1031 exchange, consult your carried-over basis records.

Exclude mortgage payoff, which does not reduce gain.

Includes amounts you could have deducted, even if not claimed.

This calculator estimates gain from the whole property disposition, not taxable boot or cash proceeds. A lower-value replacement property, withdrawn cash, or debt relief may cause recognized gain.

2026 Federal Capital Gains Tax Rates: For qualifying long-term gains, the federal rates are generally 0%, 15%, or 20%, depending on taxable income and filing status.

  • Single filers: 0% for taxable income up to $49,450; 15% for taxable income above $49,450 through $545,500; and 20% on the portion exceeding $545,500.
  • Married filing jointly: 0% for taxable income up to $98,900; 15% for taxable income above $98,900 through $613,700; and 20% on the portion exceeding $613,700.

Other filing statuses have different thresholds. Special tax treatment may apply to certain real estate gains, including unrecaptured Section 1250 gains, which are subject to a maximum federal rate of 25%.

Net Investment Income Tax: An additional 3.8% tax may apply to the lesser of qualifying net investment income or the amount by which modified adjusted gross income exceeds the applicable threshold. The thresholds include $200,000 for single filers and $250,000 for married couples filing jointly. Learn more about NIIT from the IRS.

Explore Your Options After Estimating Capital Gains Taxes

Estimating your potential tax liability can help you evaluate whether a taxable sale or a 1031 exchange deserves further consideration.

A properly structured 1031 exchange may defer eligible gains when you acquire qualifying replacement real estate. If you want less property management, explore replacement property options for retiring landlords, including DST and TIC ownership.

Have your CPA review your estimated tax liability. If you’re considering a 1031 exchange, see where to start to discuss your exchange timeline and potential replacement-property options.

Frequently Asked Questions