Facebook ad spend is not part of your cost of goods sold (COGS) — it is an operating expense (OpEx). COGS is the direct cost of the units you sold (product, supplier shipping, and usually payment processing). You use that COGS figure to set a break-even ad cost: the most you can pay Facebook per order before the sale stops being profitable. Get the two lines mixed up and your margins will look healthier than they are.

Is Facebook ad spend part of COGS?

No. COGS is the direct cost of producing the specific units you sold in a period. Facebook ad spend is paid acquisition — the cost of finding the buyer, not making the product — so it lives in operating expenses, below the gross-profit line.

This trips up a lot of sellers because ad spend scales with revenue, just like product cost does. But burying it in COGS inflates your gross margin and hides the real risk in an ad-driven store: customer acquisition cost. Keep it in OpEx and your profit and loss statement will actually tell you where the money goes — see our ecommerce P&L guide for the full line-by-line layout.

The confusing part is that COGS and Facebook ads are joined at the hip anyway. You can't decide how much to spend on ads until you know your COGS — because COGS is what determines how much room you have left to pay for a click.

What actually belongs in COGS

For a Shopify or print-on-demand store, COGS is the sum of the direct, per-unit costs of the orders that shipped:

  • Product cost — the wholesale or supplier production charge (the blank garment plus printing for POD).
  • Supplier shipping to the customer — usually bundled into the POD production charge.
  • Payment processing fees — often included here as a per-order cost. Shopify Payments charges around 2.9% plus 30¢ per online transaction on the Basic plan, dropping on higher tiers, according to Link My Books.
  • Packaging or inserts — if you add them per order.

What does not belong in COGS: ad spend, your Shopify subscription, apps, design tools, and owner pay. Those are all operating expenses. For a deeper split of what scales per order versus what stays fixed, our guide to variable costs on Facebook Ads and the companion piece on variable costs on Shopify break it down.

Why the distinction changes your Facebook ads math

Here is why the placement matters so much. Your gross margin (net sales minus COGS) is the pool of money you have available to pay for ads and still turn a profit. If you smuggle ad spend into COGS, you shrink that pool on paper and lose the one number you need to set a sane ad budget.

Say you sell a shirt for $32. Your COGS is $12 product plus roughly $1.23 in processing (2.9% + 30¢) = $13.23. Your gross profit per order is $32 − $13.23 = $18.77. That $18.77 is your entire budget for acquiring the customer and keeping something for yourself.

If you want to keep, say, $6 of profit per order, then the most you can pay Facebook per order is $18.77 − $6 = $12.77. That is your target cost per acquisition (CPA). Everything above it eats your profit; everything below it is gravy.

Worked example: from COGS to break-even CPA

Let's walk a full calculation. All figures are illustrative — plug in your own.

You sell a product for $45 with these per-order costs:

  • Product cost: $16
  • Supplier shipping (in the production charge): included
  • Payment processing (2.9% + 30¢ on $45): ≈ $1.61
  • Total COGS: $17.61

Your gross profit per order is $45 − $17.61 = $27.39.

That $27.39 is your break-even CPA — the point where a sale contributes exactly zero profit after you pay for the ad. Spend more than $27.39 to get an order and you lose money on it; spend less and you keep the difference.

Now set a profit goal. If you want $10 of operating profit per order (before fixed costs like your Shopify plan), your target CPA is $27.39 − $10 = $17.39. That's the number you actually manage your campaigns against.

For context on what a click costs before it becomes an order: Facebook ads average about $0.70 per click for traffic campaigns, according to WordStream's benchmarks. At a 2% conversion rate, 50 clicks × $0.70 = $35 to get one order — which blows past a $17.39 target CPA. That math is exactly why knowing your COGS before you launch is non-negotiable.

Break-even ROAS in one formula

Break-even CPA has a twin metric: break-even ROAS (return on ad spend). It answers the same question from the revenue side.

The formula is simple:

Break-even ROAS = Selling price ÷ Gross profit per order

Using the $45 example: $45 ÷ $27.39 = 1.64. So you need a ROAS of at least 1.64 just to break even. A ROAS of 3.0 on that product means real profit; a ROAS of 1.4 means you're paying to lose money, even though the campaign "looks" like it's making sales.

Notice the gross profit figure — which depends entirely on your COGS — sits in the denominator. A $2 rise in product cost lowers your gross profit and raises your break-even ROAS, meaning you now need each ad dollar to work harder. This is the direct line between COGS and your Facebook ads targets.

The number your ROAS dashboard hides

Here's the trap. Facebook's Ads Manager reports ROAS on the revenue it can attribute — but it doesn't know your COGS, your processing fees, your refunds, or your discounts. It reports sales, not profit. Two campaigns with an identical 2.5 ROAS can have wildly different real margins depending on which products they sold.

That gap is what PodVector closes. It connects Shopify, Meta Ads, Google Ads, Printify, and Printful, then computes your true per-order profit — revenue minus COGS, minus processing, minus the actual ad cost attributed to that order — so a "good ROAS" campaign that's quietly selling your thinnest-margin SKUs can't hide.

PodVector isn't a dashboard you have to babysit. Victor, its AI employee, analyzes that combined data and proposes moves; he reads your ad performance but does not touch your ad account — the changes he executes are Shopify-side, and only with your approval. He'll flag which products can afford more ad spend and which are draining you, so you're aiming your Facebook budget with profit math instead of a vanity ROAS.

Getting there starts with clean books. If your COGS and fees aren't captured consistently, none of these numbers are trustworthy — our guides to small-business bookkeeping and setting up automated Shopify accounting show how to lock that foundation in.

FAQs

Is Facebook ad spend a COGS or an operating expense?

It's an operating expense. COGS captures the direct, per-unit cost of making and delivering the products you sold. Ad spend is the cost of acquiring the customer, so it sits in OpEx, below the gross-profit line. Placing it in COGS overstates your gross margin and buries your true acquisition risk.

How do I calculate break-even CPA from my COGS?

Subtract your COGS from your selling price to get gross profit per order — that gross profit is your break-even CPA. For example, a $32 order with $13.23 of COGS has an $18.77 gross profit, so $18.77 is the most you can pay Facebook per order before the sale loses money. Set a target CPA below that to bake in real profit.

What's a good break-even ROAS for Facebook ads?

There's no universal number — it depends entirely on your margins. Divide your selling price by your gross profit per order to get your break-even ROAS. A high-margin product might break even at 1.4, while a thin-margin one needs 2.5 or more, so anyone quoting a single "good" ROAS without knowing your COGS is guessing.

Should payment processing fees go in COGS or OpEx?

Either is defensible, but be consistent. Many ecommerce sellers include per-transaction processing fees in COGS because they scale directly with each order, which makes gross margin reflect the true cost of a sale. Just don't change where you put them month to month, or your margin trends become meaningless.

Does Facebook's reported ROAS account for my product cost?

No. Ads Manager reports revenue-based ROAS and has no visibility into your COGS, processing fees, refunds, or discounts. A campaign can show a healthy ROAS while losing money on low-margin SKUs, which is why you need to layer your true per-order profit on top of the platform's numbers.


This article is general information, not accounting or tax advice. Rules and rates change and vary by situation — consult a licensed CPA or tax professional before acting.