 # How to Calculate Capital Gain on Rental Property Sale

Understanding how to calculate capital gains on sale of rental property is key to understanding overall profit on sale but also your liabilities.

Even so, it can be bewildering for many.

Details like purchase prices and improvements often lead to errors, causing uncertainty about taxes and hindering confident real estate decisions, and the fear of errors curtails financial growth and portfolio development.

However, it doesn’t have to be this way, especially if you walk through our guide below…

## How to a Calculate Capital Gain on a Rental Property

To calculate the capital gain on a rental property, begin with the original purchase price, add any extra expenses (such as renovation costs or improvements), and then deduct this combined amount from the selling price and the cost of the sale (commissions, fees, etc.).

Here’s a simple formula:

Capital gain = (Purchase price + Improvements) – Selling price – Cost of Sale

### 1. Determine the Original Purchase Price

This is simply the original purchase price you paid for the property — so, if the contracted list price was \$300,000 at the time of purchase, it’s \$300,000 for your capital gains tax calculation.

• Renovation costs
• Repairs
• Improvements.

These costs increase the property’s adjusted basis.

### 3. Subtract depreciation

You now need to factor in the depreciated amount for that property over the time period between purchasing it and now selling it.

This will reduce the adjusted cost basis that capital gains tax will apply to.

### 4. Calculate the Adjusted Basis

Calculate the adjusted basis by taking the original purchase price, adding the the additional expenses, and subtracting the depreciation.

This adjusted basis represents the total amount of money you’ve invested in the property, but also taking into account a fair depreciated amount over time with the formula being:

Adjusted cost basis = original purchase price + expenses – depreciation.

### 5. Determine the Selling Price

For the selling price, it’s possible you could deduct the following fees, which will reduce your capital gains tax since they will reduce the net selling proceeds:

• Legal and professional fees relating to the sale (incl. real estate commission)
• Property taxes relating to the sale
• Home warranty costs
• Title insurance policies
• Marketing costs
• Transfer taxes (in California, this is \$1.10 per \$1,000 at the time of writing)

For example, if your listed selling price was \$300,000 but the selling costs totaling from the above list was \$5,000, the net selling price you’d use for your capital gains tax calculation would be \$300,000 – \$5,000 = \$295,000.

### 6. Calculate Capital Gain

Subtract the adjusted basis (Step 4) from the selling price (Step 5). The result is your capital gain from the rental property, which is as follows as a formula:

Capital gain = Listed selling price – related selling costs – original purchase price + additional expenses – depreciation

Note: If the selling price is higher than the adjusted basis, you have a capital gain. If it’s lower, you might incur a loss on sale of a rental property

### 7. Report the Sale

Complete Schedule D of Form 1040 in the year of the sale to document the transaction. If you’ve previously claimed depreciation on the property, file Form 4797 (Sales of Business Property) as well. Fulfilling these reporting obligations is crucial for complying with California state tax regulations, ensuring a smooth and legal property sale process.

## Example of How to Calculate Capital Gains on Rental Property

For this illustration, imagine an investor who purchased a commercial office building in downtown Los Angeles five years ago for \$3.5 million and invested an additional \$200,000 in renovations and improvements.

To calculate capital gains tax on an investment property sold for \$5 million (after selling fees) in 2023, the investor would follow these steps:

### 1. Calculate the Basis:

Original Purchase Price: \$3.5 million

Capital Improvements: \$200,000

Total Basis: \$3.7 million

Commercial real estate can be depreciated over 39 years straight-line. Assuming the building’s original cost (excluding land) was \$3 million (including capital improvements), the depreciation taken over five years would be approximately \$384,615 (\$3,000,000 / 39 years = \$76,923 x 5 years).

Adjust the basis by subtracting the depreciation from the total cost basis: \$3,700,000 – \$384,615 = \$3,315,385 adjusted basis.

### 4. Calculate Capital Gain

Capital Gain = Selling Price – Adjusted Basis

= \$5,000,000 – \$3,315,385

= \$1,684,615 capital gain.

### 5. Determine Depreciation Recapture Tax

Depreciation recapture is taxed at a flat rate of 25%. For the depreciation taken (\$384,615), the tax due on depreciation recapture would be \$96,153.75.

### 6. Calculate Capital Gains Tax

The remaining capital gain (\$1,684,615 – \$384,615 = \$1,300,000) then has capital gains taxed applied to it.

CGT applies at both a federal and a state level.

#### Federal CGT

From a federal perspective, there are different rates for short-term holds and long-term:

• Short term: Less than 1 year
• Long term: Greater than 1 year

Short-term rates are as follows for 2023:

For 2023, Long-term rates are:

So, in our working example, since the property was held for over 1 year, the long-term rates apply, and depending on the filing status of the individual, the rate would be:

20% x \$1,300,000 = \$260,000 since the gain is above the thresholds for all of the filing statuses.

#### California State CGT

In addition, we needed to apply the CGT rate in California.

Here, the tax brackets for capital gains mirror that of personal income, and vary depending on your filing status for 2023:

So, in our working example, the gain of \$1,300,000 will be taxed at 12.3%, so:

State CGT = 12.3% x \$1,300,000 = \$159,900.

Combined federal and state CGT = \$260,000 + \$159,900 = \$419,900 for 2023

If the investor’s income falls above the thresholds for the Affordable Care Act (ACA) surtax on the total capital gain, then a further 3.8% on the gain might apply.

In this example, the total capital gains tax liability for the investor would be the sum of:

• Depreciation recapture tax: \$96,153.75
• Federal long-term capital gains tax: \$260,000
• California state capital gains tax: \$159,900
• TOTAL = 513, 053.75

Keep in mind that tax laws, especially when calculating capital gains tax on an investment property, can change, and everyone’s situation is different. Consulting with a tax professional is essential for accurate calculations and advice tailored to your specific circumstances.

## Key Takeaways on Calculating Capital Gains on Rental Property

Understanding how to figure out capital gains on the sale of a rental property is vital for investors.

Here are the key takeaways to keep in mind:

1. Basis Calculation: Start with the original purchase price and add any additional expenses like improvements to determine the basis of the property. This forms the foundation for calculating capital gains.
2. Depreciation Adjustment: If you’ve claimed depreciation on the property, subtract it from the adjusted basis. Depreciation affects your capital gains tax liability upon selling your investment property.
3. Capital Gain Calculation: Subtract the adjusted basis from the selling price to calculate the capital gain. This figure represents the profit made from the sale of the property.
4. Tax Implications: Understand the tax implications of capital gains. Depreciation recapture is taxed at a different rate than the remaining capital gain, which is subject to long-term capital gains tax rates, and both federal and state taxes apply.
5. Consultation is Crucial: Given the complexity of tax laws and individual variations in investment scenarios, consulting a tax professional is crucial. They can provide accurate calculations and personalized advice tailored to your specific situation.

By grasping these key points, investors can navigate the process of calculating capital gains on rental properties more effectively, ensuring they make informed financial decisions in the real estate market.