SteerAds
Outil gratuitSans inscriptionCalculators essentiels

Calculateur marge brute — formule + benchmark e-commerce

Gross margin is the metric that makes ROAS and CPA business-realistic in 2026. Without it, PPC steering is blind — advertisers see a flattering 4x ROAS without knowing final contribution margin is negative. Formula, 2026 vertical benchmarks, gross margin vs net margin distinction for PPC steering, method to integrate margin into Smart Bidding via Custom Labels Merchant Center, and common mistakes (uniform constant margin when products vary) observed across aggregated 2025-2026 Google Ads data.

Connectez votre compte Google Ads pour analyser ces métriques sur votre vrai compte.

Audit gratuit 2 min →
Justine
JustineE-commerce & Shopping Lead
··7 min de lecture
Marge brute
32,8%
Marge brute (€)
4 100
saas : >70%servicesPro : 40-70%ecomPremium : 35-50%ecomMassMarket : 20-35%

Across aggregated 2025-2026 Google Ads data (public sources + Google Ads API) on e-commerce accounts, gross margin is the metric that makes ROAS and CPA business-realistic — and it's the least watched on Google Ads dashboards in 2026. Without known gross margin per product or per category, PPC steering is blind: an advertiser can display a flattering 4x ROAS without knowing final contribution margin is negative. The calculator above returns basic gross margin. What follows explains how to transform it into useful contribution margin for PPC steering, how to compare it to 2026 vertical benchmarks, how to integrate it into Smart Bidding via Custom Labels Merchant Center, and how to avoid the classic "uniform constant margin" trap that destroys global contribution margin.

For ROAS / CPA / CPC vs margin fundamentals, see our complete ROAS CPA CPC guide. To understand why a 4x ROAS can hide degraded profitability, see our 2026 ROAS 4x vanity metric analysis. For the complete e-commerce Google Ads playbook, see 2026 e-commerce playbook.

Gross margin formula: revenue, COGS, gross margin

Gross margin (Gross Profit Margin) is the percentage of revenue remaining after deducting costs directly tied to the sold product. Formula: Gross margin = (Revenue - COGS) / Revenue x 100. If you sell at €100 a product that costs €35 in supplier acquisition, your gross margin is (100 - 35) / 100 = 65%. This is the foundational metric of any business steering — without known gross margin, you can't calculate margin ROAS, viable CPA, business-realistic Smart Bidding Target ROAS, or P&L-aligned MER.

COGS definition (Cost of Goods Sold): costs directly tied to producing or buying the sold product. In e-commerce, it's the supplier acquisition cost. In industry, it's raw material cost + direct labor. In SaaS, it's hosting cost + per-user support. COGS excludes indirect costs (marketing, general salaries, rent) — these costs are deducted next to calculate net margin.

Official Google documentation on conversion value reflecting margin: support.google.com Target ROAS. Note that Google Ads uses by default the gross revenue value transmitted in the conversion tag — not the margin value. To correctly steer Smart Bidding on margin, you must explicitly transmit the margin-adjusted value (see "margin-weighted bidding" section below).

Margin benchmarks by vertical 2026

The orders of magnitude below come from aggregated 2025-2026 Google Ads data (public sources + Google Ads API), cross-referenced with INSEE company statistics data and direct observations on DTC e-commerce and marketplaces. The ranges represent vertical medians — intra-vertical variance remains strong based on price positioning, supplier quality, and scaling stage.

Practical reading: if your contribution margin is in the bottom 25% of your vertical, three typical causes. (1) Underestimated COGS — typically customs fees and post-2024 supplier costs poorly reintegrated in SKU calculation. (2) Underestimated variable non-COGS costs — fulfillment underestimated by 30-50% in e-commerce without robust finance model. (3) Embedded promos — realized 30-day margin can be 5-12 points below catalog margin if automatic discounts apply. Recommended audit: bottom-up contribution margin reconstruction over 30 days, comparison to catalog margin, gap identification.

Contribution margin vs gross margin: do you know the gap on your account?

The audit rebuilds your contribution margin bottom-up from Shopify transactions, identifies the gap vs catalog margin, and calibrates Smart Bidding Target ROAS on the real margin. On the accounts referenced, +18 to +35% contribution margin in 60 days via margin-weighted bidding.

Free margin audit →

Gross margin vs net margin: which metric in PPC

Three margin levels to distinguish for clean PPC steering.

Gross margin = (Revenue - COGS) / Revenue. Excludes all costs not directly tied to the product. Useful for vertical benchmarks and inter-category comparisons. Not sufficient to steer Smart Bidding — it overstates real profitability by 8-18 points.

Contribution margin = Gross margin - variable non-COGS costs (fulfillment, payment, proportional customer service). This is the metric to use to steer Smart Bidding and calculate Target ROAS. It represents what actually hits the P&L after each sale, excluding fixed costs.

Net margin = Contribution margin - prorated fixed costs (salaries, rent, agency, tools). This is the final margin appearing in the company's P&L. Not relevant for daily PPC steering (fixed costs don't depend on marginal volume), but critical for CFO conversation and annual strategic arbitrage.

Practical rule observed in sustainably profitable e-commerce: use contribution margin to calibrate Smart Bidding Target ROAS and calculate margin ROAS. The Target ROAS = 1 / contribution margin % formula gives the per-campaign break-even threshold. With 28% contribution margin, break-even Target ROAS = 1 / 0.28 = 3.57x. Above 3.57x, the campaign generates contribution margin; below, it pays to sell at a loss. See our ROAS calculator and our break-even ROAS calculator.

How to integrate margin into Smart Bidding

This is the most powerful use of margin calculation in 2026 — the one that most radically changes the quality of e-commerce Smart Bidding. Instead of transmitting gross revenue value (total basket) to Google Ads, you transmit adjusted margin value (total basket x margin_rate of the SKU purchased). Smart Bidding then mechanically optimizes toward conversions with the highest contribution margin — not toward the most expensive baskets.

Technical mechanic: in the conversion tag (gtag.js, GTM, or Conversion API), adjust the transmitted value. Instead of value: order_total, write value: order_total * margin_rate. The margin_rate is pre-calculated by product category or by margin_tier bucket (see next section). Google Ads documentation on adjusted conversion value: implementation via Adjustments API or via dynamic value in GTM data layer.

Effect observed in public benchmarks that activate margin-weighted bidding:

  • Apparent revenue ROAS drops 5 to 12% (Google Ads shows "worse" gross-value numbers)
  • Real margin ROAS rises 18 to 35% (Smart Bidding allocates budget toward higher-contribution-margin SKUs)
  • Global contribution margin +12 to +28% in 60 days at constant spend
  • Sales mix drifts toward high-margin SKUs — typically +15 to +25% on SKUs with margin above 50%
Internal communication required :

Apparent revenue ROAS drops after activating margin-weighted bidding — risk of management panic when only reading dashboard ROAS. Prepare communication upfront: present in committee real margin ROAS before and after, explain the mechanic. On the accounts referenced, leadership misunderstanding is the main cause of premature margin-weighted bidding abandonment — when business outcome is positive.

For Target ROAS calibration post-margin-weighted bidding, see our 2026 ROAS 4x vanity metric analysis. For conversion tracking details adapted to margin-weighted, see our Google Ads Shopify vs PrestaShop setup.

Variable margin by product: Custom Labels Merchant Center

This is the technical mechanic that enables segmenting Shopping and PMax steering by margin bucket — well beyond global margin-weighted bidding. The Custom Label Merchant Center is a personalized tag you apply to each SKU in the product feed. Custom Labels 0 to 4 available, usable as campaign segmentation dimensions.

4-step margin_tier bucketing method:

Step 1 — Define 3-5 contribution margin buckets. Typical example: margin_high (above 50%), margin_mid (30-50%), margin_low (15-30%), margin_negative (under 15%). Bucket count depends on catalog dispersion — for a 500+ SKU catalog with 15 to 75% margins, 4-5 buckets are useful; for a 50 SKU catalog with 35-55% margins, 2-3 buckets suffice.

Step 2 — Code margin_tier in Custom Label Merchant Center. In the product feed (CSV, Shopify Google app, or API), add custom_label_0 = margin_high or equivalent per SKU. Push the updated feed to Merchant Center. Recommended automated monthly recalculation.

Step 3 — Create campaigns or asset groups by margin_tier. In Standard Shopping, create one campaign per margin_tier with product groups filtered on custom_label_0. In PMax, create asset groups segmented on custom_label_0. Enables differentiated budget allocation by margin bucket.

Step 4 — Calibrate differentiated Target ROAS by bucket. Target ROAS on margin_high can drop to 2.5x (comfortable margin). Target ROAS on margin_low must rise to 5x+ (thin margin). Differentiated calibration prevents Smart Bidding from uniformly pushing the entire catalog with a single Target ROAS.

Shopping/PMax budget allocation by margin_tier bucketShopping/PMax budget allocation by margin_tiermargin_highabove 50% margin40-50%of budgetTarget ROAS 2.5x+Aggressive pushmargin_mid30-50% margin30-40%of budgetTarget ROAS 3.5xStandard steeringmargin_low15-30% margin10-20%of budgetTarget ROAS 5x+Strict steeringmargin_negunder 15%0%of budgetExcluded from feedor paused

Effect observed on Shopping/PMax accounts applying margin_tier segmentation: global contribution margin +14 to +25% in 60 days at constant spend. The gain comes from cutting margin_negative SKUs (which often consume 5-15% of mid-market e-commerce spend) and concentrating budget on margin_high. For Shopping vs Search allocation details, see our Google Ads vs Amazon Ads e-commerce allocation.

Common mistakes (uniform constant margin when products vary)

Six recurring mistakes on audited e-commerce accounts, ordered by observed statistical frequency.

Mistake 1 — Uniform constant margin when products vary. Typical case: an advertiser assumes "40% margin on average" across the catalog when actual SKU-level dispersion is 15 to 65%. Smart Bidding optimizes on the average and pushes uniformly — result: over-investment on weak-margin SKUs, under-investment on high-margin SKUs. Fix: margin_tier bucketing as described above.

Mistake 2 — Confusing gross margin and contribution margin in Target ROAS. Observed case: Target ROAS calculated on gross margin (45%) gives Target ROAS = 1/0.45 = 2.2x — when actual contribution margin (32%) gives Target ROAS = 1/0.32 = 3.1x. The advertiser sets Target ROAS 2.2x and loses margin on every sale. Always use contribution margin, not gross margin.

Mistake 3 — Ignoring promo / discount effect embedded in sales mix. Realized 30-day margin can be 5-12 points below catalog margin due to automatic promos (affiliate codes, 10% cart abandonment, sales). Calibrating Target ROAS on catalog margin overstates real margin and pushes Smart Bidding too low. Fix: use realized P&L margin on a 30-day rolling basis, not catalog margin.

Mistake 4 — Not reviewing margin_tier quarterly. Product margins shift: rising COGS (inflation), seasonal promos, end-of-line. A margin_tier bucket calibrated in 2024 loses relevance in 2026. Fix: automated quarterly recalculation via Shopify or ERP API.

Mistake 5 — Optimizing margin without watching volume. Typical case: aggressive push on high-margin SKUs raising average margin by 8 points but dropping volume by 25%. Net contribution margin effect: -12%. Optimal margin isn't the highest possible — it's the one that maintains acquisition velocity.

Mistake 6 — No regular audit of realized vs expected margin. Without monthly reconciliation, margin drifts go unnoticed for 3-6 months before surfacing in committee. Fix: monthly audit of realized P&L contribution margin vs expected catalog margin. Misalignment above 10%: COGS audit, promos audit, returns audit.

Gross margin remains the most foundational business metric of e-commerce steering in 2026 — provided you read it correctly. The calculator above returns basic gross margin. The work begins after: transforming it into contribution margin by integrating fulfillment + payment + proportional customer service, comparing to 2026 vertical benchmarks, segmenting the catalog into margin_tier buckets via Custom Labels Merchant Center, activating margin-weighted bidding so Smart Bidding optimizes on real margin. This margin discipline is what separates e-commerce that scale on contribution margin from those scaling on gross revenue without P&L profitability — and it's also what makes executive committee conversations much simpler when the CFO asks "how much does marketing earn us per euro spent".

FAQ

What's the exact gross margin formula?

Gross margin = (Revenue - COGS) / Revenue x 100, expressed as percentage. COGS (Cost of Goods Sold) includes costs directly tied to producing or buying the sold product — supplier acquisition cost in e-commerce, raw material cost in industry, hosting cost per user in SaaS. If you sell at €100 a product that costs €35 in supplier acquisition, your gross margin is (100 - 35) / 100 = 65%. This is the foundational metric of any business steering — without known gross margin, you can't calculate margin ROAS, viable CPA or business-realistic Smart Bidding Target ROAS.

What gross margin should I target in e-commerce 2026?

It depends strictly on your product category. In mass-market apparel, expect 35 to 45%. In premium / DTC apparel, 55 to 70%. In clean beauty / cosmetics, 60 to 75%. In consumer electronics, 8 to 18% (thin margins). In furniture / home goods, 35 to 50%. In food / wine, 30 to 45%. In sports / outdoor, 40 to 55%. Across aggregated 2025-2026 Google Ads data, sustainably profitable e-commerce maintain gross margin at the median or top 25% of their category — below the bottom 25%, PPC unit economics becomes nearly impossible with 2026 CPCs.

Gross margin or contribution margin: which to use for ROAS?

Contribution margin for PPC steering, gross margin for comparative benchmarks. Contribution margin incorporates all variable costs tied to the sale: COGS + fulfillment + payment (Stripe, PayPal) + proportional customer service. It's typically 8 to 18 points below gross margin in e-commerce. With 45% gross margin and 12 points of variable non-COGS costs, contribution margin is 33%. This is the contribution margin to use to calculate margin ROAS or Smart Bidding Target ROAS — not gross margin. Advertisers calibrating Target ROAS on gross margin understate the real break-even threshold by 25 to 40%.

How to move from constant margin to variable margin per product in Smart Bidding?

Robust 4-step method. First: segment your product catalog into 3-5 margin buckets (for example: very high margin above 60%, high margin 40-60%, medium margin 25-40%, weak margin under 25%). Second: create Custom Labels in Merchant Center that code this bucket per product (custom_label_0 = margin_tier). Third: create PMax asset groups or Shopping campaigns segmented by margin_tier. Fourth: transmit in the conversion tag the margin-adjusted value (value = order_total x margin_rate of the SKU purchased) so Smart Bidding optimizes on real margin. On accounts that made this switch, apparent revenue ROAS drops 5 to 12% but real margin ROAS rises 18 to 35%.

Why is my ROAS good but my margin bad?

Three typical causes ordered by observed probability. First: Smart Bidding optimizes on revenue value — Google Ads pushes toward high-basket SKUs that sometimes have the weakest margin. This is trap #1 of e-commerce steering in 2026. Solution: margin-weighted bidding (see previous question). Second: promo / discount effect embedded in sales mix — real margin is typically 5-12 points below displayed gross margin due to automatic promos. Third: underestimated variable non-COGS costs (fulfillment, payment, customer service) — measure real contribution margin in finance P&L, not catalog gross margin.

Gross margin dropping month after month: what to do?

Five typical diagnoses ordered by observed probability. First: product mix drifting toward weaker-margin entry-price SKUs (Smart Bidding can be responsible). Second: promos / discounts becoming embedded in sales mix. Third: rising COGS (raw material inflation, customs fees, supplier cost increases). Fourth: rising variable non-COGS costs (fulfillment, payment). Fifth: rising product returns (apparel post-sale, electronics post-Christmas). Action: monthly gross margin audit by product category, drift identification, Smart Bidding adjustment if margin-weighted bidding not enabled.

Auditez votre compte sur 200+ checkpoints

Connectez Google Ads en OAuth, audit complet en 2 minutes. Sans CB. Sans engagement.

Sans carte bancaire · Résultat en 2 minutes