Valuation fundamentals

Capital Gains Tax When Selling a Business

The short answer

When you sell a business, the price you agree to is not the number that matters most — the after-tax amount you actually keep is. That number depends on far more than a single capital gains rate: it depends on how the purchase price gets allocated across different types of assets, whether your business is a C corporation, S corporation, or LLC, which state or states can tax the gain, and whether you're paid all at once or over time through a seller note or earnout. Some of that gain may be taxed at capital gains rates, and some of it — particularly amounts tied to equipment depreciation recapture, inventory, or personal services like a consulting agreement — is often taxed as ordinary income instead, which is typically higher. Because so much of this is negotiated in the letter of intent and purchase agreement, the biggest tax planning opportunity usually happens before you sign anything, not after. This is general information only; every point here needs to be confirmed with your own CPA before you rely on it.

Your numbers

The numbers

Step 1 of 3

Loading your calculator…

Prefer the dedicated tool? Business Valuation Calculator

Why the after-tax number is the one that actually matters

It's easy to fixate on the headline sale price during a negotiation — the number in the letter of intent, the number your broker quotes, the number you tell your spouse. But that number isn't what you get to keep, spend, or reinvest. What matters is what's left after taxes, after any transaction costs, and after any amounts held back in escrow or paid out later through a note or earnout. Two offers with the same headline price can leave a seller with meaningfully different amounts in hand, purely because of how the deal is structured for tax purposes.

This is why experienced sellers, and the advisors who work with them, talk about a deal in terms of its full structure rather than just its price: how the price is allocated across different types of assets, what entity is selling, which states can tax the gain, and whether payment is immediate or spread over years. Each of those variables can shift the after-tax outcome by a meaningful amount, sometimes enough to change which of two competing offers is actually the better one.

None of this is about avoiding tax improperly — it's about understanding, in advance, roughly what you're likely to owe and when, so you aren't surprised at tax time and so you can negotiate deal terms with your eyes open. That requires involving a CPA early, not after the purchase agreement is signed.

Capital gain vs. ordinary income: why the distinction matters so much

In broad terms, gain from selling a business can fall into two very different tax buckets. Capital gain — generally the gain on the sale of capital assets like goodwill or certain long-held property — is usually taxed at rates that are lower than the rates that apply to ordinary income, and long-term capital gain (typically tied to how long an asset has been held) is often treated more favorably than short-term gain. Ordinary income, by contrast, is generally taxed at higher rates and includes things like wages, and — importantly for a business sale — certain categories of gain that the tax code treats as ordinary rather than capital even though they arise from selling the business.

The reason this distinction matters so much in a business sale is that a single transaction can produce both kinds of income at the same time, in different amounts depending on what exactly is being sold. Selling goodwill built up over years might generate long-term capital gain. Selling equipment you've depreciated, on the other hand, can trigger what's often called depreciation recapture — the portion of your gain that represents depreciation you already deducted against ordinary income in prior years can be taxed as ordinary income when the asset is sold, not as capital gain. Selling inventory is typically ordinary income as well, since inventory was never a capital asset to begin with.

The practical upshot is that the same total sale price can produce very different tax outcomes depending on what it's assigned to. This is precisely why the next topic — purchase price allocation — tends to be one of the more heavily negotiated, and least understood, parts of a business sale.

Purchase price allocation: why buyer and seller pull in opposite directions

In most business sales structured as an asset sale, the purchase agreement doesn't just state a single number — it allocates that number across categories of assets: equipment and other depreciable property, inventory, goodwill, a covenant not to compete, and sometimes a separate consulting or employment agreement with the departing owner. Both parties generally have to report the same allocation to the IRS on a specific tax form, so this isn't something either side can quietly handle differently after the fact.

This allocation matters enormously to the seller because different categories are typically taxed differently. Gain allocated to goodwill is often treated as capital gain. Gain allocated to equipment, to the extent it represents depreciation previously claimed, is often treated as ordinary income through depreciation recapture. Amounts allocated to inventory are typically ordinary income. Amounts allocated to a covenant not to compete or a consulting agreement are generally treated as ordinary income to the seller, essentially as payment for a service or a promise rather than for a capital asset.

Buyers, meanwhile, generally want the allocation to favor equipment, a non-compete, and a consulting agreement, because those amounts are often deductible or depreciable more quickly for the buyer, reducing the buyer's taxable income sooner. Sellers generally want more of the price allocated to goodwill, because that tends to produce capital gain treatment instead of ordinary income treatment. This is a real, structural tension — it isn't a minor drafting detail, and it's one of the reasons purchase price allocation should be discussed and roughly modeled well before the purchase agreement is finalized, not left for the closing table.

How entity type changes the outcome

The legal structure of the business being sold has a major effect on the tax result, largely independent of anything discussed above. A C corporation that sells its assets can face tax at the corporate level on the gain from the sale, and then the shareholder can face a second layer of tax when the remaining proceeds are distributed out of the corporation — a pattern often referred to as double taxation. This is one of the reasons C corporation owners frequently have a strong preference for selling stock rather than assets, since a stock sale is typically taxed only once, to the shareholder.

An S corporation is a pass-through entity, meaning the corporation itself generally doesn't pay federal income tax; gain from an asset sale passes through to the shareholders and is reported on their personal returns, subject to the capital gain versus ordinary income rules described earlier. Because S corporations avoid the double-tax layer that C corporations can face in an asset sale, the difference between an asset sale and a stock sale is often smaller for an S corporation seller, though it still isn't zero — the same allocation issues apply.

LLCs and partnerships taxed as pass-throughs work similarly to S corporations in that gain generally flows through to the owners once, though the mechanics of how a partner's or member's gain is calculated can get more technical, particularly with special allocations or different classes of ownership interest. Whichever entity type applies to your business, the point to take away is that the same sale price can produce a noticeably different after-tax result purely based on entity type, and that difference should be modeled with a CPA well before negotiating final terms.

State taxes and residency

Federal tax treatment is only part of the picture. Most states with an income tax also tax gain from selling a business, and state tax rates and rules vary widely and change over time, so this is another area where current numbers should come from your own advisor rather than from a general guide. Some states have no personal income tax at all, which can matter a great deal to where a seller who is relocating chooses to establish residency, and when.

Residency timing can be a meaningfully complex area on its own. Simply moving to a different state shortly before a sale doesn't automatically shift where the gain is taxed — states have their own rules for determining residency and for taxing income sourced to business activity that occurred within their borders, and those rules are enforced closely in cases involving a large one-time gain. If a move is being considered around the time of a sale, it needs to be planned carefully, well in advance, with both a CPA and, often, a state tax specialist, rather than treated as a simple change of address.

For businesses that operate in more than one state, there can also be questions about how much of the gain is attributable to each state, which adds another layer of complexity beyond simply looking at where the seller lives. None of this changes the core message: state and local tax exposure should be part of the planning conversation from the start, not a surprise discovered when the return is filed the following spring.

Installment sales, seller notes, escrow, and earnouts

Not every dollar of a sale price arrives at closing. It's common for part of the purchase price to be paid later — through a seller note the buyer pays down over several years, an earnout tied to the business hitting certain performance targets after closing, or an escrow holdback released once any post-closing claims period passes. Each of these can affect not just when a seller receives cash, but potentially when and how the related gain is taxed.

An installment sale — broadly, one where at least some payment is received in a year after the sale closes — can, in some circumstances, allow a seller to recognize the related gain over time as payments are received, rather than all at once in the year of sale, subject to a number of specific rules and exceptions that a CPA needs to walk through for your particular deal. This can smooth out a seller's tax picture and, depending on individual circumstances, potentially reduce the impact of being pushed into a higher tax bracket in a single year, though it also means carrying the risk that a buyer might not pay the note in full down the road.

Earnouts and escrows raise their own timing questions, since the seller doesn't have certain access to that money at closing and the final total sale price isn't even fully known yet. Depending on how an earnout or escrow is structured, the tax treatment of amounts eventually received can differ from a straightforward lump-sum sale. These are areas where the purchase agreement language and the tax treatment need to be worked out together, ideally by your CPA reviewing the relevant sections of the agreement before it's signed, not after funds start moving.

Plan before the LOI, not after

By the time a letter of intent is signed, a surprising amount of the eventual tax outcome is already effectively locked in. The LOI often specifies whether the deal is an asset sale or a stock sale, sometimes references a proposed purchase price allocation, and may outline how much of the price will be paid at closing versus through a note or earnout. Once those terms are agreed to, even in a non-binding document, renegotiating them later — after diligence, after the buyer has mentally committed to a structure — is far harder than raising them before signing.

The practical takeaway is to bring in a CPA, and ideally an M&A-experienced tax advisor, before you sign a letter of intent, not after the purchase agreement lands in your inbox for review. A good advisor can model, at least roughly, how a proposed structure is likely to be taxed, flag where the buyer's preferred allocation works against your interests, and help you understand what a competing offer at a lower headline price might actually be worth to you after tax, once note terms, allocation, and entity type are all factored in.

This is worth repeating because it's easy to overlook in the excitement of getting an offer: general information like this article can help you understand what questions to ask, but it isn't a substitute for advice from your own CPA about your specific business, your specific entity structure, and your specific state. Tax rules and rates change, and the details of your situation matter more than any general description can capture.

A hypothetical example

Say a hypothetical seller, Marcus, owns a commercial printing business organized as an S corporation, and agrees to sell it in an asset sale for a price that both sides have tentatively broken into categories: a meaningful amount for equipment (some of which has been substantially depreciated), a smaller amount for remaining inventory, a portion for a two-year covenant not to compete, and the balance for goodwill. The buyer's advisor proposes an allocation that leans heavily toward equipment and the non-compete, which works well for the buyer's own depreciation and deduction picture. Marcus's CPA points out that, from Marcus's side, more of that gain would land in categories generally taxed as ordinary income rather than capital gain if he simply accepted the buyer's proposed split, and suggests Marcus negotiate for a larger share of the price to be allocated to goodwill instead, while also reviewing how a portion of the price being paid through a two-year seller note might affect when Marcus recognizes the related gain. Marcus raises both points before signing the letter of intent rather than after, giving both sides room to negotiate the allocation as part of the broader deal rather than as an afterthought. This example is entirely hypothetical, uses no real tax rates, and is not a prediction of any specific outcome — actual results depend on the individual facts and current tax law, which is why Marcus, like any seller, still needs his own CPA's sign-off before closing.

Multiple ranges reviewed September 2026. They are a guide, not a quote or a formal appraisal — see how the process works.

Common questions

Is the sale price of my business the same as what I'll actually keep?

No. What you keep depends on taxes, transaction costs, and deal structure — including purchase price allocation, entity type, state taxes, and whether payment is immediate or spread out through a note or earnout. Always focus on the likely after-tax outcome, not just the headline price.

What's the difference between capital gain and ordinary income in a business sale?

Capital gain generally applies to the sale of capital assets like goodwill and is often taxed more favorably than ordinary income. Ordinary income treatment can apply to items like depreciation recapture on equipment, inventory, and amounts allocated to a non-compete or consulting agreement. A single sale can produce both types of income at once.

Why does purchase price allocation matter so much?

Because different categories of the purchase price — equipment, inventory, goodwill, a non-compete, a consulting agreement — are often taxed differently for the seller. Buyers and sellers frequently want opposite allocations, since buyers benefit from categories they can deduct or depreciate quickly, while sellers often prefer more allocated to goodwill for capital gain treatment.

Does it matter whether my business is a C corp, S corp, or LLC?

Yes, significantly. C corporations can face tax at both the corporate and shareholder level in an asset sale, sometimes called double taxation. S corporations and most LLCs are pass-throughs, so gain is generally taxed once, though allocation issues still apply. Confirm your specific situation with your CPA.

Can moving to a different state before selling reduce my tax bill?

Simply relocating shortly before a sale doesn't automatically change where the gain is taxed. States have their own residency and sourcing rules, and this area is closely scrutinized for large one-time gains. Any relocation plan around a sale needs advance planning with a CPA or state tax specialist.

How do seller notes and installment sales affect taxes?

When part of the price is paid over time, it may be possible in some circumstances to recognize the related gain as payments are received rather than all at once, subject to specific rules and exceptions. This can affect the timing of tax owed, but also means carrying the risk that the buyer may not pay in full later.

What about money held in escrow or tied to an earnout?

Escrow holdbacks and earnouts delay when a seller actually receives certain funds, and depending on how they're structured, the tax treatment and timing of that later income can differ from a simple lump-sum sale. These provisions should be reviewed with a CPA before the purchase agreement is signed.

When should I start thinking about taxes in the sale process?

Before you sign a letter of intent, not after. Many key structural decisions — asset versus stock sale, proposed allocation, payment timing — are effectively set in the LOI and are much harder to change once the buyer has committed to them. Involve a CPA early, and remember this article is general information, not tax advice for your specific situation.