ACCT 330 · Federal Income Tax I: Individuals

Basis and Gains on Property

Basis is what you have already been taxed on in an asset. Learn how it is built, adjusted, and used to find gain or loss.

Key takeaways

  • Basis is, roughly, your after-tax investment in property: what you paid, plus costs added later, minus certain write-offs.
  • Gain or loss equals the amount realized minus the adjusted basis.
  • Improvements raise basis, and depreciation lowers it.
  • Gifted property usually keeps the giver's basis, while inherited property usually takes a basis equal to its value at death.
  • A gain you have not yet realized by selling is generally not taxed.

Say you buy a used bike for $200 and sell it a year later for $200. Did you earn income? Of course not. You just got your own money back. Now suppose you sell it for $260. Only the extra $60 is a gain, and only that part should be taxed. The tax system needs a way to say "the first $200 is yours already." That number is called basis.

Basis is one of the most useful ideas in the whole tax code. It decides how much gain you report when you sell a stock, a house, a delivery van or a rental. It also decides how much depreciation you may claim along the way. Get basis wrong and every later number is wrong with it.

This lesson shows how basis starts, how it changes, how to turn it into a gain or loss, and why the way you came to own something can change your basis. The next lesson, capital gains and losses, explains how those gains are taxed.

Starting point: cost basis

For property you buy, the cost basis is what you paid. It includes the price and also the costs of getting the property ready to use, such as sales tax, shipping, installation, and many closing costs on real estate.

Picture Sam, who buys a small condo to rent out for $200,000. At closing he pays $5,000 of fees that the tax rules let him add to basis, such as title insurance and recording fees. (Some closing costs, such as loan fees, are treated differently, so the list matters in practice.) His starting basis is 200,000 + 5,000 = $205,000.

The rule is the same for a single share of stock. If you pay $50 a share and a $10 trading fee on 10 shares, your basis is 10 × 50 + 10 = $510, or $51 a share.

Adjusting the basis over time

Basis is not frozen. The rules add to it and subtract from it.

Increases. Money you spend on capital improvements, which add value or extend life, goes into basis. A new roof, an addition, or a new kitchen are improvements. Routine repairs, like fixing a leaky faucet, are not. For a rental, repairs are deducted as expenses instead. See business expenses and their limits for the line between the two.

Decreases. Depreciation lowers basis, because you have already taken a deduction for that part of the cost. The tax rules reduce basis by the depreciation you were allowed to take, even if you forgot to claim it. Other reductions include casualty loss deductions and insurance reimbursements. For how depreciation works, see depreciation for tax.

After the changes, what is left is the adjusted basis.

Back to Sam. Five years on, he adds a $15,000 roof and has taken $30,000 of depreciation.

Cost of the condo                 200,000
+ Closing costs                     5,000
= Original basis                  205,000
+ New roof (improvement)           15,000
− Depreciation taken              − 30,000
= Adjusted basis                  190,000
Sam's condo: from cost to adjusted basis
Purchase price $200,000 Closing costs +$5,000 New roof +$15,000 Depreciation ($30,000) Adjusted basis $190,000 Purchase price $200,000 Closing costs +$5,000 New roof +$15,000 Depreciation ($30,000) Adjusted basis $190,000

Improvements push basis up. Depreciation pulls it down. Example with made-up numbers.

From basis to gain or loss

When you sell, you compare what you received with your basis. The amount realized is the cash you get plus the value of anything else you receive, minus the costs of selling, such as commissions. The gain or loss is the difference.

Gain or loss on a sale
Gain or loss = Amount realized − Adjusted basis Gain or loss = Realized result Positive is a gain, negative is a loss. Amount realized = What you got Price plus other value, less selling costs. Adjusted basis = What you put in Cost plus improvements, less depreciation. Gain or loss = Amount realized − Adjusted basis Gain or loss = Realized result Positive is a gain, negative is a loss. Amount realized = What you got Price plus other value, less selling costs. Adjusted basis = What you put in Cost plus improvements, less depreciation.

Sam sells the condo for $260,000 and pays $15,000 in commissions and other selling costs.

  • Amount realized: 260,000 − 15,000 = $245,000.
  • Adjusted basis: $190,000, from above.
  • Gain: 245,000 − 190,000 = $55,000.

If instead the amount realized had been $170,000, the loss would be 170,000 − 190,000 = −$20,000. Whether a gain or loss is taxed, deducted, or limited depends on the type of property, and on a few more rules in this unit. Part of Sam's gain here comes from depreciation he already deducted, which is taxed differently. That story belongs to business property sales and recapture.

Realized versus recognized

Two words need care. A gain is realized when you sell or exchange the property. It is recognized when it is actually included in your taxable income. Most of the time the two happen together. Some exceptions delay or exclude the gain. A home sale may exclude much of it, and a like-kind swap of business property may defer it. Those are covered in like-kind exchanges and involuntary conversions and selling a home and other special rules.

One more point matters a great deal. Until you sell, a rise in value is only an unrealized gain, and it is not taxed. If your stock doubles but you still hold it, nothing shows up on your return. This is why selling is a tax decision as well as an investment decision.

Losses have a catch too. If you sell a personal-use item, like your family car, for less than you paid, the loss is generally not deductible. The government taxes profit on personal property, but does not subsidize regrets.

How you got it changes your basis

The basis is not always your cost. It depends on how you acquired the property.

Bought. Basis is cost, as above.

Gifted. The receiver generally takes the giver's basis. This is called carryover basis. If Aunt Rosa bought stock for $1,000 and gives it to you when it is worth $5,000, your basis is $1,000. If you sell for $5,000, you report a $4,000 gain.

There is a special rule for gifts that have lost value, to prevent people from shifting losses. If the value at the time of the gift is less than the giver's basis, your basis for figuring a loss is the lower value. Your basis for figuring a gain is the giver's basis. A sale in between yields neither gain nor loss.

Test it. Rosa's basis is $1,000, but the stock is worth $800 on the day of the gift.

  • You sell for $1,200: gain. Use the giver's basis. 1,200 − 1,000 = $200 gain.
  • You sell for $900: in between $800 and $1,000, so no gain and no loss.
  • You sell for $700: loss. Use the value at gift. 800 − 700 = $100 loss.

Inherited. Property from someone who has died generally takes a basis equal to its fair market value at the date of death. This is called a stepped-up basis when the property had risen in value. The gain that built up during the person's life is, in effect, never taxed as income. Say Grandpa bought stock at $1,000 and it was worth $5,000 when he died. Your basis is $5,000. Sell it for $5,500 and your gain is only $500. The rules have exceptions and elections, and Congress sometimes debates changing them, so check current law.

How you got it sets your basis
Cost basis Price plus costs to get it ready Gain Loss Sell high Sell low Carryover basis Giver's basis; lower value counts for losses Stepped-up basis Generally value at the date of death Bought Gift Inherited How did you get the property? This decides the starting basis How did you get the property? This decides the starting basis Bought: Cost basis Price plus costs to get it ready Gift: Carryover basis Giver's basis; lower value counts for losses Sell high: Gain Sell low: Loss Inherited: Stepped-up basis Generally value at the date of death

A stock example: which shares did you sell?

Basis gets trickier when you buy the same stock at different prices. Nia buys 10 shares of a company at $20 each in January and another 10 shares at $30 each in June. Her total cost is 10 × 20 + 10 × 30 = $500. In December she sells 10 shares at $40, for $400.

Which shares did she sell? If she sells the January shares, her basis is 10 × 20 = $200 and her gain is 400 − 200 = $200. If she sells the June shares, her basis is 10 × 30 = $300 and her gain is 400 − 300 = $100. The choice changes the gain by $100.

The rules let a taxpayer identify the shares she sells, if she tells the broker which ones when she sells. If she gives no instruction, the default is usually first in, first out, which means the oldest shares go first. Brokers also offer an average-cost method for mutual funds. The right method depends on your situation, and it is worth asking before you click "sell."

Reinvested dividends add to basis too. Say Nia's company pays a $20 dividend and the plan buys half a share with it. She was taxed on that $20 as a dividend in the year she received it, so her basis in the new half share is $20. If she forgets this and uses a basis of zero when she sells, she is taxed on the same $20 again.

Common mistakes

Mixing up price and basis. People remember what they paid and forget the improvements and depreciation. Over twenty years, the difference can be huge.

Forgetting selling costs. Commissions reduce the amount realized, so they reduce the gain.

Ignoring depreciation. If you rented out the property, depreciation lowers your basis whether or not you claimed it. Not claiming it only means you lost the deductions, but the basis drops anyway.

Treating a repair as an improvement, or the other way round. A new roof raises basis. Patching a few shingles is a repair. The line is judged by whether the work adds value, adapts the property to a new use, or restores it substantially.

Losing the records. Basis is your burden to prove. Keep closing statements, receipts for improvements, and records of reinvested dividends. A common surprise comes from mutual funds where dividends were reinvested over decades: each reinvestment adds to basis, and missing records cause the same money to be taxed twice.

Records and where to look

Keep documents about property until several years after you sell it, because you need them to prove the basis. The IRS publishes guidance on basis of assets, and brokers now report basis for most stock you bought in recent years. Do not rely on a broker's number blindly for older purchases, gifts and inherited property. Nothing here is tax advice for your situation.

Words to know

Basis your tax investment in property, used to measure gain or loss when you sell it.

Adjusted basis basis after adding improvements and subtracting items such as depreciation.

Amount realized what you receive in a sale, less selling costs.

Capital improvement spending that adds value or extends the life of property, so it increases basis.

Carryover basis the giver's basis, passed on to the person who receives a gift.

Stepped-up basis a basis reset to fair market value at death for inherited property.

Unrealized gain a rise in value you have not yet turned into a sale, which is not taxed.

Check yourself

  1. In your own words, what does basis measure and why does the tax law need it?
  2. A buyer pays $80,000 for equipment, plus $2,000 of installation. What is the basis?
  3. A rental house has a basis of $150,000 after purchase. The owner adds a $20,000 addition and has claimed $25,000 of depreciation. What is the adjusted basis?
  4. That house sells for $210,000 with $10,000 of selling costs. What is the gain?
  5. You receive a gift of stock with giver's basis $600 and value at gift $900. You sell for $1,000. What is your gain?
  6. Explain why an inherited asset's basis step-up can cut the tax on a sale.
Show the answers
  1. Basis measures what you already invested after tax, so only profit above it is taxed.
  2. 80,000 + 2,000 = $82,000, since installation is a cost of getting it ready.
  3. 150,000 + 20,000 − 25,000 = $145,000.
  4. Amount realized 210,000 − 10,000 = 200,000; gain 200,000 − 145,000 = $55,000.
  5. Value at gift is higher than the giver's basis, so use $600; 1,000 − 600 = $400 gain.
  6. The basis resets to the value at death, so the growth during the earlier owner's life is not counted as your gain.

A free self-study program written for 4Accounting with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: Property and timing

  1. Basis and Gains on PropertyBasis is what you have already been taxed on in an asset. Learn how it is built, adjusted, and used to find gain or loss.10 min
  2. Capital Gains and LossesHow gains and losses on investments are sorted by holding time, netted together, taxed at special rates, and capped when they are losses.11 min
  3. Business Property Sales and RecaptureWhy selling a depreciated business asset can turn part of the gain into ordinary income, and how Section 1231 sorts out the rest.11 min
  4. Like-Kind Exchanges and Involuntary ConversionsTwo ways the tax law delays a gain when you swap real estate or replace property lost to fire, theft or condemnation.10 min
  5. Selling a Home and Other Special RulesHow the home-sale exclusion shields most gains, and how wash sales, related-party sales and installment sales bend the usual rules.10 min
  6. Retirement Accounts: How the Tax Rules WorkTraditional and Roth accounts differ in when the tax bill arrives, and early withdrawals and required distributions add rules.10 min

In the news