📊 Business Tax Tool

Capital Gains Tax on Business Sale Calculator

Estimate the potential capital gains tax from selling a business, including depreciation recapture and ordinary income components.

⚠️ Estimate only — actual tax liability depends on your basis, depreciation, income, filing status, and federal/state rules.
🏢 Business Sale Information
Total sale price of the business
Broker fees, legal fees, closing costs
What you originally paid for the business
Legal fees, due diligence, closing costs when buying
Total depreciation claimed on business assets
Major improvements, expansions, equipment upgrades
Casualty losses, legal fees, other adjustments
Portion of sale price allocated to goodwill
Your total taxable income from other sources
🏢

Enter your business sale information

to estimate your capital gains tax.

What Is Capital Gains Tax on the Sale of a Business?

Capital gains tax on a business sale is the tax on the profit (gain) from selling a business. The gain is calculated as the sale price minus selling expenses minus your adjusted basis. However, not all proceeds are treated as capital gain — depreciation recapture and certain assets may be taxed as ordinary income.

Understanding your capital gains tax on business sale is important for financial planning. This calculator helps you estimate your potential federal tax liability.

How to Use This Business Capital Gains Calculator

Using this business sale tax calculator is straightforward. Follow these steps:

  1. Enter the business sale price — The total amount you're selling the business for.
  2. Enter selling expenses — Broker fees, legal fees, closing costs.
  3. Enter the purchase price — What you originally paid for the business.
  4. Add acquisition costs — Legal fees, due diligence, closing costs when buying.
  5. Enter depreciation taken — Total depreciation claimed on business assets.
  6. Add capital improvements — Major improvements, expansions, equipment upgrades.
  7. Enter goodwill amount — Portion of sale price allocated to goodwill.
  8. Select sale type — Asset sale or stock/equity sale.
  9. Select business structure — Your entity type.
  10. Select holding period — Long-term (> 1 year) or short-term (≤ 1 year).
  11. Select filing status — Single, Married Joint, etc.
  12. Click Calculate — Review your estimated gain and tax.
💡 Important: Business sale taxation is complex. Depreciation recapture and asset allocation can significantly affect your tax liability.

How Are Capital Gains on a Business Sale Calculated?

The calculation involves several key steps:

Net Sale Proceeds = Sale Price − Selling Expenses

Adjusted Basis = Purchase Price + Acquisition Costs + Improvements + Other Adjustments − Depreciation Taken

Total Gain = Net Sale Proceeds − Adjusted Basis

Depreciation Recapture = Depreciation Taken (up to the total gain)

Capital Gain Portion = Total Gain − Depreciation Recapture − Ordinary Income Portion

Not all business sale proceeds qualify as capital gain. Depreciation recapture and certain assets (like inventory) are taxed as ordinary income.

What Is the Adjusted Basis of a Business?

Your adjusted basis represents your total investment in the business:

  • Original Basis — Purchase price plus acquisition costs.
  • Increased Basis — Capital improvements and other additions.
  • Decreased Basis — Depreciation taken and certain deductions.

A higher basis means a lower taxable gain. For detailed guidance, see IRS Publication 551.

How Selling Expenses Can Affect Your Gain

Selling expenses reduce your net sale proceeds and thus your taxable gain. Common selling expenses include:

  • Broker fees — Commissions paid to business brokers.
  • Legal fees — Attorney fees for the transaction.
  • Closing costs — Transfer taxes, recording fees, and other settlement costs.
  • Advertising — Marketing and listing expenses.

Asset Sale vs Stock Sale

The type of business sale significantly affects capital gains tax:

  • Asset Sale — Assets are sold individually. Different assets receive different tax treatment. Depreciation recapture applies to depreciable assets.
  • Stock/Equity Sale — Ownership interest is sold. Generally taxed as capital gains, with potential for different treatment based on holding period.
Important: In an asset sale, the allocation of purchase price among different assets affects the tax treatment. Goodwill is generally taxed as capital gain, while inventory is taxed as ordinary income.

Why Business Asset Allocation Matters

In an asset sale, different assets receive different tax treatment:

  • Inventory — Taxed as ordinary income.
  • Depreciable Assets — Subject to depreciation recapture.
  • Goodwill — Taxed as capital gain (if held long-term).
  • Real Property — May have special recapture rules.

Proper allocation can significantly impact your tax liability. Consult a tax professional for guidance.

Capital Gains vs Ordinary Income

Different portions of a business sale may be taxed differently:

  • Capital Gains — Long-term capital gains from the sale of business assets or stock, taxed at 0%, 15%, or 20% for 2026.
  • Depreciation Recapture — Taxed as ordinary income up to 25%.
  • Ordinary Income — Inventory and certain other items taxed at ordinary income rates.

How Depreciation Can Affect a Business Sale

Depreciation taken on business assets significantly affects capital gains tax:

  • Reduces Basis — Depreciation lowers your basis, increasing the gain.
  • Recapture — Depreciation is "recaptured" and taxed as ordinary income.
  • Section 1245 vs 1250 — Different types of assets have different recapture rules.

Even if you didn't claim depreciation, the IRS may require recapture of allowable depreciation. See IRS Publication 544 for details.

How Your Taxable Income Can Affect Capital Gains Tax

Your total taxable income affects the capital gains tax rate you pay:

  • 0% Rate — For single filers with taxable income up to $44,600 (2026).
  • 15% Rate — For single filers with taxable income between $44,601 and $492,300.
  • 20% Rate — For single filers with taxable income above $492,300.

Thresholds vary by filing status. This calculator estimates your rate based on the information you provide.

Federal Capital Gains Tax vs State Tax

This calculator estimates federal capital gains tax only. State treatment varies:

  • Some states have no capital gains tax (e.g., Texas, Florida, Washington).
  • Others tax capital gains as ordinary income (e.g., California, New York).
  • State-specific rules may also apply to business asset sales.

Check with your state's tax authority for complete guidance.

Step-by-Step Example: How Input Creates Output

Hypothetical Scenario:

Business sale price$750,000
Selling expenses$45,000
Net sale proceeds$705,000
Purchase price$300,000
Acquisition costs$20,000
Capital improvements$55,000
Depreciation taken$80,000
Adjusted basis$295,000
Estimated total gain$410,000
Depreciation recapture (25%)$80,000 × 25% = $20,000 tax
Capital gain (15%)$330,000 × 15% = $49,500 tax
Estimated total federal tax$69,500

This is a hypothetical example for illustration only. Actual tax liability depends on individual circumstances.

Common Mistakes to Avoid When Estimating Business Sale Capital Gains

  • Assuming all proceeds are capital gain — Depreciation recapture and ordinary income components exist.
  • Forgetting depreciation recapture — This can significantly increase your tax bill.
  • Not tracking basis adjustments — Improvements and other additions increase your basis.
  • Confusing asset and stock sales — These have very different tax implications.
  • Ignoring state taxes — State tax can significantly increase your total liability.

When to Consult a Tax Professional

Business sale taxation is complex. Seek professional advice when:

  • You're unsure about your sale type or business structure.
  • You have significant depreciation or recapture concerns.
  • You're considering a 1031 exchange or other deferral strategy.
  • You have multiple business assets with different tax treatments.
  • You're selling for more than $1 million or have complex ownership.

Always consult a qualified tax professional for your specific situation.

Frequently Asked Questions

Capital gains tax on a business sale is the tax on the profit (gain) from selling a business. The gain is calculated as the sale price minus selling expenses minus your adjusted basis. However, not all proceeds are treated as capital gain — depreciation recapture and certain assets may be taxed as ordinary income.

Calculate as: Net Sale Proceeds − Adjusted Basis = Total Gain. Net sale proceeds = sale price − selling expenses. Adjusted basis = purchase price + acquisition costs + improvements + other adjustments − depreciation taken. Then, subtract depreciation recapture to find the capital gain portion.

No. Different parts of a business sale receive different tax treatment. Depreciation recapture is taxed as ordinary income. Inventory is taxed as ordinary income. Only the remaining gain (after these components) is taxed at capital gains rates.

Adjusted basis is your total investment in the business: purchase price + acquisition costs + capital improvements + other basis adjustments − depreciation taken. A higher basis means a lower taxable gain.

Yes. Selling expenses such as broker fees, legal fees, and closing costs reduce your net sale proceeds, which in turn reduces your taxable gain. These costs are subtracted directly from the sale price.

Yes. Depreciation reduces your basis, increasing the gain. It also triggers depreciation recapture, which is taxed as ordinary income up to 25%. Even if you didn't claim depreciation, the IRS may require recapture of allowable depreciation.

In an asset sale, individual assets are sold, each with its own tax treatment. In a stock sale, ownership interest is sold and generally taxed as capital gains. Asset sales often result in more complex tax treatment due to depreciation recapture and ordinary income on certain assets.

Yes. Your total taxable income determines which capital gains rate applies. For 2026, the rates are 0% (up to $44,600 single), 15% ($44,601–$492,300 single), and 20% (above $492,300 single). Thresholds vary by filing status.

Possibly. This calculator estimates federal tax only. State tax treatment varies widely. Some states have no capital gains tax, while others tax it as ordinary income. Check with your state's tax authority for complete guidance.

No. This calculator provides an estimate for informational purposes only. Actual tax liability depends on many factors including transaction structure, business assets, depreciation, income, filing status, and federal and state rules. Always consult a qualified tax professional.

📘
SmartTaxCalculator Editorial Panel
Written and technically verified by the SmartTaxCalculator Personal Finance Editorial Panel

Our team of financial writers, tax researchers, and technical developers work together to deliver clear, accurate, and useful tax calculators and guides for U.S. taxpayers. We are committed to helping you understand your taxes better and make informed financial decisions.

Learn More About Our Team →
Disclaimer: This calculator provides an estimate for informational purposes only. Actual tax liability from the sale of a business can depend on the transaction structure, business assets, basis, depreciation, taxable income, filing status, federal and state rules, and other individual circumstances. Consult a qualified tax professional for advice about your specific situation.

Read full disclaimer →