CPA Taxation & Regulation (REG) • Federal Taxation Of Individuals

Apply Capital Gain And Loss Rules

Mastering the classification, netting, and tax treatment of capital gains and losses for individual taxpayers.

A certification badge with calculator and balance symbols for CPA preparation
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The distinction between capital gains and ordinary income is one of the most consequential features of the United States federal tax code. Since the early days of the modern income tax, Congress has recognized that taxing the appreciation on long-held assets at the same rates as wages and salaries can discourage investment, reduce capital formation, and create inequities in the timing of recognition. The resulting framework of preferential rates for capital gains—and restrictive netting rules for capital losses—shapes investment behavior, portfolio management, and tax planning strategy for millions of individual taxpayers every year. Understanding these rules is essential not only for the CPA exam but also for any finance professional advising clients on after-tax returns.

1913 • 16th Amendment & Revenue Act

The Sixteenth Amendment authorized a federal income tax. The Revenue Act of 1913 taxed all income uniformly, making no distinction between capital gains and ordinary income.

1921 • First Preferential Capital Gains Rate

Congress introduced a maximum 12.5% tax rate on gains from assets held for at least two years, establishing the concept that long-term appreciation merits lower taxation than regular income.

1978 • Revenue Act Reduces Maximum Rate

Amid stagflation and capital formation concerns, Congress reduced the effective maximum long-term capital gains rate to 28%, signaling a strong preference for encouraging equity investment.

2003 • Jobs and Growth Tax Relief Reconciliation Act

Long-term capital gains rates were lowered to 15% (5% for lower brackets), and the qualified dividend rate was aligned with capital gains—a landmark that profoundly shaped individual portfolio strategy.

2013 • American Taxpayer Relief Act & NIIT

A 20% top rate tier was introduced for high-income taxpayers, and the 3.8% Net Investment Income Tax (NIIT) was layered on, creating the current multi-rate landscape that CPA candidates must navigate.

The central question that these rules address is straightforward yet technically complex: when an individual disposes of a capital asset, how should the resulting gain or loss be classified, measured, netted against other transactions, and ultimately taxed? The answer depends on holding period, asset classification, and the taxpayer's marginal ordinary income bracket. Mastering the netting procedure is essential, as it determines not only the tax rate applied to net gains but also the deductibility limits on net losses.

SECTION 2

Core Principles & Definitions

Before diving into mechanics, one must internalize several foundational concepts. A capital asset is defined under IRC §1221 by exclusion: it is all property held by the taxpayer except inventory, depreciable property and real property used in a trade or business, certain self-created intangibles, accounts receivable from services or inventory, government publications, and a few other statutory exceptions. In practice, for individuals, capital assets include stocks, bonds, personal-use property (homes, cars, collectibles), and investment real estate. The holding period is the time between the date after acquisition and the date of disposition; assets held for more than one year generate long-term capital gains or losses, while assets held one year or less produce short-term capital gains or losses.

1

Capital Asset Definition

All property held by the taxpayer except specific exclusions in IRC §1221 (inventory, trade/business property, receivables, etc.). Stocks, bonds, and personal-use property are typical capital assets for individuals.
2

Holding Period Threshold

Assets held for more than one year produce long-term gains/losses taxed at preferential rates (0%, 15%, or 20%). Assets held one year or less produce short-term gains/losses taxed at ordinary rates.
3

Netting Procedure

Short-term gains and losses are netted separately from long-term gains and losses. Net results from each basket are then combined. The final net position determines the applicable tax treatment.
4

Loss Limitation — $3,000 Rule

Individual taxpayers may deduct a maximum of $3,000 ($1,500 MFS) of net capital losses against ordinary income per year. Excess losses carry forward indefinitely, retaining their character (short-term or long-term).
5

Preferential Rate Tiers

Net long-term capital gains are taxed at 0%, 15%, or 20% depending on taxable income thresholds. Collectibles are taxed at a maximum of 28%, and unrecaptured §1250 gain at a maximum of 25%.
✦

KEY TAKEAWAY

Think of capital gain and loss netting like a two-drawer filing cabinet. All your short-term transactions go in the top drawer; all your long-term transactions go in the bottom drawer. You total each drawer separately first. Only after each drawer has its own net balance do you combine them. If the combined result is a net loss, the IRS puts a cap on how much you can deduct this year—$3,000—and makes you file the rest as a carry-forward 'IOU' for future years. This layered netting process protects the government from large one-year loss deductions while still granting taxpayers preferential long-term rates on net gains.

SECTION 3

Visual Explanation — The Netting Process

Capital Gain/Loss Netting FlowchartSHORT-TERM BASKETNet all ST gains & ST lossesLONG-TERM BASKETNet all LT gains & LT lossesNet ST Gain or Net ST LossNet LT Gain or Net LT LossCOMBINE BASKETSNet ST result + Net LT resultNET GAINST → ordinary ratesLT → preferential ratesNET LOSSDeduct up to $3,000 vs.ordinary incomeEXCESS LOSSCarries forward indefinitely,retaining ST/LT characterShort-term losses offset short-term gains first; long-term losses offset long-term gains first.
The netting flowchart shows the two-basket approach mandated by the IRC. Short-term transactions are netted in their own basket (top left), long-term transactions in their own basket (top right), and only then are the net results combined (center). The bottom row shows the three possible outcomes: a net gain taxed at the applicable rate, a net loss deductible up to $3,000, or excess losses that carry forward.

The diagram above captures the essential logic that every CPA candidate must internalize. First, within each holding-period basket, gains and losses of the same character offset one another. If after intra-basket netting, one basket shows a net gain and the other shows a net loss, the loss offsets the gain across baskets. The character of the surviving net amount—short-term or long-term—determines the applicable rate. A remaining net short-term capital gain is taxed at ordinary income rates, while a remaining net long-term capital gain receives preferential treatment. When the final combined result is a net capital loss, the taxpayer may deduct up to $3,000 against ordinary income ($1,500 for married filing separately), with any unused amount carrying forward indefinitely.

SECTION 4

Mathematical Framework

The tax treatment of capital transactions requires precise calculation of the gain or loss on each disposition, classification by holding period, and systematic netting. The following equations formalize the procedure that the IRC and Treasury regulations prescribe.

REALIZED GAIN OR LOSS

RealizedG/L=AmountRealized−AdjustedBasisRealized G/L = Amount Realized − Adjusted Basis

Amount realized = cash received + FMV of property received + liabilities assumed by buyer − selling expenses. Adjusted basis = original cost basis + capital improvements − depreciation allowed or allowable − other basis reductions (e.g., casualty loss deductions, return of capital distributions).

NET SHORT-TERM CAPITAL GAIN/LOSS

NetSTCG(orSTCL)=ΣSTCG−ΣSTCLNet STCG (or STCL) = Σ STCG − Σ STCL

Sum all recognized short-term capital gains and subtract all recognized short-term capital losses for the tax year. Include any short-term capital loss carryforwards from prior years in Σ STCL.

NET LONG-TERM CAPITAL GAIN/LOSS

NetLTCG(orLTCL)=ΣLTCG−ΣLTCLNet LTCG (or LTCL) = Σ LTCG − Σ LTCL

Sum all recognized long-term capital gains and subtract all recognized long-term capital losses. Within the long-term basket, sub-baskets exist for the 28% rate group (collectibles, §1202 gain) and the 25% rate group (unrecaptured §1250 gain).

OVERALL NET CAPITAL GAIN OR LOSS

NetCG(orCL)=NetSTCG/STCL+NetLTCG/LTCLNet CG (or CL) = Net STCG/STCL + Net LTCG/LTCL

If the result is a net capital gain, identify its character (short-term vs. long-term) for rate purposes. If the result is a net capital loss, deduct the lesser of the net capital loss or $3,000 ($1,500 MFS) against ordinary income. Carry forward the remainder.

⚠

ORDERING RULE FOR LOSS CARRYFORWARDS

When a net capital loss is carried forward, short-term capital losses offset short-term capital gains first, then any remaining short-term losses offset long-term gains. Long-term capital losses follow the same priority in reverse. Notably, any net capital loss used against the $3,000 ordinary income deduction is deemed to come from short-term losses first, which is less favorable because short-term losses could otherwise offset gains taxed at ordinary rates. Understanding this ordering rule is a frequent CPA exam testing point.

SECTION 5

Detailed Breakdown — Tax Rate Classification

Not all capital gains are taxed at the same preferential rate. The IRC creates distinct rate groups within the long-term capital gain category, and the applicable rate depends on both the type of asset and the taxpayer's taxable income level. The following diagram and table detail the rate structure that CPA candidates must master.

Capital Gain Rate Structure for IndividualsSHORT-TERM CAPITAL GAINS (≤ 1 Year)Taxed at ordinary income rates: 10%, 12%, 22%, 24%, 32%, 35%, 37%LONG-TERM CAPITAL GAINS (> 1 Year)General LTCGStocks, bonds,investment real estate0% / 15% / 20%Based on taxable incomeUnrecaptured §1250Gain on depreciablereal propertyMax 25%Depreciation recaptureCollectibles / §1202Art, antiques, metals,QSBS (non-excluded)Max 28%Higher rate categoryNET INVESTMENT INCOME TAX (NIIT)Additional 3.8% on net investment income for MAGI exceeding$200,000 (single) / $250,000 (MFJ) — applies to both ST and LT gainsEffective maximum rate on general LTCG: 20% + 3.8% NIIT = 23.8%
This diagram organizes the rate structure by holding period and asset type. General long-term capital gains enjoy the most favorable rates (0%/15%/20%), while unrecaptured §1250 gain and collectibles gain face higher ceilings. The 3.8% NIIT applies as an additional layer for high-income taxpayers.
Rate GroupAsset TypesMaximum RateKey Exam Note
Short-termAny capital asset held ≤ 1 year37% (ordinary rates)No preferential treatment; taxed as if ordinary income
0%/15%/20% groupStocks, bonds, mutual funds, investment real estate (non-§1250 gain)20% (+ 3.8% NIIT)Rate depends on taxable income bracket; 0% for lowest brackets
Unrecaptured §1250Depreciable real property (to extent of prior depreciation)25% (+ 3.8% NIIT)Only the depreciation component; remaining gain uses 0/15/20% rates
CollectiblesArt, antiques, gems, metals, stamps, coins28% (+ 3.8% NIIT)Also applies to non-excluded §1202 QSBS gain
Qualified dividendsDividends from domestic corps and qualified foreign corps meeting holding requirements20% (+ 3.8% NIIT)Taxed at same rates as general LTCG, though technically not capital gains

Capital Gain Rate Groups for Individual Taxpayers

SECTION 6

Worked Example — Complete Netting and Tax Computation

Consider Taylor, a single taxpayer with $95,000 in ordinary taxable income (after deductions) for the current year. During the year, Taylor had the following capital transactions:

  • Sold Stock A (held 3 months): gain of $8,000 (short-term)
  • Sold Stock B (held 5 months): loss of $12,000 (short-term)
  • Sold Stock C (held 2 years): gain of $20,000 (long-term)
  • Sold collectible coin (held 4 years): gain of $5,000 (long-term, 28% group)
  • Sold Stock D (held 18 months): loss of $6,000 (long-term)
  • Long-term capital loss carryforward from prior year: $2,000

Netting Taylor's Capital Gains and Losses

  1. 1

    Step 1 — Net the Short-Term Basket

    Combine all short-term transactions. STCG = $8,000 (Stock A). STCL = $12,000 (Stock B). Net short-term result = $8,000 − $12,000.
    Net STCL = ($4,000)
  2. 2

    Step 2 — Net the Long-Term Basket

    Combine all long-term transactions, including the carryforward. LTCG: $20,000 (Stock C, 0/15/20% group) + $5,000 (collectible, 28% group) = $25,000. LTCL: $6,000 (Stock D) + $2,000 (carryforward) = $8,000. Within the LT basket, losses first offset gains in the highest-rate group. The $8,000 LT loss offsets the $5,000 collectible gain entirely, with the remaining $3,000 loss offsetting the 0/15/20% gain. Remaining 0/15/20% LTCG = $20,000 − $3,000 = $17,000.
    Net LTCG = $17,000 (all in the 0/15/20% group)
  3. 3

    Step 3 — Combine the Baskets

    Cross-basket netting: Net STCL ($4,000) offsets Net LTCG ($17,000). The remaining overall net capital gain = $17,000 − $4,000 = $13,000. Because the surviving gain comes from the long-term basket, it retains its long-term character and qualifies for the preferential 0/15/20% rate.
    Overall Net LTCG = $13,000
  4. 4

    Step 4 — Determine the Applicable Rate

    Taylor's ordinary taxable income is $95,000 (single filer). For the 2024 tax year, the 15% LTCG rate applies to single filers with taxable income between approximately $47,026 and $518,900. Taylor's total taxable income including the LTCG is $95,000 + $13,000 = $108,000, which falls entirely within the 15% bracket for LTCG purposes.
    Applicable LTCG rate = 15%
  5. 5

    Step 5 — Calculate Tax on Capital Gain

    Tax on the net long-term capital gain = $13,000 × 15% = $1,950. Taylor's MAGI is $108,000, which is below the $200,000 NIIT threshold for single filers, so no NIIT applies. The ordinary income of $95,000 is taxed under the regular rate schedule separately. No capital loss deduction is available because the overall result is a net gain, and there is no loss carryforward.
    Capital gain tax = $1,950; Loss carryforward = $0
💡

EXAM TIP

On the CPA exam, pay close attention to the ordering of long-term loss offsets within the long-term basket. Losses offset the highest-rate gains first (28% collectibles, then 25% unrecaptured §1250, then 0/15/20% gains). This ordering maximizes the benefit to the taxpayer but is a common source of errors.

SECTION 7

Strengths, Limitations & Common Pitfalls

The capital gain and loss framework offers significant tax planning opportunities but also presents traps for the unwary. The following comparison highlights the strategic advantages of the system alongside its limitations and the most frequent errors that CPA candidates and practitioners encounter.

Strategic AdvantageLimitation / Pitfall
Preferential rates on long-term gains (0%, 15%, 20%) significantly reduce after-tax cost of holding investmentsThe $3,000 annual deduction cap on net capital losses is not indexed for inflation and severely limits tax relief in loss years
Indefinite loss carryforward preserves the economic value of losses for future offsetCapital losses cannot be carried back by individual taxpayers (unlike corporate taxpayers, who had carryback options pre-2018)
Tax-loss harvesting allows taxpayers to strategically realize losses to offset gains in the same yearThe wash sale rule (§1091) disallows a loss if substantially identical securities are acquired within 30 days before or after the sale
Step-up in basis at death (§1014) eliminates unrealized capital gains for heirsPersonal-use asset losses (e.g., personal auto sold at a loss) are NOT deductible; only gains on personal-use assets are taxable
LT loss ordering offsets highest-rate gains first, maximizing tax savingsShort-term losses used against the $3,000 ordinary income deduction are consumed first, even though they could offset gains taxed at ordinary rates

Advantages vs. Limitations of Capital Gain/Loss Rules

✦

KEY TAKEAWAY

Think of the $3,000 loss limitation like a narrow drain in a large sink. In a year when you realize massive capital losses—say, $50,000—the 'sink' fills quickly, but the drain only lets $3,000 flow through to offset ordinary income per year. The remaining $47,000 stays in the sink as a carryforward, slowly draining over subsequent years (unless future capital gains provide a wider opening). This bottleneck makes timing the realization of both gains and losses a central component of tax planning strategy.

SECTION 8

Connection to Advanced Theory — §1231, §1245, and Qualified Opportunity Zones

Capital gain and loss rules for individuals intersect with several advanced provisions that extend beyond the basic netting framework. Understanding how these topics connect helps practitioners see the full picture and prepares CPA candidates for cross-topic exam questions.

TopicBasic Capital Gain RulesAdvanced Extension
§1231 PropertyCapital assets exclude trade/business property, so §1231 property is technically not a capital assetNet §1231 gains are treated as LTCG and receive preferential rates; net §1231 losses are treated as ordinary losses (best of both worlds), subject to 5-year lookback recapture
§1245 RecaptureStandard netting applies to gains/losses after asset classification§1245 requires that gain on depreciable personal property be recaptured as ordinary income to the extent of prior depreciation, overriding capital gain treatment
Qualified Opportunity ZoneCapital gain is recognized at disposition and enters the netting processInvesting capital gains into a QOF defers recognition; gains on QOF investments held ≥ 10 years may be permanently excluded
Installment Sales (§453)Gain is fully recognized in year of saleGain is recognized proportionally as payments are received, spreading capital gain across multiple tax years to manage rate brackets
Like-Kind Exchange (§1031)Gain or loss is recognized upon dispositionGain on qualifying real property exchanges is deferred; basis is substituted, preserving the gain for future recognition

Basic vs. Advanced Capital Gain Concepts

These advanced provisions illustrate that the capital gain and loss netting rules do not operate in isolation. The classification of an asset as a capital asset versus §1231 property versus §1245 recapture property directly determines whether the gain enters the capital gain netting process at all. Similarly, deferral mechanisms like installment sales, §1031 exchanges, and qualified opportunity zone investments alter when gain enters the netting calculation. On the REG section of the CPA exam, candidates should expect multi-step problems that require first classifying the asset, then determining whether any deferral or recapture provision applies, and only then proceeding to the netting and rate determination process covered in this lesson.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A taxpayer sells a personal automobile at a loss of $4,000. The car was used solely for personal purposes and was held for three years. How is this loss treated for federal income tax purposes, and why?
Show answer
The $4,000 loss is not deductible. Although a personal automobile is technically a capital asset under IRC §1221, losses on the sale of personal-use property are not allowed as deductions under IRC §165. The code only permits capital loss deductions on property held for investment or used in a trade or business. This asymmetry is a frequent CPA exam topic: gains on personal-use assets are taxable as capital gains, but losses are completely nondeductible. The taxpayer would have no entry on Schedule D for this transaction.

Question 2: BASIC CALCULATION

Megan has the following capital transactions for the year: STCG of $6,000, STCL of $2,000, LTCG of $10,000, and LTCL of $3,000. She has no carryforwards. Calculate her net capital gain and identify the character of the result.
Show answer
First, net the short-term basket: $6,000 − $2,000 = Net STCG of $4,000. Second, net the long-term basket: $10,000 − $3,000 = Net LTCG of $7,000. Third, combine: $4,000 + $7,000 = $11,000 overall net capital gain. Since both baskets are positive, the $4,000 NSTCG is taxed at ordinary income rates and the $7,000 NLTCG qualifies for preferential 0%/15%/20% rates (assuming no collectibles or §1250 gain). The total net capital gain reported on Schedule D is $11,000.

Question 3: INTERMEDIATE

Derek, a single filer, has the following for the current year: STCG $3,000, STCL $15,000, LTCG $9,000, and LTCL $1,000. He also has a short-term capital loss carryforward of $2,000 from the prior year. Determine Derek's capital gain or loss for the year, the amount deductible against ordinary income, and the amount and character of any carryforward.
Show answer
Short-term basket: $3,000 (STCG) − $15,000 (STCL) − $2,000 (ST carryforward) = Net STCL of ($14,000). Long-term basket: $9,000 − $1,000 = Net LTCG of $8,000. Combine: ($14,000) + $8,000 = Net capital loss of ($6,000). Derek may deduct $3,000 against ordinary income (the annual maximum for single filers). The remaining $3,000 carries forward. Since the $3,000 deduction is deemed to come from short-term losses first and the surviving net loss of $6,000 was entirely short-term in character (the LT gain was fully absorbed), the $3,000 carryforward retains its short-term character. This distinction matters because short-term carryforwards will first offset future short-term gains taxed at ordinary rates.

Question 4: APPLIED

Jordan, a single filer with taxable ordinary income of $500,000, sold a painting (collectible) held for 6 years for a $30,000 long-term gain and stock held for 2 years for a $50,000 long-term gain. Jordan has no capital losses and no loss carryforwards. Calculate the total federal tax on Jordan's capital gains, including the Net Investment Income Tax (NIIT). Assume 2024 thresholds.
Show answer
Jordan has two types of long-term gain. The $30,000 collectible gain is taxed at the 28% maximum rate for collectibles. At Jordan's income level ($500,000 ordinary + $80,000 CG = $580,000), the 20% rate applies to the $50,000 stock gain. Tax on collectible gain: $30,000 × 28% = $8,400. Tax on stock gain: $50,000 × 20% = $10,000. NIIT applies because Jordan's MAGI ($580,000) exceeds $200,000. The NIIT is 3.8% on the lesser of net investment income ($80,000) or the excess of MAGI over $200,000 ($380,000). NIIT = $80,000 × 3.8% = $3,040. Total tax on capital gains: $8,400 + $10,000 + $3,040 = $21,440. This illustrates why high-income taxpayers face an effective maximum rate of 31.8% on collectibles (28% + 3.8%) and 23.8% on general LTCG (20% + 3.8%).

Question 5: CRITICAL THINKING

A client comes to you on December 15 with the following year-to-date results: STCL of $40,000, LTCG of $35,000 (all from stock sales in the 0/15/20% group), and no other capital transactions. The client holds Stock X with a $12,000 unrealized short-term gain and Stock Y with a $12,000 unrealized long-term gain. Advise the client on which stock, if either, to sell before year-end to optimize their tax position. Assume the client is in the 24% ordinary income bracket and the 15% LTCG bracket, and that the client wants to maximize the current-year deduction against ordinary income.
Show answer
Currently, the client's netting produces: Net STCL = ($40,000); Net LTCG = $35,000; Combined = ($5,000) net capital loss. The client can deduct $3,000 against ordinary income, and $2,000 carries forward as short-term. If the client sells Stock X (STCG of $12,000), the netting becomes: Net STCL = ($40,000) + $12,000 = ($28,000); Net LTCG = $35,000; Combined = $7,000 net LTCG taxed at 15%. This eliminates the ordinary income deduction entirely and creates a $7,000 taxable gain. If the client sells Stock Y (LTCG of $12,000), the netting becomes: Net STCL = ($40,000); Net LTCG = $35,000 + $12,000 = $47,000; Combined = $7,000 net LTCG taxed at 15%. Same result—no ordinary deduction. Therefore, selling neither stock is optimal: the client preserves the $3,000 ordinary income deduction (saving $720 at the 24% bracket) and carries forward only $2,000. Selling either stock would convert a $3,000 ordinary deduction (worth $720) into a $7,000 gain taxed at 15% ($1,050), resulting in a net tax cost of $1,770. The client should defer both sales to next year, where the realized gains could be offset by the short-term loss carryforward.

SUMMARY

Lesson Summary

Summary

The federal taxation of capital gains and losses for individual taxpayers rests on a systematic classification and netting framework. Every disposition of a capital asset produces a gain or loss equal to the amount realized minus adjusted basis. These results are classified by holding period into short-term (≤ 1 year, taxed at ordinary rates) and long-term (> 1 year, eligible for preferential rates of 0%, 15%, or 20%). Within the long-term basket, special rate ceilings apply: 25% for unrecaptured §1250 gain and 28% for collectibles and non-excluded §1202 gain. High-income taxpayers face an additional 3.8% NIIT on net investment income.

The netting process requires taxpayers to first combine all transactions within each holding-period basket, then combine the net results across baskets. When the overall result is a net capital loss, only $3,000 per year ($1,500 MFS) may be deducted against ordinary income, with the excess carrying forward indefinitely and retaining its short-term or long-term character. Within the long-term basket, losses offset the highest-rate gains first. Key related concepts include the wash sale rule, the non-deductibility of personal-use losses, and the interplay with §1231, §1245, and deferral provisions such as §1031 exchanges and qualified opportunity zones. Mastering these rules is essential for both CPA exam success and practical tax planning.

Varsity Tutors • CPA Regulation (REG) • Apply Capital Gain And Loss Rules