(704) 520-3588

assist@smallbizcontroller.io

1 Blue Hill Plaza, Suite 1509, Pearl River

Ecommerce Profit Margins: How to Calculate and Increase Yours 

Ecommerce profit margins calculation and strategies to improve profitability

Profit margin is the percentage of revenue a business actually keeps after costs are subtracted. It sounds simple until a founder pulls up a real profit and loss statement and realizes a product selling for $40 with $15 in cost of goods isn’t nearly as profitable as it looks, once marketplace fees, shipping, payment processing, and ad spend are factored in. Revenue tells you how much came in. Margin tells you what’s actually left, and for e-commerce specifically, the gap between those two numbers is usually wider than founders expect.

What’s a Good Profit Margin for Ecommerce?

This is one of the most searched questions on the topic, and the honest answer depends on the margin type being discussed and the product category.

As a general benchmark, most e-commerce accountants consider a net profit margin between 10 and 20 percent healthy for a growing DTC brand, with anything above 20 percent strong. Below 5 percent, the business has very little room to absorb a bad month. Gross margin runs much higher, often 50 to 70 percent for brands selling their own manufactured or private label products, and considerably lower, sometimes 15 to 30 percent, for businesses reselling other brands’ products where there’s less room to control cost.

These ranges vary by category. Apparel and beauty tend to run higher gross margins because of markup flexibility. Electronics and commoditized products tend to run thinner, since price competition limits what can be charged above cost. The number that matters most isn’t a universal benchmark anyway; it’s whether margin is stable or shrinking over time and whether it’s high enough to fund the next quarter’s growth without borrowing.

How to Calculate Ecommerce Profit Margins

The basic formula is:

Profit Margin = (Net Profit / Revenue) x 100

Net profit is revenue minus every cost involved in running the business, not just the product cost. That distinction is where most miscalculations happen. For a deeper breakdown of product costs and the COGS formula, see our guide on how to calculate COGS for ecommerce businesses.

Gross profit margin = (Revenue minus COGS) / Revenue. It answers how much the core product itself makes before overhead is considered.

Net profit margin = (Revenue minus all expenses) / Revenue, including COGS, marketplace fees, shipping, payment processing, advertising, salaries, software, and every other operating cost. It answers the real question: after running the entire business for a period, what percentage of revenue was actually kept?

Contribution margin = (Revenue minus variable costs) / Revenue, where “variable costs” means COGS, shipping, transaction fees, and ad spend tied directly to that product, excluding fixed overhead like salaries or rent. This is the number that matters most when deciding whether to keep selling a specific SKU, since it shows what each additional unit sold actually contributes toward covering fixed costs.

A worked example: a product sells for $50. COGS is $18. Marketplace fees and payment processing run $8. Shipping costs $6. That’s $32 in direct cost, leaving a contribution margin of $18, or 36 percent. If advertising to acquire that sale costs $10 and allocated fixed overhead runs roughly $5 per unit, net margin drops to about 6 percent. Same product, three different numbers, depending on which margin is being measured, and none of them are wrong, just answering different questions.

Markup vs Margin: Why They’re Not the Same Number

This confusion causes more pricing mistakes than almost anything else in e-commerce. Markup is calculated on cost. Margin is calculated on price. They use the same two numbers but divide by different denominators, which means they’re never equal except at zero.

Markup = (Price minus Cost) / Cost Margin = (Price minus Cost) / Price

Take a product that costs $10. Pricing it with a 50 percent markup gives a price of $15. But the margin on that $15 sale is only 33 percent, not 50, because margin is measured against the higher number (price), not the lower one (cost). A founder who sets prices by targeting “50 percent margin” using a markup calculation will consistently underprice, and that gap gets wider as markup percentage increases. This single mix-up quietly erodes margin across an entire catalog if pricing decisions are built on it.

Benefits of High Profit Margins in Ecommerce

A higher margin isn’t just a better-looking number on a report. It changes what a business can actually do.

It creates a buffer against volatility. Shipping rates increase, fee structures change, and ad costs spike during competitive seasons. A business running a 5 percent net margin has almost no room to absorb any of that without a loss. A business at 20 percent has real breathing room.

It funds growth without external capital. High-margin businesses reinvest profit into inventory, product development, or marketing without taking on debt or giving up equity. Thin-margin businesses often can’t grow without outside funding, because there’s nothing left over to reinvest.

It changes what a bad month costs. A single underperforming month doesn’t threaten a healthy margin business the way it threatens one already near break-even, which is as much a stress difference as a financial one.

It improves how the business is valued. Acquirers and investors weigh margin far more heavily than raw revenue. A $2 million revenue brand at 20 percent net margin is generally more attractive than a $5 million revenue brand at 3 percent.

Common Ecommerce Profit Margin Mistakes

A few patterns show up repeatedly in e-commerce books, and each one distorts the margin picture in a specific way.

Averaging margin across the whole catalog. A blended margin number can look healthy while hiding two or three SKUs that are actually losing money on every sale. Margin needs to be reviewed at the product level, not just the business level.

Mistaking markup for margin when pricing. Covered above, but worth repeating because it’s the single most common pricing error in the space.

Leaving marketplace and payment fees out of the cost stack. These get miscategorized as general operating expenses instead of being tied to the specific sale, which makes gross margin look better than it actually is and skews product-level decisions.

Not updating COGS after a supplier price change. When supplier costs change, you need to update your COGS data so each SKU reflects its current product cost. Cost accounting helps you track those costs at the SKU level. In contrast, outdated cost data can quietly overstate profitability for months after a price increase—until the bank balance no longer matches the reports.

Ignoring the cost of holding unsold inventory. Carrying costs and eventual write-downs on slow-moving or obsolete stock reduce realized margin even when the original sale looked profitable on paper.

How Returns and Refunds Quietly Erode Margin

The return rate is one of the most underweighted factors in e-commerce margin analysis. Returns and refunds can affect revenue, shipping costs, restocking labor, and inventory value. When a product is returned, the business loses the sale revenue but often doesn’t recover the full cost: return shipping, restocking labor, and sometimes a partial write-down on inventory that can’t be resold at full price all eat into that unit’s actual contribution.

A product with a healthy margin on paper can be quietly unprofitable once its return rate is factored in, especially in categories like apparel or footwear where return rates commonly run higher than the business average. Margin should be reviewed net of returns and refunds, not just on gross sales, or the numbers will consistently overstate how well specific products are actually performing.

How to Improve Ecommerce Profit Margins

Improving margin works better as a sequence than a scramble across ten tactics at once.

Start with pricing, not cost-cutting. Many e-commerce brands underprice relative to what the market will bear, especially on hero products with strong repeat purchase rates. A small, well-tested price increase often improves margin faster than any cost-reduction effort, with less operational disruption.

Review true cost and margin at the individual SKU level. Averages hide products that are quietly subsidized by others. This usually reveals one or two items that should be discontinued, repriced, or de-emphasized in marketing.

Address fulfillment and shipping costs directly. Negotiating carrier rates, consolidating shipments, or adjusting packaging to reduce dimensional weight charges often recovers real margin without touching price or product at all.

Improve average order value before chasing new customers. Bundling, minimum thresholds for free shipping, and post-purchase upsells increase revenue per transaction without increasing acquisition cost.

Track and reduce return rate by product. Since returns erode margin in ways that don’t show up in a simple sales report, product pages, sizing information, and quality control on high return SKUs deserve direct attention, not just a blanket return policy.

Where Bookkeeping Fits Into Protecting Margin

None of this works if the underlying books and financial reporting aren’t accurate. Margin calculations are only as reliable as the categorization behind them, and e-commerce bookkeeping has a specific failure point most general bookkeepers miss: marketplace settlement reports bundle sales, fees, refunds, and shipping into a single deposit, and if that deposit gets recorded as one lump revenue figure instead of being broken out, margin at both the product and business level becomes unreliable.

Reconciling marketplace payouts monthly, tying fees and refunds back to the correct accounts rather than a generic expense bucket, and keeping COGS current as supplier costs change are what make the margin formulas above actually trustworthy rather than a rough guess dressed up as a report. Regular inventory reconciliation also helps ensure COGS and margin calculations are based on reliable inventory data.

Ecommerce Profit Margins

Revenue is the number that gets celebrated. Margin is the number that determines whether an e-commerce business survives its next hard quarter, funds its own growth, and is worth something when it’s time to sell. Calculating it correctly at the gross, net, and contribution level; pricing off margin rather than markup; accounting honestly for returns; and keeping the bookkeeping behind it clean are what separate e-commerce businesses that compound over time from ones that grow revenue every year while somehow never getting ahead.