EEcommerce Coffee Break
← All frameworks
FinanceFran Quilty

Contribution Margin Optimization Loop

Trace profit to products, then adjust spend, pricing, and placement

Difficulty
Moderate
Time to result
~months to results
Steps
5
Confidence
90%

The Contribution Margin Optimization Loop combines commerce, product-cost, and advertising data to show where an ecommerce business makes or loses money. It begins by moving beyond revenue and calculating contribution margin after relevant variable costs, while excluding general operating costs that cannot reasonably be assigned. Marketing expenditure is then traced to campaigns, products, or individual SKUs so operators can locate loss-making activity. The resulting diagnosis drives specific actions: redistribute advertising spend, change prices, reconsider which products receive prominent website placement, or reduce exposure to persistently unprofitable items. Teams then track contribution margin as a percentage over time. If it rises, the interventions are producing more profit from the available revenue and marketing budget; if it does not, the assumptions and actions require another iteration.

Origin

Extracted from Ecommerce Coffee Break through Fran Quilty's explanation of product-level profitability and contribution-margin improvement.

Core principles

  • 01Revenue does not prove that a product or campaign makes money
  • 02Allocate variable costs before judging performance
  • 03Inspect profitability at product and SKU level
  • 04Turn profit analysis into concrete commercial actions
  • 05Track contribution margin over time to verify improvement

How to run it

  1. 1

    Unify commercial data

    Connect order, product, cost, and advertising sources so revenue and spend can be analyzed together. Use consistent product or SKU identifiers across systems.

    Pro tip Resolve identifier mismatches before trusting product-level calculations.

    Watch out Disconnected data can assign spend or revenue to the wrong product.

  2. 2

    Calculate contribution margin

    Subtract attributable variable costs from revenue to estimate the profit produced before general operating costs. Calculate both absolute margin and margin percentage.

    Pro tip Document exactly which costs are included so the metric remains comparable over time.

    Watch out Do not present contribution margin as final net profit.

  3. 3

    Trace performance to products

    Allocate campaign and advertising expenditure to products or SKUs where the data permits. Rank products and campaigns by their contribution after marketing costs.

    Pro tip Start with high-spend products because allocation errors there have the greatest impact.

    Watch out Revenue leaders may still be loss-making after advertising and fulfillment costs.

  4. 4

    Select corrective actions

    For weak or loss-making items, consider reallocating ad spend, changing prices, or adjusting product placement and promotion on the website.

    Pro tip Choose one measurable intervention per diagnosed problem when possible.

    Watch out Changing several variables simultaneously makes it difficult to identify what worked.

  5. 5

    Measure the new margin

    Track contribution margin after the intervention and compare it with the prior baseline. Retain effective changes and reassess products that remain unprofitable.

    Pro tip Review both margin percentage and total contribution to avoid optimizing one at the expense of the other.

    Watch out A higher percentage on sharply reduced sales may not increase total profit.

In the wild

Reallocating spend from a loss-making SKU

A retailer discovers that a high-revenue product becomes loss-making after product cost, fulfillment, and paid-search expenditure are included. The team reduces that SKU's advertising budget, raises its price modestly, and moves a stronger-margin alternative into the primary website position. It then compares contribution margin with the previous period.

→ Marketing funds move toward products that generate more profit, increasing overall contribution margin.

Common mistakes

Equating revenue with profit

Orders and revenue do not show whether product, fulfillment, and marketing costs have consumed the proceeds.

Stopping at the dashboard

Profitability analysis creates value only when it leads to decisions about spend, pricing, assortment, or placement.

Calling contribution margin net profit

Contribution margin can approximate operating profitability but does not include all general operating costs.

Is it for you?

Best for

It is best for ecommerce teams with product-level sales, cost, and advertising data that want to improve profit rather than revenue alone.

Not ideal for

It is not ideal for businesses that cannot reliably attribute costs and marketing activity to products or meaningful product groups.

From the transcript

“A lot of e commerce brands don't understand if they're making money or not.”

Fran Quilty · 03:00

“brands don't really know what products are profitable, what campaigns are profitable”

Fran Quilty · 03:00

“that's coming from understanding what products are actually loss making, readjusting ad spend, pricing, maybe what you put on the website, where”

Fran Quilty · 12:00

From the episode

Digital Ecommerce Metrics Explained

Fran Quilty

→