Capital gains tax calculator on sale of rental property

A rental is not a house with a tenant in it, at least not for this calculation. Every year it was rented, the depreciation you were allowed to claim came off your basis, and basis is the number the gain is measured from. So an investment property that merely kept pace with inflation can still produce a substantial taxable gain, and the owner who never claimed the depreciation is in no better position, because the reduction is for what you were allowed, not only for what you took.

Depreciation is why the gain is bigger than the profit

On a rental, the adjusted basis you compare the sale proceeds against is not what you paid. It is what you paid, plus capital improvements, minus the depreciation allowed or allowable over the years of rental use. That is the single most misread number in property tax, and it works in one direction only: the longer it was rented, the lower the basis, and the larger the gain. An owner who bought at $300,000, rented for fifteen years and sells at $400,000 is not looking at a $100,000 gain; the depreciation taken over those fifteen years is added back into the measurement.

The deferral that exists, and what it costs to use

There is a real deferral for investment property, and the IRS states it plainly: generally, if you make a like-kind exchange, you are not required to recognize a gain or loss under Internal Revenue Code Section 1031. The conditions are strict. Since the Tax Cuts and Jobs Act, Section 1031 applies only to exchanges of real property. If you also receive other property or money as part of the exchange, you must recognize a gain to the extent of what you received, and you cannot recognize a loss. A qualified intermediary has to hold the proceeds, which is the reason that trade exists at all.

No exclusion, and the same surtax

The $250,000 and $500,000 main-home exclusion does not reach a property you never lived in, so the whole gain is in the computation. The holding period still decides the scale, more than one year making it long-term, and the long-term rate for most individuals is no higher than 15%. The 3.8 percent Net Investment Income Tax applies on the lesser of net investment income or the excess of modified adjusted gross income over the threshold, and rental gains are among the most reliable ways to cross that threshold in a single year.

Where you file changes the total, not the federal part

A rental sold in a state that taxes gains as ordinary income is taxed twice over in effect: once federally on the long-term scale and once at the state marginal rate. California is explicit that it has no lower rate for capital gains. A rental sold in Florida attracts no state charge at all: Article VII of its constitution bars a state tax upon the income of natural persons who are residents or citizens of the state. This site's record quotes both, so you can see the difference between the two sentences rather than our description of it.

Questions people ask about capital gains tax calculator on sale of rental property

Does depreciation I never claimed still reduce my basis?

Yes. The reduction is for depreciation allowed or allowable, so an owner who never claimed it is in the same position on the gain as one who did, without ever having had the deduction. This is the most expensive mistake in rental property tax.

Can I use a 1031 exchange to avoid the tax altogether?

It defers rather than avoids. The IRS says that generally, if you make a like-kind exchange, you are not required to recognize a gain or loss under Section 1031. Since the Tax Cuts and Jobs Act it applies only to real property, and any other property or money you receive in the exchange is a recognized gain to that extent.

I lived in the property before renting it out. Does the exclusion apply?

It may partly. The ownership and use tests the IRS publishes ask whether you owned the home at least 24 months out of the five years before the sale and whether you used it as your main home. Your own dates decide it, and this is exactly the point at which an adviser earns their fee.

Is a rental gain long-term if I owned it for years but only rented it recently?

The holding period runs from acquisition, not from when you started renting. The IRS rule is more than one year before disposal for long-term treatment, counted from the day after you acquired the asset.

Sources

Related answers

Put your sale to an adviserRead another state