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.

★ 5.0 on Google113 reviews4.9 from 114 BiggerPockets reviews1,000+ clientsAll 50 states, fully remote

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 Tax Fit Call

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

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

Takes 30 seconds to book

Tax planning slots are limited before year-end.

“I recently had the pleasure of working with Taxstra, and I must say, the experience exceeded my expectations. From start to finish, their professionalism, expertise, and customer care were outstanding.”
Google Reviewer · Read on Google

Published client feedback. Individual experiences vary.

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?

Book a free 30-minute consultation with our team. Tell us what you need, learn how Taxstra can help, and explore whether our services are a good fit. Tax advice, document reviews, and analysis require a paid engagement.Your tax plan and specific advice come after you engage. The call is about fit and next steps.

Tax planning slots are limited before year-end.

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

How much is capital gains tax on the sale of a $1 million 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.

Is the business sale price the same as my taxable gain?

No. The headline price is only the starting point. Taxable gain generally depends on the cash and property received, adjusted tax basis, debt and liabilities, eligible transaction costs, and the character assigned to each asset or equity interest. Working-capital adjustments, earnouts, seller notes, and purchase-price allocation can also change the timing or character of income.

Is the sale of a business taxed as ordinary income or capital gains?

Usually both. In a stock sale, the entire gain is generally long-term capital gain if you held the business more than one year. In an asset sale, the structure most buyers demand, the price is allocated among asset classes under Section 1060 and Form 8594, and each class is taxed differently: inventory and receivables produce ordinary income, equipment gain is recaptured as ordinary income under Section 1245 up to prior depreciation, and goodwill and most intangibles are long-term capital gain. The allocation you negotiate sets your blended rate.

What is the deadline for deciding asset sale vs stock sale?

Functionally, the signed purchase agreement. Buyers usually arrive already assuming an asset sale, so if a stock sale matters to you (because of QSBS, for example), that has to be on the table before the letter of intent, not renegotiated during diligence. Once the agreement is signed, the structure and the allocation approach are locked; everything after that is documentation and closing mechanics.

What should I do before signing a letter of intent to sell my business?

Have your CPA model the after-tax proceeds under the proposed structure and payment terms before you accept the headline price. Confirm basis and depreciation, compare asset versus stock treatment, identify ordinary-income recapture, review working-capital and liability assumptions, estimate state tax, and state any required structure or allocation principles in the LOI when possible.

Do I pay capital gains tax if I sell my business at a loss?

No. Selling below adjusted basis produces a loss, not a gain. Capital losses first offset other capital gains, then up to $3,000 of ordinary income per year, with the remainder carried forward. In an asset sale, losses on Section 1231 business property can often be deducted in full as ordinary losses, which is more valuable than a capital loss. One trap: depreciation recapture can still create taxable ordinary income on specific assets even when the overall deal is a loss, so check the numbers asset by asset.

How can I reduce capital gains tax when selling my business?

Start by confirming adjusted basis and deductible transaction costs, then model asset versus stock structure, purchase-price allocation at supportable fair market values, payment timing, depreciation recapture, and state sourcing. A qualifying Section 1202 QSBS exclusion can be powerful for eligible C corporation stock, while an installment sale may spread eligible gain as payments are collected but adds buyer credit risk and does not defer depreciation recapture. The useful levers depend on the facts and generally need to be evaluated before the purchase agreement is signed.

Can I use the QSBS exclusion if my business is an S corporation?

No. Section 1202 applies only to C corporation stock acquired at original issuance; S corporation stock never qualifies, no matter how long you have held it, and neither do partnership or LLC interests. If your sale is years away, converting to a C corporation can start the QSBS clock for newly issued stock. The holding period runs from issuance, only post-conversion appreciation gets the cleanest treatment, and the conversion itself has tax consequences, so model it with a CPA before acting.

What is a Section 1045 rollover?

Section 1045 lets you reinvest QSBS sale proceeds into another QSBS within 60 days and defer the gain. The new stock takes a basis reduced by the deferred amount. Unlike Section 1202, this is a deferral, not a permanent exclusion, and it is most useful if you plan to keep building companies rather than cashing out for good.

How does the 3.8 percent Net Investment Income Tax affect my sale?

NIIT is 3.8 percent of the lesser of net investment income or the amount modified adjusted gross income exceeds the applicable threshold, $250,000 for married filing jointly or $200,000 for single filers. A $1.6 million gain could produce up to $60,800 of NIIT if the full gain is net investment income and the seller is already above the threshold, but the actual amount depends on other income and participation in the business. Gain excluded under Section 1202 is not included in net investment income.

How is goodwill taxed in a business sale?

Goodwill is generally the residual value after the purchase price is allocated to cash, receivables, inventory, tangible assets, and identifiable intangibles. In an asset sale, seller gain on self-created business goodwill is generally long-term capital gain, while a buyer generally amortizes acquired goodwill over 15 years under Section 197. The allocation must reflect supportable fair market values and match the purchase agreement and Form 8594; it should not be shifted simply to reach a preferred tax result.

What is depreciation recapture and how much will I owe?

Depreciation recapture claws back prior depreciation deductions as ordinary income when you sell. For Section 1245 property (equipment, vehicles, furniture), gain up to total depreciation taken is taxed at ordinary rates, up to 37 percent federally. For real estate, unrecaptured Section 1250 gain (straight-line depreciation claimed) is taxed at a maximum 25 percent rate. Recapture applies regardless of your overall bracket and is recognized in full in the year of sale, even under an installment sale, so quantify it before agreeing to an allocation.

Should I restructure to an S corp or C corp before selling?

For a sale happening soon, S corps and LLCs are both pass-through entities, so the capital gains rate at the owner level is the same, and neither qualifies for the Section 1202 QSBS exclusion, which requires C corporation stock. If your exit is five or more years away, converting to a C corporation to start the QSBS clock is worth a serious conversation with your CPA. If the sale is sooner, the higher-value question is asset vs stock structure, allocation strategy, and installment terms.

What documents should I gather before meeting with my CPA?

Original stock certificates or proof of ownership, articles of incorporation or organization with the issue date, the buyer offer or purchase agreement, prior tax returns (3 to 5 years), proof of paid-in capital, records of any loans against the company, and details on distributions taken. Your CPA uses these to calculate basis, confirm QSBS eligibility, and model the tax liability under different structures.

How am I taxed when I sell my business?

It depends on whether you sell stock or assets. A stock sale is generally long-term capital gain if you held the business more than one year. In an asset sale, the price is allocated among assets: inventory and receivables produce ordinary income, equipment gain up to prior depreciation is recaptured as ordinary income, and goodwill is generally long-term capital gain.

Get the Structure Right Before You Sign

Book a free 30-minute consultation with our team. Tell us what you need, learn how Taxstra can help, and explore whether our services are a good fit. Tax advice, document reviews, and analysis require a paid engagement.Your tax plan and specific advice come after you engage. The call is about fit and next steps.

Tax planning slots are limited before year-end.

Separate the sale calculation from the engagement scope

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 team about your situation, service fit, and next steps. Fees depend on complexity, records, entities, states, and ongoing support.

Free Tax Fit Call

Discuss your next decision with Taxstra

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

Takes 30 seconds to book

Tax planning slots are limited before year-end.

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

Related Taxstra resources

Continue with the services, planning tools, and explainers most relevant to this topic.