Capital Gains Tax on the Sale of a Business, Asset by Asset
Request the analysis Book a free scope call
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 class | What sits there | Character to the seller |
|---|---|---|
| I | Cash and bank deposits | No gain |
| II | CDs, government securities, traded stock | Usually little gain; capital if any |
| III | Accounts receivable, other debt instruments | Ordinary; a cash-basis seller has zero basis, so all of it (IRC 1221(a)(4)) |
| IV | Inventory and stock in trade | Ordinary (IRC 1221(a)(1)) |
| V | Equipment, vehicles, furniture, buildings, land | Section 1245 recapture is ordinary up to prior depreciation; any excess and land gain is Section 1231 |
| VI | Section 197 intangibles other than goodwill: customer lists, licenses, workforce, the non-compete | Self-created intangibles are usually 1231; the non-compete is ordinary |
| VII | Goodwill and going concern value | Section 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, 2027) 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 $633,600 of taxable income for joint filers (Rev. Proc. 2026-35, 2027). 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), 2027) 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 (2027). 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,021,802 for an active owner and $1,135,802 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-carried note lets you report gain as principal arrives under IRC 453, but not every bucket qualifies. Section 453(i) forces all Section 1245 recapture, and any Section 1250 additional depreciation, into the year of sale even if you receive no cash that year.
The 25% unrecaptured Section 1250 gain on a building is not recapture income: it is spread with the payments, taken first (Treas. Reg. 1.453-12). 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 $951,782 versus $1,021,802 paid at once, a difference of $70,020, because less goodwill gain reaches the 20% bracket (2027) 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-carried note 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
- Equipment-heavy: trucking, construction, manufacturing, landscaping: recapture can rival goodwill.
- Professional practices: dental, medical, veterinary, accounting, law: personal goodwill and receivables dominate.
- Inventory and real estate: gas stations, car dealerships, pharmacies, hotels.
- Route and service trades: HVAC, plumbing, restaurants, franchises, SaaS.
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.
How much tax does this sale cause? A 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 2027 to 2030; recapture and the ordinary items stay in 2027. Note interest is left out.
| Engine run | Cash asset sale, active owner | Same sale, passive owner | Active owner, 4-year note |
|---|---|---|---|
| Filing status | Married, joint | Married, joint | Married, joint |
| State | Illinois | Illinois | Illinois |
| Tax years | 1 | 1 | 4 |
| 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 | $827,077 | $827,077 | $757,057 |
| 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,021,802 | $1,135,802 | $951,782 |
| Effective rate on the gain | 28.8% | 32.0% | 26.8% |
| Gain kept after these taxes | $2,528,198 | $2,414,198 | $2,598,218 |
Step by step: Cash asset sale, active owner
The same example worked by hand from the 2027 federal tables (California: FTB 2026 schedule), so you can follow each line with a calculator. Rounded to the dollar.
- The gain. $2,600,000 long-term capital gain + $450,000 Section 1245 recapture + $500,000 ordinary income from the sale = $3,550,000. Other income that year: $200,000, married filing jointly.
- Without the sale. Taxable income is $200,000 less the $33,200 standard deduction = $166,800; regular federal tax on that is $25,779 (2027 brackets, Rev. Proc. 2026-35).
- With the sale. Taxable income becomes $3,716,800. The ordinary part ($1,116,800: other income, recapture, ordinary sale income, less the deduction) is taxed at ordinary rates: $332,856. The long-term gain: $2,600,000 at 20% = $520,000 (0% to $102,100 and 15% to $633,600 of taxable income, 2027). Regular tax with the sale: $852,856.
- Federal income tax caused by the sale. $852,856 less $25,779 = $827,077.
- Net investment income tax. 3.8% of the smaller of net investment income or income over $250,000 (IRC 1411, not indexed): the gain itself is outside the tax for an owner who materially participates, but the engine keeps the $500,000 of ordinary sale income in as the cautious case; income over the threshold is $3,500,000. 3.8% x $500,000 = $19,000.
- State. $2,600,000 of capital gain at 4.95% = $128,700; $950,000 of recapture and ordinary sale income at 4.95% = $47,025. State tax caused by the sale: $175,725.
- Total. $827,077 + $19,000 + $175,725 = $1,021,802, which is 28.8% of the gain.
Computed November 21, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2026-35 (IR-2026-133, Nov 5 2026) 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.
How much tax would you owe? Run your own numbers
2027 federal law from the engine: 0/15/20% brackets (Rev. Proc. 2026-35), 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 (California on the FTB 2026 schedules, because the 2027 schedule is not published yet).
What was sold and years held only matter in a few states: Washington exempts real estate, Ohio and New Mexico treat a business sale differently, Arizona subtracts 25% for assets bought after 2011 and Oklahoma deducts gain on Oklahoma property held 5 years or more.
Tax shown is the tax caused by the sale. Excludes local taxes other than Maryland's county tax (3.2% used). Tick the active-owner box if you materially participate in the business. Education only.
Get this breakdown by email, plus the one-page Seller Tax Worksheet
We email you the numbers from this page (the gain and the federal, 3.8% and state pieces) with a one-page worksheet to fill in with your CPA: your gain line by line, the tax buckets, the 2027 thresholds and five questions to ask before you sign.
Also free: the book Same Sale, Different Tax, the same $1,000,000 gain taxed ten ways. Want it run on your sale? Book a free scope call to see whether the Big Sale Tax Analysis is worth it.

Who you will talk to
Hans Goldstein · Sacramento, California
Hans Goldstein: Tax & Exit Planning, an independent practice. Enrolled Agent, admitted to practice before the Internal Revenue Service. CA Insurance License #4273294, NPN 20602398.
- What happens first
- You fill in the short form for a free scope call, about 5 minutes. Hans reviews every one personally and replies within 1 business day. If it is a fit, you get a link to book the call.
- The scope call
- Fifteen minutes, free: price, timeline, what you are selling and what the money is for. Scope means you hear whether the analysis is worth it for your sale.
- What you get
- A written side-by-side comparison of your cash-sale baseline against every path that fits, year-by-year numbers, a written recommendation, and a review meeting with you and, if you like, your CPA and attorney.
- What it costs
- The scope call is free. The Big Sale Tax Analysis is $5,000 per household per transaction, only if you decide it is worth it. No retainer, no hourly billing, no obligation to use any strategy.
- How Hans is paid
- The $5,000 fee pays for analysis only and is not reduced or credited if you buy anything. You are never required to buy anything. No referral fees are paid to or received from brokers, CPAs or attorneys. Hans is also a licensed insurance producer with a separately owned insurance business. That business is not part of this engagement, and the analysis does not recommend insurance products. If you later choose an installment sale funded through an insurance company, that company pays Hans a commission through his separate insurance business. He may be compensated by that business if you use an insurance-funded installment sale. Hans is an Enrolled Agent (EA), admitted to practice before the Internal Revenue Service. He is not a CPA, attorney or registered investment adviser; the analysis models tax effects and does not recommend specific securities. Read the disclosures.
Book a free scope call or call 213-340-2018. Hans answers or calls back the same business day.
Related calculators, tables and guides
- Selling a dental practice: Personal goodwill, Section 179 recapture and DSO rollover equity
- Capital gains tax calculator: Start from price, costs and basis; federal, NIIT and state for a 2027 sale
- Installment sale tax (Section 453): How the gain spreads over the years you are paid, with a calculator
- Capital gains tax by state: Tax on a $1,000,000 gain in all 50 states and DC, with sources and a CSV
- Everything we check (full list): Every sourced rate, rule and state quirk, searchable, with a data download
Frequently asked questions
How much is capital gains tax on the sale of a $1 million business?
How is goodwill taxed in a business sale?
How can I reduce capital gains tax when selling my business?
Do I pay the 3.8% net investment income tax when I sell my business?
Can I pay capital gains tax on a business sale over several years?
Sources
- IRS: Instructions for Form 8594
- IRC 1060 (Cornell LII)
- IRC 1231 (Cornell LII)
- IRC 1221 (Cornell LII)
- IRC 1245 (Cornell LII)
- IRC 1411 (Cornell LII)
- Treas. Reg. 1.469-5T material participation (eCFR)
- IRC 453 (Cornell LII)
- IRS Publication 544, Sales and Other Dispositions of Assets
- IRS: Sale of a business
- Rev. Proc. 2026-35 (2027 inflation adjustments)
- Ohio Revised Code 5747.01
- RCW 82.87.050 (Washington)
- Treas. Reg. 1.453-12: unrecaptured Section 1250 gain in an installment sale (eCFR)
Figures as of October 10, 2026; each rate and limit above names its source and year. Education only, not legal or tax advice.
Keep reading
Ohio
Two rates for one gain: 2.75% on investment gains, 3% on business-sale gain after a $250,000 deduction, plus a new 2026 payroll-based deduction.
ReadAsset sale vs stock sale
Buyers want assets for the step-up, sellers want stock for one layer of capital gain; here is how the difference is measured and priced.
ReadC corporation sale
The corporate 21% plus the shareholder layer, and the five routes owners use to pay it once: stock sale, personal goodwill, QSBS, ESOP and a timed S election.
ReadPass-through entity tax
In a sale year the SALT cap shrinks to $10,000, so an entity-level state tax election can be worth six figures. Which deals qualify, and the state deadlines.
ReadPurchase price allocation
How the Section 1060 split between goodwill, equipment and non-competes sets the tax on a business sale.
ReadInstallment sale of a business
Selling a business on a seller note: which assets spread, which are taxed in year one, and how to protect the note.
Read