In an asset sale, the buyer purchases the store’s assets (inventory, domains, trademarks, content, customer lists and goodwill) and leaves your company behind. In a stock sale, the buyer purchases your shares or LLC interests and takes over the whole entity. For most ecommerce owners, the asset sale vs stock sale question comes down to two things: how your company is taxed and which accounts and contracts can actually move to a new owner.
This guide explains how each structure is taxed, how the purchase price gets split across IRS asset classes, why the entity type matters more than the label, and which ecommerce issues, such as marketplace accounts and sales tax, push a deal one way or the other.
This article is general education, not tax or legal advice. Tax results depend on your entity, basis, state and deal terms, so have a CPA and a deal attorney run the numbers on any offer before an LOI is signed.
Key Takeaways
- Most small and mid-sized ecommerce acquisitions close as asset sales because buyers get a stepped-up tax basis and leave unknown liabilities with the seller.
- For a C corporation, an asset sale can mean two layers of federal tax: once at the company level and again when the proceeds reach the shareholders.
- For S corporations and LLCs, the gap between the two structures is usually smaller and depends mainly on how the price is allocated.
- Both parties report an asset sale on IRS Form 8594, which splits the price across seven asset classes. Inventory, recaptured depreciation and non-compete payments are generally taxed as ordinary income; goodwill usually earns capital gain treatment.
- Platform rules can decide the structure: some marketplace accounts, merchant accounts and supplier contracts cannot simply be assigned to a new company.
- Unpaid sales tax follows the entity in a stock sale, and many states can also pursue an asset buyer, so buyers check your nexus history before they agree to either structure.
What Is the Difference Between an Asset Sale and a Stock Sale?
The legal difference is who the buyer contracts with and what changes hands. In an asset sale, your company is the seller. It signs an asset purchase agreement, transfers the listed assets to the buyer’s new entity, pays off its own debts and then distributes what remains to you. Your company still exists afterward, usually as an empty shell you wind down.
In a stock sale, you are the seller. You transfer your shares (or membership interests, in an LLC) and the buyer steps into your shoes as owner of the same company, with the same tax ID, bank accounts, contracts, permits and history. Nothing inside the business has to be re-titled because the owner of the entity is the only thing that changes.
Experienced ecommerce business brokers raise the structure early, often in the first offer discussion, because it changes the after-tax value of a bid. Two offers with the same headline price can leave you with very different amounts once each is run through your tax situation.
What transfers in an ecommerce asset sale
An asset purchase agreement for an online brand typically lists:
- Inventory on hand, in transit and at third-party warehouses or fulfillment centers
- Domains, the storefront and its theme, apps and content
- Trademarks, copyrights, product designs and photography
- Customer and email lists, subject to your privacy policy
- Supplier and manufacturer relationships, molds and product specifications
- Social media profiles, review history where the platform allows it, and standard operating procedures
- Goodwill: the brand’s reputation and its ability to keep generating sales
Cash, receivables and the company’s own liabilities usually stay with the seller unless the agreement says otherwise.
Asset Sale vs Stock Sale for an Ecommerce Business: Side-by-Side
The table below compares how each structure typically plays out for an online brand. Individual deals vary, and a good deal team will negotiate around most of these defaults.
| Factor | Asset sale | Stock or membership-interest sale |
|---|---|---|
| What the buyer acquires | Selected assets, moved into the buyer’s entity | Your whole company, including its history |
| Unknown or past liabilities | Generally stay with the seller’s company | Stay inside the company the buyer now owns |
| Buyer’s tax basis | Stepped up to the price paid, so the buyer can depreciate and amortize it | Carries over; no step-up without a special election |
| Seller tax for a C corporation | Corporate tax on the sale, then shareholder tax on distribution | One layer of tax, usually long-term capital gain |
| Seller tax for an S corporation or LLC | One layer, but part of the gain can be ordinary income | One layer, mostly capital gain, with exceptions for some LLC assets |
| Marketplace and merchant accounts | Must be transferable under each platform’s rules or rebuilt | Stay with the entity, subject to change-of-control terms |
| Supplier and 3PL contracts | Need assignment, often with the counterparty’s consent | Usually continue unless a change-of-control clause applies |
| Sales tax exposure | Stays with the seller, though some states impose successor liability on buyers | Stays inside the company the buyer acquires |
| Paperwork | Asset purchase agreement, bills of sale, IP assignments, Form 8594 | Stock or membership-interest purchase agreement |
Why Buyers Usually Ask for an Asset Sale
Buyers of online brands prefer asset deals for two reasons: protection and tax savings.
Protection. An ecommerce company can carry liabilities that are hard to spot in diligence: uncollected sales tax in states where it crossed an economic nexus threshold, product liability claims, intellectual property disputes, consumer privacy complaints or chargebacks still working through a processor. When the buyer purchases only the assets, those problems generally stay with your company.
Tax savings. In an asset purchase the buyer’s basis equals what it paid. Inventory is expensed as it sells, equipment can be depreciated, and goodwill and most other intangibles are amortized over 15 years under Section 197 of the tax code. On a brand where most of the price is goodwill, that deduction stream is a meaningful part of the buyer’s return. In a stock purchase the buyer inherits the company’s existing basis, which for a self-built brand is often close to zero.
That is also why lenders and SBA-backed buyers tend to structure acquisitions as asset purchases. If you are considering a financed buyer, our guide to seller financing and SBA loans in ecommerce sales explains how lenders look at the deal.
How Your Entity Type Changes the Tax Math
Whether a stock sale saves you a lot of tax, a little or nothing depends mainly on how your business is taxed. This is the part owners most often get wrong.
C corporations: the double-tax problem
A C corporation pays its own income tax. In an asset sale, the corporation recognizes the gain and pays corporate tax (currently a flat 21% federal rate). When it distributes the remaining cash to you, you pay tax again on the distribution. In a stock sale, you sell your shares directly and pay only one layer, usually at long-term capital gain rates.
A simplified, hypothetical example shows the size of the gap. Assume a C corporation brand with a $2,000,000 federal taxable gain, an owner with negligible stock basis, and top federal rates (20% long-term capital gain plus the 3.8% net investment income tax). State tax is ignored.
| Hypothetical, federal only | Asset sale by the C corporation | Stock sale by the owner |
|---|---|---|
| Gain | $2,000,000 at the corporate level | $2,000,000 at the shareholder level |
| Corporate tax at 21% | $420,000 | None |
| Cash distributed to owner | $1,580,000 | Not applicable |
| Shareholder tax at 23.8% | About $376,000 | $476,000 |
| Total federal tax | About $796,000 (about 40%) | $476,000 (23.8%) |
C corporation owners have a second reason to prefer a stock sale. Gain on qualified small business stock under Section 1202 can be partly or fully excluded from federal tax, but only when shares are sold. For stock issued after July 4, 2025, the exclusion is tiered at 50%, 75% or 100% after three, four or five years, with a per-company cap that rose to $15 million. Older stock follows the earlier rules. Qualification has several tests, so confirm eligibility with your CPA before relying on it.
A few C corporation owners also explore selling personal goodwill directly to the buyer, alongside the company’s assets. That only works where the value genuinely sits with the owner personally, such as key relationships that were never assigned to the company. For most brands, where customers buy because of the product and the storefront, it is a hard position to defend.
S corporations: one layer, with a few traps
An S corporation passes its income through to its shareholders, so an asset sale is generally taxed once. The character of the gain flows through as well: goodwill typically produces capital gain, while inventory and recaptured depreciation produce ordinary income. Two exceptions matter:
- Built-in gains tax. If your S corporation converted from a C corporation, gain on assets it held at the conversion can still face corporate-level tax if they are sold within the five-year recognition period.
- State rules. A few states tax S corporations at the entity level or do not recognize the S election, which can change the comparison.
Because the buyer wants a basis step-up and you want simplicity, S corporation deals often use a hybrid. A Section 338(h)(10) election (for corporate buyers) or a Section 336(e) election lets a stock sale be treated as an asset sale for tax purposes. Another common route is an F reorganization, in which the S corporation is restructured so that a new LLC holding the business can be sold. These tools keep contracts, permits and accounts inside an entity that continues to exist while giving the buyer asset-sale tax treatment.
LLCs: often an asset sale in disguise
A single-member LLC that has not elected corporate taxation is disregarded for federal income tax. If you sell 100% of its membership interests, the IRS generally treats the transaction as a sale of the underlying assets. The buyer still gets a step-up, and you report the gain asset by asset.
A multi-member LLC taxed as a partnership is different. Selling your interest usually produces capital gain, but the portion tied to inventory and receivables (so-called hot assets under Section 751) is taxed as ordinary income. For an inventory-heavy brand, that slice can be significant. An LLC that elected S corporation status follows the S corporation rules above.
How the Purchase Price Is Allocated on Form 8594
In an asset sale, the total price has to be split across the assets sold, and that split decides how much of your gain is ordinary income and how much is capital gain. Buyer and seller each report the allocation on IRS Form 8594, attached to the tax return for the year of the sale. The IRS requires the residual method: the price is assigned to each class up to fair market value in order, and whatever is left over lands in goodwill.
| Form 8594 class | What it includes | Ecommerce examples | Typical seller tax character |
|---|---|---|---|
| Class I | Cash and deposit accounts | Operating bank balances (often excluded) | No gain |
| Class II | Actively traded property, CDs, foreign currency | Rare in store sales | Depends on the asset |
| Class III | Receivables and assets marked to market | Marketplace or processor balances owed to the company | Usually ordinary |
| Class IV | Inventory held for sale to customers | Finished goods, packaging, stock at fulfillment centers | Ordinary income on any amount above cost |
| Class V | Other tangible assets | Equipment, photo studio gear, warehouse racking | Ordinary up to prior depreciation, then capital |
| Class VI | Section 197 intangibles other than goodwill | Trademarks, domains, customer lists, non-compete agreements | Mostly capital; non-compete payments are ordinary |
| Class VII | Goodwill and going-concern value | The brand’s reputation and earning power | Usually long-term capital gain |
Buyers and sellers pull in opposite directions. A buyer wants more value in inventory and equipment, which it can deduct quickly, while a seller wants more in goodwill and other capital assets. Settle the split during negotiations and write it into the definitive agreement, so the two Forms 8594 match.
A hypothetical allocation for an S corporation brand
Picture a Shopify brand owned by an S corporation that has never been a C corporation, sold for $3,000,000 in an asset deal. The numbers are invented for illustration:
- Inventory, $400,000, sold at its landed cost basis: no gain, because price equals cost.
- Equipment, $25,000, against an adjusted basis of $5,000: $20,000 of ordinary income from depreciation recapture.
- Non-compete agreement, $75,000: $75,000 of ordinary income to the owner.
- Trademarks, domains and customer lists, $500,000, with no basis because the brand built them: capital gain.
- Goodwill, the remaining $2,000,000: long-term capital gain.
In this example only $95,000 of the $2,595,000 total gain is ordinary income. A stock sale would have turned most of that $95,000 into capital gain as well, but the buyer would likely have offered less to make up for losing the step-up. For many S corporation and LLC owners, the price and the allocation matter more than the label on the deal. For counting stock at closing and pricing it at landed cost, see our guide to inventory in an ecommerce sale.
Ecommerce Issues That Can Decide the Structure
Taxes are only half of the decision. For online brands, practical transfer questions often settle it.
Marketplace and payment accounts
Marketplaces and payment processors set their own rules on whether an account can move to a new owner. Where an account cannot be assigned to a new legal entity, the buyer may prefer to acquire the entity that holds it, or the parties work through the platform’s own transfer process. Amazon is the most common example. Our guide to Amazon seller account transfers and Brand Registry explains what the platform’s published policies allow. Payment processor accounts, ad accounts and wholesale accounts often have to be reopened by the buyer in an asset deal, which adds transition time.
Supplier, manufacturer and 3PL contracts
Many supply agreements prohibit assignment without consent. In an asset sale, each key contract needs to be assigned, and a supplier that refuses can stall closing. Stock sales avoid assignment, but contracts with change-of-control clauses still require consent. Build a list of your key contracts early and check each one’s assignment language.
Sales tax nexus and successor liability
The Supreme Court’s 2018 Wayfair ruling opened the door to economic nexus: a state may now oblige an out-of-state store to collect its sales tax after that store’s sales or order count in the state passes a set threshold. Marketplace facilitator laws now shift collection to platforms like Amazon for marketplace orders, but sales through your own website are still your responsibility. A brand that grew quickly without registering in new states can carry years of uncollected tax.
In a stock sale, that exposure stays inside the company the buyer acquires, so expect a buyer to ask for a nexus study, specific indemnities and an escrow. In an asset sale, the liability generally stays with you, but many states have successor liability or bulk-sale rules that let them pursue the buyer unless a tax clearance is obtained. Either way, buyers will price this risk in. Cleaning up registrations or using voluntary disclosure agreements before going to market usually costs less than a price reduction later. It belongs near the top of your ecommerce due diligence checklist.
Separately, some states charge sales or transfer tax on certain tangible assets sold in an asset deal, while inventory bought for resale is usually exempt. Occasional-sale exemptions vary by state, so ask your advisor how your states treat the transfer.
How Payment Terms Interact With the Structure
Deferred payments change when and how you are taxed, whichever structure you choose:
- Installment sales. A seller note can let you spread capital gain over the years you receive payments. Gain on inventory and depreciation recapture does not qualify for installment treatment and is taxed in the year of sale, so an inventory-heavy deal can create a tax bill before the cash arrives.
- Earnouts. Contingent payments raise their own timing and character questions. Our explanation of how ecommerce earnouts are structured covers the commercial side to discuss with your CPA.
- Consulting and employment agreements. Payments for your post-closing help are compensation, taxed as ordinary income, not as part of the sale price. Keep them separate from the purchase price and set at a fair rate.
- Escrows and holdbacks. Money held in escrow for indemnity claims may be taxed in the year of sale or only when it is released, depending on how the escrow is set up. Our article on seller holdbacks explains the mechanics; confirm the tax timing before you agree to a large one.
How to Choose: Questions to Settle Before You Accept an Offer
Work through these with your CPA and attorney once serious offers arrive:
- How is my business taxed today: C corporation, S corporation, single-member LLC or partnership?
- Was the company ever a C corporation, and if so, when did it convert?
- Which accounts, licenses and contracts cannot be assigned to a new entity?
- What is my after-tax amount under each offer, using the buyer’s proposed allocation?
- Do I have sales tax exposure in states where I was not registered, and how will the buyer handle it?
- Could a 338(h)(10), 336(e) or F reorganization give the buyer its step-up without forcing an asset transfer?
- How much of the price is deferred, and how will each deferred piece be taxed?
Start with a realistic sense of value. A quick estimate from our business valuation calculator gives you a number to run through each structure before you talk to buyers.
When to Talk to a Broker
Ideally, get advice before the LOI rather than after it. The structure, allocation and treatment of inventory and sales tax should be written into the LOI, because they are much harder to renegotiate once a buyer has spent money on diligence. A broker who has closed online brand deals can compare competing offers on an after-tax basis, coordinate with your CPA, and push for terms that protect what you keep.
DealPipe’s ecommerce M&A advisors are paid on results alone. There is no retainer and no charge before closing; a success fee applies only if your company sells, and its structure is set out for your specific situation during a free, confidential consultation.
The Bottom Line
Asset sales are the default for ecommerce acquisitions because they protect buyers and give them valuable deductions. Whether that costs you a lot depends on your entity: C corporation owners can lose a large share of proceeds to double taxation, while S corporation and LLC owners mostly need to watch the allocation. Platform accounts, supplier contracts and sales tax history often tip the decision. Before you compare offers, request a free, confidential valuation and have a CPA model each structure on your actual numbers.
Frequently Asked Questions
A stock sale is usually better for the seller on taxes, especially for C corporation owners, who avoid a second layer of tax. It also leaves liabilities with the company the buyer acquires. For S corporation and LLC owners the tax gap is often small, so the price, allocation and indemnities can matter more than the structure.
An asset purchase lets the buyer choose which assets and liabilities it takes, so unknown problems such as unpaid sales tax or old claims generally stay with the seller. The buyer also gets a tax basis equal to the price paid, which it can deduct over time through depreciation and 15-year amortization of goodwill and other intangibles.
An LLC has membership interests rather than stock, but the owners can sell those interests, which works like a stock sale legally. For federal tax, a single-member LLC sale is generally treated as a sale of assets. A multi-member LLC taxed as a partnership produces mostly capital gain, with ordinary income on the share tied to inventory and receivables.
Goodwill you built yourself usually has no tax basis, so the amount allocated to it is gain. For a pass-through owner who held the business more than a year, that gain is generally taxed at long-term capital gain rates. In a C corporation asset sale, it is taxed at the corporate level first, then again when distributed.
Form 8594 is the IRS Asset Acquisition Statement. When a business changes hands through an asset deal, the buyer and the seller each generally file it with their own return for the tax year in which the sale closes. It allocates the price across seven asset classes, and that allocation decides how much of the seller’s gain is ordinary income.
In a stock sale, past sales tax liabilities stay inside the company, which the buyer now owns, so buyers ask for indemnities and escrows. In an asset sale the liability generally stays with the seller, but many states can also pursue the buyer under successor liability rules unless a tax clearance is obtained before closing.