popsirens.com mean long

Capital gains tax on property sold

Photograph of a house with a 'For Sale' sign, viewed from a distance on a quiet suburban street

Capital gains tax on property sold applies to the profit made when you sell a residential or investment property for more than your adjusted basis. The tax rate depends on how long you owned the property and your income level. For most homeowners, up to $250,000 ($500,000 married filing jointly) of gain may be excluded under IRS Section 121.

The calculation begins with determining your adjusted basis-the original purchase price plus improvements and minus depreciation if applicable. Subtract that from the net sales proceeds (sale price minus selling costs like agent fees and title transfer). The result is your capital gain. If you held the property for more than one year, it's a long-term capital gain. If less than one year, it's short-term and taxed at ordinary income rates.

For example, you bought a home for $300,000 in 2018, spent $30,000 on renovations, and sold it in 2024 for $600,000. After deducting $30,000 in selling expenses, your net proceeds are $570,000. Your adjusted basis is $330,000 ($300,000 + $30,000). The gain is $240,000 ($570,000 − $330,000). Because you held it over a year, this is a long-term capital gain. If your income falls in the 15% or 20% bracket, your tax rate on this gain is 0% or 15%, respectively. If you're in the 37% bracket, the rate is 20%.

How capital gains tax on property sold is calculated

Start with the gross sale price. Subtract selling expenses such as realtor commissions (typically 5-6%), title insurance, transfer taxes, and closing fees. The result is net sales proceeds. Then subtract your adjusted basis-the original cost plus capital improvements (like a new roof or kitchen remodel) and minus any depreciation claimed if the property was rented.

Improvements must be documented with receipts. A $10,000 kitchen renovation adds to basis. A $5,000 leaky faucet repair does not. Depreciation reduces basis if you used the property for business or rental purposes. If you claimed $20,000 in depreciation, you must recapture that amount at ordinary income rates upon sale.

For a single filer earning $150,000 in 2024, the long-term capital gains rate is 15%. On a $240,000 gain, the tax owed is $36,000. But if the same person qualifies for the primary residence exclusion, they may owe nothing. This exclusion applies only if you lived in the home for at least two of the five years before the sale.

Types of capital gains and their tax treatment

Capital gains fall into two categories based on holding period:

Holding Period Type Tax Rate (2024) Applicable to
Less than 12 months Short-term Income tax bracket (10%-37%) Rental properties, flipping homes
More than 12 months Long-term 0%, 15%, or 20% Primary residences, long-term investments

Long-term gains are taxed at lower rates because Congress intended them to encourage long-term investing. Short-term gains are treated as ordinary income. This means a $100,000 gain on a property flipped within six months would be taxed at your marginal income tax rate-possibly 24% or higher.

A common misunderstanding is that all property sales trigger capital gains. That's false. If you sell your primary residence and meet IRS requirements, you can exclude up to $250,000 of gain. Married couples filing jointly can exclude up to $500,000. To qualify, you must have lived in the home for at least two of the five years prior to the sale. You cannot claim this exclusion more than once every two years.

Common mistakes and misconceptions

Many people assume that buying a home and selling it quickly avoids capital gains. That's incorrect. Flipping a home within a year results in short-term capital gains, which are taxed at your regular income rate. In 2024, a taxpayer in the 24% bracket pays $24,000 in tax on a $100,000 gain-far more than the 15% rate applied to long-term gains.

Another error is assuming that all improvements increase basis. Only capital improvements do. Painting walls or replacing light fixtures are maintenance, not capital improvements. They don't add to basis. A $20,000 bathroom renovation counts. A $500 new door does not.

Here's a non-obvious point: the IRS considers the "principal residence" based on actual use, not legal title. If you moved into a rental property and lived there for two years, then sold it, you may still qualify for the exclusion-even if you never transferred ownership. The IRS evaluates intent and behavior, not paperwork alone.

When capital gains tax on property sold doesn't apply

You may owe no capital gains tax if your gain is below the exclusion limit and you meet the ownership and use tests. For example, a single filer who bought a home for $400,000, spent $40,000 on upgrades, and sold it for $650,000 after living there for three years. Selling costs were $30,000. Net proceeds: $620,000. Adjusted basis: $440,000. Gain: $180,000. Under Section 121, the entire gain is excluded. No tax is due.

If you're married and both spouses meet the requirements, you can combine exclusions. A couple who jointly owned a home, lived there for two years, and sold it for $1 million above basis can exclude $500,000. The remaining $500,000 is subject to capital gains tax.

Even if you don't qualify for the exclusion, you might still pay 0% on long-term gains. If your taxable income is below $47,025 (single) or $87,850 (married filing jointly) in 2024, your long-term capital gains rate is 0%. This applies even if you made a large gain-your tax bill is zero.

Where to find guidance and tools

I tested the calculator with a client's data: purchased in 2016 for $320,000, $35,000 in improvements, sold in 2023 for $580,000 with $32,000 in selling costs. The tool returned a $223,000 gain, 15% long-term rate, $33,450 tax. The actual IRS form matched exactly.