Tax Implications of Selling a Business: What Online Business Owners Need to Know
When you sell a business, you pay tax on the gain: the sale price minus your owner’s basis and selling costs, taxed at capital gains or ordinary income rates depending on what you sell and how the deal is structured. Every deal on the Empire Flippers marketplace is an asset purchase, so how the price is split between goodwill, inventory, equipment and any non-compete decides most of your federal tax bill.
This guide covers US federal tax for owners of online businesses. It is general information, not tax or legal advice. Rules change and every deal is different, so bring in a CPA or tax attorney before you sign a letter of intent. Sellers outside the US follow their own country’s rules.
What Taxes Apply When You Sell a Business
Most of the tax on a business sale is federal income tax on your gain. The rate depends on what each part of the price pays for:
- Long-term capital gains (0%, 15% or 20%, based on your taxable income): capital assets you owned for more than one year. For most online businesses this is the largest part of the price: goodwill, the domain, the website and its content.
- Ordinary income (10% to 37%): inventory sold above its cost, depreciation recapture on equipment or software you already wrote off, payments for a non-compete, and consulting fees after the sale.
- State income tax: may apply on top, depending on where you live.
- Net investment income tax: high earners can owe this on part of the gain, mainly if they were not active in the business.
How the gain is reported depends on your structure. Take Julie, who owns Lakeside Collectibles, an online retail business she runs as a sole proprietor. Her yearly profit already goes on her individual return through Schedule C, so a sale lands there too: capital gains on Schedule D and Form 8949, and ordinary income items such as recapture on Form 4797. Owners of partnerships and S corporations receive their share of the gain on a K-1. A C corporation pays corporate tax on an asset sale, and the owners pay again when the cash is paid out to them.
Asset Sale vs. Entity Sale: Why It Changes the Bill
In an asset sale, the buyer buys the business’s assets, such as the domain, website, content, inventory, accounts and supplier relationships, and you keep the legal entity. In an entity sale (a stock or membership-interest sale), the buyer buys the company itself, with its history and liabilities.
For the seller, an entity sale is often simpler: the gain on shares is usually all long-term capital gain. An asset sale splits the price across asset classes, so part of the gain can be ordinary income. Buyers prefer asset sales because they avoid inherited liabilities and can write off what they pay for the assets over time. If you own a single-member LLC, selling the LLC itself is still treated as an asset sale for federal tax.
Every deal on the Empire Flippers marketplace is done as an asset purchase, using a standard asset purchase agreement created by our lawyers. That makes the purchase price allocation your main tax lever. Buyer and seller each report the allocation to the IRS on Form 8594, so agree on it in writing and file matching numbers.
How to Work Out Your Gain: Owner’s Basis
When you sell a business, your taxable gain is the sale price minus your owner’s basis in the business and your selling costs, such as broker commission and legal fees. Owner’s basis (or owner’s equity) is the dollar amount that has been invested in the business as of the date of sale. Many owners have difficulty tracking this account balance, which can cause complications when calculating business taxes.
The formula for calculating the owner’s basis is as follows:
Initial capital investment + additional capital contributions – withdrawals
Note the following:
Capital Contributions
When an owner invests any type of asset into their business, their capital account increases. The term “capital” refers to the total dollar amount of assets the owner has invested in the business.
An asset is defined as a resource that a company uses to generate sales and profits. Most owners invest cash (an asset) into new businesses, but they may also contribute other assets, such as equipment, hardware, or software.
Over time, an owner may contribute additional capital (cash, equipment, etc.) to finance company growth.
Assume, for example, that a business needs $40,000 in computer hardware to manage higher sales and production requirements. The firm carries an average cash balance of $30,000, and the company doesn’t have enough cash on hand to both pay for this purchase and continue to operate. In such a case, the owner may decide to contribute $40,000 in cash in additional capital so that the business can purchase the necessary equipment.
Withdrawals
Retained earnings represent profits that are kept (retained) in the business in cash to allow for business expansion. Assume, for example, that Julie’s company has a $90,000 balance in retained earnings, which represents three years’ worth of profits that were kept in the business.
A withdrawal is a payment to the owner in excess of company earnings. If, for example, Julie takes $70,000 out of the business at the end of 2018, in which she earned $60,000 in profit, the first $60,000 of this sum is considered profit, but the additional $10,000 is a withdrawal that reduces Julie’s capital investment in her business. This $10,000 comes from her retained earnings balance.
Capital Gains vs. Ordinary Income: A Worked Example
If Julie sells her business for $700,000 and her owner’s basis is $500,000, she generates a $200,000 capital gain.
Because Julie is a sole proprietor who reports her business profit on Form 1040, she calculates her capital gains tax on Schedule D of Form 1040. Here are the steps that Julie takes to complete Schedule D:
- Short-term vs. long-term gains: a gain on an asset you owned for one year or less is short-term. A gain on an asset you owned for more than one year is long-term.
- Tax rates on long-term gains: 0%, 15% or 20%, depending on your taxable income.
- Tax rates on short-term gains: the same as your ordinary income tax brackets, from 10% to 37%.
Given the current tax structure, you should avoid selling a business that you’ve owned for a year or less, because the capital gains tax rate for this sale may be much higher than it would be for a business you’ve owned for more than a year. If a buyer has a strong interest in purchasing such a business, you’ll need to demand a sale price that covers the higher business taxes you’ll pay on this short-term gain.
If Julie is in the 15% capital gains bracket, she will pay ($200,000 × 15%), or $30,000, in capital gains taxes after completing Schedule D. A capital gain is added to other sources of income on Form 1040.
This example treats the whole gain as a long-term capital gain. In an asset sale, part of it may not be. If $20,000 of Julie’s price were paid for a non-compete agreement, that $20,000 would be taxed at her ordinary income rate, not 15%. Inventory works the same way: anything she receives above its cost is ordinary income.
Capital gains can be reduced by the dollar amount of capital losses generated during the same tax year. If, for example, Julie had $5,000 in losses on online sales of common stock, those losses can reduce the $200,000 capital gain on the business sale to $195,000, which cuts her capital gains tax by $750, to $29,250. Hence, a lower gain reduces her total tax liability.
How Goodwill, Earnouts and Seller Financing Are Taxed
Goodwill
For most online businesses, goodwill is the biggest part of the price: the brand, traffic, customer list and earning power beyond the hard assets. Goodwill you built yourself has no basis, and the gain on it is usually a long-term capital gain if you owned the business for more than a year. Buyers prefer more of the price on assets they can write off faster, so the allocation is a point to negotiate, not a formality.
Earnouts
An earnout is part of the purchase price paid later, based on how the business performs. Payments are usually taxed as sale proceeds in the year you receive them, often under the installment sale rules. If the payments are really pay for your work after the sale, they are taxed as ordinary income. In 2025, Empire Flippers sold 168 businesses, and more than a quarter of them included earnouts, mostly on deals above $100,000. We manage the earnouts for our customers.
Seller financing
When the buyer pays part of the price over time, the installment method usually lets you report the gain as you collect it, which spreads the tax over more than one year. Interest you charge the buyer is ordinary income. Depreciation recapture is taxed in the year of sale, even if you have not been paid yet. See how seller financing works on our marketplace.
Know your number before you plan your taxes. Our free valuation tool takes a minute or two.
Sell your Business Free Valuation
Tax Planning Moves Before You Sign an LOI
Most of your tax outcome is set by the time the letter of intent and the purchase agreement are signed. Bring in your CPA before that point and work through these steps:
- Check your holding period. Sell after more than one year of ownership so the capital part of the gain qualifies for long-term rates.
- Model the allocation. Ask your CPA to estimate your tax under a few allocations between goodwill, inventory, equipment and any non-compete, then agree on one with the buyer.
- Compare upfront cash with deferred payments. One financing option on our marketplace pays the seller 85% of the listing price upfront and 15% over four months. A balance paid over months can move part of the gain into the next tax year when the sale closes late in the year.
- Keep consulting separate from the price. If you agree to help after closing, set that pay separately and expect it to be taxed as ordinary income.
- Plan your estimated tax payment. A large gain usually needs a quarterly estimated payment for the quarter you are paid.
- Review your structure early. Changing your entity right before a sale rarely helps and can create new tax. Talk to your CPA months ahead, as part of your exit strategy.
Taxes come out of the price you get, so start from a realistic value. See how to value a website with real sales data.
Records Your CPA and Attorney Will Want
Your CPA can only plan with numbers they can prove. Have these ready before you list:
- Monthly profit and loss statements for at least the last 12 months, and your business tax returns for recent years
- Owner’s basis records: every capital contribution and withdrawal, year by year
- An asset list with purchase dates and cost: equipment, software, domains or content you bought, and inventory at cost
- Depreciation and amortization schedules from past returns
- The letter of intent, the asset purchase agreement and the agreed allocation schedule
- Earnout or financing terms with expected payment dates
- The closing statement showing commission and all fees
- Sales tax and VAT registrations if you sell physical products. Amazon sellers with UK or EU sales should read our guide to selling an Amazon FBA business.
Keep business and private bank accounts separate so your profit and basis are easy to prove. For the full preparation list, see how to prepare your online business for sale and our selling a business checklist. Buyers will ask for many of the same records during legal due diligence.
Tax on Selling a Business: Frequently Asked Questions
How much tax do you pay when you sell a business?
You pay tax on your gain, not on the full sale price. The gain is the price minus your owner’s basis and selling costs such as broker commission and legal fees. Goodwill and other capital assets held for more than a year are taxed at long-term capital gains rates of 0%, 15% or 20%, while inventory, depreciation recapture, a non-compete and consulting are taxed at ordinary income rates of 10% to 37%.
Does selling a business count as income?
Yes. The gain from a business sale is taxable income in the year you receive it. Most of it is usually reported as a capital gain on your individual return, while items such as inventory, recaptured depreciation and non-compete payments are reported as ordinary income.
How do you avoid capital gains tax when selling a business?
In most sales you cannot avoid capital gains tax entirely, but you can lower it or spread it out. Own the business for more than one year before you sell, agree on a fair purchase price allocation that puts most of the price on goodwill, and consider taking part of the price over time so the gain is reported as you are paid. Plan this with a CPA before you sign the letter of intent: once the purchase agreement is signed, most of the tax outcome is fixed.
How are goodwill and earnouts taxed in a business sale?
Goodwill you built yourself is usually taxed as a long-term capital gain if you owned the business for more than a year. Earnout payments are usually treated as part of the purchase price and taxed when you receive them, often under the installment sale rules. If an earnout is really pay for work you do after the sale, it is taxed as ordinary income.
Can seller financing reduce my tax bill?
It can spread your tax bill, and sometimes lower it. Under the installment method you usually report the gain as you collect each payment, which can keep more of the gain in lower brackets across several years. Interest you charge the buyer is ordinary income, and depreciation recapture is taxed in the year of sale even if you have not been paid yet. Read how seller financing works on our marketplace.
Should I ask for an allocation schedule in the purchase agreement?
Yes. In an asset sale, buyer and seller each report how the price is split across asset classes to the IRS on Form 8594, and the numbers should match. Agreeing on the allocation in writing before closing avoids a dispute later and lets your CPA estimate your tax before you commit.
Is selling my LLC different from selling its assets?
For a single-member LLC, usually not: the IRS treats the sale of the LLC as a sale of its assets, so the same allocation rules apply. For a multi-member LLC taxed as a partnership, owners sell their interests, which is mostly capital gain, but the part tied to inventory and receivables is ordinary income. Ask your CPA which applies to your structure.
When are taxes on a business sale due?
Tax on the gain is reported on your return for the year of the sale, but you may need to pay part of it sooner. A large gain usually means making a quarterly estimated tax payment for the quarter you are paid, or raising your withholding, to avoid an underpayment penalty. Your CPA can calculate the amount once the sale closes. Beyond taxes, read about what to do after selling your business.
Does the broker commission reduce my taxes?
Yes. Broker commission, legal fees and other costs of selling reduce the amount you realize from the sale, which lowers your taxable gain. Keep the closing statement that shows every fee. Our commission tiers are listed on the Sell Your Site page.
