Back to Glossary

Capital Gains

Reviewed and updated November 25, 2026 by DealCalcPro. Sources are listed at the end of this entry. How we write and review

The question it answers

How much profit does this sale actually produce for tax purposes?

What Capital Gains means

A capital gain is the profit from selling a capital asset such as investment real estate. The IRS measures it as the amount realized from the sale minus the adjusted basis.

Adjusted basis usually starts with the purchase price plus certain purchase costs, then adds capital improvements and subtracts depreciation taken. The amount realized is the sale price less selling expenses such as commissions.

Holding period decides the type of gain. An asset held more than one year produces a long-term gain. One held one year or less produces a short-term gain, which is taxed at ordinary income rates. If the sale brings in less than adjusted basis, the result is a capital loss.

How it changes a decision

Knowing the true gain matters before listing a property, choosing between a sale and a 1031 exchange, or deciding whether to hold past the one-year mark. A property sold a few weeks short of a year can produce a short-term gain taxed at ordinary rates. Records of purchase costs and improvements support a higher basis and therefore a smaller taxable gain.

Worked example

Hypothetical: selling a buildable lot after four years

A hypothetical investor bought a residential lot four years ago, paid closing costs, and spent money on a survey and clearing to make it buildable. A builder now offers $112,000. Selling costs are $7,800.

Inputs

Lot purchase price
$64,000
Purchase closing costs
$2,300
Survey and clearing
$5,200
Sale price
$112,000
Selling costs
$7,800

Steps

  1. Adjusted basis: $71,500Formula: = lot price + buy costs + site work
  2. Amount realized: $104,200Formula: = sale price − sell costs
  3. Capital gain: $32,700Formula: = amount realized − adjusted basis
  4. Gain if basis items were missed: $40,200Formula: = amount realized − lot price
  5. Gain overstated by: $7,500Formula: = gain if basis items were missed − capital gain

Result: The capital gain is $32,700. Forgetting the purchase costs and site work would overstate it by $7,500.

Because the lot was held more than a year, the $32,700 is a long-term gain. Vacant land has no depreciation, so there is no recapture. The rate that applies depends on the investor's total taxable income, and state tax may also apply.

Uses the same structure as the 1031 Exchange Calculator: gain = (sale price - selling costs) - adjusted basis. Vacant land here has no depreciation.

Common mistakes

  • Using the original price as basis and forgetting purchase costs and improvements.
  • Ignoring depreciation that reduces basis on a rental, whether or not it was claimed.
  • Counting the holding period wrong and landing in short-term treatment.
  • Treating selling costs as unrelated to the gain.

Limitations

  • Which purchase and selling costs adjust basis follows detailed IRS rules.
  • Gain is only one part of the after-tax result; rates, recapture and state tax also matter.

How it differs from related terms

Capital Gains Tax
Capital gains are the profit. Capital gains tax is what is owed on it.
Depreciation Recapture
On rentals, part of the gain that came from depreciation is taxed under separate rules.
1031 Exchange
A 1031 exchange can defer recognizing the gain when investment real estate is exchanged for like-kind property.
Rules vary by locationFederal rules are uniform, but state income tax on gains varies and some states have no income tax. Check with a CPA in the investor's state.

Run the numbers

Related terms

Sources

  1. Internal Revenue Service, Topic no. 409, Capital gains and losses. Supports: Gain is amount realized minus adjusted basis, held more than one year is long-term, one year or less is short-term taxed as ordinary income
  2. Internal Revenue Service, Publication 551, Basis of Assets. Supports: Basis includes settlement fees and closing costs such as surveys and recording fees, increases for capital improvements, and decreases for depreciation deducted or that could have been deducted

Examples are hypothetical and for education only. This page is not legal, tax, lending or investment advice; rules change, so check current sources or a licensed professional before relying on them.