Business Sale Tax Calculator
Learn more about this 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 this calculator covers
Use these as a quick scope check before you rely on the output.
- •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.


