Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Capital Gains / Sale of a business
Selling a business

Capital Gains Tax on the Sale of a Business, Asset by Asset

Short answerThere is no single capital gains rate on a business sale. The price is split across seven asset classes on Form 8594, and each class keeps its own character: goodwill is usually long-term Section 1231 gain, while inventory, cash-basis receivables, equipment recapture, the non-compete and consulting pay are ordinary income. In our Illinois example an active owner pays $1,024,136 on a $3,550,000 gain.

One price, seven tax buckets

In an asset sale, IRC 1060 treats the deal as a sale of each asset. Buyer and seller both file Form 8594 using the residual method: the price fills Class I first and the remainder lands in Class VII. The allocation in the purchase agreement is the biggest driver of your bill. See the purchase price allocation analysis.

Form 8594 classWhat sits thereCharacter to the seller
ICash and bank depositsNo gain
IICDs, government securities, traded stockUsually little gain; capital if any
IIIAccounts receivable, other debt instrumentsOrdinary; a cash-basis seller has zero basis, so all of it (IRC 1221(a)(4))
IVInventory and stock in tradeOrdinary (IRC 1221(a)(1))
VEquipment, vehicles, furniture, buildings, landSection 1245 recapture is ordinary up to prior depreciation; any excess and land gain is Section 1231
VISection 197 intangibles other than goodwill: customer lists, licenses, workforce, the non-competeSelf-created intangibles are usually 1231; the non-compete is ordinary
VIIGoodwill and going concern valueSection 1231, taxed like long-term capital gain

The pieces that never get capital gains rates

Five parts of a typical deal are ordinary income however long you owned the company. Inventory profit is ordinary because inventory is excluded from capital assets. Receivables of a cash-basis business were never taxed, so collecting or selling them is ordinary income dollar for dollar. Equipment gain up to the depreciation you took, including Section 179 and bonus depreciation, is recaptured as ordinary income under IRC 1245. Our depreciation recapture analysis walks through it.

The non-compete is the quiet one. You are paid to refrain from working, which is ordinary income, while the buyer amortizes it over 15 years under IRC 197, exactly like goodwill. Because the buyer gets the same write-off either way, every dollar moved from the non-compete line to goodwill is a dollar converted from ordinary rates (37% top bracket, 2026) to Section 1231 rates at little cost to the buyer. Consulting or employment pay after closing is wages or self-employment income; keep it at market rate for real work.

Goodwill: where the long-term gain lives

For most owner-operated companies, goodwill is the largest number on the allocation schedule and its basis is zero because you built it rather than bought it. Held more than a year, it is Section 1231 property: a net 1231 gain for the year is taxed at long-term rates, which top out at 20% above $613,700 of taxable income for joint filers (Rev. Proc. 2025-32, 2026). See the long-term capital gains guide for the full table.

One trap: IRC 1231(c) turns this year's 1231 gain into ordinary income to the extent you deducted net 1231 losses in the five prior years. If you sold equipment at a loss in 2022 and deducted it in full against ordinary income, part of your goodwill gain gives that benefit back. When the owner, not the company, holds the customer relationships, some goodwill may belong to you personally; see the personal goodwill analysis.

Entity type decides who pays and how many times

  • Sole proprietor or single-member LLC: you sell the assets directly and report each class on Form 4797 and Schedule D. There is no stock to sell.
  • Multi-member LLC taxed as a partnership: the LLC can sell its assets and pass the character through on K-1s, or members can sell their interests. On an interest sale, IRC 751 still carves out your share of receivables, inventory and recapture as ordinary income.
  • S corporation: gain passes through once to shareholders. A stock sale is possible, but buyers usually want assets; our asset sale vs stock sale page shows how that gap gets priced.
  • C corporation: an asset sale is taxed at 21% inside the company (IRC 11(b), 2026) and again when cash reaches you. That math has its own page: C corporation sale double tax.

Partnership and S corporation owners in states with an elective entity-level tax can often push the state tax on the sale past the SALT cap; see pass-through entity tax on a sale.

The 3.8% NIIT and the active owner

The net investment income tax adds 3.8% on investment income above $250,000 of modified AGI for joint filers ($200,000 single), thresholds fixed in IRC 1411 and not indexed (2026). Gain on property held in a trade or business is excluded when the business is not passive to you. For a sale of a partnership or S corporation interest, IRC 1411(c)(4) applies the same test through a hypothetical sale of the entity's assets.

Not passive means material participation under Treas. Reg. 1.469-5T: the two tests sellers lean on most are 500 or more hours in the year, or material participation in any 5 of the preceding 10 years. That second test matters for an owner who stepped back a year or two before selling. In our examples, the same Illinois sale costs $1,024,136 for an active owner and $1,138,136 for a passive investor, a gap of $114,000 in NIIT alone. The engine applies the 3.8% to the ordinary sale items even for the active owner, a conservative simplification. More detail: NIIT on a sale.

What an installment note can and cannot spread

Seller financing lets you report gain as principal arrives under IRC 453, but not every bucket qualifies. Section 453(i) forces all 1245 and 1250 recapture into the year of sale even if you receive no cash that year. Section 453(b)(2)(B) excludes inventory, so it is reported at closing. Receivables are ordinary income you would report anyway. What spreads is the goodwill and other 1231 gain.

In our four-year example, total tax is $957,251 versus $1,024,136 paid at once, a difference of $66,885, because less goodwill gain reaches the 20% bracket (2026) in any one year. Year one still carries every ordinary dollar, so size the down payment to cover it. Notes above $5,000,000 outstanding at year end trigger the IRC 453A interest charge. See the installment sale of a business and seller financing analyses for buyer-credit protection.

The state layer

Most states tax business gain as ordinary income at their regular rate: Illinois is a flat 4.95% (35 ILCS 5/201, 2026). A few states treat a business sale differently from other gains, and the engine models these with an asset-type switch:

  • Ohio: gain from selling a business can be business income, with the first $250,000 deducted and the rest taxed at 3% (ORC 5747.01, 2026).
  • New Mexico: deduct 40% of up to $1,000,000 of net capital gain from the sale of a business (NMSA 7-2-34, 2026).
  • Oklahoma: a 100% deduction for gain on Oklahoma business assets or company interests held 2 years, if the company has been headquartered there 3 years (Form 561, 2026).
  • Washington: no income tax, but a 7% excise on long-term gains over the standard deduction plus 2.9% on gains over $1,000,000 (RCW 82.87, from 2025), with a deduction for qualified family-owned small businesses (RCW 82.87.050).

Moving before the sale only works if domicile truly changes first; see changing residency before a sale and the state-by-state table.

How it plays out by industry

To see your own allocation, recapture and note options side by side, get the Big Sale Tax Analysis.

What to know

Allocation is a negotiation, not a formula: what helps you (more goodwill, less equipment and non-compete) can cost the buyer faster write-offs, so expect pushback and get a defensible valuation. The NIIT exclusion depends on facts you must be able to document, such as hours or prior years of participation. An installment note spreads goodwill gain but adds buyer-credit risk and cannot spread recapture or inventory, so year one can still be the largest tax year. State rules shift with residence and sourcing; your CPA should confirm both before signing.

Worked example

Illinois LLC taxed as a partnership, owners file jointly with $200,000 of other income. Price allocation produces $2,600,000 of goodwill (Section 1231) gain, $450,000 of equipment recapture, and $500,000 of ordinary sale items (inventory profit, cash-basis receivables, a non-compete). Owner materially participates. Identical numbers, but the seller is a silent investor who did not materially participate, so the gain is net investment income. Same sale with the goodwill gain collected in four equal annual pieces from 2026 to 2029; recapture and the ordinary items stay in 2026. Note interest is left out.

Engine runCash asset sale, active ownerSame sale, passive ownerActive owner, 4-year note
Filing statusMarried, jointMarried, jointMarried, joint
StateIllinoisIllinoisIllinois
Tax years114
Other income (wages, pension, interest) per year$200,000$200,000$200,000
Long-term capital gain$2,600,000$2,600,000$2,600,000
Section 1245 recapture (ordinary income)$450,000$450,000$450,000
Ordinary income from the sale (short-term gain, inventory, non-compete)$500,000$500,000$500,000
Federal income tax on the sale$829,411$829,411$762,526
Net investment income tax (3.8%)$19,000$133,000$19,000
State income tax on the sale$175,725$175,725$175,725
Total tax caused by the sale$1,024,136$1,138,136$957,251
Effective rate on the gain28.8%32.1%27.0%
Gain kept after these taxes$2,525,865$2,411,865$2,592,750

Computed October 7, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2025-32 (OBBBA-adjusted) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table. "Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.

Run your own numbers

Federal on the sale$0
NIIT$0
State$0
Total tax, held over a year$0
Effective rate0%
If held one year or less$0

2026 law from the engine: federal 0/15/20% brackets (Rev. Proc. 2025-32), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules. Tax shown is the tax caused by the sale. Excludes selling costs, local taxes and NIIT exceptions for active business owners. Education only.

Free PDF sheet

Long-Term vs Short-Term Capital Gains (2026)

The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Frequently asked questions

How much is capital gains tax on the sale of a $1 million business?
It depends on what the $1 million buys. Goodwill gain is taxed at 0%, 15% or 20% federally (Rev. Proc. 2025-32 thresholds for 2026), while inventory, receivables, equipment recapture and the non-compete are ordinary income up to 37%. Add 3.8% NIIT if you were passive and your state rate. An equipment-heavy sale lands well above a goodwill-heavy one at the same price.
How is goodwill taxed in a business sale?
Self-created goodwill held more than a year is Section 1231 property with a zero basis, so the full amount allocated to it is gain taxed at long-term capital gains rates, unless IRC 1231(c) recaptures it because you deducted net 1231 losses in the prior five years. In a C corporation, goodwill owned by the company is taxed twice; goodwill you own personally can avoid the corporate layer.
How can I reduce capital gains tax when selling my business?
Shift the allocation toward goodwill and away from the non-compete, document material participation to stay clear of the 3.8% NIIT, spread goodwill gain with seller financing under IRC 453, time the closing for a lower-income year, harvest losses, or consider charitable or Opportunity Zone options for part of the gain.
Do I pay the 3.8% net investment income tax when I sell my business?
Not on gain from business assets if you materially participated, for example 500 or more hours in the year or in 5 of the last 10 years under Treas. Reg. 1.469-5T. Passive owners and C corporation shareholders generally owe it on gain above $250,000 of modified AGI for joint filers (IRC 1411, not indexed).
Can I pay capital gains tax on a business sale over several years?
Yes for the goodwill and other capital pieces if you take payments over time under IRC 453. Depreciation recapture is taxed in the year of sale regardless of payments (Section 453(i)), and inventory cannot use the installment method. Interest on the note is ordinary income each year.
How Hans helps: the $5,000 Big Sale Tax Analysis runs your sale through every path that fits: a cash sale, a Section 453 installment sale, 1031, Opportunity Zones, charitable trusts, timing and loss offsets, year by year, and ends with a written recommendation your CPA can check. Get the Big Sale Tax Analysis.
Next step

Know your number before you sign.

The Big Sale Tax Analysis is a flat $5,000. Start with a free scoping call; you are invoiced only after it, and only if you go ahead.

Prefer email? Request the analysis by email.

Book a callCall Hans