Skip to content
Rubric Financial

Tax Strategies

Selling a Business: Asset Sale vs. Stock Sale and What Each Means for Your Tax Bill

How the structure of a business sale decides the tax: asset vs. stock sales, purchase price allocation, C-corp vs. S-corp vs. LLC sellers, installment sales, and QSBS.

By 9 min readPublished · Updated

For most owners, selling the business is the largest taxable event of their life, and the tax outcome is decided long before the closing date, often in a letter of intent drafted without a tax advisor in the room.

Two sales at the same headline price can leave the seller with very different amounts after tax. The difference comes from structure: whether the buyer purchases the company's stock or its assets, how the price is allocated among those assets, what kind of entity is selling, and when the payments arrive.

This guide covers the decisions that drive the result, the language a seller should recognize in a term sheet, and the planning that is only possible early.

Stock sale vs. asset sale

In a stock sale (or a sale of LLC membership interests), the owner sells the ownership itself. The company and everything in it, assets and liabilities, history and all, transfers to the buyer. The seller generally has long-term capital gain equal to the price minus their basis in the shares.

In an asset sale, the company sells its assets: equipment, inventory, customer lists, contracts, goodwill. The seller keeps the legal entity, along with any liabilities not assumed. Each asset is treated separately for tax purposes, so the gain is a mix of ordinary income and capital gain.

Stock saleAsset sale
What transfersThe entity and all its historySelected assets and assumed liabilities
Seller's taxMostly long-term capital gainMix: ordinary income for recapture and inventory, capital gain for goodwill
Buyer's tax basisInherits the company's existing basisNew basis equal to the price, which can be depreciated and amortized
Liability exposure for buyerInherits it allLimited to what it assumes
Typical preferenceSellerBuyer

Buyers prefer assets because the stepped-up basis produces deductions: goodwill and most intangibles amortize over 15 years, and equipment can often be expensed immediately under bonus depreciation. Buyers also avoid inheriting unknown liabilities. That value to the buyer is real money, which is why the structure is negotiated alongside the price.

How the seller's entity changes the answer

C-corporation. An asset sale is taxed twice. The corporation pays 21% on the gain, and shareholders pay capital-gains tax, plus potentially the NIIT, when the remaining cash is distributed in liquidation. On a large gain with little basis, the extra corporate layer can cut the seller's after-tax proceeds by a fifth or more compared with a stock sale. C-corp owners should push hard for a stock sale, and should look at whether the gain qualifies for the Section 1202 QSBS exclusion, which can exclude gain up to the greater of $10 million ($15 million for stock issued after July 4, 2025) or ten times basis, per issuer, and only applies to a stock sale.

S-corporation. There is generally one layer of federal tax either way, because the S-corp's gain flows through to the shareholders. The difference is character: an asset sale produces ordinary income on depreciation recapture, inventory, and receivables of a cash-basis business, while a stock sale is mostly capital gain. Two traps apply. An S-corp that converted from a C-corp within the past five years can owe the built-in gains tax at the corporate level. And many states tax S-corps or do not follow the federal election.

Partnership or multi-member LLC. A sale of membership interests is generally capital gain, except for the portion attributable to "hot assets," unrealized receivables, inventory, and depreciation recapture, which is ordinary income under Section 751. So selling an interest does not avoid recapture the way a C-corp stock sale can. The buyer can get a basis step-up through a Section 754 election, which narrows the gap between the two structures.

Sole proprietorship or single-member LLC. There is no stock to sell; it is always an asset sale for tax purposes, with each asset taxed by character.

Elections that turn a stock sale into an asset sale

Two elections let the deal be a stock sale legally while being treated as an asset sale for tax:

  • Section 338(h)(10), available when an S-corp or a subsidiary in a consolidated group is sold to a corporate buyer.
  • Section 336(e), a similar election with broader eligibility, including sales to non-corporate buyers.

For S-corps, a common alternative is an F reorganization: the owners form a new holding company, the S-corp converts to an LLC beneath it, and the buyer purchases the LLC interests. The buyer gets an asset basis step-up, and the seller keeps a clean structure.

These structures give the buyer the stepped-up basis it wants. The seller usually ends up with more ordinary income than in a pure stock sale, which is why sellers often ask for a gross-up: additional purchase price to cover the extra tax.

Purchase price allocation

In any asset sale, or a deemed asset sale under an election, the price is allocated among seven classes of assets in a set order, and both parties report the allocation on Form 8594:

  1. Class I: cash and deposit accounts
  2. Class II: actively traded securities, CDs, foreign currency
  3. Class III: accounts receivable and similar items
  4. Class IV: inventory
  5. Class V: equipment, furniture, real estate, and other tangible assets
  6. Class VI: intangibles other than goodwill, such as customer lists, non-compete agreements, licenses, software
  7. Class VII: goodwill and going-concern value

Each class's value sets the seller's gain and its character, and the buyer's basis and depreciation. Seller and buyer usually want different allocations: the seller wants more in goodwill (capital gain), the buyer wants more in equipment it can expense quickly. The purchase agreement should fix the allocation, or a method for agreeing on it, so neither side reports something different.

Watch these items:

  • Depreciation recapture. Equipment and vehicles that were expensed under Section 179 or bonus depreciation can produce large ordinary income when sold for more than their remaining tax basis. Fast write-offs in earlier years come back at sale.
  • Non-compete agreements. Payments allocated to a seller's covenant not to compete are ordinary income to the seller, not capital gain, and the buyer must amortize them over 15 years. A seller should resist allocating large amounts here.
  • Consulting and employment agreements. Payments for post-closing services are compensation: ordinary income and subject to payroll or self-employment tax.

Personal goodwill

For C-corp sellers in particular, personal goodwill can be valuable. When the business's value comes substantially from the owner's personal relationships, reputation, and skills, and the owner has no non-compete or employment agreement with the corporation, part of the goodwill may belong to the owner personally rather than to the company. That portion can be sold directly by the owner as a capital asset, avoiding the corporate layer of tax.

The position needs careful support: a valuation, the absence of prior agreements transferring those relationships to the company, and a separate purchase agreement for the personal goodwill. Courts have accepted it in the right facts and rejected it where the owner's relationships already belonged to the company.

Timing: installment sales and earnouts

When part of the price is paid in later years, the installment method generally lets the seller recognize gain as payments are received, spreading the tax over several years and potentially keeping more of the gain in lower capital-gains brackets.

The limits:

  • Recapture is taxed in the year of sale, in full, even if no cash has been received for it yet.
  • Inventory does not qualify for installment treatment; the portion of the price allocated to it is taxed when sold.
  • Large notes over $5 million can trigger an annual interest charge on the deferred tax.
  • Credit risk is the seller's. A buyer who defaults leaves the seller with a note, not cash.

Earnouts, payments contingent on post-closing performance, are usually reported under the installment method, with special rules for allocating basis when the total price is not fixed.

The 3.8% NIIT and state tax

An owner who materially participated in the business generally does not owe the 3.8% Net Investment Income Tax on gain from selling the active business, whether through assets, S-corp stock, or partnership interests, to the extent the gain relates to the active business. Passive owners do, and so does gain on investment assets the business happens to hold, such as excess cash invested in securities or a building rented to others. For C-corp stock, the gain is generally investment income and can be subject to NIIT.

State tax can be as large as the federal capital-gains rate in high-tax states. Moving to a no-tax state before a sale can help, but only if the move is real and completed well before the deal; states examine last-minute moves closely, and gain from an in-state business can be sourced to that state regardless.

Planning that only works early

Two to five years out:

  • Consider whether the entity type fits the likely buyer and structure.
  • For C-corps, check whether the stock qualifies for QSBS and how long it has been held, since the exclusion depends on holding period.
  • Clean up the books. Buyers discount businesses with unreliable financials, and diligence findings become price reductions. See business valuation multiples for how buyers price earnings.
  • Separate real estate the business uses into its own entity if it is not already, so it can be sold, leased to the buyer, or kept independently.

One year out:

  • Model the after-tax proceeds under stock and asset structures, including the likely allocation, recapture, and state tax.
  • Plan charitable giving: a gift of business interests to a donor-advised fund or charitable trust has to happen before a sale is effectively certain.
  • Look at the seller's other income for the year, and at Roth conversion or deduction timing around the sale year.

At the letter of intent:

  • Settle the structure and the allocation approach in the LOI, not after.
  • Price in the buyer's tax benefit from a step-up if the seller is asked to accept an asset sale or a 338(h)(10) election.
  • Negotiate non-compete and consulting allocations deliberately.

The short version

Stock sales usually favor sellers and asset sales usually favor buyers, and the difference is largest for C-corps, where an asset sale is taxed twice. The purchase price allocation decides the character of the seller's gain, with recapture, non-competes, and consulting payments all taxed as ordinary income. Installment sales spread capital gain but not recapture. Material participation keeps the NIIT off most active business gains. And the best planning opportunities, QSBS, entity structure, charitable gifts, and real estate separation, have to start years before the deal.

Rubric Financial models after-tax proceeds under each structure alongside the deal team, reviews allocation and earnout terms for tax effect, and prepares the sale-year return.

Sources

Figures are federal and current as of the date above. Tax law and inflation-adjusted amounts change; confirm current figures before acting.

Educational content, not tax, legal, investment, or accounting advice. Confirm the specifics with a CPA before acting. See our Terms.

Frequently asked questions

What is the difference between an asset sale and a stock sale for taxes?

In a stock sale, the owner sells their shares or membership interest, and the gain is generally long-term capital gain. In an asset sale, the company sells its individual assets, and each asset's gain is taxed according to its character: depreciation recapture and inventory as ordinary income, goodwill as capital gain. Buyers usually prefer asset purchases because they get a stepped-up basis to depreciate and amortize; sellers usually prefer stock sales for the simpler capital-gain treatment.

Why is an asset sale worse for a C-corp seller?

Because it is taxed twice. The corporation pays 21% federal tax on the gain from selling its assets, and the shareholders pay tax again when the after-tax proceeds are distributed to them as a liquidating distribution. A stock sale avoids the corporate-level tax. For a C-corp with substantially appreciated assets, the difference can amount to a large share of the proceeds.

How is the purchase price allocated in an asset sale?

Buyer and seller allocate the price among seven asset classes, from cash and securities through inventory, equipment, and intangibles, with any remainder assigned to goodwill. Both parties report the allocation on Form 8594, and they should agree on it in the purchase agreement. The allocation sets the character of the seller's gain and the buyer's future deductions, so it is a negotiated term, not a formality.

Can I spread the tax on a business sale over several years?

Often, with an installment sale. When part of the price is paid in later years, such as a seller note, gain is generally recognized as payments are received. Depreciation recapture is taxed in the year of sale regardless, and installment obligations over $5 million can carry an interest charge. Earnouts are usually reported under the installment method as well.

Is the gain on selling my business subject to the 3.8% NIIT?

Not if you materially participated in the business. Gain on the sale of an active trade or business, or of an interest in a pass-through in which you materially participate, is generally excluded from net investment income to the extent it relates to the active business. Passive owners, and gain attributable to investment assets held by the business, can still owe the 3.8% NIIT.

About the author

Aparna Devalla, CPA, Partner, Tax & Accounting

Licensed CPA. Decades of experience in U.S. taxation, accounting, and banking. Leads the tax and accounting practice at Rubric Financial.

Want this handled instead of researched?

Tell us what your business looks like and a partner at Rubric Financial will scope the work: a fixed engagement cost, a monthly retainer, or hourly, whichever fits.

Get in touch