Skip to main content
planin30

Business Sale Tax Calculator — Selling your business? See what you keep.

Enter the price, your basis and your year. See the federal, 3.8% surtax and state tax, what you keep at closing and over the whole deal, the ways to keep more, and what to set aside, by date.

  • Free to start
  • No sign-up to try
  • 2027 federal tables
A carpenter smiling at work in his own workshop
A family company, $8MKeeps $6.27M · $75,360 saved by spreading it

The whole sale, worked out like a return

The tax is your whole year with the sale minus the same year without it, so the gain lands on top of everything else you earn. Then every year a note pays you, and what each lever would save.

Cash you keep

What you keep, at closing and over the deal.

The cash you keep comes first, then the tax split into federal, the 3.8% surtax and your state. Paid over several years, each year’s tax is worked out on its own, beside what taking it all at closing would cost.

“Spreading the payments saves about $75,360 of tax against taking it all at closing ($1,561,635).”Over the whole deal, on the “Family company sold over five years” example
  • Federal, the 3.8% surtax and your state, split out
  • Each later year’s payment and its tax
  • Against taking it all at closing
The cash kept and the tax, then the whole deal year by year: Cash you keep

Cash you keep 1/2

A father and son laughing with a customer in their family bakery

Any shape of deal

The deal as it really is.

A note paid over the years or equity rolled into the buyer, the part of the price taxed as ordinary income, depreciation on buildings at 25%, losses carried over. Each sits in a fold of its own, so a simple sale stays simple.

“$4,800,000 over 4 years · $400,000 ordinary · $250,000 depreciation · $240,000 costs”The inputs of the family company example
  • A note over up to 10 years, or the buyer’s shares
  • Recapture, building depreciation and short-term gains
  • Losses carried over, itemized deductions
How you’re paid: $4,800,000 paid evenly over the next 4 years, with $400,000 of ordinary income and $250,000 of building depreciation

QSBS and more

Every way to keep more, priced on your numbers.

Founders’ shares can be qualified small business stock, which leaves up to $10M of gain out of federal tax. Then each lever is priced by running your sale again: spreading it, an opportunity fund, losses, and what a C corporation loses if the buyer wants assets.

“Gain QSBS leaves out of federal tax $10,000,000”The “Founder selling startup shares” example
  • QSBS, including the 2025 rules
  • Spreading it, an opportunity fund, losses
  • What an asset sale would cost a C corporation
QSBS leaving $10,000,000 of a founder’s gain untaxed, then the ways to keep more: Startup shares (QSBS)

Startup shares (QSBS) 1/2

Four founders talking it through around a meeting table

What to set aside

What to put aside, and when it’s due.

The sale’s tax rounded up, to keep apart at closing. Then the federal payments by date: pay 110% of last year’s tax during the year and the rest is due with your return, with no penalty.

“Set aside $702,000 at closing”The family company example
  • The amount to set aside at closing
  • Each estimated payment by date
  • The safe harbor that avoids a penalty
Set aside $702,000 at closing, then the federal estimates for 2027 by date
A gray-haired potter shaping a vase at his wheel

Start with the price and your basis.

Free to start. No sign-up to try.

Work out my sale →

About the Business Sale Tax Calculator

Selling a business is usually the largest tax bill of a lifetime, and it lands in one year. The gain is the price less your cost basis and the costs of the sale. Most of it is a long-term capital gain, taxed at 0%, 15% or 20% federally, but the rate you pay depends on everything else you earn that year, because gains are stacked on top of your other income. This calculator works out the tax the way a return does: your whole year with the sale, minus the same year without it.

Enter the price, your basis, the year the sale closes, your filing status, your state and your other income, and it shows the cash you keep after tax first, then the tax split into federal income tax, the 3.8% net investment income tax and state tax. Folds below hold the rest of a real deal: a note paid over several years (each year’s gain taxed that year) or equity rolled into the buyer, the part of the price taxed as ordinary income, depreciation on buildings taxed at up to 25%, a C corporation and qualified small business stock (QSBS), which can leave $10M or more of gain untaxed, and losses carried over from earlier years.

Under “Ways to keep more” it prices each lever on your own numbers by running the calculation again: spreading the payments, an opportunity fund, checking for QSBS, selling losing investments the same year, and what a C corporation loses if the buyer wants assets instead of shares. It also says how much to set aside at closing and when to pay it, with the safe-harbor estimated payments by date.

The same calculator handles any other big sale. Choose what you are selling: shares, funds or crypto; a rental or investment property; your home, with its $250,000 or $500,000 exclusion; or art, coins and other collectibles, whose long-term gain is taxed at up to 28%.

What you can do

  • Cash you keep after tax, shown first
  • Federal, 3.8% surtax and state tax split out, with the effective rate on the gain
  • Federal tables for the year the sale closes, including 2027
  • A note paid over the years, with the tax year by year, or equity rolled into the buyer
  • QSBS for C corporation shares, including the 2025 rules (50%, 75% and 100% after 3, 4 and 5 years)
  • Ordinary income, building depreciation at 25% and short-term gains taxed at their own rates
  • Ways to keep more, each priced on your numbers
  • The safe-harbor estimated payments by date, and the balance due with your return
  • Shares, rentals, your home and collectibles, each with its own rules
  • All 50 states and DC, with Washington’s capital gains tax and the states that tax gains differently

Frequently asked questions

What tax rate do I pay when I sell my business?

Most of a gain on a business owned more than a year is a long-term capital gain, taxed federally at 0%, 15% or 20% depending on your total taxable income; on a large sale nearly all of it is at 20%. Part of the price can be taxed as ordinary income at up to 37%: receivables of a cash-basis business, depreciation recaptured on equipment, and inventory. Depreciation taken on buildings is taxed at up to 25%. Most states tax the gain as ordinary income on top.

Does the 3.8% net investment income tax apply?

Not if you worked in an LLC, partnership or S corporation you are selling. The surtax applies to investment income, and the gain on a business you materially participated in is not investment income. An owner who did not work in it, such as a silent partner, pays 3.8% on the gain once income passes $250,000 for a married couple or $200,000 for a single filer. Gain on C corporation shares counts even if you worked there.

Does taking payments over several years lower the tax?

Often. On an installment sale each payment’s share of the gain is taxed in the year you receive it, so less of it lands in the top bracket and the 3.8% surtax. The calculator shows the tax year by year and against taking it all at closing. Ordinary income such as recaptured depreciation is still taxed in the year of sale, and above $5M of notes the IRS charges interest on the tax you defer.

What is QSBS, and does my sale qualify?

Qualified small business stock is stock bought from a C corporation when it was issued, in an active business whose assets were under $50M then ($75M for shares issued after July 4, 2025). Held 5 years, up to $10M of gain ($15M for the newer shares), or 10 times your basis if more, is free of federal tax; newer shares get half off at 3 years and three quarters at 4. Some states, including California, tax it anyway.

How is rollover equity taxed?

Equity you roll into the buyer in a tax-deferred exchange is not taxed at closing. Its share of your gain is taxed when you later sell it. The calculator shares your cost basis between the cash and the rolled-over part in proportion to the price, the usual treatment, taxes only the cash part now, and estimates the later tax at today’s rates.

When do I have to pay the tax on the sale?

Federal tax is paid during the year through withholding and quarterly estimates, due April 15, June 15, September 15 and January 15. You avoid an underpayment penalty if those payments reach 110% of last year’s tax (100% if last year’s income was $150,000 or less), even though the sale makes this year’s tax far higher. The rest is due with your return the following April 15. Your state usually has its own rules.

What does this calculator leave out?

The alternative minimum tax, local income taxes, interest on a note, and taxes the company itself pays, such as an Illinois replacement tax or a pass-through-entity tax election. It is an estimate for planning how much to set aside; your accountant should confirm the final figure from the purchase agreement.

Related calculators and tools

Other calculators and tools that pair well with the Business Sale Tax Calculator.

Photos by Ali Mkumbwa, Shoham Avisrur, Cherrydeck, Vitaly Gariev and Phyllis Lilienthal on Unsplash.