> ## 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.

# Marketing Efficiency Ratio (MER): Ad Spend to Revenue

> Track your marketing efficiency ratio for Shopify stores. Understand what percentage of total order revenue is spent on advertising.

<Tip>
  Marketing Efficiency Ratio (MER) measures what percentage of your order revenue is spent on advertising. Lower is better—it means more revenue per ad dollar.
</Tip>

## Formula

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

### Formula Components

| Metric                                                               | Definition                                                |
| -------------------------------------------------------------------- | --------------------------------------------------------- |
| **Total Ad Spend**                                                   | Combined advertising spend across all connected platforms |
| [**Total Revenue**](/reference/metrics/orders/revenue/total-revenue) | Total order revenue including shipping and taxes          |

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

***

## Example

Your Shopify store generated **\$200,000** in total revenue while spending **\$40,000** on advertising.

| Metric              | Value     | Calculation                  |
| ------------------- | --------- | ---------------------------- |
| Total Ad Spend      | \$40,000  | All ad platforms             |
| Total Order Revenue | \$200,000 | All Shopify orders           |
| MER                 | 20%       | (\$40,000 ÷ \$200,000) × 100 |

A MER of 20% means you spend \$0.20 on advertising for every \$1 of revenue generated.

***

## How It Works

MER is the inverse of ROAS expressed as a percentage. While ROAS tells you how much revenue per ad dollar, MER tells you what portion of revenue goes to advertising. MER is often preferred for budget planning because it directly shows ad spend as a percentage of revenue.

***

## When to Use

| Scenario                 | Action                                            |
| ------------------------ | ------------------------------------------------- |
| Budget planning          | Set target MER as percentage of projected revenue |
| Cross-channel comparison | Compare MER across platforms                      |
| Profitability analysis   | Ensure MER leaves room for margins                |
| Trend monitoring         | Track MER over time to spot efficiency changes    |

***

## Related Metrics

| Metric                                                               | Relationship                                     |
| -------------------------------------------------------------------- | ------------------------------------------------ |
| [MER (Gross Sales)](/reference/metrics/orders/performance/gross-mer) | MER using gross revenue before discounts/refunds |
| [MER (Net Sales)](/reference/metrics/orders/performance/net-mer)     | MER using net revenue after discounts/refunds    |
| [ROAS](/reference/metrics/orders/performance/roas)                   | The inverse metric (revenue per ad dollar)       |
| [Total Revenue](/reference/metrics/orders/revenue/total-revenue)     | The denominator in this calculation              |

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