Capital Gains Tax on Selling a Business 2027: Asset vs Stock
Some links pay us a referral fee; each one says so. Disclosure
Quick answer
When a business is sold for $10 million, the federal tax depends on what the buyer is buying, not only on the price: in our worked example an S corporation owner who materially participates pays $1,431,000 if the company sells its assets and $1,160,000 if the owner sells the stock, a gap of $271,000 on the same $5,800,000 of gain (our arithmetic, 2027 rates, state tax left out). The gap comes from the assets that are not goodwill: inventory and equipment recapture are ordinary income taxed up to 37% (26 U.S.C. 1245(a)(1); Rev. Proc. 2026-35, section 3.01), depreciation on the building is “unrecaptured section 1250 gain” at up to 25% (26 U.S.C. 1(h)(1)(E)), and only the rest is taxed at 20%. In an asset sale the buyer and seller each report the split of the price across seven asset classes on Form 8594, attached to the return for the year of the sale (Instructions for Form 8594, Rev. November 2021). The 20% rate starts above $633,600 of taxable income for a joint return in 2027 (Rev. Proc. 2026-35, section 3.03). A C corporation that sells assets pays 21% at the company (26 U.S.C. 11(b)) and then the owners are taxed on the liquidation, about 39.8% of the gain in our example. As of November 24, 2026.
Key takeaways
- The structure sets the character of the gain. An asset sale makes the company sell each asset, so each asset keeps its own tax character: Class III receivables and Class IV inventory are ordinary, Class V equipment is ordinary up to the depreciation taken (26 U.S.C. 1245(a)(1)), the building carries a 25% layer for depreciation (26 U.S.C. 1(h)(6)(A)) and goodwill, Class VII, is the residual (Instructions for Form 8594). A sale of S corporation stock is, for a holder of more than one year, ordinary income only in narrow cases plus “residual long-term capital gain” (Treasury Regulation 1.1(h)-1(a)).
- Our $10 million example (S corporation, buildings, equipment, receivables, inventory and goodwill): $1,300,000 of the $5,800,000 gain is ordinary, $1,000,000 is unrecaptured section 1250 gain and $3,500,000 is taxed at 20%. Federal tax is $1,431,000 as an asset sale and $1,160,000 as a stock sale, before any net investment income tax (our arithmetic).
- A buyer usually pays for the asset sale in the other direction: in an applicable asset acquisition the purchaser's basis is determined wholly by the consideration paid (26 U.S.C. 1060(c)), so the price is spread over the assets and recovered through depreciation and amortization. That is why asset sales are common and why a seller sometimes asks for a higher price to cover the extra tax. A section 338(h)(10) election lets a stock purchase be taxed as an asset sale (Treasury Regulation 1.338(h)(10)-1(c)(1)).
- The 3.8% net investment income tax can be zero or $220,400 on the same sale. Section 1411(c)(2) reaches a trade or business only if it is a passive activity for the taxpayer, so an owner who works in the business is generally outside it, and section 1411(c)(4) limits the tax on a sale of S corporation stock to the gain a deemed asset sale would produce. An owner who does not materially participate pays 3.8% on the whole gain (our arithmetic).
- A C corporation is different. An asset sale is taxed at 21% inside the company (26 U.S.C. 11(b)) and again when the cash is paid out in liquidation, which is “treated as in full payment in exchange for the stock” (26 U.S.C. 331(a)). In our example the combined federal tax is $2,308,516 against $1,380,400 for a stock sale (our arithmetic).
- The 2025 law (Public Law 119-21) did not change these rates. Rev. Proc. 2025-32 records that section 70101 made the seven individual rates permanent, and for qualified small business stock issued after July 4, 2025 it added a 50%, 75% and 100% exclusion by holding period (26 U.S.C. 1202(a)(5)) with a per-issuer cap of $15,000,000, adjusted to $15,480,000 for 2027 (Rev. Proc. 2026-35, section 3.42).
- The IRS does not publish a count of Form 8594 filers. Its Statistics of Income tables show the size of the market around it: in tax year 2023, 945,122 individual returns reported net gain from sales of property other than capital assets (the Form 4797 line) totaling $49,567,896 thousand, and 8,218 returns with adjusted gross income of $10,000,000 or more reported $17,761,270 thousand of that (IRS SOI Table 1.4).
CSV · 115 rows
Selling a business: 2027 rate lines, the seven Form 8594 asset classes, a $10 million S corporation and C corporation worked example, and IRS Statistics of Income tables
115 rows: the 2027 capital gain lines, fixed statute figures, the seven Form 8594 asset classes, the full worked example by class under an asset sale and a stock sale (our arithmetic), and IRS SOI Table 1.4 for tax year 2023 and the sales of capital assets table for tax year 2015.
Asset sale, stock sale or interest sale: what each one taxes
Before the price, the first question is who sells what. The tax code treats these as different transactions even when the buyer pays the same amount. The table lists the common structures for a business that owns operating assets and often its own buildings.
| Structure | What is sold | How the gain is taxed (federal) | Source |
|---|---|---|---|
| S corporation or LLC taxed as an S corporation, asset sale | Each asset, by the company; gain passes through to the owners by character | Ordinary income on inventory and on equipment up to depreciation; 25% layer on building depreciation; 20% on land and goodwill; Form 8594 required | 26 U.S.C. 1060, 1245, 1(h)(1)(E); Instructions for Form 8594 |
| S corporation, stock sale | The owner's shares | Residual long-term capital gain; look-through only for collectibles, so no 25% layer; Form 8594 is not triggered by a plain stock sale, on our reading | Treasury Regulation 1.1(h)-1(a), (b)(1) |
| LLC or partnership taxed as a partnership, sale of the interest | The owner's interest | Ordinary income for the part attributable to receivables and inventory and a 25% look-through for building depreciation; see our guide | Treasury Regulation 1.1(h)-1(a); [selling a K-1 fund interest](/articles/sell-partnership-interest-k-1-section-751-form-8308-2026) |
| C corporation, asset sale then liquidation | Each asset by the company, then the company pays out the cash | 21% at the company, then capital gain on the liquidation (20% plus 3.8% net investment income tax) | 26 U.S.C. 11(b), 331(a), 1411(c)(1)(A)(iii) |
| C corporation, stock sale | The owner's shares | Capital gain on the shares at 20% plus 3.8% unless qualified small business stock applies | 26 U.S.C. 1(h)(1)(D), 1411, 1202 |
| Stock purchase with a section 338(h)(10) election | Stock on paper, assets for tax | Taxed as a deemed asset sale by the target, then a deemed liquidation | Treasury Regulation 1.338(h)(10)-1(c)(1), (d)(3) |
The statute that governs the split of price in an asset sale is 26 U.S.C. 1060(a): the consideration “shall be allocated among such assets acquired in such acquisition in the same manner as amounts are allocated to assets under section 338(b)(5).” It applies to an “applicable asset acquisition,” defined in section 1060(c) as a transfer of assets that constitute a trade or business where the transferee's basis in them is “determined wholly by reference to the consideration paid for such assets.” A plain sale of shares is not a transfer of the assets, so on our reading it does not trigger the form unless a section 338(h)(10) election is made. The Form 8594 instructions list one more exception for a transfer of “a partnership interest,” subject to the special reporting rules of Regulations section 1.755-1(d).
The seven Form 8594 classes, in the order the price fills them
Both parties report the allocation on Form 8594, attached to the income tax return “for the year in which the sale date occurred,” and the instructions warn that without a correct form by the due date and without reasonable cause, a filer “may be subject to penalties” under sections 6721 through 6724. The residual method fills classes in order: reduce the consideration by Class I, then allocate to Class II, then to Classes III, IV, V and VI “in that order,” and the rest goes to Class VII. An amount allocated to any class other than VII cannot exceed fair market value.
| Class | What it holds (Form 8594 instructions) | Usual character of the seller's gain | Source for the character |
|---|---|---|---|
| I | Cash and general deposit accounts, other than certificates of deposit | No gain | Instructions for Form 8594 |
| II | Actively traded personal property, certificates of deposit, foreign currency | Capital or ordinary, by the asset | Instructions for Form 8594 |
| III | Assets marked to market at least annually and debt instruments, including accounts receivable | Ordinary income to a cash-method seller; little or no gain to an accrual-method seller | Instructions for Form 8594 |
| IV | Stock in trade and inventory | Ordinary income | Form 4797 instructions: inventory is not section 1231 property |
| V | Everything else: furniture, fixtures, buildings, land, vehicles, equipment | Ordinary up to depreciation on equipment (1245); 25% layer on building depreciation; 20% on the rest | 26 U.S.C. 1245(a)(1), 1(h)(6)(A), 1231(a)(1) |
| VI | Section 197 intangibles except goodwill: workforce, customer lists, licenses, trade names and any covenant not to compete entered into in connection with the acquisition of an interest in a trade or a business | Depends on the asset; amounts paid for the seller's covenant are treated here as ordinary income in our example | Instructions for Form 8594; Treasury Regulation 1.1060-1(b)(7) |
| VII | Goodwill and going concern value | Capital gain for self-created goodwill (our example), 20% | Instructions for Form 8594; Publication 544 |
Two clauses in the paperwork matter more than most owners expect. First, section 1060(a) makes a written allocation agreement between buyer and seller “binding on both the transferee and transferor unless the Secretary determines that such allocation (or fair market value) is not appropriate,” and Treasury Regulation 1.1060-1(c)(4) says the IRS may still challenge the values. Second, Treasury Regulation 1.1060-1(b)(7) says a covenant by the seller “is treated as an asset transferred as part of a trade or business,” which is why the covenant has its own line on the allocation. The buyer wants more of the price in short-lived assets and in the covenant; the seller wants it in goodwill and land. The allocation in the purchase agreement is where that bargain is written down.
The 2027 and 2026 rate lines that apply
The long-term capital gain rate is 0% up to a ceiling, 15% to a second ceiling and 20% above it (26 U.S.C. 1(h)(1)(D)), with the dollar lines adjusted each year. For tax years beginning in 2027, Rev. Proc. 2026-35 section 3.03 sets the 15% ceiling at $633,600 for joint returns, $598,400 for heads of household and $563,200 for single filers; the 2026 joint ceiling was $613,700 (Rev. Proc. 2025-32, section 4.03). Our 2027 capital gains brackets page has all five filing categories side by side. Three other rates matter for a business sale:
| Item | Figure | Source |
|---|---|---|
| Top ordinary rate, 2027, joint return | 37% on taxable income over $793,650 | Rev. Proc. 2026-35, section 3.01, Table 1 |
| Unrecaptured section 1250 gain | Taxed at ordinary rates, capped at 25% | 26 U.S.C. 1(h)(1)(E), 1(h)(6)(A) |
| Net investment income tax | 3.8% of the lesser of net investment income or modified adjusted gross income above $250,000 (joint) or $200,000 (other); not indexed | 26 U.S.C. 1411(a)(1), (b) |
| C corporation rate | 21% of taxable income | 26 U.S.C. 11(b) |
| Section 1202 exclusion, stock held 5 years or more, acquired after July 4, 2025 | 100% of gain up to the per-issuer cap of $15,480,000 for 2027 | 26 U.S.C. 1202(a)(5), (b)(4)(B); Rev. Proc. 2026-35, section 3.42 |
Public Law 119-21 did not change any of these rates. Rev. Proc. 2025-32 states that “Section 70101 of the OBBBA amends § 1(j) to make the tax rate tables that were effective for taxable years beginning after December 31, 2017, and before January 1, 2026, permanent,” and the 20% and 25% layers sit in section 1(h), which the law left alone. What the law did change for sellers is section 1202, covered below.
A $10 million sale by class: asset sale against stock sale (our arithmetic)
The numbers below are our assumptions, not data from any company; the rates and rules come from the documents cited. The seller is a married couple filing jointly who own 100% of an S corporation, work in it full time, and have other taxable income of at least $800,000 in the year of sale, so every ordinary dollar of the sale is taxed at 37% and every capital gain dollar at 20% (the joint 37% line is $793,650 and the 20% line is $633,600). The buyer pays $10,000,000 for the operating business; the seller keeps the cash in the company's bank account, so Class I is zero. Tax basis equals the owner's stock basis of $4,200,000.
| Class | Asset | Price allocated | Tax basis | Gain | Character of the gain |
|---|---|---|---|---|---|
| III | Accounts receivable (accrual basis) | $800,000 | $800,000 | $0 | None |
| IV | Inventory | $1,000,000 | $900,000 | $100,000 | Ordinary |
| V | Equipment (cost $2,000,000, depreciation taken $1,700,000) | $1,500,000 | $300,000 | $1,200,000 | Ordinary: 1245 recapture, the whole gain is under the depreciation taken |
| V | Building (cost $2,800,000, straight-line depreciation taken $1,000,000) | $3,000,000 | $1,800,000 | $1,200,000 | $1,000,000 unrecaptured 1250 gain at 25%; $200,000 at 20% |
| V | Land | $1,000,000 | $400,000 | $600,000 | 20% |
| VII | Goodwill and going concern value (self-created, zero basis) | $2,700,000 | $0 | $2,700,000 | 20% |
| Total | $10,000,000 | $4,200,000 | $5,800,000 |
Section 1245(a)(1) treats as ordinary income the amount by which the lower of the property’s recomputed basis or, “in the case of a sale, exchange, or involuntary conversion, the amount realized” exceeds the adjusted basis, so the equipment gain of $1,200,000 is all ordinary because it is less than the $1,700,000 of depreciation. A building depreciated straight line has no section 1250 ordinary recapture, because Publication 544 says there is no additional depreciation where the taxpayer figured depreciation “using the straight-line method,” held the property longer than 1 year and met the other conditions; the depreciation instead is “unrecaptured section 1250 gain,” the long-term gain that would be ordinary “if section 1250(b)(1) included all depreciation” (26 U.S.C. 1(h)(6)(A)), taxed at up to 25% under section 1(h)(1)(E). Gain on the land and building above the depreciation is section 1231 gain, treated as long-term capital gain when gains exceed losses (26 U.S.C. 1231(a)(1)). We ignore the section 199A deduction, state tax and the section 1231 five-year lookback.
| Slice of the gain | Amount | Rate | Federal tax, asset sale |
|---|---|---|---|
| Ordinary: inventory $100,000 and equipment recapture $1,200,000 | $1,300,000 | 37% | $481,000 |
| Unrecaptured section 1250 gain (building depreciation) | $1,000,000 | 25% | $250,000 |
| Building above depreciation $200,000, land $600,000, goodwill $2,700,000 | $3,500,000 | 20% | $700,000 |
| Total federal income tax, active owner, no NIIT | $5,800,000 | 24.7% of the gain | $1,431,000 |
A stock sale puts the whole $5,800,000 into one slice. The S corporation look-through in Treasury Regulation 1.1(h)-1 reaches only collectibles gain for S corporation stock, and it reaches the section 1250 layer only for “an interest in a partnership,” so the building depreciation is not carved out. In the example the owner would pay 20% on $5,800,000, or $1,160,000, against $1,431,000 for the asset sale: the difference of $271,000 is $1,300,000 times the 17-point gap between 37% and 20%, plus $1,000,000 times the 5-point gap between 25% and 20% (our arithmetic).
| Case, $10 million price, $5,800,000 gain | Asset sale | Stock sale | Difference |
|---|---|---|---|
| Federal income tax, owner works in the business | $1,431,000 | $1,160,000 | $271,000 |
| Add 3.8% NIIT if the owner does not materially participate | $220,400 | $220,400 | $0 |
| Total if the owner is passive | $1,651,400 | $1,380,400 | $271,000 |
| Same asset sale with $500,000 moved from goodwill to a covenant not to compete, owner works in the business | $1,516,000 | not applicable | +$85,000 |
| Tax as a share of the price, owner works in the business | 14.3% | 11.6% | 2.7 points |
On the NIIT, the statute taxes net gain attributable to the disposition of property “other than property held in a trade or business not described in paragraph (2)” (26 U.S.C. 1411(c)(1)(A)(iii)), and paragraph (2) describes a business that is “a passive activity” of the taxpayer within the meaning of section 469 (section 1411(c)(2)(A)). For an owner who works in the business the asset gain is therefore outside the tax. For a stock sale, Treasury Regulation 1.1411-4(d)(4)(i)(B)(1) says S corporation stock “generally is not property held in a trade or business,” but section 1411(c)(4) limits the gain to the net gain the owner would have had “if all property of the partnership or S corporation were sold for fair market value immediately before the disposition,” so the active owner's gain is again outside it. The regulation that was to spell out the computation, section 1.1411-7, is “[Reserved]” in the Code of Federal Regulations as of November 2026, which means the statute is what applies. If a family company owns buildings it rents to a separate operating business, whether the rent and the sale of those buildings are passive is a question of section 469 grouping and of the nonpassive rental rule of Treasury Regulation 1.1411-4; it is the most common place for the zero to turn into $220,400.
The covenant line deserves a note. Our $85,000 assumes the amount paid for the seller's covenant is ordinary income to the seller; the IRS documents we read place the covenant in Class VI and treat it as a transferred asset but do not state the seller's character in one sentence, so a signed allocation should be checked against the seller's own advice. The buyer, for its part, treats a covenant as a section 197 intangible recovered over 15 years (Publication 544).
The C corporation: tax at the company and again on the owner
A C corporation that sells its assets pays tax on the gain at the company: “21 percent of taxable income” (26 U.S.C. 11(b)). When the company then liquidates and pays out the cash, the owner's receipt is “treated as in full payment in exchange for the stock” (26 U.S.C. 331(a)), so a second tax applies to the owner's gain on the shares. Using the same assets, price and $4,200,000 of stock basis:
| Step, C corporation asset sale | Amount | Rate | Tax |
|---|---|---|---|
| Corporate gain on the assets (all taxed at the corporate rate) | $5,800,000 | 21% | $1,218,000 |
| Cash left to distribute: $10,000,000 minus $1,218,000 | $8,782,000 | ||
| Owner's gain on liquidation: $8,782,000 minus $4,200,000 stock basis | $4,582,000 | 20% | $916,400 |
| Net investment income tax on the owner's gain on the shares | $4,582,000 | 3.8% | $174,116 |
| Combined federal tax | $5,800,000 | 39.8% of the gain | $2,308,516 |
Selling the stock of a C corporation avoids the company-level tax: $5,800,000 times 23.8% is $1,380,400 (our arithmetic). The buyer then inherits the company's tax basis and not the stepped-up basis of an asset purchase, which is the price of the lower tax. Qualified small business stock can reduce the stock-sale tax to zero in the best case. Under 26 U.S.C. 1202(a)(5) the exclusion for stock acquired after the “applicable date” is 50% at 3 years, 75% at 4 years and 100% at 5 years or more, and the per-issuer limit is “$15,000,000” (section 1202(b)(4)(B)), which Rev. Proc. 2026-35 section 3.42 adjusts to $15,480,000 for taxable years beginning in 2027. The applicable date is the enactment of the 2025 law, July 4, 2025; stock acquired earlier keeps the older rules. The part of the gain that is not excluded is “section 1202 gain,” which section 1(h)(4)(A)(ii) puts in the 28-percent rate group. Our QSBS limits page walks through the dates and the gross assets test of section 1202(d)(1).
Four rules that move the number after the price is agreed
- Installment sales do not defer recapture. Under 26 U.S.C. 453(i)(1) “any recapture income shall be recognized in the year of the disposition,” and only the gain in excess of it is spread under the installment method. Inventory cannot be reported on the installment method at all (section 453(b)(2)(B)). In our example the ordinary $1,300,000 is taxed in the year of sale even if the price is paid over five years. Publication 537 repeats that depreciation recapture is reported “in the year of sale, whether or not an installment payment was received that year.” Our installment sale guide covers the rest.
- A large note triggers an interest charge. Section 453A(c) adds interest to the tax for an obligation outstanding at year end where the sales price exceeded $150,000 and all such obligations of the taxpayer exceed $5,000,000 (section 453A(b)(1), (b)(2)). A $10 million sale with a seller note of more than $5,000,000 is inside it.
- Selling depreciable property to a related party makes the gain ordinary. Section 1239(a) treats “any gain recognized to the transferor” as ordinary income when the property is depreciable in the hands of a related transferee, which can catch a sale of the buildings to a family entity or an entity the owner controls.
- The allocation can be reopened later. If the price changes after the year of sale, both sides file a supplemental Form 8594 with Parts I and III for the year the change is taken into account, and a decrease is taken first from Class VII (Instructions for Form 8594).
What the IRS statistics show about this market
Neither the IRS nor the Treasury publishes the number of Form 8594 filers or the dollars allocated by class, and we found no table that does. The two Statistics of Income sources that touch the subject are below; they describe the sale of business property and of passthrough interests in general, not Form 8594.
| Tax year 2023, individual returns by adjusted gross income | Returns with net gain from sales of property other than capital assets (Form 4797 line) | Net gain, thousands of dollars | Returns with S corporation net income | S corporation net income, thousands of dollars |
|---|---|---|---|---|
| All returns | 945,122 | $49,567,896 | 4,138,040 | $797,450,861 |
| $1,000,000 under $1,500,000 | 30,840 | $1,921,274 | 108,305 | $62,815,764 |
| $2,000,000 under $5,000,000 | 29,196 | $3,563,893 | 77,476 | $121,689,639 |
| $5,000,000 under $10,000,000 | 9,716 | $2,363,799 | 20,327 | $71,564,501 |
| $10,000,000 or more | 8,218 | $17,761,270 | 12,758 | $157,762,619 |
The newest individual tables in the series are those for tax year 2023, published as Publication 1304 in March 2026 (Table 1.4). Returns with adjusted gross income of $10,000,000 or more were 8,218 of the 945,122 that reported net gain from sales of business property, yet they reported $17,761,270 thousand of the $49,567,896 thousand, or 35.8% of the dollars (our arithmetic). The line covers any Form 4797 sale, including rental buildings and equipment, not only the sale of a business. Among taxable returns with adjusted gross income of $1,000,000 or more, 93,740 reported net gain on that line.
The only SOI series that separates the sale of an interest in an S corporation is the Sales of Capital Assets study, whose newest year is tax year 2015 (published February 2022): 5,001,843 long-term transactions in “Partnership, S corporation, and estate or trust interests” with a sales price of $113,179,582 thousand and a net gain of $36,787,200 thousand; the 2,633,045 transactions that produced a gain averaged about $20,805 of gain each (our arithmetic), so the typical transaction in that category is small. The category also includes estate and trust interests, and the study's Table 2 folds it into “other asset types,” so we cannot isolate how many owners of $2 million to $50 million businesses are selling in a given year.
What a reader can do with this
- Ask the buyer which structure it is proposing before the price is final. The same price is $271,000 apart in our example, and a price increase that covers the difference changes the buyer's side too.
- Draft the Form 8594 allocation with the purchase agreement, not after. A signed allocation is binding on both parties under section 1060(a), and each class moves the tax: inventory and equipment cost 37%, goodwill and land cost 20%.
- Collect the depreciation records first. Equipment recapture and the 25% layer on buildings depend on depreciation allowed or allowable, including any cost segregation or bonus depreciation taken in earlier years.
- Test the net investment income tax by owner role. Material participation under section 469 decides whether the 3.8% applies, and a family company with a separate property entity needs its own answer.
- Look at the installment note. Recapture is due in the year of sale and a note over $5,000,000 carries the section 453A interest charge.
- Check C corporation stock dates. If shares were issued after July 4, 2025, or earlier under the older rules, a section 1202 exclusion may apply to a stock sale.
This is analysis of public documents, not investment, legal or tax advice.
Frequently asked questions
Update alert · free
An email when the selling a business tax rules change
When a rate, rule or filing behind this page changes: what changed, the one number that matters, and the source to check it yourself.
Sources: Instructions for Form 8594 (Rev. November 2021) and Form 8594; 26 U.S.C. 1(h), 11, 331, 453, 453A, 1060, 1202, 1231, 1239, 1245 and 1411; Treasury Regulations 1.1060-1, 1.1(h)-1, 1.338(h)(10)-1, 1.1411-4 and 1.1411-5; Rev. Proc. 2026-35, sections 3.01, 3.03 and 3.42; Rev. Proc. 2025-32, sections 2.01 and 4.03; IRS Publications 537 and 544 (2025) and Instructions for Form 4797 (2025); IRS Statistics of Income Publication 1304 Table 1.4 (tax year 2023, March 2026) and Sales of Capital Assets Data Table 1C (tax year 2015, February 2022). All worked examples are our arithmetic and are in the CSV. Compiled by CrowdfundedWealth on November 24, 2026.