Taxstra Logo
Free Initial Consultation Available

Capital Gains Tax on a Business Sale

The decision that sets your tax bill happens before you sign, not at tax time. Here is the asset vs stock sale call, the 2026 rates, a worked example, and what has to be locked down and when.

A guide by Taxstra Tax & Accounting · CPA-led tax strategy for business owners

Written by Bryan Martin, CPA, Managing Partner and Founder of Taxstra. Last updated July 17, 2026.

Key Insight
Federal capital gains tax on a business sale typically runs 18 percent to 23 percent of the sale price for a married couple, once you count the 0/15/20 percent long-term rates plus the 3.8 percent Net Investment Income Tax. But the rate is only half the story. The decision that moves your actual bill by tens or hundreds of thousands of dollars is asset sale vs stock sale, and that decision has to be made before you sign the purchase agreement, not after.

The Decision and the Deadline

Structure, not the tax rate, is what you actually control

Once you sign a business sale, the tax outcome is mostly arithmetic. Before you sign, it is a series of decisions, and the biggest one is whether the deal is structured as an asset sale or a stock sale. That single choice determines whether depreciation recapture eats part of your gain, whether the Section 1202 QSBS exclusion is even on the table, and how much of the price lands in the favorable long-term capital gains rate versus ordinary income.

The deadline for that decision is the signed purchase agreement, not the closing date. Most buyers arrive already assuming an asset sale, because it gives them a depreciation step-up. If a stock sale matters to you, that has to be raised during negotiation, not during diligence after the letter of intent is signed.

Key Insight
The structural decision (asset vs stock), the timeline of when each lever closes, a worked dollar example, how purchase price allocation and Form 8594 work, and where installment sales and QSBS fit in. For the general mechanics of capital gains tax outside a business sale, see our capital gains tax strategy guide. This page owns the business-sale specific decision.

Asset Sale vs Stock Sale: The Tax Difference

Buyers and sellers usually want opposite things, for good reason

In an asset sale, you sell the individual assets: equipment, inventory, customer lists, real estate, intellectual property, and goodwill. The buyer gets a step-up in basis for future depreciation, which is why buyers push for this structure. You recognize gain on each asset category at its own rate, some at favorable capital gains rates, some as ordinary income.

In a stock sale, the buyer purchases the entity itself. The buyer assumes the entity's liabilities and contracts, your entire gain is generally long-term capital gain if held more than a year, and if you hold qualifying C corporation stock, Section 1202 can exclude some or all of it. The buyer does not get a basis step-up, which is why sellers sometimes accept a modestly lower price to get this structure.

FactorBuyer perspective
Asset SaleDepreciation step-up, more future deductions
Stock SaleAssumes existing liabilities as-is
FactorSeller tax impact
Asset SaleHigher blended tax (ordinary plus capital gain)
Stock SaleSingle layer of long-term capital gain
FactorDepreciation recapture
Asset SaleSection 1245/1250 recapture applies
Stock SaleAvoided at the shareholder level
FactorGoodwill treatment
Asset SaleBuyer amortizes over 15 years (Section 197)
Stock SaleNo amortization benefit for the buyer
FactorQSBS (Section 1202) access
Asset SaleNot available
Stock SaleAvailable if C corp stock qualifies
FactorTypical structure
Asset SaleIndividual assets sold and titled separately
Stock SaleEntire equity interest purchased
FactorWho usually wants it
Asset SaleMost buyers push for this structure
Stock SaleSellers with QSBS or liability concerns
FactorPost-closing liability
Asset SaleSeller entity retains existing liabilities
Stock SaleBuyer assumes entity liabilities

A real-world pattern: a $3M service business sold as an asset deal might allocate $1.5M to goodwill, $800K to equipment, $500K to inventory, and $200K to client lists. Goodwill and client lists are long-term capital gain. The equipment triggers depreciation recapture at ordinary rates. The inventory gain is ordinary income. Three different rates inside one transaction, which is exactly why allocation (covered in Section 5) matters as much as the headline price.

Taxstra CPA Tip
If your buyer insists on an asset sale, which most do, negotiate the price to reflect your added tax cost. The buyer is capturing real value from the depreciation step-up; asking them to share it through a higher purchase price is a normal, expected negotiation, not an unusual ask.

The Sale Decision Timeline

What has to happen before you sign, and what is left for closing

Business sale tax planning works backward from the signing date, not the closing date. The structural decisions, entity type, QSBS eligibility, loss harvesting opportunities, need the most runway. The deal mechanics, allocation and installment terms, get negotiated in the final months. After signing, you are largely executing what was already agreed.

What Closes as the Sale Date Approaches

18-24 months out: Every lever is open100%

Entity conversion for QSBS, basis reconstruction, loss harvesting, valuation groundwork

12-18 months out: Structure gets locked70%

Asset vs stock sale position, installment sale planning, QSBS holding period confirmed

1-12 months out: Allocation and terms40%

Form 8594 negotiation with the buyer, installment note terms, Opportunity Zone or CRT setup

At signing: The deal terms are fixed15%

Purchase agreement locks structure and allocation; the tax bill is now mostly arithmetic

Illustrative. The exact windows vary by deal, but the direction never does: once you sign, the tax structure is set.

If you are inside six months of a signed deal already, skip to Sections 4 through 8: the worked example, allocation mechanics, and documentation checklist are still fully actionable. If you are 18 months or more out, the entity structure conversation in Section 6 deserves a real look before you talk to buyers.

Selling within the next 24 months?

A free initial consultation covers where you are on this timeline and which levers are still open for your specific deal.

Book a Free 30-Minute Consultation

Worked Dollar Example: $2M Business Sale

Same deal, structured two ways

Hypothetical, illustrative round numbers. You own a digital marketing agency, held eight years, and a larger firm offers $2M in cash.

Basis and gain

Sale price$2,000,000
Less: original cost basis($400,000)
Long-term capital gain$1,600,000

Federal tax, worst case, already in the 20 percent bracket

Long-term capital gains tax (20 percent)$320,000
3.8 percent Net Investment Income Tax$60,800
Total federal tax and NIIT$380,800

Net proceeds after federal tax: roughly $1,619,200. State tax is not included and varies widely by state, from zero to over 13 percent of the gain.

Key Insight
If this same $1.6M gain sits inside qualifying QSBS held more than 5 years, the entire $380,800 federal bill can disappear under Section 1202 (Section 6). If it is an asset sale instead of a stock sale, part of the $1.6M gain is likely to be ordinary-rate depreciation recapture rather than capital gain, which raises the bill instead of lowering it. The headline sale price tells you almost nothing about the tax bill until you know the structure.

Selling a medical or dental practice runs the same math with its own allocation and entity quirks. See our dedicated guide to taxes on selling a medical practice.

Purchase Price Allocation and Form 8594

How the price gets divided among asset classes, and why it can swing your bill by six figures

In an asset sale, the buyer and seller must agree on how the total price is allocated among the acquired assets, and both report the same allocation to the IRS on Form 8594, the Asset Acquisition Statement required under Section 1060. The allocation follows a residual method across seven asset classes, from cash and marketable securities (Class I and II) through accounts receivable (Class III), inventory (Class IV), other tangible and intangible assets (Class V and VI), down to goodwill and going-concern value, which absorbs whatever price is left over (Class VII).

Asset ClassInventory / receivables
Seller Tax TreatmentOrdinary income
Asset ClassEquipment / furniture (Section 1245)
Seller Tax TreatmentDepreciation recapture at ordinary rates, plus capital gain on any excess
Asset ClassReal estate (Section 1250)
Seller Tax TreatmentUnrecaptured depreciation taxed at max 25 percent, plus capital gain on excess
Asset ClassGoodwill and customer lists (Class VII)
Seller Tax TreatmentLong-term capital gain, the most favorable treatment
Asset ClassTrademarks / licenses
Seller Tax TreatmentLong-term capital gain, most favorable treatment
Asset ClassNon-compete agreements
Seller Tax TreatmentOrdinary income to the seller, avoid over-allocating here

Your incentives and the buyer's often align more than you would expect: the buyer wants amortizable intangibles (15-year deductions under Section 197), and you want the same assets (capital gain rates). The disagreement usually centers on equipment and non-compete value, where the buyer's tax preference and yours diverge.

Watch Out
The IRS has authority to reallocate an unsupported Form 8594. Document the allocation with a professional valuation, use independent appraisals for intangibles, and get the buyer to agree to the numbers in writing before closing. Mismatched Forms 8594 between buyer and seller are a known audit flag.

Installment Sales and QSBS Awareness

Two levers that only work if you plan for them early

Installment sales. Instead of collecting the full price at closing, you take payments over several years and recognize the gain proportionally as you receive them. This can keep you out of the top capital gains bracket in any single year, but it also means taking on buyer credit risk, charging at least the Applicable Federal Rate on the note, and accepting that depreciation recapture is still recognized in full in the year of sale regardless of the payment schedule. The mechanics, the AFR requirement, and when this structure makes sense are covered in full on our installment sale tax guide; this page just flags it as a lever to raise during negotiation.

QSBS awareness. Section 1202 lets eligible founders exclude up to $10M (or 10x basis, whichever is greater) of gain on Qualified Small Business Stock, and up to $15M for stock issued after July 4, 2025 under the 2025 tax law. This is a permanent exclusion, not a deferral, and excluded gain also escapes the 3.8 percent NIIT.

Watch Out
Section 1202 applies only to domestic C corporation stock acquired at original issuance. S corp stock, partnership interests, and LLC interests never qualify, no matter how long you have held them. Stock issued before July 4, 2025 needs a full 5-year hold for the 100 percent exclusion; stock issued after that date can reach 50 percent at 3 years and 75 percent at 4 years. The holding period is a hard cutoff: missing it by even a few weeks forfeits the tier.

If your business is an LLC or S corp and your exit is five or more years away, converting to a C corporation can start the QSBS clock on newly issued stock. If your exit is sooner, this section is mostly a flag to raise with your CPA rather than a strategy you can implement mid-negotiation.

Taxstra CPA Tip
Negotiate the structure, not just the price. If your stock qualifies for Section 1202, push for a stock sale. If the buyer insists on an asset sale, negotiate the Form 8594 allocation toward goodwill and away from recapture-heavy equipment; the swing is often tens of thousands of dollars at the same headline price.

Documentation You Need

What your CPA will ask for, and why

Every piece below feeds a specific calculation: basis, QSBS eligibility, or the recapture exposure on your depreciation schedule. Missing documentation does not stop the sale, but it does mean your CPA is estimating instead of confirming, which is exactly where tax surprises come from.

Ownership and basis

  • Original stock certificates or membership records
  • Articles of incorporation or organization, with issue date
  • Proof of paid-in capital and any capital contributions
  • Prior tax returns, 3 to 5 years

Deal and asset documentation

  • The buyer's offer or purchase agreement draft
  • Current depreciation schedules by asset
  • Any loans or liens against the company
  • Distribution history for the trailing 2 to 3 years

If QSBS is on the table, add board minutes approving the original stock issuance and any records showing the company's gross assets at the time of issuance, since the $50M (pre-OBBBA) or $75M (post-OBBBA) test is measured at that point, not at sale.

Implementation Checklist

Match your action to how much time you actually have

Selling within 6 months

Schedule a CPA consultation this week. Confirm your basis, check Section 1202 eligibility if applicable, and model the tax liability under lump-sum vs installment scenarios before you sign anything.

Selling within 1 to 2 years

Lock in your structure position: asset vs stock sale, your target Form 8594 allocation, and whether installment terms make sense for your credit exposure and bracket management.

Selling in 2+ years

Confirm your entity type and, if QSBS could apply, your C corp issuance date against the 3, 4, and 5 year exclusion tiers. Start basis documentation now, while the records are easy to find.

During negotiation

Insist on a stock sale if Section 1202 eligible. If the buyer requires an asset sale, negotiate the price allocation toward goodwill and away from recapture-heavy equipment.

After closing

File your final business return, report the sale on Form 8949 and Schedule D, and if reinvesting in an Opportunity Zone, fund the QOF within 180 days.

Not sure who should run this playbook? Our guide to hiring a tax strategist covers what proactive sale planning costs and the questions to ask before you engage anyone.

Frequently Asked Questions

Capital gains tax on selling a business

Roughly $183,000 in federal tax for a married couple filing jointly in 2026, assuming the entire $1 million is long-term capital gain and you have no other income. The first $98,900 of gain is taxed at 0 percent, gain up to $613,700 at 15 percent (about $77,220), the remainder at 20 percent (about $77,260), plus the 3.8 percent Net Investment Income Tax on income above $250,000 (about $28,500). Net proceeds land around $817,000 after federal tax. Your actual bill depends on your basis, the purchase price allocation, other income, and state tax.

Get the Structure Right Before You Sign

A free initial consultation covers asset vs stock structure, your Section 1202 eligibility, and a real estimate of your tax bill under each scenario.

Book a Free 30-Minute Consultation