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

Quick Answer
Tax applies to your taxable gain, not automatically to the sale price. Start with cash and property received, subtract adjusted basis and eligible transaction costs, then determine how each part of the deal is characterized. In a stock sale, gain is generally capital gain. In an asset sale, inventory, receivables, depreciation recapture, goodwill, and other assets can be taxed at different rates. Model the structure, allocation, payment timing, and state exposure before signing the purchase agreement.

Where are you in the sale?

Choose the closest stage to see the highest-value tax work still available and the documents to put in one folder now.

Best next move

Build a seller-ready tax file

Focus now: Reconstruct tax basis, organize ownership and issuance records, review entity history, and estimate the after-tax result under an asset and stock sale.

Bring to your CPA: Three to five years of returns, depreciation schedules, ownership documents, contribution and distribution records, and a current balance sheet.

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.

What this page covers
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.

Free Consultation

You sell a business once. The structure decisions are permanent.

A free 30-minute conversation with our onboarding team about your situation, service fit, and next steps.

Takes 30 seconds to book

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 to 24 months out

Broadest runway

Entity and ownership questions can still be modeled

Reconstruct basis, confirm ownership records, evaluate QSBS history, and define the seller’s preferred structure.

Before an LOI

Core terms open

Tax structure belongs in the negotiation

Model asset versus stock treatment, cash versus notes or earnouts, state exposure, and the allocation framework.

LOI through diligence

Terms narrowing

Quantify the draft deal before it hardens

Reconcile basis and depreciation, price recapture, review allocation language, and test payment timing.

After signing

Mostly execution

Reporting follows the agreement

Coordinate closing statements, Form 8594, installment reporting, estimated payments, and state filings.

Illustrative. Deal documents control, and the exact window varies. The practical rule is simple: model the tax result before accepting terms that determine it.

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.

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. To run your own gain, income, and state numbers, use our capital gains tax calculator alongside this example.

Basis and gain

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

Federal tax assumption: seller is already above the 20 percent and NIIT thresholds

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 cash after the illustrated federal tax: roughly $1,619,200. This simplified example assumes the entire $1.6M gain is long-term capital gain and fully subject to NIIT. It excludes state tax, transaction costs, debt payoff, working-capital adjustments, and any ordinary-income allocation.

What structure changes
If this same $1.6M gain is eligible for the 100 percent Section 1202 exclusion and remains within the applicable limitation, the illustrated federal capital-gain and NIIT amounts may be excluded. 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 ClassCustomer lists, trademarks, and similar Section 197 intangibles (Class VI)
Seller Tax TreatmentOften capital gain, depending on the asset and seller basis
Asset ClassGoodwill and going-concern value (Class VII)
Seller Tax TreatmentGenerally long-term capital gain for self-created business goodwill
Asset ClassNon-compete agreements (Class VI)
Seller Tax TreatmentGenerally ordinary income to the seller

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

Allocation must be supported by fair market value

The IRS has authority to reallocate an unsupported Form 8594. Document the allocation with a professional valuation when the amounts are material, use independent support for intangibles, and get the buyer to agree to the numbers in writing before closing. Buyer and seller reporting should be consistent with the agreement and with each other.

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 may spread eligible gain across tax years, 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

QSBS requires C corporation stock, held long enough

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.

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

If Section 1202 may apply, make stock-sale treatment a stated seller priority. For an asset sale, negotiate a supportable allocation, price any added seller tax into the economics, and require consistent reporting.

After closing

Reconcile the closing statement, preserve the final basis and allocation file, coordinate buyer and seller Form 8594 reporting when required, schedule estimated payments, and set up installment-note tracking if applicable.

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 $1 million of taxable long-term capital gain after deductions and no other income. The first $98,900 is in the 0 percent capital-gain bracket, gain up to $613,700 is taxed at 15 percent (about $77,220), the remainder at 20 percent (about $77,260), and the 3.8 percent Net Investment Income Tax on MAGI above $250,000 adds about $28,500. Net cash after the illustrated federal tax is about $817,000. An actual business sale starts with sale proceeds minus adjusted basis and eligible costs, then applies the asset 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.

Compare net proceeds by structure

A buyer purchasing assets and a buyer purchasing ownership interests can produce different tax character, basis, liabilities, and future deductions. Start with the actual proposed structure rather than applying a capital-gains percentage to the headline price.

Component Seller model Buyer model
Purchase price Gross consideration and timing Cost and financing
Asset allocation Gain character by asset Basis by acquired asset
Liabilities Payoffs and assumed obligations Obligations acquired
Fees and escrow Net cash and timing Costs and settlement
Entity history Potential special tax consequences Elections and inherited exposure

For illustration, a $1 million price less $200,000 of debt and $50,000 of costs leaves $750,000 before tax and escrow. The taxable gain is not automatically $750,000: basis, asset categories, and structure must be analyzed separately.

Model alternatives before signing binding terms. Counsel handles legal rights and liability allocation; the tax adviser quantifies treatment and reporting from those terms.

Sources: IRS Publication 544 and Form 8594 instructions.

Apply this to your records

Use the printable worksheet to compare the example with your records, identify missing support, and assign follow-up questions.

Open this guide’s worksheet

Opens in a new tab · Print or save as PDF · No email required

Discuss the next decision with Taxstra

Outline the proposed transaction, entity structure, stage of negotiation, and decision deadline. We can discuss tax analysis and accounting preparation, with counsel handling the legal terms.

A free 30-minute conversation with our onboarding team about your situation, service fit, and next steps. Fees depend on complexity, records, entities, states, and ongoing support.

Free Consultation

Discuss your next decision with Taxstra

A free 30-minute conversation with our onboarding team about your situation, service fit, and next steps.

Takes 30 seconds to book

Educational, not individualized tax advice. Examples are hypothetical. Content updated September 5, 2026; confirm the rules applicable to your year and circumstances.