1031 exchange calculator for investment property
Back to Education
Tax Calculator

1031 Exchange Calculator: See How Much You Could Defer

Estimate the total tax liability on a straight sale and compare it to the amount that could potentially be deferred through a 1031 exchange. Enter property details and tax parameters for a side-by-side comparison.

Thomas Wall
By Thomas WallPartner at Anchor1031

Key Takeaway

A 1031 exchange may defer tens or even hundreds of thousands of dollars in taxes, depending on the property's gain, depreciation, and the investor's tax situation by deferring federal capital gains (15-20%), depreciation recapture (25%), state income tax, and the 3.8% net investment income tax. The calculator on this page estimates total tax liability on a straight sale versus the amount deferred through a 1031 exchange.

Disclosure: This article and calculator are for educational purposes only and do not constitute tax, legal, or financial advice. Anchor1031 is not a CPA or tax advisor. Tax laws are subject to change, and individual results vary. Consult your qualified tax professional before making any tax-related decisions.

Why Use a 1031 Exchange Calculator

Selling an investment property can trigger multiple layers of tax liability. Federal capital gains tax generally applies at rates of 15% or 20%, depending on income. Depreciation deductions are also generally subject to recapture at a rate of up to 25%. Most states add their own income tax on the gain and investors with modified adjusted gross income above certain thresholds may owe an additional 3.8% net investment income tax (NIIT).

A 1031 exchange under IRC Section 1031 may allow investors to defer all of these taxes by reinvesting the proceeds into like-kind replacement property. The total amount deferred depends on several factors: the original purchase price, sale price, depreciation claimed, holding period, income bracket, and state of residence.

The calculator on this page estimates total tax liability on a straight sale and compares it to the amount that may potentially be deferred through a 1031 exchange. Enter property details and tax parameters to see a side-by-side comparison.

These estimates are for educational purposes only. Tax situations vary, and you should consult a qualified tax professional before making decisions based on these numbers. For a broader overview of the exchange process, see our How to Use a 1031 Exchange guide and our Complete 1031 Exchange Guide.

Interactive 1031 Exchange Calculator

Use the calculator below to compare a taxable sale against a 1031 exchange. Enter the relinquished property details (original purchase price, capital improvements, years owned, depreciation claimed, sale price, selling costs, and existing mortgage balance), the applicable tax parameters (federal capital gains rate, depreciation recapture rate, state tax rate, and whether NIIT applies), and optional replacement property information if a partial exchange is being considered. The calculator will display two columns showing estimated taxes on a hypothetical straight sale versus estimated total taxes potentially deferred through a 1031 exchange, including any boot or recognized gain from a partial exchange. Results are illustrative only — actual tax outcomes depend on individual circumstances.

Calculator estimates are for educational purposes only and do not constitute tax advice.

Calculate Your Capital Gains Tax & Discover Your 1031 Savings

Property Information

Hypothetical Tax Calculation Results

Enter your property details to calculate potential tax consequences

Questions About Your 1031 Exchange?

Our team can help you navigate tax implications and develop a personalized exchange strategy. Contact us to discuss your specific situation. For detailed insights, review our 1031 exchange tax benefits guide.

Disclosure

The tax calculator provided by Anchor1031 is a hypothetical computational tool designed solely for general informational and educational purposes. This tool does NOT constitute tax advice, legal advice, investment advice, or professional consultation of any kind. The calculations, results, estimates, and projections generated by this calculator are purely hypothetical examples and should NOT be relied upon for actual tax planning, investment decisions, or financial planning purposes.

1031 EXCHANGE RISK:
Internal Revenue Code Section 1031 ("Section 1031") contains complex tax concepts and certain tax consequences may vary depending on the individual circumstances of each investor. Great Point Capital, LLC and its affiliates make no representation or warranty of any kind with respect to the tax consequences of your investment or that the IRS will not challenge any such treatment. You should consult with and rely on your own tax advisor about the tax aspects with respect to your particular circumstances.

Investing has risks; performance is not guaranteed.
Securities offered through Great Point Capital, LLC (GPC) (member FINRA/SIPC/IEX). Anchor1031, LLC is a separate entity from Great Point Capital, LLC. Anchor1031, LLC is not affiliated with Great Point Capital, LLC. No offer to buy or sell securities is being made. Such offers may only be made to qualified Accredited Investors via a Private Placement Memorandum.

Anchor1031, LLC and GPC are not tax advisors. Prospective strategies and products used in any tax advantaged investment planning should be reviewed independently with your tax and legal advisors. Investments are not guaranteed or FDIC insured, and risks may include but are not limited to complete loss of principal investment. Risks detailed in a private placement memorandum should be carefully reviewed, understood and considered before investment. Changes in the tax code and other regulatory revisions could have a negative impact upon strategies developed and recommendations made.

*Tax rates and thresholds are based on 2024 tax year information and are subject to change. Last updated March 2025.

Understanding the Numbers: What This Calculator Shows

Capital Gains Tax (Federal)

Long-term capital gains on assets held longer than one year are generally taxed at preferential federal rates. For 2026, three brackets generally apply based on taxable income.

Single filers generally pay 0% on gains up to $49,450, 15% on gains from $49,451 to $545,500, and 20% on gains above $545,500. Married couples filing jointly generally pay 0% up to $98,900, 15% from $98,901 to $613,700, and 20% above $613,700.

Most investment property sellers with significant gains fall into the 15% or 20% bracket. A 1031 exchange generally defers the entire federal capital gains tax by rolling the gain into the replacement property. The gain is generally embedded in the replacement property's lower tax basis and may become taxable when that property is eventually sold without another exchange.

Depreciation Recapture Tax

Under current tax law, owners of investment property are generally required to depreciate the building value over its useful life. Residential rental property is depreciated on a straight-line basis over 27.5 years. Commercial property follows a 39-year schedule.

When the property is sold, those depreciation deductions are generally recaptured as taxable income under Section 1250. This unrecaptured Section 1250 gain is generally taxed at a maximum rate of 25%, regardless of the investor's ordinary income bracket.

A 1031 exchange generally defers this tax along with the capital gains tax. The depreciation schedule generally carries over to the replacement property, and the remaining recovery period typically continues from where it left off.

Net Investment Income Tax (NIIT)

The net investment income tax under IRC Section 1411 may add 3.8% to gains from investment property sales for higher-income taxpayers. The tax generally applies when modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly. These thresholds are not indexed for inflation and have remained unchanged since the tax took effect in 2013.

Capital gains from selling investment property are generally considered net investment income. For an investor above the income threshold, the NIIT may add a meaningful layer on top of federal capital gains tax and depreciation recapture. A 1031 exchange generally defers this tax because the gain is not recognized in the year of the exchange.

State Capital Gains Tax

Most states tax capital gains as ordinary income. Rates range from 0% in states with no income tax to 13.3% in California. Eight states currently impose no state income tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming. Investors in these states may generally avoid this layer of taxation, though state tax laws are subject to change.

Some states have clawback provisions that apply when the replacement property is located in a different state. California, Oregon, Montana, and Massachusetts are among the states that track deferred gains and may recapture the state-attributed portion when the replacement property is eventually sold. California is generally known for maintaining records of deferred gains across subsequent exchanges.

A 1031 exchange generally defers state capital gains tax, though state-specific rules may apply. Investors exchanging property across state lines may want to consult a tax professional familiar with the relevant jurisdictions.

Worked Example: 1031 Exchange vs. Taxable Sale

In this hypothetical example, consider an investor in California who has held a residential rental property for 10 years and is now selling it.

Property details:

  • Original purchase price: $400,000
  • Capital improvements over 10 years: $50,000
  • Depreciation claimed: approximately $145,000 (10 years of straight-line depreciation at $14,545 per year on $400,000 of building value over a 27.5-year recovery period)
  • Adjusted basis: $400,000 + $50,000 − $145,000 = $305,000
  • Sale price: $750,000
  • Selling costs (7%): $52,500
  • Net sale proceeds: $697,500
  • Total taxable gain: $697,500 − $305,000 = $392,500

Estimated tax liability without a 1031 exchange (hypothetical):

In this hypothetical, the gain breaks into two components for federal tax purposes. The appreciation above the original cost basis (before depreciation) may be taxed as a long-term capital gain. The depreciation previously claimed is generally recaptured at a separate rate under Section 1250. State tax and NIIT may apply to the full taxable gain. Actual tax liability depends on the taxpayer's specific circumstances and applicable law at the time of sale.

  • Estimated federal capital gains tax on appreciation: ($697,500 − $450,000) = $247,500 at 20% = $49,500
  • Estimated depreciation recapture tax: $145,000 at 25% = $36,250
  • Estimated California state income tax: $392,500 at 13.3% = $52,203
  • Estimated net investment income tax: $392,500 at 3.8% = $14,915
  • Total estimated tax (hypothetical): $152,868

In this hypothetical, the combined effective tax rate on the $392,500 gain is approximately 38.9%. In a high-tax state like California, the various layers of taxation may consume a significant share of the profit from a sale.

With a 1031 exchange (hypothetical — full reinvestment into replacement property at $750,000 or more):

In this hypothetical, all four tax components may potentially be deferred. The estimated $49,500 in federal capital gains tax, $36,250 in depreciation recapture, $52,203 in state tax, and $14,915 in NIIT could remain invested in real estate rather than paid to taxing authorities. The investor's full $697,500 in net proceeds (after selling costs) may continue working as equity in the replacement property. Actual results depend on the taxpayer's specific situation, applicable law, and whether all exchange requirements are satisfied.

Hypothetical total tax potentially deferred: $152,868.

That additional $152,868 remaining invested rather than paid in taxes could affect long-term wealth accumulation, though actual investment results will vary and are not guaranteed. The replacement property may lose value, generate lower returns than expected, or involve other risks. Actual tax results depend on the investor's specific circumstances and applicable law. The calculator above lets investors run this comparison with specific property details, tax bracket, and state rate. Consult a qualified tax professional before making decisions.

The replacement property generally inherits the deferred gain and the depreciation schedule from the relinquished property. These taxes are deferred, not eliminated. Many investors continue exchanging indefinitely, and heirs who inherit the property may receive a stepped-up basis at death under IRC Section 1014 under current law, which may potentially eliminate the deferred gain. The stepped-up basis provision has been the subject of legislative proposals to modify or eliminate it; investors should consult a qualified estate planning professional.

Boot and Partial 1031 Exchanges: When the Investor Doesn't Fully Reinvest

What Is Boot in a 1031 Exchange?

Boot refers to any value received in a 1031 exchange that is not like-kind property. The two most common forms are cash boot and mortgage boot.

Cash boot occurs when the investor does not reinvest all of the net sale proceeds into the replacement property. Any cash retained from the transaction is generally treated as taxable boot. Mortgage boot (also called debt relief boot) occurs when the investor takes on less debt on the replacement property than existed on the relinquished property. The reduction in debt is generally treated as value received.

Boot generally triggers recognized gain. The taxable amount is the lesser of the boot received or the total realized gain. In other words, boot is generally taxed at the applicable capital gains, depreciation recapture, state, and NIIT rates, but only up to the amount of the underlying gain.

How to Calculate Boot

Cash boot equals the net sale proceeds minus the cash actually reinvested into the replacement property. Mortgage boot equals the mortgage balance on the relinquished property minus the mortgage on the replacement property, when the new mortgage is smaller.

Total boot is the sum of cash boot and mortgage boot, but only when the net figure is positive. An investor can offset cash boot with additional mortgage and vice versa. For example, taking $50,000 in cash but increasing the mortgage by $50,000 or more would result in zero net boot.

Partial Exchange Example (Hypothetical)

Using the same hypothetical scenario from the worked example above, suppose the investor sells for $750,000 but purchases a replacement property for only $600,000, keeping $97,500 in cash. Actual results will vary based on the taxpayer's specific circumstances.

The $97,500 in cash retained is generally treated as boot and may trigger recognized gain. That portion of the gain may be taxed at the applicable rates, allocated proportionally across federal capital gains, depreciation recapture, state tax, and NIIT. The remaining $295,000 in deferred gain may stay embedded in the replacement property's basis.

The calculator handles this automatically. When the replacement property value entered is below the net sale price, the calculator computes boot and shows the resulting tax on the recognized portion alongside the amount still deferred.

To avoid all boot, three conditions are generally required: the replacement property is generally required to cost at least as much as the net sale price, the investor is generally required to reinvest all net equity without taking any cash out, and the debt on the replacement property is generally required to equal or exceed the debt on the relinquished property.

Reinvestment Requirements: Avoiding Taxable Boot

Three Rules to Defer All Gain

Complete tax deferral in a 1031 exchange generally requires meeting three conditions simultaneously.

First, the replacement property's purchase price is generally required to be equal to or greater than the net sale price of the relinquished property. Second, all net equity (the cash proceeds remaining after selling costs and debt payoff) is generally required to be reinvested into the replacement property. No cash should generally be withdrawn from the exchange. Third, the debt on the replacement property is generally required to equal or exceed the debt that existed on the relinquished property. If the new mortgage is smaller, the investor may make up the difference by contributing additional cash at closing.

Failing any one of these conditions generally creates boot, which may trigger recognized gain on the shortfall.

New Basis Calculation

The replacement property's tax basis is generally not its purchase price. Instead, it typically carries over from the relinquished property. The formula is: adjusted basis of the relinquished property, plus any boot paid (additional cash invested), minus any boot received.

This carryover basis means the deferred gain is embedded in the new property. When the replacement property is eventually sold without another 1031 exchange, the full deferred gain generally becomes taxable. Depreciation on the carryover basis generally continues over the remaining recovery period from the relinquished property. Any excess basis (the difference between the replacement property's purchase price and the carryover basis) generally begins a new depreciation schedule.

Why Basis Matters for Future Planning

A lower tax basis generally means a higher taxable gain if the property is ever sold outright. Investors who complete multiple 1031 exchanges accumulate increasingly large deferred gains over time.

Under current tax law, serial 1031 exchanges may allow continual deferral throughout an investor's lifetime. This is sometimes called the “swap till you drop” strategy. At death, heirs may receive a stepped-up basis under IRC Section 1014, equal to the property's fair market value at the date of death. This stepped-up basis may potentially eliminate all deferred capital gains and depreciation recapture in a single step. For investors with a long-term wealth transfer perspective, this combination of lifetime deferral and basis step-up at death is one of the more commonly discussed tax planning strategies available in real estate. This strategy depends on current tax law remaining in effect. The stepped-up basis provision under IRC Section 1014 has been the subject of legislative proposals to modify or eliminate it.

Frequently Asked Questions

How do you calculate capital gains on a 1031 exchange?

Start with the sale price and subtract selling costs to get the net sale price. Then subtract the adjusted basis (original purchase price plus capital improvements minus depreciation claimed). The difference is generally the capital gain. In a 1031 exchange, this gain is generally deferred rather than recognized, and it typically carries over to the replacement property through its adjusted basis.

Is it better to pay capital gains or do a 1031 exchange?

For most investors who plan to continue owning investment property, a 1031 exchange may be advantageous because it defers taxes and keeps more capital working. However, paying the tax may be simpler when the gain is small, the investor is in a low tax bracket, immediate liquidity is needed, or suitable replacement property cannot be found within IRS deadlines. Use the calculator above to compare both scenarios.

What is boot in a 1031 exchange and how is it taxed?

Boot is any non-like-kind value received in a 1031 exchange, typically cash retained or debt reduction. Boot generally triggers recognized gain, typically taxed at the applicable federal capital gains, depreciation recapture, state, and NIIT rates. The taxable amount is generally the lesser of the boot received or the total realized gain.

What happens to depreciation in a 1031 exchange?

The depreciation schedule generally carries over to the replacement property. The carryover basis generally continues depreciating over the remaining recovery period using the same method. Any excess basis (additional value above the carryover amount) generally starts a new depreciation schedule.

Can I use a 1031 exchange on my primary residence?

Generally, no. Section 1031 is generally understood to apply only to property held for investment or productive use in a trade or business. Converting a primary residence to a rental property may potentially qualify it for a future exchange after a sufficient holding period as an investment, typically one to two years.

What is the downside of a 1031 exchange?

The main drawbacks include reduced liquidity, strict IRS deadlines (45 days to identify, 180 days to close), a lower tax basis on the replacement property, additional complexity and professional fees, and the requirement to use a qualified intermediary.

When should you not do a 1031 exchange?

A 1031 exchange may not be appropriate when cash from the sale is needed, the tax liability is minimal, the investor wants to exit real estate entirely, or suitable replacement property cannot be found within the 45-day identification period.

How does the stepped-up basis work with 1031 exchanges?

If the replacement property is held until death, heirs may receive a stepped-up basis equal to fair market value at the date of death under IRC Section 1014 under current law. This may potentially eliminate all deferred capital gains and depreciation recapture. Heirs may then be able to sell with little or no taxable gain, or hold with a fresh depreciation schedule.

What is the 200% rule in a 1031 exchange?

Under the 200% rule, an investor may identify more than three replacement properties during the 45-day identification period, generally provided their combined fair market value does not exceed 200% of the relinquished property's sale price.

What is the 3 property rule for 1031 exchanges?

The three-property rule allows identification of up to three replacement properties regardless of their combined value. This is the most commonly used identification rule. The investor is generally required to acquire one or more identified properties within the 180-day exchange period.

Conclusion: Make an Informed Decision

A 1031 exchange may defer tens or even hundreds of thousands of dollars in taxes on the sale of investment property. The size of the benefit depends on several factors: the capital gain, the amount of depreciation claimed, the investor's income bracket, and the applicable state tax rate.

Whether a 1031 exchange is appropriate depends on the investor's long-term investment strategy, liquidity needs, and ability to identify and close on a replacement property within the 45- and 180-day deadlines. The calculator above provides a starting point for understanding the financial impact.

Consult a qualified tax professional for advice specific to your situation, and work with an experienced qualified intermediary to ensure compliance with IRS requirements. For a step-by-step walkthrough of the exchange process, visit our How to Use a 1031 Exchange guide.

With over 300 completed 1031 transactions and more than $600M in preserved investor wealth, Anchor1031 connects investors with pre-vetted replacement properties to help explore tax deferral options. Schedule a consultation to explore available exchange options and browse our DST marketplace.

This calculator and article are for educational purposes only. Results are estimates and do not constitute tax, legal, or financial advice.

Thomas Wall

About the Author

Thomas Wall, Partner

Thomas Wall is a Partner at Anchor1031, where he specializes in educating clients about 1031 exchanges, private real estate offerings, and REITs. With nearly a decade of experience in alternative investments and real estate, Mr. Wall has helped investors through hundreds of 1031 exchanges, placing over $230M of equity into real estate.

Related Articles

How to Use a 1031 Exchange

Step-by-step guide to executing a 1031 exchange, from selecting a qualified intermediary to closing on replacement property.

1031 Exchange Capital Gains Loophole

Compare the major capital gains tax loopholes and learn how 1031 exchanges and stepped-up basis work together.

Ready to Explore 1031 Exchange Options?

Learn how a 1031 exchange may help defer capital gains taxes while building a diversified real estate portfolio.

Disclosure

Tax Complexity and Investment Risk

Tax laws and regulations, including but not limited to Internal Revenue Code Section 1031, bonus depreciation rules, cost segregation studies, and other tax strategies, contain complex concepts that may vary depending on individual circumstances. Tax consequences related to real estate investments, depreciation benefits, and other tax strategies discussed herein may vary significantly based on each investor's specific situation and current tax legislation. Anchor1031, LLC and Great Point Capital, LLC make no representation or warranty of any kind with respect to the tax consequences of your investment or that the IRS will not challenge any such treatment. You should consult with and rely on your own tax advisor about all tax aspects with respect to your particular circumstances. Please note that Anchor1031 and Great Point Capital, LLC do not provide tax advice.

Anchor1031

The information contained in this article is for general educational purposes only and does not constitute legal, tax, investment, or financial advice. This content is not a recommendation or offer to buy or sell securities. The content is provided as general information and should not be relied upon as a substitute for professional consultation with qualified legal, tax, or financial advisors.

Tax laws, regulations, and IRS guidance regarding 1031 exchanges, opportunity zone investments, and related real estate strategies are complex and subject to change. Information herein may include forward-looking statements, hypothetical information, calculations, or financial estimates that are inherently uncertain. Past performance is never indicative of future performance. The information presented may not reflect the most current legal developments, regulatory changes, or interpretations. Individual circumstances vary significantly, and strategies that may be appropriate for one investor may not be suitable for another.

All real estate investments, including 1031 exchanges and opportunity zone investments, are speculative and involve substantial risk. There can be no assurance that any investor will not suffer significant losses, and a loss of part or all of the principal value may occur. Before making any investment decisions or implementing any 1031 exchange strategies, readers should consult with their own qualified legal, tax, and financial professionals who can provide advice tailored to their specific circumstances. Prospective investors should not proceed unless they can readily bear the consequences of potential losses.

While the author is a partner at Anchor1031, the views expressed are educational in nature and do not guarantee any particular outcome or create any obligations on behalf of the firm or author. Neither Anchor1031 nor the author assumes any liability for actions taken based on the information provided herein.