CPA REGULATION (REG) • FEDERAL TAXATION OF PROPERTY TRANSACTIONS

Gain/Loss On Disposition Of Property — Calculate Gain Or Loss On Disposition Of Property

Master the fundamental tax computation that determines how much gain or loss a taxpayer must recognize upon selling or exchanging property.

Historical Context & Motivation

The federal income tax system's treatment of property dispositions has been a cornerstone of revenue policy since the ratification of the Sixteenth Amendment in 1913. From the outset, Congress recognized that a taxpayer's economic position changes when property is sold, exchanged, or otherwise disposed of, and that a coherent framework was needed to measure and tax that change. The earliest revenue acts contained rudimentary provisions for computing gain, but the concepts of basis, amount realized, and adjusted basis evolved significantly over the following decades as the complexity of property transactions grew. Understanding this historical arc provides essential context for why the Internal Revenue Code measures gain and loss the way it does today.

1913
Sixteenth Amendment & Revenue Act
The Sixteenth Amendment authorizes Congress to tax income. The Revenue Act of 1913 imposes the first modern income tax but provides only skeletal rules for property gains—essentially taxing gross proceeds without a formal basis concept.
1921
Revenue Act of 1921 — Basis Concept Emerges
Congress formalizes the notion that gain should be measured against the taxpayer's investment (cost). The concept of 'cost basis' enters the Code, and the first like-kind exchange provisions appear in §202, allowing deferral of gain in certain swaps of property.
1954
Internal Revenue Code of 1954
The complete recodification establishes the modern statutory framework. Section 1001 codifies the formula: Amount Realized minus Adjusted Basis equals Gain or Loss. Section 1011 through §1016 detail how to compute and adjust basis, creating the architecture still in force today.
1986
Tax Reform Act of 1986
The most sweeping overhaul in modern tax history restructures capital gains rates, repeals the 60% long-term capital gains deduction, and adds passive activity loss rules that affect how recognized gains and losses interact with other income on a taxpayer's return.
2017
Tax Cuts and Jobs Act (TCJA)
The TCJA modifies bonus depreciation rules, expands §179 expensing, creates Qualified Opportunity Zone deferrals, and revises the treatment of like-kind exchanges (now limited to real property). Each change directly affects the adjusted basis calculation and, consequently, the gain or loss recognized on disposition.

The central question that this body of law addresses is deceptively simple: when a taxpayer disposes of property, how much—if any—of the proceeds represents a return of investment, and how much represents a taxable economic gain or a deductible economic loss? The answer depends on understanding the interplay of amount realized, adjusted basis, and the various Code provisions that may limit, defer, or reclassify the resulting gain or loss. This lesson provides the analytical framework to navigate those calculations.

Core Principles & Definitions

Every gain-or-loss computation under the Internal Revenue Code rests on a small set of foundational principles codified primarily in IRC §1001. These principles define what constitutes a disposition, how to measure what the taxpayer receives, how to measure the taxpayer's investment in the property, and how the difference is characterized. Before working through calculations, it is essential to internalize the definitions and the logic that binds them together.

1

Amount Realized (§1001(b))

The total value received by the taxpayer on disposition, measured as cash received plus the fair market value (FMV) of any other property or services received plus any liabilities of the seller assumed or taken subject to by the buyer. Selling expenses (commissions, closing costs) are subtracted from the amount realized.
2

Adjusted Basis (§1011–§1016)

The taxpayer's investment in the property, starting with the initial basis (usually cost under §1012) and then adjusted upward for capital improvements and certain tax-related additions, and downward for depreciation, amortization, casualty loss deductions, and other recoveries of capital.
3

Realized Gain or Loss (§1001(a))

The arithmetic difference: Amount Realized minus Adjusted Basis. A positive result is a realized gain; a negative result is a realized loss. Realization is the threshold event—it does not, by itself, create a tax consequence until the gain or loss is also recognized.
4

Recognized Gain or Loss (§1001(c))

Under the general rule of §1001(c), the entire realized gain or loss is recognized—meaning it is reported on the tax return—unless a specific Code provision provides otherwise. Nonrecognition provisions (e.g., §1031 like-kind exchanges, §1033 involuntary conversions, §121 exclusion of gain on principal residence) may defer or permanently exclude all or part of a realized gain.
5

Characterization (Capital vs. Ordinary)

Once recognized, the gain or loss must be characterized as ordinary or capital (short-term vs. long-term) based on the nature of the asset and the holding period. This characterization determines the applicable tax rates and the netting rules under §1(h), §1221, and §1231.
KEY TAKEAWAY
Think of the gain/loss calculation like evaluating the profit on any investment in a corporate finance course: you compare what you receive (amount realized) with what you have invested (adjusted basis). The difference is your economic gain or loss. In tax, the additional wrinkle is that realization and recognition are separate gates: realization measures the economic event, while recognition determines how much of that event flows onto the return. Most realized gains and losses are fully recognized, but you must always check for an applicable nonrecognition provision before reporting.

Visual Explanation — The Gain/Loss Computation Flow

The flowchart above traces a property disposition from the triggering event through the computation of amount realized and adjusted basis, to the determination of realized gain or loss, and finally through the recognition decision gate. If no nonrecognition provision applies, the entire realized amount is recognized and reported on the taxpayer's return.

The diagram illustrates three critical stages of the analysis. First, the taxpayer must aggregate all components of the amount realized—cash, property received, and liabilities shed—net of selling costs. Second, the taxpayer must determine the adjusted basis by starting with the original cost (or other statutory basis) and applying the required upward and downward adjustments under §1016. Third, the difference between those two figures yields the realized gain or loss, which passes through the recognition gate. For the vast majority of transactions—outright sales for cash—no nonrecognition provision intervenes, and the full realized gain or loss appears on the return. The subsequent sections formalize each of these computations.

Mathematical Framework

The statutory computation of gain or loss on the disposition of property can be distilled into a series of precise equations. These formulas map directly to the Internal Revenue Code sections and form the backbone of every property-transaction problem on the CPA REG exam. Mastery of the formulas, and especially the components that feed into each variable, is essential.

AMOUNT REALIZED (§1001(b))
AR = Cash + FMV(Other Property) + Liabilities Assumed by Buyer − Selling Expenses
AR = Amount Realized; Cash = money received at closing and deferred installment amounts; FMV(Other Property) = fair market value of non-cash consideration received (including services); Liabilities Assumed = any debt of the seller that the buyer assumes or takes the property subject to (per Crane v. Commissioner and Commissioner v. Tufts); Selling Expenses = brokerage commissions, legal fees, and other costs of disposition.
ADJUSTED BASIS (§1011 & §1016)
AB = Original Basis + Capital Improvements − Depreciation − Casualty Loss Deductions − Other Recoveries
AB = Adjusted Basis; Original Basis = typically cost (§1012) but may be FMV at date of death (§1014), donor's basis (§1015), or transferred basis (§362); Capital Improvements = expenditures that add to the value, prolong the useful life, or adapt the property to a new use; Depreciation = cumulative depreciation or amortization allowed or allowable (whichever is greater, per §1016(a)(2)).
REALIZED GAIN OR LOSS (§1001(a))
Realized Gain (Loss) = AR − AB
If AR > AB, the taxpayer has a realized gain. If AR < AB, the taxpayer has a realized loss. This figure is the economic measure of the transaction before any recognition limitations apply.
RECOGNIZED GAIN OR LOSS (§1001(c))
Recognized Gain (Loss) = Realized Gain (Loss) − Deferred or Excluded Amount
Under the default rule, the entire realized gain or loss is recognized. Specific nonrecognition provisions—such as §1031 (like-kind exchanges), §1033 (involuntary conversions), or §121 (sale of principal residence)—may reduce the recognized amount. The deferred or excluded amount is zero unless a specific provision applies.
⚠️ Depreciation: Allowed vs. Allowable
When computing adjusted basis, the Code reduces basis by the depreciation allowed or allowable, whichever is greater. This means that even if a taxpayer failed to claim depreciation deductions in prior years, the basis must still be reduced by the amount that was allowable under the applicable method and convention. On the CPA exam, watch for scenarios where a taxpayer 'forgot' to depreciate—the adjusted basis is still reduced.

Detailed Breakdown — Determining the Original Basis

The starting point for adjusted basis—the original basis—depends on how the taxpayer acquired the property. The IRC provides different basis rules for different methods of acquisition, and selecting the wrong rule is one of the most common errors on the CPA REG exam. The following diagram and table summarize the primary basis rules and their statutory authority.

This diagram illustrates how the original basis is determined based on the method of acquisition—purchase (cost), gift (donor's carryover basis with the double-basis rule), inheritance (stepped-up FMV), exchange (substituted basis), or conversion from personal to business use (lower of AB or FMV). Regardless of the starting point, the taxpayer then applies §1016 adjustments to arrive at adjusted basis.
Summary of Original Basis Rules by Acquisition Method
Acquisition MethodCode SectionOriginal Basis RuleKey Nuances
Purchase§1012Cost (cash + FMV of property given + liabilities assumed)Include acquisition costs (legal fees, recording fees, transfer taxes). Exclude deductible interest and taxes.
Gift§1015For gain: donor's adjusted basis (+ portion of gift tax attributable to appreciation). For loss: lower of donor's AB or FMV at date of gift.Double-basis rule: if FMV < donor's AB, there is a 'no gain / no loss' zone between donor's AB and FMV.
Inheritance§1014FMV at date of decedent's death (or alternate valuation date if elected under §2032)Provides a full step-up (or step-down) in basis, permanently eliminating unrealized gain (or loss) at death.
Like-Kind Exchange§1031 / §1031(d)Basis of relinquished property, adjusted for boot given/received and gain recognizedPost-TCJA, §1031 applies only to real property held for productive use in a trade/business or for investment.
Conversion (Personal → Business)Reg. §1.165-9(b)Lower of taxpayer's adjusted basis or FMV at date of conversionDepreciation begins from conversion date using the lower basis. Built-in personal loss is never deductible.

Worked Example — Sale of Rental Property

Consider the following scenario, which integrates the key components of the gain/loss computation into a single, realistic transaction that mirrors the type of problem frequently tested on the CPA REG exam.

📋 Problem Setup
On January 1, Year 1, Taxpayer T purchased a residential rental property for $350,000. Of this amount, $50,000 was allocated to the land and $300,000 to the building. Over the next seven years, T claimed total MACRS depreciation of $76,360 on the building (using the 27.5-year residential rental property recovery period). In Year 3, T paid $25,000 to add a new roof (a capital improvement). On December 31, Year 7, T sold the entire property for $420,000 cash. T paid a 6% brokerage commission and $2,000 in legal closing costs. Calculate T's recognized gain or loss on the disposition.
Gain/Loss on Disposition of Residential Rental Property
1
Step 1 — Compute Amount RealizedThe amount realized equals the total consideration received by the seller minus the costs of disposition. T received $420,000 in cash. There was no other property received and no buyer assumption of liabilities. The selling expenses are: brokerage commission of $420,000 × 6% = $25,200, plus legal fees of $2,000, for total selling expenses of $27,200.
Amount Realized = $420,000 − $27,200 = $392,800
2
Step 2 — Determine Original BasisT acquired the property by purchase, so under §1012, the original basis is cost. The total cost basis at acquisition was $350,000, allocated as $50,000 to land and $300,000 to the building.
Original Basis = $350,000 ($50,000 land + $300,000 building)
3
Step 3 — Apply Upward Adjustments (§1016 Increases)The new roof in Year 3 is a capital improvement that adds to the building's basis. The cost of the roof ($25,000) increases the building's basis. Note that the roof itself would also be subject to depreciation over the remaining recovery period, but for simplicity we assume its depreciation is included in the $76,360 total depreciation figure.
Basis After Improvements = $350,000 + $25,000 = $375,000
4
Step 4 — Apply Downward Adjustments (§1016 Decreases)The accumulated MACRS depreciation of $76,360 must reduce the building's basis. Land is not depreciable and remains at $50,000. The building's adjusted basis becomes $300,000 + $25,000 (roof) − $76,360 = $248,640. The total adjusted basis of the property (land + building) is $50,000 + $248,640.
Adjusted Basis = $375,000 − $76,360 = $298,640
5
Step 5 — Compute Realized Gain or LossSubtract the adjusted basis from the amount realized: $392,800 − $298,640 = $94,160. Since the result is positive, T has a realized gain.
Realized Gain = $392,800 − $298,640 = $94,160
6
Step 6 — Determine Recognized Gain (§1001(c))T sold the property outright for cash; no nonrecognition provision (§1031, §1033, §121) applies. An outright sale of rental property does not qualify for the §121 principal-residence exclusion. Therefore, the entire realized gain is recognized. Note: of the $94,160 recognized gain, $76,360 attributable to prior depreciation would be recaptured as ordinary income under §1250 / §1(h)(1)(E) ('unrecaptured §1250 gain' taxed at a maximum rate of 25%), and the remaining $17,800 would be long-term capital gain (assuming a holding period exceeding one year).
Recognized Gain = $94,160 (fully recognized)

Limitations, Exceptions & Loss Disallowance Rules

While the general rule of §1001(c) allows full recognition of both gains and losses, several Code provisions restrict or disallow the recognition of losses and, in some cases, defer gains. Understanding when these limitations apply is critical for accurate computation and is heavily tested on the CPA REG exam. The table below compares the most significant recognition limitations.

Key Recognition Limitations for Gains and Losses
ProvisionApplicationEffect on Gain/Loss
§267 — Related Party LossSales or exchanges between related parties (family members, >50% owned entities)Loss is disallowed to the seller. The buyer may use the disallowed loss to offset any gain on a subsequent sale to an unrelated party (but never to create or increase a loss).
§1091 — Wash SalesSale of securities at a loss when substantially identical securities are acquired within 30 days before or afterLoss is disallowed; disallowed loss is added to the basis of the replacement securities, effectively deferring the loss.
§165(c) — Personal-Use Property LossDisposition of property held for personal use (e.g., personal residence, personal auto)Losses on personal-use property are not deductible. Gains are recognized and treated as capital gains.
§121 — Principal Residence ExclusionSale of a principal residence if ownership and use tests are met (2 of last 5 years)Up to $250,000 ($500,000 MFJ) of gain is excluded from income. Losses are disallowed under §165(c).
§1031 — Like-Kind ExchangeExchange of real property held for productive use in a trade/business or investment for like-kind real propertyGain is deferred (not excluded) to the extent boot is not received. The deferred gain is preserved through a substituted basis in the replacement property.
§1033 — Involuntary ConversionProperty destroyed, stolen, condemned, or disposed of under threat of condemnationGain may be deferred if the taxpayer reinvests proceeds in similar-use property within the statutory period (2 years, 3 years for condemned real property).
KEY TAKEAWAY
Think of the tax code's gain/loss recognition rules as a series of tollgates on a highway. The default rule is that all traffic (gains and losses) passes through to the return. But specific tollgates—§267, §1091, §165(c), §1031, §1033, and §121—can block certain losses from passing or divert certain gains onto a detour (deferral). On the CPA exam, always apply the default recognition rule first, then check whether a specific provision reroutes the result.

Connection to Advanced Theory — Gain Characterization & Recapture

Calculating the dollar amount of gain or loss is only half the analysis. The other half—and often the more consequential half for tax liability—is characterization. A recognized gain or loss must be classified as either ordinary or capital (and, if capital, as short-term or long-term), because the characterization determines the applicable tax rate and the netting rules. Additionally, the depreciation recapture provisions of §1245 and §1250 may recharacterize what would otherwise be capital gain as ordinary income. The table below contrasts the basic gain/loss computation with the more advanced characterization layer.

Gain/Loss Computation vs. Characterization & Recapture
AspectGain/Loss Computation (This Lesson)Characterization & Recapture (Advanced)
Primary QuestionHow much gain or loss is realized and recognized?Is the recognized gain/loss ordinary or capital? If capital, is it short-term or long-term?
Key Code Sections§1001, §1011, §1012, §1014, §1015, §1016§1221 (capital asset definition), §1231 (business property hotchpot), §1245 (personal property recapture), §1250 (real property recapture)
Tax Rate ImpactDetermines the dollar amount of income, but not the rateDetermines whether the gain is taxed at ordinary rates (up to 37%), LTCG rates (0%/15%/20%), or the 25% unrecaptured §1250 rate
Depreciation RecaptureDepreciation reduces the adjusted basis (increases gain)§1245 recaptures all prior depreciation as ordinary income; §1250 recaptures excess of accelerated over straight-line depreciation (rare post-1986); unrecaptured §1250 gain taxed at 25%
Loss NettingDetermines the dollar amount of loss recognizedCapital losses offset capital gains; net capital loss limited to $3,000/year against ordinary income (individual). §1231 losses are fully ordinary.

The characterization layer is studied in depth in subsequent CPA REG modules covering §1221 capital assets, the §1231 hotchpot, and the §1245/§1250 recapture regime. For now, recognize that the gain/loss computation you have learned here is the essential prerequisite: you cannot characterize a gain until you have first calculated its dollar amount and determined that it is recognized. In the worked example above, the $94,160 recognized gain was further broken into $76,360 of unrecaptured §1250 gain and $17,800 of long-term capital gain—but that breakdown was possible only after the full §1001 computation was complete.

Practice Problems

PROBLEM 1CONCEPTUAL
Taxpayer A sells property and realizes a gain of $50,000. A specific nonrecognition provision allows A to defer $30,000 of the gain. How much gain does A recognize on the return, and what happens to the deferred $30,000?
PROBLEM 2BASIC CALCULATION
Taxpayer B purchased equipment for $80,000. Over five years, B claimed MACRS depreciation totaling $52,000. B then sold the equipment for $45,000 cash, paying a $2,000 brokerage fee. Calculate B's recognized gain or loss.
PROBLEM 3INTERMEDIATE
Taxpayer C received a parcel of land as a gift from her uncle when the property had an FMV of $60,000 and the uncle's adjusted basis was $90,000. No gift tax was paid. Three years later, C sells the land for $75,000. What is C's recognized gain or loss?
PROBLEM 4APPLIED
Taxpayer D purchased a commercial office building for $500,000 (allocating $100,000 to land and $400,000 to the building) and held it for 10 years as a rental property. Over that period, D claimed $102,560 in MACRS depreciation (39-year nonresidential recovery period) and spent $50,000 on a qualifying capital improvement in Year 4. D sells the property to a third party for $600,000 cash. The buyer assumes D's outstanding $120,000 mortgage on the property. D pays $36,000 in brokerage commissions and $4,000 in closing costs. Calculate the amount realized, adjusted basis, and recognized gain.
PROBLEM 5CRITICAL THINKING
Taxpayer E inherited a vacation home from her mother with a date-of-death FMV of $300,000. E converted the home to a rental property three years later when the FMV had declined to $260,000. E claimed $20,000 in depreciation over the subsequent four years and then sold the property for $230,000, paying $10,000 in selling expenses. What basis rules apply at each stage, and what is E's recognized gain or loss? Explain why the sequence of events matters.

Summary — Gain/Loss on Disposition of Property

The computation of gain or loss on the disposition of property follows a systematic framework rooted in IRC §1001. The taxpayer first calculates the amount realized by summing all cash, the FMV of other property received, and liabilities assumed by the buyer, then subtracting selling expenses. Next, the taxpayer determines the adjusted basis by starting with the original basis—which depends on the acquisition method (cost under §1012 for purchases, donor's basis under §1015 for gifts, FMV at death under §1014 for inheritances)—and then applying §1016 adjustments upward for capital improvements and downward for depreciation, amortization, and other capital recoveries. The realized gain or loss is the arithmetic difference: Amount Realized minus Adjusted Basis.

Under the default rule of §1001(c), the entire realized gain or loss is recognized unless a specific nonrecognition provision applies. Key exceptions include §1031 like-kind exchanges, §1033 involuntary conversions, and the §121 principal residence exclusion. Additionally, losses may be disallowed entirely under §267 (related parties), §1091 (wash sales), or §165(c) (personal-use property). Once the dollar amount and recognition status are determined, the gain or loss must be characterized as ordinary or capital—a topic that builds directly on the foundation laid in this lesson.

Varsity Tutors • CPA Regulation (REG) • Gain/Loss On Disposition Of Property — Calculate Gain Or Loss On Disposition Of Property