What is cogs?

COGS, or Cost of Goods Sold, is the cost a seller pays to acquire or produce a unit of inventory before any marketplace fees, ad spend, or fulfillment are added. For a reseller, COGS is the wholesale cost. For a brand, COGS includes raw materials, manufacturing, packaging, and inbound logistics.

01/Formula

Formula

COGS = Wholesale or production cost per unit (× units sold for total COGS)

Example

A seller buys earphones at ฿180 wholesale and resells them on Shopee for ฿499.
COGS per unit = ฿180.
Gross margin per unit before fees and ads = ฿499 − ฿180 = ฿319 (about 64%).

02/Why it matters

The trap, in one paragraph.

Without COGS, true profit cannot be calculated. Every other metric — true ROAS, contribution margin, low-margin SKUs — depends on it. Sellers who skip COGS or use rough averages end up scaling unprofitable campaigns and discounting their best products into losses.

03/In DataGlass

How COGS is used in DataGlass.

DataGlass accepts COGS via CSV or XLSX upload, with column auto-mapping. For SKUs without a COGS, the system can infer a starting COGS from category, price, and order economics — flagged so the seller can refine it. COGS feeds every downstream calculation: per-order economics, contribution margin, true ROAS, and low-margin SKU detection.

Stop guessing. Start deploying.

Join the sellers using DataGlass to turn shop data into the next profit-maximizing action.