Realized Gain or Loss

A realized gain or loss arises when an asset or position is sold, settled, exchanged, or otherwise disposed of relative to the relevant basis.

A realized gain or loss arises when an asset or position is sold, settled, exchanged, closed, or otherwise disposed of for more or less than the relevant basis. A positive result is often called a realized profit. The calculation may use investment cost basis, tax-adjusted basis, or accounting carrying amount depending on the question being answered.

Realization does not always mean the same amount is immediately recognized in accounting income, taxable income, or cash available to spend. Those outcomes depend on the asset, transaction, reporting framework, tax law, and costs.

Key Takeaways

  • A sale price alone does not determine gain or loss; fees, allocated basis, prior adjustments, and noncash consideration can matter.
  • Investment performance, financial-statement accounting, and tax reporting may use different comparison amounts.
  • Realized and recognized are related but not identical concepts.
  • Fair-value accounting can recognize gains or losses before disposal, so the disposal-period accounting result may differ from the asset’s lifetime gain.
  • Partial sales require a supportable method for identifying which units or cost layers were disposed of.
  • Tax character, rates, deferral, loss limitations, and reporting are jurisdiction- and taxpayer-specific.

Basic Formulas

For a straightforward investment sale:

$$ \text{Realized gain or loss} =\text{Net proceeds}-\text{Allocated cost basis} $$

Net proceeds generally reflect the value received less selling costs included in the chosen calculation. Cost basis can include acquisition costs and later adjustments.

For financial-statement disposal accounting:

$$ \text{Disposal gain or loss} =\text{Net disposal proceeds}-\text{Carrying amount derecognized} $$

For a U.S. federal tax sale or exchange, a common starting relationship is:

$$ \text{Tax gain or loss} =\text{Amount realized}-\text{Adjusted tax basis} $$

The same transaction can produce different answers because carrying amount, investment cost basis, and adjusted tax basis need not be equal.

Worked Example: Partial Stock Sale

An investor buys 100 shares at $40 each and pays a $10 acquisition commission:

$$ \text{Total cost basis}=(100\times\$40)+\$10=\$4{,}010 $$

The investor later sells 60 shares for $55 each and pays a $12 selling fee:

$$ \text{Net proceeds}=(60\times\$55)-\$12=\$3{,}288 $$

If all shares came from the same purchase, the allocated basis is:

$$ \text{Allocated basis}=\$4{,}010\times\frac{60}{100}=\$2{,}406 $$

The realized gain on the 60 shares is:

$$ \$3{,}288-\$2{,}406=\$882 $$

The remaining 40 shares retain $1,604 of basis. Their later market-price changes remain unrealized until another realization event, although an accounting framework may recognize fair-value changes before sale.

If fair-value changes were already recognized

Assume a company, rather than an individual investor, carried the 60 shares at $3,240 immediately before selling them and had already recognized prior fair-value gains in income. Its disposal-period accounting gain would be:

$$ \$3{,}288-\$3{,}240=\$48 $$

The $48 disposal-period accounting gain is not the same as the $882 lifetime gain measured from original investment cost. Much of the economic change had already entered accounting income through earlier fair-value remeasurement.

Realized, Unrealized, Recognized, and Taxable

TermCore questionImportant boundary
Unrealized gain or lossHow has value changed while the position remains open?Can still be recognized in earnings or OCI under fair-value accounting
Realized gain or lossWhat gain or loss arises from a sale, settlement, or other realization event?Does not by itself determine accounting or tax treatment
Recognized accounting gain or lossWhat amount enters the financial statements and where?Depends on measurement, derecognition, hedging, and presentation rules
Tax gain or lossWhat amount enters the tax computation?Depends on jurisdiction, taxpayer, asset, basis, character, and special rules
Cash profit or lossWhat cash was received or paid?Can differ because of noncash consideration, financing, timing, and costs

It is incorrect to say that every unrealized gain stays outside net income. Many financial instruments are remeasured through profit or loss while still held.

Choosing the Correct Basis

Investment cost basis

For investment analysis, basis may start with purchase price plus eligible transaction costs. Reinvested distributions, return of capital, corporate actions, transfers, foreign-currency translation, or prior sales can change the per-unit amount.

Accounting carrying amount

A company’s carrying amount can reflect depreciation, amortization, impairment, fair-value changes, foreign exchange, or another measurement basis. The gain or loss on derecognition compares proceeds with that carrying amount.

Adjusted tax basis

Tax basis follows the applicable tax rules. It can differ from both original cost and book carrying amount because of depreciation methods, nondeductible costs, wash-sale or replacement-property rules, gifts, inheritance, reorganizations, and other adjustments.

Position-specific basis

Derivatives, short sales, partnership interests, debt instruments, digital assets, and foreign-currency transactions can require specialized calculations. A simple sale-price-minus-purchase-price formula may not be sufficient.

Partial Sales and Lot Identification

When identical units were acquired at different dates and prices, the realized amount depends on which units are treated as sold. Possible methods include specific identification, first-in first-out, or average basis where permitted.

Example:

LotUnitsCost per unit
Lot A50$20
Lot B50$35

Selling 50 units at $40 produces a gain of $1,000 if Lot A is identified, but only $250 if Lot B is identified, before costs. The transaction proceeds are identical; the basis assignment differs.

The allowed method and documentation depend on the account, asset, jurisdiction, and elections. Broker records should be reconciled with the investor’s own transaction history.

Financial-Statement Treatment

Accounting does not use realization as the sole recognition rule. Depending on classification:

  • fair-value changes may enter profit or loss before sale;
  • some changes may enter other comprehensive income;
  • assets at amortized cost may recognize interest, impairment, and foreign-exchange effects before disposal;
  • hedge accounting may match or defer specified effects; and
  • derecognition can reclassify or leave prior OCI amounts according to the applicable standard.

Analysts should reconcile:

  1. opening carrying amount;
  2. purchases or additions;
  3. income, impairment, and valuation changes;
  4. proceeds and assets derecognized;
  5. realized or disposal gain and loss captions; and
  6. closing carrying amount.

Tax Treatment Is Not Universal

For U.S. federal tax purposes, the IRS describes gain or loss from many sales and exchanges as amount realized minus adjusted basis. Classification as ordinary or capital and short- or long-term can affect treatment.

However, a realization event does not always create current taxable recognition. Nonrecognition, deferral, rollover, wash-sale, installment-sale, straddle, related-party, and loss-limitation rules can change timing or deductibility. Other countries use different rules.

Do not infer a tax bill from a brokerage screen labeled realized gain. Tax returns require taxpayer-specific records, currency, basis, character, holding period, elections, and applicable law.

How to Evaluate a Realized Gain or Loss

  1. Identify the asset, position, units, and realization event.
  2. Determine gross proceeds and every cash or noncash item received.
  3. Subtract applicable selling costs to reach the relevant net proceeds.
  4. Identify the units or cost layers disposed of.
  5. Reconcile acquisition cost and all basis adjustments.
  6. Distinguish investment basis, accounting carrying amount, and tax basis.
  7. Check prior unrealized gains or losses recognized in income or OCI.
  8. Determine accounting classification and tax character separately.
  9. Reconcile broker, custodian, general-ledger, and tax records.
  10. Retain transaction dates, confirmations, fees, exchange rates, and basis evidence.

Risks and Common Mistakes

  • Ignoring transaction costs: gross price changes can overstate economic profit.
  • Using original cost instead of adjusted basis: distributions, depreciation, or prior events may alter basis.
  • Selling part of a holding without identifying the lot: the basis and holding period can change materially.
  • Equating realized with taxable: recognition and deductibility rules may defer or alter the tax result.
  • Equating realized with recognized accounting income: fair-value changes may already have been recorded.
  • Assuming every loss is deductible: personal-use, wash-sale, related-party, capital-loss, or other limitations may apply.
  • Ignoring foreign currency: local-currency and reporting-currency gains can differ.
  • Using market value as proceeds before a transaction closes: quotations do not establish execution price or costs.
  • Counting distributions twice: reinvested or return-of-capital amounts can affect both cash flows and basis.

Authoritative Sources

  • Unrealized Gain or Loss: Value change on an asset or open position before a sale or settlement.
  • Capital Gains and Losses: Tax and investment classification for gains and losses on capital assets.
  • Cost Basis: Starting amount used in specified investment or tax calculations, subject to adjustment.
  • Fair Value: Market-participant measurement used by accounting standards in specified circumstances.
  • Book Value: Accounting carrying amount or net asset concept, depending on context.

FAQs

What is the difference between a realized and unrealized gain?

A realized gain follows a sale, settlement, exchange, or similar event. An unrealized gain reflects a value change while the position remains open. Accounting standards can recognize some unrealized changes before sale.

Does realizing a gain always create tax immediately?

No. Tax recognition, character, exemptions, deferrals, and rates depend on the jurisdiction, taxpayer, asset, and transaction. A realized amount shown by a broker is not a final tax determination.

Why can my realized gain differ from sale price minus purchase price?

Fees, partial-lot identification, adjusted basis, reinvested distributions, return of capital, corporate actions, currency, and prior transactions can change the calculation.

Can a company recognize an unrealized gain in net income?

Yes. Some assets and liabilities are measured at fair value through profit or loss, so value changes can enter net income before disposal. Classification under the applicable accounting framework controls.

This page provides general investment, accounting, and tax education, not personalized tax, accounting, legal, or investment advice. Use transaction-specific records and qualified professional guidance where needed.

Browse Investing