Skip to content

Realized Gain

A realized gain is the profit locked in the moment you sell or exchange an asset for more than its adjusted basis. Selling is what turns a paper profit into a realized one, and realization is the event federal tax law generally requires before any gain is taxed.

Last reviewed by Steven Fox, CFP®, EA on

Quick Summary

  • A gain is realized at the moment of a sale or exchange, when the amount you receive is compared against the asset's adjusted basis. Before that moment, a rising price produces only an unrealized gain.
  • IRC 1001 splits the idea into two steps. The gain is first computed, or realized, and then, except where another provision says otherwise, it is recognized, meaning taken into income for the year.
  • Realization and recognition usually happen together on an ordinary sale, but they can be pulled apart. Certain exchanges realize a gain without currently recognizing it, deferring the tax to a later sale.
  • Once realized, the gain's character as short-term or long-term is fixed by how long the asset was held, and that classification does not change afterward.
  • A realized gain is reported for the tax year in which the sale or exchange occurred, regardless of when the asset was originally purchased.

Definition

A realized gain is the gain that results from selling or exchanging a capital asset, computed by subtracting the asset's adjusted basis from the amount received. Realization is the event, not a rate or a rule about how the gain is later taxed: it is the point at which an unrealized, paper increase in value becomes a fixed, reportable number tied to a specific transaction.

The federal tax code builds gain and loss computation around this event. IRC 1001(a) defines the gain from a sale or other disposition of property as the excess of the amount realized over adjusted basis, and IRC 1001(b) defines the amount realized as the money received plus the fair market value of any property received. Until a sale or exchange occurs, there is an amount realized of nothing to plug into that formula, which is why an asset that has simply gone up in value produces no realized gain at all.

Advanced Explanation

The statute actually separates two ideas that are easy to treat as one: realization and recognition. IRC 1001(a) computes the gain realized on a sale or disposition. IRC 1001(c) then addresses a different question, stating that "except as otherwise provided in this subtitle, the entire amount of the gain or loss, determined under this section... shall be recognized." Recognition is what makes a realized gain currently taxable; realization is what quantifies it in the first place. On an ordinary sale of stock through a brokerage account, the two happen in the same instant, which is why most explanations of the subject treat them as one event. They are not always the same event, and the gap between them is where some of the more useful planning provisions in the Code live.

A handful of provisions realize a gain without recognizing it, and that gap is deliberate rather than a loophole. The clause "except as otherwise provided in this subtitle" in IRC 1001(c) points to those provisions. A like-kind exchange of qualifying real property under IRC 1031, for example, can realize a gain on the disposition of the old property while deferring recognition of that gain, generally by carrying the old property's basis over into the replacement property, so the tax is postponed rather than eliminated. The mechanics of any specific nonrecognition provision are a subject of their own; the point worth taking from IRC 1001's structure is that "realized" and "taxed right now" are not strictly synonyms, even though on the overwhelming majority of everyday sales they arrive together.

Once a gain is realized, its character is fixed by the holding period that already ran before the sale, not by anything that happens afterward. A capital asset held for more than one year at the time of the sale produces a long-term realized gain; one year or less produces a short-term one. That classification, and the definitions governing it in IRC 1222, are covered in full on the page for capital gains, since the realization event this page describes is the trigger for those definitions rather than the source of the holding-period rule itself.

A realized gain is reported for the year the sale or exchange actually occurs, not the year the asset was bought or the year the price first rose above cost. An asset can trade above its purchase price for several tax years running before the owner ever sells, and none of those intervening years produces a reportable event; only the year of the sale does. This is also the mechanism behind timing decisions such as choosing which tax year to realize a gain in, or realizing a loss on a separate position in the same year to offset it, both of which depend on the fact that realization, not mere price movement, is what starts the tax clock.

The rate and additional-tax questions that follow realization belong elsewhere. Whether the realized gain is taxed at ordinary or preferential rates, whether it is subject to the net investment income tax, and how a step-up in basis at death can eliminate a gain that was never realized during the owner's lifetime are all questions about what happens after a gain has been realized, and each is covered on its own page.

Used in a Sentence

“Priya's shares had climbed for three years without producing any tax consequence at all, and it was only the sale in June, and the realized gain that came from it, that she had to report on that year's return.”

How It Works

An asset is sold or exchanged, the amount received is compared with the asset's adjusted basis, and the excess of the amount received over basis is the realized gain, reportable for the tax year the transaction occurred.

A hypothetical example. Devon bought 100 shares of stock in 2021 for $4,000, so his adjusted basis in the position is $4,000. By the end of 2024 the position is worth $7,200, an unrealized gain of $3,200 ($7,200 − $4,000) on which nothing is owed or reported, because he still owns the shares.

In March 2026 he sells all 100 shares for $7,600. His realized gain is $3,600 ($7,600 − $4,000), computed against the same adjusted basis of $4,000 that applied all along, not against the $7,200 value the position happened to show at the end of 2024. He held the shares from 2021 to 2026, more than one year, so the $3,600 is a long-term realized gain, reportable for the 2026 tax year, the year the sale actually occurred.

Pros and Cons

Pros

  • Ties tax consequences to an identifiable event, a sale or exchange, rather than to a price level that could reverse before anything is reported.
  • Gives the owner meaningful control over timing, since a gain generally stays unrealized, and untaxed, until a sale is chosen.
  • The computation itself, amount received minus adjusted basis, is straightforward once basis is correctly established and documented.
  • The realization requirement is what makes tax-loss harvesting possible in the first place, since a loss is equally unrealized, and equally unusable, until it too is locked in by a sale.

Cons

  • The requirement to sell in order to realize a gain can itself distort decisions, discouraging a sale that would otherwise make sense for portfolio or risk reasons.
  • Realization and recognition are not always the same event, and treating them as interchangeable can lead to a wrong assumption about when a gain is actually taxable.
  • The gain is computed against adjusted basis, so a poorly documented basis on a long-held position can produce a realized gain larger than the actual economic profit.
  • A large realized gain in one year, especially a short-term one, can push a filer into a higher marginal bracket or trigger the net investment income tax for that year alone.

People Also Asked

Answers to the most frequently asked questions.

What is the difference between a realized gain and an unrealized gain?
A sale or exchange. An unrealized gain is the difference between an asset's current value and its adjusted basis while the owner still holds it, and it rises and falls with the price. A realized gain is what that becomes at the moment of a sale or exchange: a fixed dollar amount, computed against adjusted basis, reportable for the tax year the transaction occurred.
Is a realized gain always taxed the same year it is realized?
Usually, but not always. IRC 1001(a) computes the realized gain, and IRC 1001(c) generally requires it to be recognized, meaning taxed, in the same year, except where another provision defers recognition. A handful of transactions, most notably a qualifying like-kind exchange under IRC 1031, can realize a gain while deferring its recognition to a later year, which is why realized and taxable are not strictly identical concepts even though they usually coincide.
How is a realized gain calculated?
By subtracting the asset's adjusted basis from the amount realized on the sale or exchange, which is the money received plus the fair market value of any property received. Adjusted basis, not the original purchase price alone, is the correct starting point, since basis changes over an asset's holding period for reasons covered on the page for cost basis.
Does a realized gain have to be short-term or long-term?
Yes. Once a gain is realized, its character is fixed by how long the asset was held before the sale: more than one year makes it long-term, and one year or less makes it short-term. That classification is set by the holding period that already ran before the sale and does not change based on anything that happens afterward.
Can I choose when to realize a gain?
Generally, yes, for an asset you control the sale of. Because a gain remains unrealized, and untaxed, until a sale or exchange occurs, an owner typically has real discretion over which tax year a gain lands in, which is the basis for common year-end planning around when to sell an appreciated position or offset a gain with a realized loss elsewhere.

Have a question a definition can't answer?

Advice-only advisors answer questions like this for a transparent flat fee — no products, no commissions, no asset management.

Find an Advisor