Cost Basis Explained: Why It Matters for Investments, Real Estate, and Taxes

When you sell an investment, a rental property, or a business interest, the tax you owe is generally based on the gain, not the sale price. The gain is the difference between what you receive and your cost basis. That makes cost basis one of the most important numbers in tax planning, and one of the most frequently overlooked. Missing or incorrect basis can lead to overpaying tax, receiving IRS notices, or making poor decisions about which assets to sell. If you want help organizing basis records or planning a sale, a complimentary, no-obligation wealth and tax review is a good place to start.

This guide explains what cost basis is, how it is commonly adjusted, special rules for inherited and gifted assets, and how basis connects to investment and tax planning.

What Cost Basis Is

Cost basis is generally what you paid for an asset, including certain costs of acquiring it. For stocks and funds, that typically includes the purchase price plus commissions or fees. For real estate, it includes the purchase price plus certain closing costs. When you sell, your gain or loss is generally the sale proceeds minus your adjusted basis.

Basis is not always fixed. It can increase or decrease over time based on events such as improvements, depreciation, reinvested dividends, and corporate actions.

Adjustments to Basis

  • Reinvested dividends. Dividends used to buy additional shares add to basis. Forgetting them can lead to paying tax twice on the same money.

  • Stock splits and mergers. Corporate actions can change the number of shares and the basis per share.

  • Home improvements. Capital improvements to a home or rental property generally add to basis, while routine repairs do not.

  • Depreciation. For rental and business property, depreciation generally reduces basis, which affects the gain when the property is sold.

  • Return of capital. Some distributions reduce basis rather than being taxed as income when received.

Choosing Which Shares to Sell

When you own shares of the same investment bought at different times and prices, the method used to identify which shares are sold can affect the gain. Brokerage firms often default to first in, first out, but many allow specific identification, which lets you choose particular lots. Selecting higher-basis lots can reduce a current gain, while selecting lower-basis lots may make sense in a low-income year. This is one of the tools used in tax-efficient investing strategies and in reducing capital gains tax.

Inherited Assets

Assets inherited at death generally receive a basis adjustment to fair market value as of the date of death, sometimes called a step-up in basis. This can significantly reduce capital gains if heirs sell soon after inheriting. In community property states, and in Wisconsin under its marital property system, both halves of certain marital property may receive an adjustment at the first spouse's death, depending on how the property was held. Documenting date-of-death values, through appraisals or account statements, is important for heirs. Our article on capital gains on inherited property covers this in detail.

Gifted Assets

Gifts during life generally carry over the donor's basis to the recipient. That means a parent who gifts appreciated stock to a child also transfers the built-in gain. Special rules apply when a gifted asset has declined in value. These differences are one reason families often weigh whether to gift appreciated assets during life or hold them until death, a decision that should be coordinated with estate planning. Our guide on generational wealth planning discusses those tradeoffs.

Brokerage Reporting and Missing Basis

Brokerage firms are generally required to track and report basis for many securities purchased after certain dates. For older purchases, shares transferred from another firm, or assets acquired through inheritance or gifts, basis may be missing or marked as not reported. When that happens, it is up to the taxpayer to provide accurate basis. If basis is left blank on a return, the IRS may treat the full proceeds as gain, which can lead to a notice.

Real Estate and Business Interests

Real estate basis includes the purchase price, certain closing costs, and capital improvements, reduced by depreciation for rental or business use. For partnership and S corporation interests, basis changes each year based on income, losses, contributions, and distributions. Tracking basis for these interests is often the owner's responsibility and can matter a great deal at sale. Our article on depreciation recapture explains how depreciation affects a property sale.

Keeping Good Basis Records

Good records are the foundation of accurate basis. Keep purchase confirmations, closing statements, improvement receipts, records of reinvested dividends, and documentation of inherited or gifted assets. Store them for as long as you own the asset and for several years after the sale. A shared, organized system also helps family members if they ever need to manage your affairs.

Basis and Charitable Giving

Cost basis also matters for charitable giving. Donating appreciated investments held for more than a year to a qualified charity may allow a deduction based on fair market value, subject to limits, while avoiding tax on the built-in gain. Because the gain is never realized, the donor's basis does not affect the deduction in the same way it would affect a sale. That is why many donors give their lowest-basis shares and keep higher-basis shares, which they may sell later with a smaller gain. Investments that have declined in value are generally better sold first, so the loss can be used, with the cash then donated. Our guide to donor advised funds explains one common way families give appreciated assets.

Next Steps

Whether you are selling a long-held stock position in Madison, a rental property near Waunakee, or a business interest elsewhere in Wisconsin, cost basis is central to understanding the tax impact. A little organization now can prevent overpaying tax later.

To review basis records and plan for future sales, request a complimentary, no-obligation wealth and tax review.

Frequently Asked Questions

What is cost basis?

Cost basis is generally what you paid for an asset, including certain acquisition costs, adjusted over time for events like improvements, depreciation, and reinvested dividends.

How does cost basis affect taxes?

The taxable gain on a sale is generally the sale proceeds minus your adjusted basis. Higher basis generally means a smaller taxable gain.

What is a step-up in basis?

Assets inherited at death generally receive a basis adjustment to fair market value at the date of death, which can reduce capital gains for heirs.

What if my brokerage statement does not show cost basis?

You are generally responsible for reporting accurate basis. Gather purchase records or other documentation to support it.

Do reinvested dividends affect basis?

Yes. Reinvested dividends generally add to your basis, which helps avoid paying tax twice on the same money.


Compound is a registered investment adviser. Registration does not imply a certain level of skill or training. This article is for informational and educational purposes only and should not be construed as personalized investment, tax, or legal advice. Tax laws are complex and subject to change. Strategies discussed may not be suitable for everyone, and there is no guarantee that any strategy will achieve its objectives or reduce taxes. Investing involves risk, including possible loss of principal. Please consult your tax, legal, and financial professionals before acting on any information in this article. For more information, see Compound's Form ADV, available at adviserinfo.sec.gov.

Information may be generalized or subject to change. Please contact our team for the most current and accurate information.


About Compound Wealth

Many financial decisions involve more than one area of expertise. Compound Wealth provides integrated tax planning, wealth management, accounting, and business transition services so clients can evaluate financial decisions within a broader planning framework. This collaborative approach supports thoughtful conversations across multiple areas of financial life.

This content is intended primarily for search engine visibility and general informational purposes. Information may be generalized or subject to change. Please contact our team for the most current and accurate information.

Previous
Previous

Marginal vs Effective Tax Rate: What the Difference Means for Your Decisions

Next
Next

IRS Notice Letters: What They Mean and How to Respond