> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CM2 MER: Variable Margin Marketing Efficiency

> Track CM2 MER for your Shopify store. Measure variable margin as a percentage of ad spend.

<Tip>
  CM2 MER measures variable margin (after fulfillment) as a percentage of ad spend—how much margin your advertising budget generates.
</Tip>

## Formula

<Info>
  **CM2 MER** = ( **CM2** ÷ **Total Ad Spend** ) × 100
</Info>

### Formula Components

| Metric                                                                           | Definition                                            |
| -------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [**CM2 (After Fulfillment)**](/reference/metrics/orders/contribution-margin/cm2) | Profit after COGS, fulfillment, and transaction costs |
| **Total Ad Spend**                                                               | Combined advertising spend across platforms           |

| Metadata        |                                                                                                                           |
| --------------- | ------------------------------------------------------------------------------------------------------------------------- |
| **Type**        | Percentage                                                                                                                |
| **Data Source** | [Shopify](/sources/catalog/shopify), [Meta Ads](/sources/catalog/facebook-ads), [Google Ads](/sources/catalog/google-ads) |
| **Aggregation** | Ratio                                                                                                                     |

***

## Example

Your Shopify store has **\$62,500** CM2 and spent **\$25,000** on advertising.

| Component   | Value    | Calculation               |
| ----------- | -------- | ------------------------- |
| CM2         | \$62,500 | Variable margin           |
| Ad Spend    | \$25,000 | Advertising cost          |
| **CM2 MER** | **250%** | \$62,500 ÷ \$25,000 × 100 |

***

## How It Works

CM2 MER shows variable margin relative to ad spend. A 250% CM2 MER means your ads generate 2.5x their cost in variable margin. This margin must cover marketing costs and fixed expenses for true profitability.

***

## When to Use

| Scenario                             | Action                                                |
| ------------------------------------ | ----------------------------------------------------- |
| Measuring variable margin efficiency | Track CM2 MER for cost-aware efficiency               |
| Setting targets                      | CM2 MER should exceed 100% + your marketing cost rate |
| Comparing campaigns                  | Identify campaigns with highest CM2 MER               |
| Budget planning                      | Use CM2 MER to determine sustainable spend            |

***

## Related Metrics

| Metric                                                     | Relationship                                       |
| ---------------------------------------------------------- | -------------------------------------------------- |
| [CM2 ROAS](/reference/metrics/orders/performance/cm2-roas) | CM2 per ad dollar (same concept, different format) |
| [CM1 MER](/reference/metrics/orders/performance/cm1-mer)   | Gross margin as % of ad spend                      |
| [CM3 MER](/reference/metrics/orders/performance/cm3-mer)   | Contribution margin as % of ad spend               |

[See all Performance metrics →](/reference/metrics/orders/performance)
