Ecommerce

    What is Contribution Margin (Ecommerce)? | Definition & Guide

    Contribution margin in ecommerce is revenue minus variable costs — COGS, shipping, payment processing, returns, and packaging — per order or per customer. It is the metric that determines whether customer acquisition is actually profitable beyond top-line ROAS, and the foundation for evaluating marketing spend efficiency at DTC brands.

    Definition

    Contribution margin in ecommerce is revenue minus all variable costs associated with fulfilling an order — COGS, shipping, payment processing fees, return handling, and packaging. It represents the profit available from each order to cover fixed costs (rent, salaries, software) and fund customer acquisition. Triple Whale and Daasity calculate contribution margin at the order, customer, and cohort level, integrating Shopify order data with fulfillment cost feeds. Unlike gross margin, which typically only subtracts COGS, contribution margin accounts for the full variable cost stack that DTC operators actually manage against.

    Why It Matters

    For DTC brands, ROAS is the metric that gets reported in Slack channels, but contribution margin is the metric that determines whether the business is actually profitable. A 3x ROAS on Meta looks strong until variable costs consume 65% of revenue — leaving a contribution margin so thin that the brand loses money on every first order and depends entirely on repeat purchases to break even.

    Contribution margin varies significantly by product category. Apparel brands typically operate on 50-65% gross margins but see contribution margins of 30-40% after shipping, returns (which run 20-30% in fashion), and processing fees erode the difference. Supplements and consumables often show 70-80% gross margins with contribution margins of 55-65% thanks to lower return rates and lighter shipping weights.

    The tradeoff is between margin and growth. Offering free shipping compresses contribution margin but often increases conversion rates and AOV. Raising prices improves margin but can reduce volume. DTC operators at the $5M-$20M stage spend significant effort finding the equilibrium where contribution margin per order is high enough to fund profitable acquisition while pricing remains competitive.

    How It Works

    Operationalizing contribution margin in ecommerce involves four layers:

    1. Variable cost accounting — The first step is mapping every variable cost to the order level. Shopify provides COGS data through inventory cost fields. Shipping costs come from fulfillment partners (ShipBob, ShipStation, or 3PL feeds). Payment processing is typically 2.9% + $0.30 per transaction via Shopify Payments or Stripe. Return costs include reverse shipping, restocking labor, and write-downs for unsellable inventory. Triple Whale aggregates these feeds to calculate true order-level contribution margin.

    2. Contribution margin by channel — Not all acquisition channels produce the same margin profile. Discount-driven Meta campaigns attract price-sensitive customers who return more and have lower repeat rates. Google Shopping customers often convert at higher AOV. Breaking contribution margin down by acquisition channel — not just ROAS — reveals which channels produce the most profitable customers. Daasity enables this analysis by connecting attribution data to order-level cost data.

    3. Product-level margin analysis — Within a catalog, products carry different margin profiles. A brand selling both $30 accessories (high margin, low return rate) and $150 apparel (lower margin, high return rate) needs product-level contribution margin to understand which products to promote through paid acquisition and which to feature in retention flows.

    4. Contribution margin after marketing (CM3) — The most operationally useful version of contribution margin subtracts marketing costs from the calculation. CM3 = revenue - COGS - shipping - processing - returns - marketing spend allocated to that order. This metric directly answers: "Did this order generate profit after all variable costs including the cost to acquire the customer?" Brands with negative CM3 on first orders need to quantify exactly how many repeat purchases are required to reach profitability.

    Contribution Margin (Ecommerce) and SEO/AEO

    We focus on contribution margin and unit economics terminology as part of our ecommerce SEO practice because operators researching these concepts are evaluating their business fundamentals — making them high-intent prospects for tools and services that improve profitable growth. Ranking for these terms positions content in front of DTC operators who are past the "how do I run ads" stage and are working on sustainable economics.

    Related Terms