How Do You Calculate Capital Gains with a Mortgage? (2024)

How Do You Calculate Capital Gains with a Mortgage? (1)

Most homes have a mortgage when they’re sold. Homeowners are able to deduct their mortgage interest annually. But how does a mortgage affect capital gains when the home is sold for a profit? This is what we’re going to dig into today.

Calculating Capital Gains on the Sale of a Home

Capital gains result from selling a home for a profit. There are no taxable gains if the home is sold for breakeven or a loss. Capital gains are the difference between the sale price and the adjusted cost basis. This calculation is similar to most any capital asset.

We can see how to arrive at the capital gains figure using a few examples.

Purchase price: $250,000

+ Improvements: $25,000

= Adjusted Basis: $275,000

Sales price: $350,000

- Closing cost: 8% ($28,000)

Capital gains: $47,000 ($322,000 - $275,000)

Homeowners who have lived in the home for at least 2 of the last 5 years can take advantage of the home exclusion. This exclusion is $250,000 for single filers and $500,000 for married filers.

A single filter in the 15% tax bracket who has lived in the home for four years will have long-term capital gains of $7,050.

Since the exclusion of $250,000 is more than the $7,050 of taxable gains, this filer will not owe taxes on the home.

Here’s an example that makes full use of the exclusion.

Purchase price: $500,000

Improvements: $50,000

Adjusted Basis: $550,000

Sales price: $900,000

Closing cost: 8% ($72,000)

Capital gains: $278,000

Without the exclusion, the filer would owe taxes on $278,000. Once the $250,000 exclusion is applied, they only owe taxes on $28,000.

If the homeowner sells the home for a loss, the exclusion does not apply because taxes are not owed on a loss. The homeowner will be able to deduct up to $3,000 of loss. Any remaining loss is carried over into future years.

How Does a Mortgage Impact Capital Gains?

A mortgage doesn’t directly impact capital gains. However, homeowners who have a qualified mortgage and itemize their deductions are able to deduct mortgage interest annually.

Once the home is sold, there isn’t anything in the mortgage that impacts capital gains. The homeowner will use proceeds from the sale to pay off their mortgage.

Selling a home is a time-consuming and complex process, especially when you're trying to figure out the various components that may impact capital gains. Working with an experienced realtor and tax specialist can help ensure this process goes smoothly.

This material is for general information and educational purposes only. Information is based on data gathered from what we believe are reliable sources. It is not guaranteed as to accuracy, does not purport to be complete and is not intended to be used as a primary basis for investment decisions. It should also not be construed as advice meeting the particular investment needs of any investor.

Realized does not provide tax or legal advice. This material is not a substitute for seeking the advice of a qualified professional for your individual situation.

Hypothetical examples shown are for illustrative purposes only.

How Do You Calculate Capital Gains with a Mortgage? (2024)

FAQs

How to calculate capital gains with a mortgage? ›

There are no taxable gains if the home is sold for breakeven or a loss. Capital gains are the difference between the sale price and the adjusted cost basis. This calculation is similar to most any capital asset.

Does a mortgage balance count against capital gains? ›

Your mortgage balance doesn't impact the capital gain. Taxpayers are often confused with regard to how their outstanding mortgage impacts the capital gain calculation from their home sale. Actually, the outstanding mortgage balance payoff at closing does not impact the capital gain at all.

How do you calculate the correct capital gains calculation? ›

Your taxable capital gain is generally equal to the value that you receive when you sell or exchange a capital asset minus your "basis" in the asset. Your basis is generally what you paid for the asset. Sometimes this is an easy calculation – if you paid $10 for stock and sold it for $100, your capital gain is $90.

What is the simple formula for capital gains? ›

Subtract your basis (what you paid) from the realized amount (how much you sold it for) to determine the difference. ○ If you sold your assets for more than you paid, you have a capital gain. ○ If you sold your assets for less than you paid, you have a capital loss.

Top Articles
Latest Posts
Article information

Author: Patricia Veum II

Last Updated:

Views: 6218

Rating: 4.3 / 5 (64 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Patricia Veum II

Birthday: 1994-12-16

Address: 2064 Little Summit, Goldieton, MS 97651-0862

Phone: +6873952696715

Job: Principal Officer

Hobby: Rafting, Cabaret, Candle making, Jigsaw puzzles, Inline skating, Magic, Graffiti

Introduction: My name is Patricia Veum II, I am a vast, combative, smiling, famous, inexpensive, zealous, sparkling person who loves writing and wants to share my knowledge and understanding with you.