KPIs & Reporting May 8, 2026 · Updated May 16, 2026 9 min read

How to Calculate True COGS for an Ecommerce Brand

Most DTC brands underreport COGS by 15–25%. Here's the full list of what belongs in cost of goods sold and how it changes the decisions you make.

Short answer

True COGS is the fully landed cost of goods sold: unit cost, inbound freight, duty, inspection, packaging and inbound handling – recognised when the order ships.

Applies to
Brands importing stock, running multiple suppliers or seeing margins move without explanation.
Formula
Landed unit cost = supplier price + freight per unit + duty & customs + inspection + packaging + inbound handling. COGS = landed unit cost × units shipped.

Bottom line: If freight and duty sit in operating expenses, every margin number you have is optimistic. Land them into unit cost.

Nikolajs Petrovics, Founder & CFO, John Galt Finance
Written and reviewed by
Founder & CFO, John Galt Finance

15+ years in finance: 100+ financial models built, €40m+ raised for clients, Forbes contributor and lecturer.

LinkedIn Reviewed August 2026

When we audit a new client's books, the COGS number is wrong roughly 80% of the time – almost always too low. The founder thinks they have a 65% gross margin; the real number is 48%. Every downstream decision (CAC targets, pricing, ad budgets, hiring) is built on the wrong foundation.

What COGS actually means

COGS = every dollar you spend to turn a raw material into a unit sitting in your warehouse ready to ship. That's it. Not marketing, not warehouse rent, not your salary.

What belongs in COGS – the complete list

  • Product unit cost from the manufacturer
  • Component / raw material costs (if you assemble)
  • Inbound freight (sea, air, rail) – proportionally allocated per SKU
  • Import duties, tariffs, customs fees
  • Inbound 3PL receiving fees
  • Quality control inspections
  • Labelling, packaging, branded inserts (when SKU-attributable)
  • Pre-production samples (amortised across production runs)
  • FX losses on supplier payments (the often-forgotten one)
  • Manufacturing defects / shrinkage allowance

What does NOT belong in COGS

  • Outbound shipping to customers → fulfilment / variable opex
  • 3PL pick-and-pack fees → fulfilment
  • Payment processing fees → variable opex
  • Returns & refunds → contra-revenue (or its own line)
  • Marketing & advertising – ever
  • Warehouse rent – opex
  • Salaries (including yours) – opex

Landed cost – the right way

Landed cost per unit = (unit cost + inbound freight + duties + inbound 3PL + QC + samples + FX) ÷ units in that PO

Recalculate landed cost per SKU per PO. Air-freighted units have a different landed cost than the same SKU shipped by sea. Averaging them hides one SKU bleeding margin.

Why mis-calculated COGS breaks decisions

  • CAC target too high → you scale spend on customers who don't pay back.
  • Pricing too low → you "win" on conversion and lose on the P&L.
  • Wrong SKUs promoted → bestseller becomes the worst contributor.
  • Misleading investor reporting → bridge gets uglier the closer they look.

Quick self-check

Add up the last 12 months of inbound freight, duties, QC and inbound 3PL fees. Divide by COGS in your books. If it's > 8% of COGS, you almost certainly have those costs sitting in opex instead of where they belong – and your gross margin is overstated by exactly that amount.

Fix order

  • Pull the last 6 supplier invoices, freight bills, customs entries.
  • Build a landed-cost worksheet per SKU per PO.
  • Reconcile against your accounting system; reclass mis-coded entries.
  • Reset your benchmark gross margin and update CAC / pricing targets.

We do this exercise inside the first 14 days of every fractional CFO engagement. It's unglamorous and it changes everything downstream.

Frequently asked questions

What belongs in ecommerce COGS?

Product cost, inbound freight, duties, inspection, packaging and any per-unit assembly. Fulfilment and shipping to the customer sit below COGS as variable costs.

How do I handle freight cost swings?

Capitalise freight into landed cost per unit for each shipment rather than expensing it in the month it is paid; otherwise margin jumps for no operational reason.

Does the accounting method matter?

Yes – FIFO or weighted average must be applied consistently, or margin by month becomes impossible to compare.

Sources & methodology

Numbers and ranges in this article come from our own client engagements (DTC, marketplace and SaaS brands we run finance for) and from the models we build. Where a third-party study is cited, it is linked below; we do not publish sourced claims we cannot point at.

Want this run on your numbers?

A free 30-minute call with a senior CFO. No sales pitch – just a clear read on where your money is and what to do next.

Stop guessing. Start deciding on facts.

A free 30-minute call with a senior CFO. No sales pitch – just a clear read on where your money is and what to do next.

30 min · No pitch · A real CFO, not a chatbot