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:
- Property Details: Enter your expected sale price, eligible selling expenses, original or carryover tax basis, capital improvements, and depreciation allowed or allowable.
- Tax Assumptions: Select your holding period, filing status, estimated taxable income, depreciation classification, state, and applicable NIIT assumptions.
- 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.
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.
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
How do I calculate capital gains tax on the sale of investment property?
Start by subtracting eligible selling expenses from your sale price to determine your net sale price. Next, subtract your adjusted tax basis, which generally includes your original or carryover basis plus capital improvements, minus depreciation allowed or allowable.
The resulting gain may be subject to federal capital gains tax, special tax treatment for depreciation-related gains, Net Investment Income Tax, and state taxes. The applicable taxes depend on your income, holding period, property characteristics, and other circumstances.
Our calculator estimates these amounts and illustrates the potential tax deferral from a qualifying full 1031 exchange.
What is the capital gains tax rate on real estate in 2026?
For 2026, qualifying long-term capital gains generally receive federal tax rates of 0%, 15%, or 20%, depending on taxable income and filing status.
For single filers, the 0% rate applies through $49,450 of taxable income, and the 20% rate applies to the portion above $545,500. For married couples filing jointly, the corresponding thresholds are $98,900 and $613,700.
Certain real estate gains attributable to depreciation may be taxed at rates up to 25%. An additional 3.8% Net Investment Income Tax may apply when the taxpayer meets the applicable income and investment-income requirements. State taxes may also apply.
These are general rules. The actual tax on an investment property sale depends on the nature of the gain and the taxpayer’s circumstances.
What is depreciation recapture and how is it taxed?
Depreciation affects the adjusted tax basis of investment property and can increase the taxable gain when the property is sold.
For qualifying depreciable real property, the portion of long-term gain classified as unrecaptured Section 1250 gain may be taxed at a maximum federal rate of 25%. This is not an automatic flat 25% tax on every dollar of depreciation.
Accelerated depreciation, cost segregation, and Section 1245 assets may require different treatment, including ordinary-income recapture.
For a more focused estimate, use our Depreciation Recapture Calculator. A tax advisor should verify how your depreciation is classified.
Which states have no capital gains tax?
Eight states generally do not impose a broad-based individual income tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming.
Washington has a capital gains excise tax on certain assets, but direct sales and exchanges of real estate are excluded from that tax.
Even when a state does not impose an individual income tax on real estate gains, other taxes may apply, including real estate transfer taxes, excise taxes, or local assessments.
Our calculator provides a general state tax estimate. Consult a qualified tax professional to determine the actual treatment of your property sale.
Can a 1031 exchange defer capital gains tax?
Yes. A properly structured 1031 exchange can defer eligible capital gains tax when investment or business-use real property is exchanged for qualifying like-kind replacement real estate.
However, the deferral is not automatic. You must meet applicable IRS requirements, including identification and exchange deadlines. Receiving cash, other non-like-kind property, or certain debt relief may result in taxable gain.
Our calculator illustrates the potential tax deferral from a fully qualifying exchange. It does not calculate the taxable portion of a partial exchange.
If you expect to withdraw cash or acquire a lower-value replacement property, use our Partial Exchange Boot Calculator for an additional estimate.
What is the Net Investment Income Tax (NIIT)?
The Net Investment Income Tax is an additional 3.8% federal tax that may apply to certain investment income, including gains from selling investment real estate.
NIIT generally applies to the lesser of qualifying net investment income or the amount by which modified adjusted gross income (MAGI) exceeds the applicable threshold.
The thresholds include $200,000 for single filers, $250,000 for married couples filing jointly, and $125,000 for married individuals filing separately.
Whether a particular property sale is subject to NIIT depends on the taxpayer’s circumstances. Our calculator includes an optional NIIT estimate, but a tax professional should determine the actual liability.