Cost of goods sold is the single line that decides whether your product is even worth selling. Improve it and every order you already have gets more profitable — no new traffic required. This guide shows you exactly what belongs in COGS, where the money leaks, and how to lower it with real numbers instead of vague advice about "supplier relationships."
What actually counts as COGS
COGS is the direct cost of the units you sold in a period — not everything you spent. For a print-on-demand (POD) store that means the supplier's production charge (the blank plus printing), inbound or supplier-to-customer shipping, and, if you choose to put it here, payment processing and packaging. It does not include ad spend, your Shopify subscription, or design tools.
Getting this boundary right matters because misplaced costs give you a fake number to "improve." The most common mistake is dumping ad spend into COGS. That inflates your gross margin and hides that customer acquisition cost is your real risk. The ecommerce P&L guide walks through the full line-by-line layout, but the short version: direct per-unit costs go in COGS, and costs that keep the business running regardless of any single sale go in operating expenses.
If your reported COGS looks suspiciously low or your gross margin looks too good, you are probably misclassifying something. Our breakdown of why variable costs run high covers the usual culprits.
The COGS formula, and the profit it drives
Gross profit is Net sales − COGS, and gross margin is that figure divided by net sales. Say you sell a shirt for $32. Your supplier charges $12 to produce and ship it, and payment processing takes roughly 2.9% plus 30¢ per online card transaction on lower-tier Shopify plans, according to A2X's breakdown of Shopify fees — about $1.23 on a $32 order.
So per unit: $12 production + $1.23 processing = $13.23 COGS. Gross profit is $32 − $13.23 = $18.77, a gross margin of 18.77 ÷ 32 = 58.7%. Now watch what a small COGS improvement does. Shave the production cost to $10.50 by switching to a cheaper blank, and COGS drops to $11.73. Gross profit rises to $20.27 — an extra $1.50 per order that falls straight to the bottom line, with zero extra ad spend.
Across 300 orders a month that $1.50 is $450 in new profit. That is the whole point of improving COGS: it compounds over every order you were already going to make.
How to improve COGS: seven concrete moves
1. Renegotiate or switch suppliers
Supplier production cost is usually the largest slice of POD COGS, so it is where the biggest dollars hide. Ask your current supplier for volume pricing once you have steady order flow, and price the exact same product across two or three suppliers — the identical blank can vary by a couple of dollars between them. A $2 saving on a unit that costs $12 to make is a direct COGS cut of roughly 17%.
2. Raise average order value to dilute fixed fees
Every order carries a fixed 30¢ processing charge and, often, a fixed handling component. Those pennies matter more on small carts. On a $20 order the 30¢ fixed fee is 1.5% of the sale; on a $50 order it is 0.6%. Bundling products or adding an upsell spreads the fixed portion of COGS across more revenue, so your effective per-dollar cost falls even if the product cost per unit does not.
3. Cut the refunds quietly bleeding margin
A refund is brutal on COGS because you generally do not get the original processing fee back. Refund that $32 order and you keep none of the sale but still eat the ~$1.23 processing cost — plus any production already run. Reducing refunds through better sizing charts, accurate mockups, and clearer product photos is a COGS improvement most guides never mention. See how to improve variable costs for tactics that attack this directly.
4. Claim your resale certificate so you stop paying tax twice
If you buy from Printify, Printful, or a similar supplier without a valid resale certificate on file, they charge you sales tax on every production order — even though you already collect sales tax from your customer. Printful reviews a submitted certificate in about two business days, per its help center, and Printify processes one in roughly three to five business days, per theirs. There are no retroactive refunds, so set it up before you place another order. This is not tax advice — rules vary by state, so confirm with a licensed professional.
5. Use Shopify Payments to avoid the extra gateway fee
If you route payments through an external processor instead of Shopify Payments, Shopify adds a transaction fee on top of whatever that processor already charges, as A2X notes. Using Shopify Payments removes that surcharge, and since processing sits in COGS for many stores, that is a clean cut with no downside to product quality.
6. Fight chargebacks that carry a flat fee
A disputed charge on Shopify Payments in the US carries a flat $15 fee, refunded only if you win, again per A2X. On a $32 order, a single lost chargeback can erase the profit from several clean sales. Prompt tracking, clear billing descriptors, and fast customer service reduce disputes and protect COGS.
7. Price so every unit carries its full cost
The cleanest way to "improve" COGS as a share of revenue is to stop underpricing. If your true landed cost per unit is $13.23 and you sell at $32, you have room. If it is $13.23 and you sell at $22, your margin is far thinner than the SERP's generic "aim for a healthy markup" advice implies. Knowing the real number per order is the prerequisite for any pricing move.
Why the standard COGS advice falls short for online stores
Search "how to improve COGS" and most results are written for factories and restaurants: lean manufacturing, just-in-time inventory, value stream mapping, kaizen. Useful if you run a production line — nearly useless if you are a Shopify merchant whose "factory" is a POD supplier you cannot re-engineer.
The advice those pages skip is the part that actually moves an ecommerce P&L: fee structure, refund leakage, resale-tax double-charging, and the profit-per-order math above. They also rarely separate COGS from cash. You can improve COGS on paper and still run short on cash, because supplier charges hit at production while Shopify payouts arrive on a delay. That timing gap is its own problem — worth understanding before you scale ad spend against it.
Track COGS at the order level, not the guess level
You cannot improve a number you estimate once a quarter. COGS should be reviewed far more often than inventory, because a supplier price change, a fee tier shift, or a refund spike shows up in margin long before it shows up in your bank balance. The stores that improve COGS fastest are the ones that see per-order profit clearly.
This is exactly the gap PodVector fills. It connects your Shopify, Meta Ads, Google Ads, Printify, and Printful accounts and computes true per-order profit — production, shipping, fees, and ad cost netted against each sale — so you can see which products carry healthy COGS and which quietly lose money. Victor, its AI employee, analyzes that live data and proposes moves, taking Shopify-side actions only with your approval. Victor is not a dashboard and does not touch your ad account; he reads the numbers and helps you act on them.
Once you can see per-order economics, the seven moves above stop being guesswork. You know which supplier switch pays off, which products can absorb a price bump, and where refunds are eating you alive. From there, tightening your books — see the ecommerce bookkeeping and pricing guide — turns a one-time COGS cleanup into a durable margin advantage.
FAQs
What is the difference between COGS and operating expenses?
COGS is the direct, per-unit cost of the goods you actually sold — supplier production, inbound shipping, and often payment processing. Operating expenses are the costs of running the business regardless of any single sale: ad spend, your Shopify plan, apps, tools, and pay. Ad spend is the most commonly misfiled item; it belongs in operating expenses, not COGS, because burying it in COGS inflates your gross margin and hides that acquisition cost is your real risk.
Does lowering my ad budget improve COGS?
No. Ad spend is not part of COGS, so cutting it changes your operating expenses, not your cost of goods sold. Lowering ads can improve total profit in the short term, but it also tends to reduce revenue. Improving COGS means attacking the direct per-unit costs — supplier charges, fees, refunds, and inbound shipping — which raises the profit on orders you were already going to get.
What is a good gross margin for a print-on-demand store?
There is no single guaranteed number, and any guide promising one is overselling. What matters is that your gross margin comfortably covers your operating expenses — especially ad spend — with profit left over. In the worked example above, a $32 shirt with $13.23 of COGS produced roughly a 59% gross margin, but whether that is "good" depends entirely on what you spend to acquire each customer. Calculate yours from real per-order costs rather than a benchmark.
Should payment processing fees go in COGS?
It is a judgment call, and either placement is defensible as long as you are consistent. Many ecommerce stores include processing fees in COGS because they scale directly with each sale. Others keep them below the gross-profit line. The only wrong answer is moving fees around month to month, which makes your margin trends meaningless. Pick one treatment and hold it.
How often should I review my COGS?
More often than you review inventory — ideally continuously. Supplier price changes, fee-tier shifts when you change Shopify plans, and refund spikes all hit your margin before they hit your bank balance. Reviewing per-order profit regularly lets you catch a COGS problem while it is still small, instead of discovering it in a disappointing month-end P&L.