Skip to content
NextGen SellerThe owner’s journal
  • Latest
  • Explore Topics & markets →
    Owner decisions
    Understand valueWhat supports a credible valuation range for a private company?Prepare the companyWhich records, responsibilities, and confidentiality decisions need attention before buyer outreach?Buyers and successionWhich buyer or succession path fits the owner's timing, control, funding, and transition needs?Negotiate the dealHow do the written offer and closing terms change seller cash, risk, and control?Close and transitionWhich responsibilities, relationships, access, and deadlines continue after closing?Industry and market guidesWhich operating, licensing, transfer, or local facts make this business sale different?
    Industry and market research
    IndustriesStart with your industry when its economics, records, licenses, workforce, or customer relationships change the valuation, diligence, buyer, or handoff question in a sale.Business modelsUse the business-model guides when project delivery, recurring work, workforce structure, contracts, assets, or customer handoff changes the valuation, diligence, or transfer question in a sale.States & marketsUse a market guide when a state or regional record changes what must be checked before closing. National valuation and deal questions stay with their main guides.Owner situationsStart with the situation already shaping your choices, whether an offer has arrived, a buyer is known, succession is under discussion, or confidentiality comes first.Company typesUse a company-profile guide when owner labor, revenue pattern, project backlog, physical assets, or location-level performance changes the earnings or handoff analysis.Sale pathsChoose a sale path by comparing the actual buyer, funding, confidentiality, control, timing, and post-close role—not by relying on a buyer label alone.
  • Explore Valuation →
    Owner stage
    Understand valueWhat supports a credible valuation range for a private company?
    Topic desks
    ValuationUnderstand what changes a valuation range before relying on a multiple or estimate.Earnings qualityBuild an earnings picture that a buyer can trace from financial statements to operating reality.
  • Explore Prepare →
    Owner stage
    Prepare the companyWhich records, responsibilities, and confidentiality decisions need attention before buyer outreach?
    Topic desks
    Sale readinessDecide what needs to be prepared before approaching buyers or advisers.DiligencePrepare a buyer-review file without turning diligence into an indiscriminate document dump.
  • Explore Deal structure →
    Owner stage
    Negotiate the dealHow do the written offer and closing terms change seller cash, risk, and control?
    Topic desks
    Deal termsTrace headline value through the terms that determine seller proceeds, timing, and risk.Tax & structureIdentify the structure-sensitive tax and allocation questions before they become hard to change.
Browse
Get a valuationGet range
TopicNegotiate the deal
Deal termsTax & structure
  1. Home
  2. /Negotiate the deal
  3. /Tax and structure
  4. /Capital Gains Tax on Selling a Business: What Gets Taxed?
Negotiate the dealTax and structure

Capital Gains Tax on Selling a Business: What Gets Taxed?

By NextGen Seller ResearchEdited by NextGen Seller Editorial Desk10 min readLast updated Aug 18, 2026Sources reviewedIn Active offers
On this page 4 sections
  1. What was sold: business assets, corporate stock, a partnership interest, or corporate assets in liquidation?
  2. How allocation and adjusted basis turn one sale price into separate gains
  3. Why business-sale gain is not automatically capital gain
  4. Can seller financing defer tax on a business sale?
Full image

The issue file ties each federal question to a controlling document and responsible adviser.NextGen Seller original annotated document · synthetic study, not market data

The issue file ties each federal question to a controlling document and responsible adviser. Graphic · NextGen Seller original annotated document · synthetic study, not market data
On this page4 sections
  1. What was sold: business assets, corporate stock, a partnership interest, or corporate assets in liquidation?
  2. How allocation and adjusted basis turn one sale price into separate gains
  3. Why business-sale gain is not automatically capital gain
  4. Can seller financing defer tax on a business sale?

A proposed sale price cannot determine your federal capital-gains tax by itself. Federal tax treatment begins with what you sold: individual business assets, corporate stock, a partnership interest, or corporate assets followed by a liquidating distribution.

In an applicable asset sale, the analysis goes deeper. The price is allocated among the assets, and each asset has its own selling expense, adjusted basis, gain or loss, and tax character. Inventory can produce ordinary business income. Depreciation can turn gain into ordinary recapture income. Other qualifying business-property gain may enter section 1231 analysis before any amount receives long-term capital-gain treatment. If the buyer pays over time, some results may follow the payment schedule while others remain taxable in the sale year.

That means one negotiated sale can produce several federal tax results, recognized on different schedules. This article explains that framework using the IRS’s machine-shop example. It provides a federal orientation, not an estimate or recommended tax position for your transaction.

What was sold: business assets, corporate stock, a partnership interest, or corporate assets in liquidation?

The federal analysis starts with the legal subject of the sale.

In an asset sale, the business generally isn’t treated as one taxable object. The transferred assets are treated separately when determining gain or loss. A single agreement and total price can therefore lead to multiple property-level calculations.

In a corporate-stock sale, the shareholder begins with the stock being sold. The IRS says a sale of an owner’s corporate stock usually produces capital gain or loss. That starting point differs from a corporation selling its underlying assets.

In a partnership-interest sale, the analysis begins with the ownership interest, which is generally treated as a capital asset. However, the part of the gain or loss attributable to unrealized receivables or inventory receives ordinary treatment. Even a sale that begins with an ownership interest can contain more than one character of income.

A corporate asset liquidation can create two distinct results: one when the corporation disposes of its assets and another when the shareholder receives a liquidating distribution. It shouldn’t be treated as though the shareholder simply sold stock to a buyer.

These distinctions identify the federal starting point; they don’t determine which structure is preferable or calculate the result for a particular seller. For a broader discussion of the practical differences, see asset sale versus stock sale.

The rest of this article follows an asset sale because the IRS’s Publication 537 contains a detailed educational example involving the sale of a machine shop. It shows how one $220,000 price becomes several gains with different character and timing. It isn’t a template or comparable transaction for your company.

How allocation and adjusted basis turn one sale price into separate gains

When a trade or business is sold for a lump sum in a transaction subject to the residual method, the consideration is allocated among the transferred business assets. The total sale price still matters, but it no longer acts as the amount to which one tax rate can be applied.

The IRS machine-shop example begins with a $220,000 total sale price. The example also has $11,000 of selling expense. Because that expense equals 5% of the total price, Publication 537 allocates an amount equal to 5% of each asset’s selling price to that asset. This 5% allocation is a fact of the example, not a general percentage for business sales.

Selected rows show what happens next:

AssetAllocated sale priceSelling expenseAdjusted basisGain or gross profit
Inventory$10,000$500$8,000$1,500
Land$42,000$2,100$15,000$24,900
Machine A$71,000$3,550$63,800$3,650
Goodwill$18,500$925$0$17,575

Each row stands on its own. For the land, subtracting the $2,100 selling expense and $15,000 adjusted basis from the $42,000 allocated price produces a $24,900 gain. Machine A has a much higher allocated price, but its $63,800 adjusted basis and $3,550 selling expense leave only $3,650 of gain.

Goodwill demonstrates another part of the residual method. The example first allocates $201,500 of the price to the assets other than goodwill. The remaining $18,500 is assigned to goodwill. After its $925 selling expense and zero adjusted basis, the example has $17,575 of gross profit on that row.

The important comparison isn’t simply which asset received the largest share of the price. Adjusted basis changes the result. The land and Machine A received allocated prices of $42,000 and $71,000, respectively, yet the land generated $24,900 of gain while Machine A generated $3,650.

Allocation therefore answers only the first property-level question: how much of the negotiated consideration belongs to each asset? Adjusted basis and selling expense then determine the gain or loss for that asset. A closer look at the allocation subject is available in our guide to purchase-price allocation and Form 8594.

Those calculations still don’t tell you how each gain will be taxed. A figure in the gain column isn’t automatically capital gain.

Why business-sale gain is not automatically capital gain

The machine-shop example produces at least three distinct federal character questions: ordinary income from inventory, ordinary income from depreciation recapture, and section 1231 treatment for remaining qualifying business-property gain.

The inventory row produces $1,500 of ordinary business income. It doesn’t enter the installment computation used for the example’s land, building, and goodwill. Calling the entire sale a capital transaction would miss that ordinary-income result.

Machine A reaches ordinary income for a different reason. The machine has $27,200 of depreciation claimed, an adjusted basis of $63,800, and a $3,650 gain after selling expense. Because the gain is less than the depreciation claimed, Publication 537 treats all $3,650 as depreciation-recapture income.

The same treatment applies to all the gain on Machine B and the truck in the example. Their recapture amounts are:

  • Machine A: $3,650
  • Machine B: $760
  • Truck: $799

Together, the three assets produce $5,209 of depreciation-recapture income. This is ordinary income even though the equipment was part of the same $220,000 sale that also included land, a building, inventory, and goodwill.

Depreciation recapture doesn’t necessarily settle the character of every dollar of gain on business property. IRS Publication 544 explains that when depreciable property is sold at a gain, all or part of the gain may be recognized as ordinary income under the recapture rules. Any remaining gain on qualifying property then enters section 1231 analysis.

Section 1231 generally covers real property or depreciable personal property used in a trade or business and held for more than one year. Its result depends on the taxpayer’s broader section 1231 position, rather than on an isolated asset row.

A net section 1231 loss is ordinary. A net section 1231 gain is ordinary to the extent of nonrecaptured section 1231 losses from the previous five years. Any remainder is treated as long-term capital gain.

That sequence matters because “gain” and “capital gain” aren’t interchangeable. The calculation may establish that an asset was sold at a gain, but its tax character can still depend on what the asset was, how much depreciation was allowed or allowable, whether gain remains after recapture, and the taxpayer’s current and prior section 1231 results.

The machine-shop example makes the first two character results explicit: its inventory gain is ordinary business income, and the $5,209 of equipment gain is depreciation-recapture income. The available facts don’t justify assigning one final capital-gain label to all the remaining gain. Section 1231 and any other applicable rules must be resolved before the seller can determine how much, if any, receives long-term capital-gain treatment.

Once the transaction has been divided by tax character, the buyer’s payment schedule introduces a separate question: when are those amounts recognized?

Can seller financing defer tax on a business sale?

Seller financing can spread qualifying gain over the years in which principal payments are received, but it doesn’t necessarily defer every tax consequence from the sale. In a multiple-asset transaction, gain and payments are allocated and figured separately by asset.

The machine-shop example illustrates the split. The buyer pays $100,000 at closing and gives the seller a $120,000 note. Of the total $220,000 selling price, $108,500 belongs to the land, building, and goodwill included in the installment-sale computation:

  • Land: $42,000
  • Building: $48,000
  • Goodwill: $18,500

Those amounts total $108,500, or 49.3% of the $220,000 total price. The inventory, machines, and truck account for the other $111,500, or 50.7%, and are outside this installment computation.

As a result, Publication 537 doesn’t put the full $100,000 down payment into the installment calculation. It multiplies the principal payment by 49.3%:

$100,000 × 49.3% = $49,300

Only $49,300 of the down payment enters the computation for the land, building, and goodwill. The example then applies separate gross-profit percentages for those assets:

Installment assetGross-profit percentage2025 installment income
Land22.95%$11,314
Building8.85%$4,363
Goodwill16.20%$7,987
Total48.00%$23,664

The $49,300 installment portion of the down payment therefore produces $23,664 of installment income for 2025. Later principal payments on the buyer note are divided using the same 49.3% allocation before the separate gross-profit percentages are applied.

That calculation doesn’t move every other result onto the buyer note’s schedule. The inventory remains outside the example’s installment computation. So do Machine A, Machine B, and the truck, whose gains are fully treated as depreciation recapture.

Publication 544 states that applicable section 1245 or section 1250 depreciation recapture is taxable as ordinary income in the year of sale, even if no payment is received that year. Whether your transaction has such recapture, how much it has, and whether installment treatment is otherwise available require transaction-specific analysis.

The timing split leads to a practical judgment: we don’t think the percentage of the price you receive in cash is a reliable proxy for the percentage of taxable income recognized that year. In the IRS example, a $100,000 down payment doesn’t become $100,000 of installment-method proceeds. Only $49,300 feeds that computation, while inventory and fully recaptured equipment gain follow different rules.

Seller financing therefore doesn’t turn the entire buyer note into deferred capital gain. It may spread qualifying gain, but the sale must first be separated by asset and character. For the commercial considerations apart from this federal tax framework, see deal terms and payment structure.

An estimate that applies one capital-gains rate to the entire sale price skips the decisions that determine what is taxed and when. Begin with what was sold. For an applicable asset sale, calculate gains separately. Resolve ordinary income, depreciation recapture, and section 1231 treatment. Then determine which amounts may follow the payment schedule and which remain taxable in the sale year.

Only after those questions are answered can the seller’s own facts and applicable rates produce a transaction-specific federal conclusion.

Primary records and practitioner guidance2 sources
  1. 1
    [q030_pub537] Internal Revenue Service — Publication 537, Installment Sales

    The machine-shop example used for the article's sale price, selling expense, allocation, basis, gross profit, depreciation recapture, installment-sale percentage, and 2025 installment-income figures. Limit: The publication supplies an educational federal example, not a market comparable, transaction template, taxpayer-specific result, state tax answer, or recommended filing position. Accessed 2026-08-18.

  2. 2
    [q030_pub544] Internal Revenue Service — Publication 544, Sales and Other Dispositions of Assets

    Depreciation recapture can produce ordinary income, remaining gain can enter section 1231 analysis, and applicable recapture may be taxable in the sale year even when installment reporting otherwise applies. Limit: The publication does not classify the reader's property, determine section 1231 results, calculate recapture, establish installment eligibility, or choose a tax position. Accessed 2026-08-18.

Read the editorial standards or report a correction.

Related reading in Tax and structure

Related tax and structure guides

  1. Comparison

    Asset Sale vs. Stock Sale: What Transfers and What Stays

    Compare asset sale and stock sale proposals by what transfers, what stays, and which records advisers need before tax and legal review.

  2. Reference

    Form 8594: From Sale Agreement to Tax Return

    Learn when Form 8594 may apply and trace contingent consideration, purchase-price allocation, original filings, and later changes back to the sale agreement.

  3. Reference

    Which Business Sale Terms Change Seller Proceeds?

    Understand working capital, cash at close, earnouts, seller notes, rollover equity, governance, and owner-role terms in business-sale offers.

Put this guide to work

Continue with Tax & structure

Request a Confidential Valuation Review→
Disclosure

Published by NextGen Seller for educational purposes. The cited sources and their stated limitations do not determine the outcome for a particular company or transaction.

This guide is educational and is not legal, tax, investment, medical, environmental, safety, or valuation advice.

NextGen Seller

Independent guidance on valuation, diligence, deal structure, readiness, and owner handoff for private-company sellers.

BrowseLatestTopicsIndustries & marketsAdvisory practices
Sale topicsAdvisorsValuationEarnings qualitySale readinessBuyers & processDeal terms
PublicationAboutEditorial standardsCorrectionsReference desk
Get helpGet a valuation

Published by NextGen Seller. Educational guidance only—not a valuation, legal opinion, tax opinion, buyer recommendation, or promise of an outcome.

© 2026 NextGen SellerPrivate-company owner guidance.