Marketing efficiency ratio for Shopify: the formula and what it hides
Marketing efficiency ratio (MER) is total revenue divided by total marketing spend for the same period. A store with $500,000 in revenue and $100,000 in spend has a MER of 5.0. It shows whether spend is efficient overall. It cannot show whether the period made money.
This is for the owner or growth lead of a Shopify store who reads one blended efficiency number each month and signs off on next month's spend. A ratio can hold steady while profit drains out underneath it. In the worked example below, MER moves from 4.15 to 4.13 across three months. Over the same months the margin left after ads drops by more than half a point, which on the last month's revenue comes to about $80,000.
MER is total revenue divided by total marketing spend, for the same dates
MER = total revenue ÷ total marketing spend
Both numbers cover the same dates. Revenue is what the store took in from every customer and every channel. Spend is what you paid to bring that revenue in.
Two choices change the answer, so make them once and write them down.
- Pick the revenue line. Net revenue, after discounts and returns, is the safer numerator. Gross sales flatter the ratio in any month with a promotion.
- Pick the spend line. Some teams count ad platforms only. Others add agency fees, creator payments and software. Either works. Switching between them from one month to the next does not.
Some dashboards flip the fraction and show spend as a percentage of revenue. A MER of 4.0 and "25% of revenue went to marketing" are the same fact.
MER is also a different number from the return on ad spend an ad platform reports. Google Ads, for one, divides the conversion value it tracked by the cost of the ads, so the platform supplies its own numerator. MER takes revenue from the store and gives no platform a vote. MER vs ROAS sets the two side by side for one month.
How to calculate MER for a Shopify brand
- Choose the dates. A calendar month is the usual unit. Compare like with like, so a 24-day month is not set against a 30-day one without saying so.
- Pull revenue from Shopify for those dates, after discounts and returns. This is the store's own count, with no ad platform involved.
- Add up marketing spend for the same dates: the amount spent in each ad account, plus whatever else you decided belongs in the spend line.
- Divide revenue by spend.
- Write the result next to margin after ads for the same dates. The ratio alone cannot tell you whether the month made money.
Here is step 4 for one month of example figures, not customer results:
November 2026, to the 24th
Net revenue from Shopify $14,420,768
Meta ad spend $3,492,259
MER = 14,420,768 ÷ 3,492,259 = 4.13
Three months of MER near 4.1 hid a margin that slipped from 20.7% to 20.1%
Every figure in this section is an example figure from an example store, not a customer result. The example store is far larger than most, so read the shares and ratios, not the totals. The example store has product cost set at 42% of net revenue, shipping at $7.50 an order and card fees at 2.9% plus $0.30. Meta is the only channel with ad spend in the data, so "total marketing spend" here means Meta spend. A real brand would add every other channel it pays for.
| Month | Net revenue | Meta ad spend | MER | Margin after ads | Margin % |
|---|---|---|---|---|---|
| Sep 2026 | $9,756,041 | $2,349,992 | 4.15 | $2,019,254 | 20.7% |
| Oct 2026 | $11,492,251 | $2,764,749 | 4.16 | $2,381,562 | 20.7% |
| Nov 2026 (to the 24th) | $14,420,768 | $3,492,259 | 4.13 | $2,904,575 | 20.1% |
Read the MER column alone and nothing happened: 4.15, 4.16, 4.13. Most teams would call that flat and move to the next slide.
The last column disagrees. Margin after ads went from 20.7% of revenue to 20.1%. Had November kept September's rate, the example brand would have kept about $80,000 more on the same sales. That figure is my own arithmetic on the table.
Shipping explains 0.41 of the 0.56 points of lost margin
MER has two inputs, so it can register two things moving. Margin has more. The table below takes each cost as a share of net revenue in the first and last month. I worked it by hand from the same example figures.
| Cost as a share of net revenue | Sep 2026 | Nov 2026 | Change in points |
|---|---|---|---|
| Product cost | 42.00% | 42.00% | 0.00 |
| Card fee, percentage part | 2.90% | 2.90% | 0.00 |
| Card fee, fixed $0.30 an order | 0.40% | 0.41% | +0.02 |
| Shipping at $7.50 an order | 9.92% | 10.33% | +0.41 |
| Ad spend (1 ÷ MER) | 24.09% | 24.22% | +0.13 |
| Margin after ads | 20.70% | 20.14% | -0.56 |
Ad spend explains 0.13 of the 0.56 points. That is the only part MER could ever show, and it did show it, as the move from 4.15 to 4.13.
Shipping explains 0.41. The average order was $75.62 in September and $72.62 in November, and shipping stayed at $7.50 on both. A flat cost on a smaller order takes a bigger share of it. A ratio built from revenue and ad spend has nowhere to record that.
The data does not say why orders got smaller, and I will not guess.
MER hides the cost of each order, who bought and which channel earned it
Three things, in the order they tend to cost money.
The cost of each order
Product cost, shipping, card fees and returns all sit below the revenue line. Two months with the same MER can leave different amounts in the bank, as the table shows. The contribution margin formula walks through the full subtraction.
Who bought
MER credits marketing with every dollar the store took. In the last 30 days of the example figures, 72.85% of orders came from customers who had ordered before. Some of them would have reordered with no ad in front of them. This is why some teams also divide new-customer revenue by spend and track that ratio next to the blended one.
Which channel earned it
One blended number cannot tell you which campaign to cut. Platform and channel reports can rank campaigns, but each one counts under its own rules. Klaviyo's help center says its default window for email is five days after an open or click. Shopify's help page on marketing reports notes that its "Any click" model "allocates more credit than orders you've received." Add up what each tool claims and the total can pass what the store sold.
Break-even MER is 2.25 for the example brand, so its 4.11 leaves 20.1% margin
A MER means little until it sits next to your own break-even.
Break-even MER = 1 ÷ contribution margin before ads, as a share of revenue
Margin after ads % = contribution margin before ads % - (1 ÷ MER)
Take the last 30 days of the example figures. Net revenue was $16,610,912 and contribution margin before ads was $7,376,779, which is 44.4% of revenue.
Break-even MER = 1 ÷ 0.444 = 2.25
MER, same period = 16,610,912 ÷ 4,044,339 = 4.11
Margin after ads = 44.4% - (1 ÷ 4.11) = 44.4% - 24.3% = 20.1%
The second formula is the useful one. It turns any MER into a margin as soon as you know your contribution margin before ads, and it shows why a benchmark borrowed from another brand is a poor target. A MER of 3.0 leaves 11 points of margin at a 44.4% contribution margin and loses money at 30%.
Break-even ROAS builds the same figure one order at a time, with shipping and both parts of the card fee.
The same arithmetic as spreadsheet cells, so you can run it on your own month. The values are the example store's last 30 days, which are example figures and not customer results. Replace them with yours.
A1 net revenue 16,610,912
A2 total marketing spend 4,044,339
A3 MER =A1/A2 4.11
A4 contribution margin before ads 0.444 share of revenue
A5 break-even MER =1/A4 2.25
A6 margin after ads, share of revenue =A4-1/A3 0.20
If you run Cosmic AI, cosmic metrics show contribution_margin prints the one query behind its margin figure and what it assumes, so you can check A4 against it.
Four steps that keep MER from misleading you
- Fix the definition. State which revenue and which spend go into the ratio, and print that under the chart.
- Work out break-even MER from your own costs. Redo it when product cost, shipping rates or average order value change.
- Each month, put MER and margin after ads in neighboring columns. If MER is flat and margin moved, the cause sits below the revenue line. Check average order value against your flat per-order costs first.
- Use platform reports to rank campaigns against each other and nothing more. Then judge the winners on profit, which is what POAS does.
Cosmic AI puts MER and margin in one place
Cosmic AI is a free, open-source CLI and a Mac app that check supported figures against their source. Hosted Cosmic Cloud is on the waitlist. Once you set your costs, it computes contribution margin next to revenue and ad spend, so the two columns in the first table come from one place. It checks supported figures against their source before it shows a number. When the data is too thin, or no costs are set, it answers "not enough data" and does not estimate. Every connection starts at Read only, and you decide per connection whether agents only read, ask first, or act on their own. The product page shows how that works, security covers what data is kept, and AI growth agent for Shopify explains the idea at more length.
Frequently asked questions
How do I calculate marketing efficiency ratio (MER) for a Shopify brand?
Take net revenue from Shopify for a set of dates, after discounts and returns, and divide it by total marketing spend for the same dates. In the test-brand example in this article, which is not customer data, $14,420,768 divided by $3,492,259 gives a MER of 4.13. Then compare it with your break-even MER, which is 1 divided by contribution margin before ads.
What is the definition of marketing efficiency?
Marketing efficiency is how much revenue a business gets back for each dollar it spends on marketing. The usual measure is marketing efficiency ratio: total revenue divided by total marketing spend over the same dates. A result of 4.0 means four dollars of revenue for every marketing dollar.
Which ratio measures efficiency?
For marketing as a whole, MER does: total revenue divided by total marketing spend. For one campaign or platform, ROAS does, using the revenue that platform attributes to itself. Neither includes product cost, shipping or fees, so pair either one with contribution margin.
How do I find the root cause of a sudden drop in Shopify ad campaign profitability?
Split margin into its parts as a share of net revenue: product cost, shipping, payment fees, discounts and ad spend. Compare each share against the prior period. If the ad spend share barely moved, the ads did not cause the drop. Look at average order value and per-order costs next.