A change in market value is the difference between what you paid for an asset and what it is worth today. You calculate it two ways: as a dollar figure (current price minus your original cost) and as a percentage (that dollar figure divided by your original cost). Both numbers matter, but neither one triggers a tax bill on its own. Tax consequences arrive only when the change becomes real, which happens the moment you sell or otherwise dispose of the asset. Until then, a gain or loss lives on paper and can vanish with the next market move.
How to Calculate the Change
The dollar change is simple subtraction. A share bought at $50 and now trading at $75 has gained $25. If it dropped to $40 instead, the change is negative $10.
The percentage change lets you compare investments of different sizes. That $25 gain on a $50 stock is a 50% increase. The same $25 gain on a $200 stock is only 12.5%. Without the percentage, the two look identical when they aren’t.
For exchange-traded stocks and bonds, the current price updates continuously, so the measurement is nearly instant. Real estate is harder. Establishing a current value requires an appraisal or recent comparable sales in the neighborhood, which introduces both a time lag and some subjectivity.
Cost Basis: The Starting Point
Any gain or loss calculation is only as accurate as the starting number, and that starting number is rarely just the sticker price. For stocks and bonds, your basis includes the purchase price plus commissions and any recording or transfer fees.1Internal Revenue Service. Topic No. 703, Basis of Assets For real estate, closing costs, title insurance, and transfer taxes fold in too.
Basis also changes over time. The IRS calls this your adjusted basis. Improvements that add value to property increase it. Depreciation you have claimed on a rental or business asset decreases it.1Internal Revenue Service. Topic No. 703, Basis of Assets Buy a rental for $300,000, spend $40,000 on a new roof, and claim $50,000 in depreciation over the years, and your adjusted basis is $290,000. Miss that adjustment and the tax bill at sale will be wrong.
Inherited Assets Get a Step-Up
When you inherit an asset, your basis is not what the deceased paid. It resets to the fair market value on the date of death.2Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent If a parent bought a house in 1985 for $80,000 and it was worth $450,000 at their death, your basis is $450,000. All the appreciation during their lifetime escapes income tax entirely.
Gifts Carry the Original Basis
Gifts work the opposite way. When someone hands you an asset during their lifetime, you take their basis with you. Uncle buys stock at $10,000, gives it to you when it is worth $50,000, and your basis stays at $10,000. You also inherit the donor’s holding period, which affects whether a future sale is short-term or long-term.3Office of the Law Revision Counsel. 26 USC 1223 – Holding Period of Property The same asset can produce a very different tax bill depending on whether it arrived as a gift or an inheritance.
Unrealized Versus Realized
A market value change exists in one of two states. An unrealized change is a paper gain or loss. Your account shows you are up $20,000, but no money has moved and no tax event has occurred. The number can disappear overnight.
The change becomes realized when you sell, exchange, or otherwise dispose of the asset.4Office of the Law Revision Counsel. 26 USC 1001 – Determination of Amount of and Recognition of Gain or Loss At that moment the number is locked in, cash lands in your account, and the IRS treats it as a taxable event. The power of this distinction is timing. Hold, and you decide when the tax arrives. Sell in a low-income year, or pair a sale against a loss elsewhere in the portfolio, and you can shape the outcome.
When Realization Is Forced on You
You don’t always get to choose. If property is destroyed by disaster, stolen, or seized through eminent domain, the IRS treats any insurance payout or condemnation award as a realization event.5Internal Revenue Service. Involuntary Conversions: Real Estate Tax Tips You may owe tax on the difference between your basis and what you receive. Reinvesting the proceeds into similar property can defer the gain by carrying the old basis forward to the replacement.
What You Owe When the Gain Is Realized
The rate on a realized gain depends on how long you owned the asset. An asset held for one year or less produces a short-term gain, taxed at your ordinary income rate.6Office of the Law Revision Counsel. 26 USC 1222 – Definitions For 2026, ordinary rates run as high as 37% for single filers earning above $640,600.7Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026
Hold for more than one year and the gain qualifies for long-term treatment at preferential rates of 0%, 15%, or 20%, depending on taxable income.8Office of the Law Revision Counsel. 26 USC 1(h) – Maximum Capital Gains Rate For 2026, single filers pay 0% on long-term gains below roughly $49,450 of taxable income, 15% up to about $545,500, and 20% above that. Joint thresholds run higher. Selling one day short of the one-year mark can nearly double the tax on the same dollar of gain.
The 3.8% Surtax on Investment Income
Higher earners pay an additional 3.8% net investment income tax on capital gains and other investment income once modified adjusted gross income crosses $200,000 for single filers or $250,000 for joint filers.9Internal Revenue Service. Net Investment Income Tax These thresholds are not indexed for inflation, so more people cross them each year. Stacked on the 20% long-term rate, the top federal rate on long-term gains reaches 23.8%.
What Losses Do
Realized losses offset realized gains dollar for dollar. If losses exceed gains, you can deduct up to $3,000 of the excess against ordinary income each year ($1,500 if married filing separately).10Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses Anything beyond that carries forward with no expiration, keeping its short-term or long-term character.11Office of the Law Revision Counsel. 26 USC 1212 – Capital Loss Carrybacks and Carryovers A large loss can reduce taxes for many years running.
The Home Sale Exclusion
The biggest market value change most people ever see is on their home, and much of it is never taxed. If you owned and lived in the home for at least two of the five years before the sale, you can exclude up to $250,000 of gain, or up to $500,000 for married couples filing jointly.12Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence For the joint exclusion, one spouse must meet the ownership test but both must meet the two-year residence test.13Internal Revenue Service. Publication 523, Selling Your Home The two years don’t have to be consecutive, and the exclusion can be used again as long as you haven’t claimed it on another home within the prior two years. Any gain above the exclusion amount is taxable.
The Wash Sale Trap
Selling a loser to lock in a deduction and then buying it right back doesn’t work. The wash sale rule disallows the loss if you buy a substantially identical security within 30 days before or after the sale.14Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities That is a 61-day window in total. The loss isn’t destroyed; it gets added to the basis of the replacement shares and comes through when you eventually sell those.15Internal Revenue Service. Publication 550, Investment Income and Expenses The rule looks across all your accounts, so a repurchase in an IRA can still trigger it, and when that happens the loss can be permanently lost. Switching to a fund that tracks a different index is the standard way to keep tax-loss harvesting working.
Reporting the Change on Your Return
Realized gains and losses go on Schedule D, filed with Form 1040. Most sales also need Form 8949, which lists each transaction.16Internal Revenue Service. Instructions for Form 8949 If your broker reported the basis to the IRS and nothing needs adjustment, you can put the totals straight on Schedule D.17Internal Revenue Service. Form 8949 – Sales and Other Dispositions of Capital Assets Form 8949 is required when basis wasn’t reported to the IRS, when a wash sale is involved (coded “W”), or when you need to adjust the reported basis. The IRS receives your 1099-B directly and flags mismatches automatically, so accuracy on these forms is not optional.