Business Tax

How Is Tax Calculated When Selling a Small Business?

Selling a business is often a complex transaction, and the tax implications can be just as complicated. A business can contain many different assets, so the tax result of a sale may depend on what was actually transferred rather than only on the headline purchase price.

This article explains the basic U.S. federal tax concepts involved when selling a small business, including asset sales, stock sales, basis, depreciation, and purchase price allocation.

⚑ Quick Answer

The tax on selling a business cannot always be calculated from one simple capital-gains formula. A simplified asset-level calculation is:

Amount Received βˆ’ Selling Expenses βˆ’ Adjusted Basis = Gain

But different business assets can receive different tax treatment. Some gains may be capital gains while other amounts may be treated differently under applicable tax rules.

Important: The transaction structure matters. Asset sales and stock sales can have different tax consequences. This is a simplified educational overview, not a substitute for professional tax advice.

Is Selling a Business Taxable?

Yes, selling a business can create taxable gain. However, the tax result depends on many factors, including:

Understanding these factors is essential before estimating potential tax consequences.

Why Business Sale Tax Is Different From a Simple Capital Gain

A business sale is not the same as selling a single capital asset. A business typically contains many different types of assets:

Each asset category can have different tax characteristics. This is why business sale tax is more complex than a simple capital gains calculation.

Asset Sale vs Stock Sale

The structure of the transaction can significantly affect the tax consequences.

Asset Sale Stock/Equity Sale
Individual business assets are transferred Ownership interests are transferred
Different assets receive different tax treatment Generally treated as a capital gain (if held long-term)
Buyer may get a stepped-up basis in assets Buyer typically inherits the seller's basis (carryover basis)
More complex tax reporting Simpler reporting in some cases
Seller may have ordinary income from certain assets May be eligible for capital gains treatment
Important: The tax consequences can differ significantly between asset sales and stock sales. The "better" structure depends on the specific circumstances of the buyer and seller. Consult a qualified tax professional for guidance.

How Business Sale Gain Is Calculated

The gain from a business sale is generally calculated at the asset level:

Amount Received βˆ’ Selling Expenses βˆ’ Adjusted Basis = Gain

However, this calculation applies to each asset individually. The total gain from the sale is the sum of the gains from each asset transferred.

What Is Adjusted Basis?

Tax basis represents the taxpayer's investment in an asset for tax purposes. The relevant basis may differ among different types of business assets:

Adjusted Basis = Original Basis + Improvements βˆ’ Depreciation + Other Adjustments

The exact adjustments depend on the specific asset and applicable tax rules.

How Depreciation Can Affect the Sale

Depreciation matters when selling depreciated business assets. Depreciation deductions reduce the adjusted basis of assets, which can increase the gain recognized on sale.

Important: Depreciation-related gain can have different tax treatment from other gain. The exact treatment depends on the type of asset and applicable tax rules.

Inventory and Ordinary Income

Inventory is treated differently from capital assets in a business sale. The gain from inventory is generally treated as ordinary income, not capital gain.

This is why not every dollar from a business sale is necessarily capital gain.

Goodwill and Intangible Assets

A business may include various intangible assets that can affect the tax result:

Different intangible assets can have different tax characteristics. Goodwill, for example, may be treated as a capital asset in some circumstances.

Selling Expenses

Transaction costs may affect the amount realized or tax calculation depending on the nature of the expense. Examples may include:

Note: The treatment of selling expenses can depend on the specific expense and applicable tax rules. Consult a qualified professional for guidance.

Purchase Price Allocation

In an asset sale, the total business sale price may need to be allocated among different assets. This allocation can significantly affect the tax treatment.

Why allocation matters: Different assets receive different tax treatment. Allocating more of the purchase price to assets that generate favorable tax treatment (like capital assets) vs. ordinary income assets (like inventory) can affect the overall tax result.

In many cases, the buyer and seller must agree on the allocation, which is reported to the IRS using forms such as Form 8594. Consult current IRS guidance for specific requirements.

Worked Example

Let's walk through a simplified example of a business sale.

πŸ“Š Example: Selling a Small Business

Scenario: A small business is sold for $900,000 with $50,000 in selling expenses. The simplified adjusted basis of the assets being transferred is $300,000.

Simplified Calculation
Total Sale Price$900,000
βˆ’ Selling Expenses-$50,000
Amount Realized$850,000
βˆ’ Adjusted Basis-$300,000
Estimated Total Gain$550,000
πŸ’‘ What this means: This is a simplified illustration only. The $550,000 is NOT automatically the taxable income or tax owed. A real business sale may involve multiple asset categories and different tax treatment for different portions of the transaction.

Records to Keep

Keep these records to support your business sale calculation:

Federal vs State Tax

Federal and state tax rules may differ. State tax treatment varies widely:

Do not assume every state follows federal treatment. Check your state's current rules or consult a qualified professional.

Common Mistakes

Here are some common mistakes to avoid when estimating tax on a business sale:

How to Estimate Business Sale Tax

Before selling your business, use this checklist:

For a quick estimate, try our Selling a Business Tax Calculator.

Selling a Business Tax Calculator
Estimate gain, capital gains, and tax when selling a business.
Try Calculator β†’

You may also find these related calculators helpful:

Frequently Asked Questions

Yes, selling a business can create taxable gain. The tax result depends on the transaction structure, the assets transferred, and the taxpayer's circumstances.

Tax is generally calculated at the asset level: Amount Received βˆ’ Selling Expenses βˆ’ Adjusted Basis = Gain. Different assets receive different tax treatment.

Not entirely. While some assets may generate capital gains, othersβ€”like inventoryβ€”may be treated as ordinary income. The tax treatment depends on the assets being sold.

In an asset sale, individual business assets are transferred. In a stock sale, ownership interests are transferred. The tax consequences can differ significantly.

Yes. Depreciation reduces the adjusted basis of assets, which can increase the gain. Depreciation recapture may also apply, affecting the tax treatment.

Inventory is generally treated as ordinary income, not capital gain. The portion of the sale price allocated to inventory affects the tax result.

Adjusted basis is your investment in an asset for tax purposes: Original Basis + Improvements βˆ’ Depreciation + Other Adjustments. It affects the gain calculation.

Yes. Goodwill may be treated as a capital asset in some circumstances. The portion of the sale price allocated to goodwill can affect the tax result.

Yes. Selling expenses such as broker fees and legal fees reduce the amount realized, which reduces the gain. The treatment depends on the nature of the expense.

Purchase price allocation is the process of dividing the total business sale price among the individual assets being transferred. The allocation affects the tax treatment of each asset.

Keep: sale agreement, closing documents, purchase price allocation, asset basis records, depreciation schedules, broker and legal invoices, and previous tax returns.

Yes, in many states. State tax treatment varies widely. Some states have no capital gains tax, while others tax it as ordinary income. Check your state's rules.

Yes. Our Selling a Business Tax Calculator can help estimate gain and tax based on the information you provide. However, calculators provide estimatesβ€”not official tax determinations.

No. Gain is the profit from the sale. Tax owed depends on the type of gain (capital vs ordinary), applicable rates, deductions, credits, and the taxpayer's overall circumstances.

SB
Written by Shabnam Bano
Last Updated: August 15, 2026
Tax Year: 2026
Disclaimer: This article is for educational and informational purposes only and is not tax, legal or financial advice. Tax treatment depends on individual circumstances, applicable federal and state rules, and current tax law. Consider consulting a qualified tax professional for advice about your specific situation.

Read full disclaimer β†’