Capital Gains Tax on a Business Sale
How much will you actually owe? We walk through the 2026 rates, the exact tax math on a $2M business sale, asset vs. stock sale structuring, the Section 1202 QSBS exclusion, and proven strategies to minimize capital gains.
Updated June 2026
How Much Is Capital Gains Tax on a Business Sale?
Quick answer: roughly 18%–23% of the sale price in federal tax for most sellers
Federal capital gains tax on a business sale typically runs 18% to 23% of the sale price for a married couple: long-term gains are taxed at 0%, 15%, or 20% under the 2026 brackets, plus the 3.8% Net Investment Income Tax (NIIT) on income above $250,000. Here is what that looks like at three common sale prices:
| Sale price | Federal LTCG + NIIT | Net proceeds after federal tax |
|---|---|---|
| $1,000,000 | $182,980 | $817,020 |
| $2,000,000 | $420,980 | $1,579,020 |
| $5,000,000 | $1,134,980 | $3,865,020 |
Assumptions: married filing jointly, 2026 federal brackets (0% to $98,900, 15% to $613,700, 20% above), 3.8% NIIT above $250,000 MAGI, the entire sale price is long-term capital gain (zero basis), no other income, and no state tax. Your basis, purchase-price allocation, other income, and state of residence will move these numbers — usually in your favor on the basis side and against you on state tax.
How Capital Gains Tax Works on Business Sales
Understanding long-term capital gains, holding periods, and tax rates
When you sell your business, the IRS treats the sale proceeds as a capital gain. Whether that gain is taxed at the favorable long-term capital gains rate (0%, 15%, or 20%) or the ordinary income rate (up to 37%) depends primarily on how long you've owned the business and how the sale is structured.
2026 Long-Term Capital Gains Tax Brackets
Your capital gains rate depends on your total taxable income (including the gain from the sale). These are the 2026 thresholds:
Entry level—rare for business sellers
Most business sellers fall here
High earners; plus 3.8% NIIT
Asset Sale vs. Stock Sale: The Tax Difference
The single biggest structural decision in your sale — and why buyers and sellers want opposite things
When you sell your business, the structure matters enormously for taxes. You have two primary options: sell the assets or sell the stock/equity. Each creates dramatically different tax consequences for you and the buyer.
In an asset sale, you're selling the individual assets: equipment, inventory, customer lists, real estate, intellectual property, and goodwill. The buyer gets a step-up in basis for depreciation purposes, which makes the deal attractive to them. However, you recognize gain on each asset category at its respective tax rate—some at favorable capital gains rates, some as ordinary income.
In a stock sale, the buyer purchases your business entity itself. From a legal standpoint, this is cleaner for you: the buyer assumes the entity's liabilities and ongoing contracts, your entire gain is generally long-term capital gain, and—if you hold qualifying C-corporation stock—Section 1202 can exclude some or all of it. But the buyer doesn't get a basis step-up, which makes this structure less common unless you accept a somewhat lower price to compensate.
| Factor | Asset Sale | Stock Sale |
|---|---|---|
| Buyer Perspective | Depreciation step-up, more deductions | Assumes existing liabilities |
| Seller Tax Impact | Higher blended tax (ordinary + capital gain) | Single layer of long-term capital gain |
| Depreciation Recapture | Significant §1245/§1250 recapture | Avoided in a stock sale |
| Goodwill Treatment | Buyer amortizes over 15 years (§197) | No amortization benefit for buyer |
| QSBS (§1202) Access | None | Available if C-corp stock qualifies |
| Typical Structure | Business assets sold individually | Entire equity purchased |
| Negotiation Leverage | Buyer pushes for this; seller should price it in | Buyer pays a discount for assumed risk |
| Post-Closing Liability | Seller’s entity keeps existing liabilities | Buyer assumes entity liabilities |
| Tax Planning Opportunity | Allocate price to favorable asset classes | Limited allocation options |
A real-world scenario: you're selling a $3M service business as an asset sale. You might allocate $1.5M to goodwill, $800K to equipment, $500K to inventory, and $200K to client lists. The goodwill and client lists are taxed as long-term capital gain. The equipment triggers depreciation recapture at ordinary income rates. The inventory gain is ordinary income. Three different rates inside one transaction—which is why the allocation (covered next) matters so much.
Goodwill & Purchase Price Allocation (§197 / §1060)
How the price gets divided among asset classes — and why it can swing your tax bill by six figures
In almost every business sale, goodwill emerges as the residual value after allocating the price to tangible and identified intangible assets. Goodwill represents the premium a buyer pays beyond the fair market value of identifiable net assets—your brand reputation, customer relationships, proprietary methods, and going-concern value.
How Each Asset Class Is Taxed to the Seller
| Asset Class | Seller Tax Treatment |
|---|---|
| Inventory / Receivables | Ordinary income |
| Equipment / Furniture (§1245) | Depreciation recapture at ordinary rates + capital gain on any excess |
| Real Estate (§1250) | Unrecaptured depreciation taxed at max 25% + capital gain on excess |
| Goodwill & Customer Lists | Long-term capital gain (most favorable) |
| Trademarks / Licenses | Long-term capital gain (most favorable) |
| Non-Compete Agreements | Ordinary income to seller (avoid over-allocating here) |
Under Section 1060, the total purchase price in an asset sale must be allocated among seven asset classes, and both parties report the allocation to the IRS on Form 8594. Smart allocation means working with the buyer to push value toward goodwill and intangibles where supportable: a $3M price with $2M of goodwill and $1M of tangible assets is far more tax-efficient for you than the reverse, assuming the tangible assets are heavily depreciated.
Helpfully, your incentives and the buyer's often align: the buyer wants amortizable intangibles (deductions over 15 years), and you want the same assets (capital gain rates). The IRS has authority to reallocate if the numbers aren't supported by fair market value.
Depreciation Recapture (§1245 / §1250)
The hidden ordinary-income tax inside every asset sale
Depreciation recapture is the tax that claws back the depreciation deductions you took over the years when you sell depreciable assets. For Section 1245 property (equipment, vehicles, furniture, machinery), gain up to the amount of depreciation previously deducted is taxed as ordinary income—up to 37%. For Section 1250 real property, the straight-line depreciation you claimed is taxed as "unrecaptured §1250 gain" at a maximum 25% rate. Both are worse than the long-term capital gains rate, and both apply regardless of your overall bracket.
Depreciation Recapture Example (§1245 Equipment)
Real $2M Business Sale Example
Breaking down federal, state, and NIIT taxes on a typical transaction
Let's walk through a concrete example. You own a digital marketing agency. You've held it for 8 years, and a larger firm just offered you $2M in cash.
Your Basis Calculation
Tax Liability (Federal Only—Worst Case, Already in the 20% Bracket)
That means you net $1,406,400–$1,512,400 after taxes. Without proper planning, you could leave $100K–$200K on the table.
Selling a medical or dental practice? The same math applies, but practice sales have their own allocation and entity quirks—see our dedicated guide to taxes on selling a medical practice.
Section 1202 QSBS Exclusion: Up to $10M–$15M Tax-Free
One of the largest tax breaks available to business founders — but only for C-corporation stock
Section 1202 of the Internal Revenue Code allows eligible founders to exclude up to $10 million (or 10x basis, whichever is greater) of gain from taxation when selling Qualified Small Business Stock (QSBS)—and up to $15 million for stock issued after July 4, 2025 under the 2025 tax law. This is not a deferral—it's a permanent exclusion, and excluded gain escapes the 3.8% NIIT too.
Eligibility Requirements
QSBS Rules After the 2025 Tax Law (OBBBA)
The One Big Beautiful Bill Act (OBBBA), signed July 4, 2025, significantly expanded Section 1202 for stock issued after July 4, 2025:
| Rule | Stock Issued Before 7/4/2025 | Stock Issued After 7/4/2025 |
|---|---|---|
| Exclusion percentage | 100% only after a 5-year hold (all-or-nothing) | Tiered: 50% at 3 years, 75% at 4 years, 100% at 5 years |
| Per-issuer gain cap | $10M (or 10x basis) | $15M (or 10x basis), inflation-indexed after 2026 |
| Gross-asset limit at issuance | $50M | $75M, inflation-indexed after 2026 |
Stock issued before July 4, 2025 keeps the old rules: a 100% exclusion only after the full 5-year hold, with the $10M cap and $50M gross-asset test. The tiered schedule matters most for founders converting to a C-corporation now—a sale just 3 years after conversion can already shelter half the gain on the newly issued stock.
Section 1202 in Action: $2M Sale Revisited
Installment Sales Strategy
Spread the gain across multiple years and reduce your tax bracket
An installment sale lets you recognize the gain over multiple years. Instead of the buyer paying $2M in cash on day one, they pay $500K per year for 4 years (plus interest). This spreads your taxable income and can keep you in the 15% bracket instead of pushing you to 20%.
Installment Sale vs. Lump Sum: Tax Impact
| Scenario | Year 1 Taxable Gain | Tax Bracket | Federal Tax | Flexibility |
|---|---|---|---|---|
| Lump Sum ($2M cash now) | $1,600,000 (if no 1202) | 20%+NIIT | ~$380,800 | None; full exposure year 1 |
| Installment Sale (4 years × $500K) | $400,000 per year | 15% each year | ~$60,000 per year | Can adjust if business changes |
| Installment + Section 1202 | ~$200,000 per year | 15% each year | ~$30,000 per year | Maximizes benefits across years |
When to Use Installment Sales
Good Fit
- ✓ Buyer is credit-worthy
- ✓ You want tax-smoothing
- ✓ High income year ($500K+)
- ✓ Concerned about bracket creep
Poor Fit
- ✗ You need cash immediately
- ✗ Buyer has weak credit
- ✗ Business is cyclical/risky
- ✗ Buyer might default
Opportunity Zone Reinvestment
Defer the gain and earn tax-free appreciation — under the new permanent 'OZ 2.0' rules
Opportunity Zones let you defer capital gains tax by reinvesting your business sale proceeds into a Qualified Opportunity Fund (QOF) within 180 days—and pay zero tax on the fund's appreciation if you hold it 10+ years. The program was created by the 2017 Tax Cuts and Jobs Act and was overhauled and made permanent by the 2025 tax law (OBBBA). The rules differ depending on when you invest.
Legacy Rules (Investments Under the Original Program)
Under the original program, deferred gains were recognized no later than December 31, 2026, and the 10% (5-year hold) and 15% (7-year hold) basis step-ups required investing early enough to hit those marks before that date—no longer possible for new money. If you invested under the legacy rules, your deferred gain comes due with your 2026 return, but the marquee benefit survives: hold the QOF 10+ years and the appreciation on the fund itself is still 100% tax-free.
OZ 2.0: The Permanent Program (New Investments)
OBBBA rebuilt the program for new investments, with new zone designations drawn every 10 years starting in 2027:
Rolling 5-Year Deferral
Instead of a fixed 2026 cliff, new investments defer the original gain for 5 years from the investment date—you recognize the deferred gain (less any basis step-up) at the 5-year anniversary.
10% Basis Step-Up at 5 Years (30% for Rural Funds)
Hold the QOF for 5 years and your deferred gain is reduced by 10%—or 30% if you invest through a Qualified Rural Opportunity Fund, a major new incentive for rural projects.
Zero Tax on OZ Appreciation at 10 Years
Hold the investment 10+ years and your basis steps up to fair market value when you exit—any gain on the OZ investment itself is 100% tax-free, same as the original program.
New Zone Maps Every 10 Years
States designate new zones on a rolling 10-year cycle beginning in 2027, under tighter low-income criteria. If you're selling your business in 2026–2027, confirm with your advisor which zone map and rule set applies to your investment timing.
Example: $2M Sale into an Opportunity Zone (OZ 2.0)
At the 5-year mark: recognize $1,440,000 (after the 10% step-up) instead of $1,600,000—tax deferred 5 full years.
After holding 10 years:
Tax-Minimization Strategies & Entity Selection
S-Corp, C-Corp, and LLC structures: which is best for your sale?
The entity structure you use to operate your business affects how it's taxed when you sell it. C-Corps, S-Corps, LLCs, and sole proprietorships have different capital gains treatments—and only one of them can ever access Section 1202.
Entity Structure Comparison
| Entity Type | Section 1202 Eligible? | Tax Treatment on Sale | Complexity | Best For |
|---|---|---|---|---|
| C-Corporation | Yes (original-issue stock only) | Stock sale: single layer + QSBS; asset sale: double tax | High | Founders planning a QSBS exit from day 1 |
| S-Corporation | No — S-corp stock never qualifies | Pass-through; taxed once at owner level | Medium | Operating tax savings; no QSBS at exit |
| LLC (pass-through) | No (not corporate stock) | Pass-through; no 1202 unless converted to C-corp | Low | Operating simplicity; convert early if QSBS matters |
| Sole Proprietor | No | Asset sale only; mix of ordinary income and capital gain | Lowest | Only if <$1M business; rare for substantial sales |
Deferral Strategy Comparison
| Strategy | Tax Deferral | Flexibility | Complexity | Best For |
|---|---|---|---|---|
| Lump Sum Sale | None—taxes due in year of sale | None | Lowest | Large sales where you want certainty |
| Installment Sale | 5-15 years | High—can stretch income | Medium | Building ongoing cash flow & smoothing income |
| Section 1045 Rollover | Full deferral into new QSBS | Medium—must reinvest | High | Continuing as an active investor/entrepreneur |
| Opportunity Zone | Rolling 5-yr deferral + tax-free growth at 10 yrs | High | Highest | Reinvesting $500K+ and willing to hold 10 years |
Charitable Remainder Trusts: Defer the Gain, Keep an Income Stream
If you're charitably inclined, a charitable remainder trust (CRT) can be one of the most powerful pre-sale moves available: contribute business interests to the CRT before the deal is signed, let the trust sell tax-free, and receive a lifetime income stream plus a partial charitable deduction. The gain is spread over the payout years instead of landing in one. See our full breakdown of the CRT strategy for deferring capital gains.
Pre-Sale Tax Planning Timeline
Start 18–24 months out — rushing the process costs six figures
Proper business sale tax planning should begin 18 to 24 months before the anticipated sale date. This timeline allows for strategic adjustments, documentation gathering, and optimization of the sale structure.
Months 1–6: Assessment Phase
- • Conduct a comprehensive tax audit of prior returns (5 years)
- • Calculate and verify basis in all assets
- • Evaluate QSBS qualification (if applicable)
- • Review depreciation schedules and recapture exposure
- • Model tax scenarios at different sale prices
Months 7–12: Optimization Phase
- • Consider entity structure changes (LLC/S-corp to C-corp for QSBS, if the timeline supports it)
- • Evaluate installment sale vs. full cash payment
- • Harvest capital losses to offset anticipated gains
- • Obtain professional valuations for intangible assets
- • Plan estimated tax payments
Months 13–18: Refinement Phase
- • Finalize the asset allocation strategy with the buyer
- • Draft the Section 1060 allocation schedule (Form 8594)
- • Resolve any outstanding tax compliance issues
- • Plan year-of-sale income recognition timing
- • Coordinate with your financial advisor on reinvestment (OZ, CRT, portfolio)
Months 19–24: Execution Phase
- • Close the sale with proper tax documentation
- • File final business returns (Form 1120, 1065, or 1120-S as applicable)
- • Report the sale on Form 8949 / Schedule D of your personal return
- • Pay final estimated taxes
- • If reinvesting in an Opportunity Zone, fund the QOF within 180 days
Common Mistakes & Pitfalls
How founders lose $50K–$500K in preventable taxes
Mistake 1: Ignoring the QSBS Holding Period (until the last minute)
Too many founders realize they're ineligible for Section 1202 when the buyer is signing the LOI. By then, it's too late. If your C-corp stock is approaching the 3-, 4-, or 5-year exclusion tiers and you expect a sale, mark your calendar now.
Mistake 2: Assuming an S-Corp or LLC Qualifies for QSBS
Section 1202 requires C-corporation stock acquired at original issuance. S-corp stock and LLC/partnership interests never qualify. If QSBS is part of your exit plan, the C-corp conversion has to happen years before the sale—not during diligence.
Mistake 3: Failing to Track Basis Properly
If you can't document your original stock purchase or paid-in capital, the IRS will challenge your cost basis claim. Keep receipts, board minutes approving stock issuance, and bank statements for every dollar contributed.
Mistake 4: Allowing a Tax Preparer to Handle the Sale Alone
Tax preparers file returns; they don't plan transactions. A CPA who specializes in M&A will structure your sale to minimize taxes. The difference is often $100K+.
Mistake 5: Not Considering the 3.8% NIIT in Tax Planning
Many founders focus on capital gains rates but forget NIIT. On a $1.6M gain, NIIT adds roughly $60,800. Factor it in when budgeting taxes.
Mistake 6: Accepting an Asset Sale Without Negotiating
If Section 1202 applies, demand a stock sale. If the buyer won't budge, negotiate the Section 1060 allocation toward goodwill and a price adjustment for your extra tax. The difference can be $100K–$300K.
Mistake 7: Overlooking Depreciation Recapture
Recapture on equipment is taxed as ordinary income—up to 37%—and is recognized in year one even in an installment sale. Sellers who model the whole deal at 15%–20% capital gains rates get an ugly surprise at filing time.
Your Action Plan
Immediate steps to maximize your sale proceeds
If selling within 6 months:
Schedule a CPA consultation THIS WEEK. Document your basis, confirm Section 1202 eligibility, and model your tax liability under lump-sum vs. installment scenarios.
If selling within 1–2 years:
Lock in the structure now: asset vs. stock sale, the Section 1060 allocation strategy, and installment terms. If your basis is unclear, reconstruct it using old returns, investment records, and capital contributions.
If selling in 2+ years:
Start planning now. If QSBS could apply, confirm your C-corp issuance date and target the 3-, 4-, or 5-year exclusion tiers. Consider Opportunity Zone or CRT strategies if you're reinvesting proceeds. Work with an M&A accountant to model timing.
In all cases:
Gather: (1) original incorporation docs, (2) all prior tax returns (5 years), (3) proof of basis, (4) depreciation schedules, (5) any loans or liens against the company. Your CPA will need these.
During the sale process:
Insist on a stock sale if eligible for Section 1202. Negotiate the purchase price allocation toward goodwill and away from recapture-heavy assets. Negotiate installment payments if you have a credit-worthy buyer and want tax smoothing.
After closing:
If reinvesting in an Opportunity Zone, redeploy funds into a QOF within 180 days. File your final business return and claim all applicable deductions. Plan your estimated tax payments for the next year.
Not sure who should run this playbook? Our guide to hiring a tax strategist covers what proactive sale planning costs, how it differs from tax preparation, and the questions to ask before you engage anyone.
Don't Leave Money on the Table
Proper tax planning on a business sale can save you $50,000–$500,000. The cost of a CPA consultation? $2,000–$5,000. The ROI? Often 20:1 or better.
Frequently Asked Questions
Ready to Minimize Your Tax Liability?
Our CPAs specialize in M&A tax planning and have saved business owners millions in capital gains tax. Book a free 30-minute consultation to model your specific scenario.
Find Out What You're Overpaying in Taxes
Book a free 30-minute call to walk through your situation. We'll tell you exactly how our CPA-led team can help — and whether we're the right fit.
