In e-commerce, you can generate millions in revenue and still lose money every month. This paradox is lived by many merchants without even realizing it. The reason? A commercial margin that is poorly calculated, poorly tracked, or simply unknown. Commercial margin is the number one profitability indicator for any online store. It determines whether each sale brings you closer to profitability or further away. This comprehensive guide explains everything: definition, formulas, sector benchmarks, mistakes to avoid, and concrete improvement strategies.
Definition and formula for commercial margin
Commercial margin represents the difference between the selling price excluding tax and the purchase cost excluding tax of a product. It is the gross profit generated by the sale of goods, before deducting operating expenses. In e-commerce, it is the first line of your income statement and the foundation of every commercial decision.
Markup rate vs margin rate
The markup rate is calculated on the purchase price, the margin rate on the selling price. For a product purchased at €40 excl. tax and sold at €100 excl. tax, the margin is €60, the markup rate is 150%, and the margin rate is 60%. Distributors often use the margin rate to compare performance across stores.
In practice, the calculation of commercial margin must include all costs directly linked to product acquisition: supplier purchase price, inbound freight costs, customs duties, customs clearance fees, and initial packaging costs. Neglecting these items leads to overestimating real margins and making poor pricing decisions.
Commercial margin, gross margin and net margin: what are the differences?
These three concepts are often confused, even by experienced e-commerce operators. Yet they measure very different realities and must not be used interchangeably. Here is a comparative table to clarify each concept.
| Indicator | Formula | What it measures | Main use |
|---|---|---|---|
| Commercial margin | Selling price - Purchase price | Gross profit on buy-sell | Compare product lines and suppliers |
| Gross margin | Revenue - Cost of goods sold | Profitability before fixed costs | Drive pricing policy |
| Variable cost margin | Revenue - Total variable costs | Contribution to fixed cost coverage | Calculate break-even point |
| Net margin | Net result / Revenue x 100 | Final profitability after all charges | Measure true profitability |
The classic beginner mistake
Many e-commerce operators confuse commercial margin with actual profitability. A 60% margin rate seems excellent, but if your customer acquisition cost represents 25% of revenue, logistics costs 15%, and fixed charges 10%, your net margin drops to 10%. Only a holistic P&L view enables proper management.
Commercial margin benchmarks by e-commerce sector
Margins vary considerably from one sector to another. They depend on the nature of the products, bargaining power with suppliers, competition, and consumer expectations. Here are the ranges observed in major online commerce sectors in 2025.
| Sector | Average margin rate | Key factors | Watch points |
|---|---|---|---|
| Fashion and apparel | 50 - 65% | Own brands, volumes | High return rates (20-30%) |
| Food and grocery | 20 - 35% | Volume, subscriptions | Expiry dates, losses, cold logistics |
| Electronics and high-tech | 15 - 30% | Strong competition, imposed retail price | Costly after-sales service, warranties |
| Beauty and cosmetics | 55 - 70% | Possible own brand, recurrence | Expiry, regulated returns |
| Home and decoration | 40 - 55% | Differentiating products | Logistics costs (bulky items) |
| Sports and outdoor | 35 - 50% | Own brands or major brands | Strong seasonality |
| Luxury and premium | 60 - 80% | Brand image, exclusivity | High presentation costs |
| Toys and children | 40 - 55% | Seasonality, strong brands | Strict regulations |
| Health and wellness | 45 - 60% | Own brand supplements | Regulations, claims |
| Pet supplies | 30 - 45% | High loyalty, subscriptions | Low-end food products |
| Jewelry and accessories | 55 - 70% | Own brand, craftsmanship | Volatile raw materials |
| DIY and gardening | 30 - 45% | Technical products, after-sales | Competition, seasonality |
How to precisely calculate your commercial margin in e-commerce
Identify the net supplier purchase price
Start from the supplier's catalog price and deduct all discounts and rebates obtained. Then add inbound freight costs, customs duties if importing from outside the EU, and customs clearance fees. This complete purchase cost is your real calculation base.
Integrate ancillary product-related costs
Some costs are directly attributable to the product: packaging or repackaging costs, labels and instructions, product photography costs amortized over the product lifecycle, compliance certificates. These often-forgotten costs can represent 2 to 5% of the purchase price.
Calculate margin product by product
Never calculate your margin as an average across the entire catalog. Calculate the unit margin for each reference. You will often discover that 20% of products generate 80% of your actual margin, and that some products are sold at a loss without your knowledge.
Analyze margin by category and collection
Aggregate data by category to identify the most profitable product families, detect underperforming categories, and make informed assortment decisions: develop profitable categories, rationalize or reprice the less profitable ones.
Measure margin by sales channel
In omnichannel e-commerce, margin varies by channel: your own website, Amazon, B2B marketplaces, resellers. Each channel has its own commissions (15-30% on Amazon), specific logistics costs, and return rates. A channel-by-channel analysis often reveals that some channels destroy value despite high volumes.
Mistakes that destroy your commercial margin
- Ignoring return costs: in fashion, return rates reach 25 to 35%. Each return costs logistics, refurbishment, and sometimes markdown. These costs must be integrated into the margin calculation per product.
- Underestimating storage costs: warehouse rental, preparation staff, stock insurance, losses and theft. These charges often represent 8 to 15% of the purchase price and are rarely allocated at the product level.
- Failing to renegotiate supplier terms: many growing e-commerce businesses forget that their increased volume gives them greater bargaining power. A 5% reduction in purchase price translates directly into margin points.
- Running promotions without a guaranteed minimum margin: sales and promotions are necessary to clear stock, but selling at a loss destroys overall profitability. Define a minimum margin threshold below which no promotion is authorized.
- Calculating margin on catalog price rather than the actual net price paid: commercial discounts, supplier credits, and settlement discounts can vary the actual purchase price by 5 to 20% from the catalog rate.
- Neglecting payment processing fees: Stripe, PayPal, or buy-now-pay-later commissions represent 1.5 to 3% of revenue. For a 30% margin, that's 5 to 10% of the margin disappearing.
- Not differentiating margin by channel: selling on Amazon with 15% commission has a very different impact than a direct sale. Without channel analysis, you unknowingly subsidize your least profitable channels.
- Forgetting packaging and unrefunded shipping costs: offering free delivery is a valid commercial strategy, but the real cost (€2 to €8 per parcel) must be integrated into product profitability calculations.
Strategies to improve your commercial margin in e-commerce
Fundamental principle
Every margin point gained generates as much additional profit as several revenue growth points. Improving your margin rate from 50% to 55% on €500,000 revenue represents €25,000 in additional margin without selling a single additional product.
Improving commercial margin does not boil down to raising prices. A multi-lever approach combining purchase optimization, product mix management, and sales channel rationalization allows structural profitability improvement without harming growth. Develop own-brand products that generate 15 to 25 additional margin points compared to national brands. Analyze your product mix to give more visibility to high-margin items. Reduce return rates through richer product content. Renegotiate supplier conditions annually, using competitive quotes as leverage. And measure the net profitability of every sales channel to eliminate those that destroy value despite their volumes.
Track commercial margin in real time with Fullmetrix
Calculating commercial margin in a spreadsheet once a month is insufficient for managing an e-commerce business in a competitive environment. Pricing, promotion, and assortment decisions are made daily and require real-time data. Fullmetrix was designed to address this need: an e-commerce analytics platform that automates your P&L and margin calculation at all levels of granularity.
- Automated P&L: Fullmetrix automatically aggregates your revenues, purchase costs, logistics fees, marketing costs, and fixed charges to generate a real-time income statement without manual input.
- Margin by product: visualize the commercial and net margin of every reference in your catalog, instantly identify value-destroying products.
- Margin by category: analyze the performance of each product family to optimize your assortment and purchasing decisions.
- Margin by sales channel: compare the profitability of your own site, marketplaces, and resellers in a single interface.
- Margin alerts: set threshold alerts to be notified immediately if a category or channel margin falls below your minimum threshold.
- Compatible with PrestaShop, WooCommerce, and Shopify: connect your store in minutes, without any technical development.
FAQ: frequently asked questions about commercial margin in e-commerce
What is a good commercial margin in e-commerce?
There is no universal answer: it all depends on the sector. In beauty or luxury, a margin rate below 55% is concerning. In electronics, 25% can be satisfactory. The real question is not the absolute level of commercial margin, but the net margin after deducting all charges. A minimum of 10 to 15% net margin is generally necessary to cover unforeseen events and fund growth.
How to integrate shipping costs into the margin calculation?
If you offer free delivery, the shipping cost must be subtracted from your commercial margin. If you charge a delivery contribution, only the difference between the actual cost and the customer contribution impacts the margin. For a precise analysis, calculate the average delivery cost per order and deduct it from the average margin per order.
How to improve margins without raising prices?
Several levers allow you to improve margin without touching selling prices: negotiate better supplier terms, develop own-brand products, reduce return rates through better product pages, rationalize unprofitable sales channels, reduce logistics costs through better warehouse organization or switching carriers.
How often should you analyze commercial margin?
At minimum monthly for a complete strategic analysis. In practice, weekly monitoring of margin by channel and monthly monitoring of margin by product and category is ideal. During promotional periods (sales, Black Friday), daily monitoring is recommended to ensure that discounts granted do not push certain categories into negative territory.
Is commercial margin the same as variable cost margin?
No. Commercial margin is calculated solely on the difference between selling price and merchandise purchase price. Variable cost margin integrates all variable charges: logistics, packaging, sales commissions, payment fees. It is the variable cost margin that allows you to calculate the break-even point of your business.
Calculate and track your margin in real time
Fullmetrix automates your e-commerce P&L and gives you full visibility into your commercial margin by product, category, and channel. Connect your PrestaShop, WooCommerce, or Shopify in 5 minutes.
View pricing
