Cost of Goods Sold (COGS), known in Indonesia as Harga Pokok Penjualan or HPP, is the single most important number that SMEs most often calculate carelessly. Many owners set their selling price simply by adding a profit percentage to the purchase price, without accounting for the other costs that actually attach to each product. As a result, a margin that looks healthy on paper turns out to be thin, or even negative, in reality.
This article is about thinking correctly about COGS, not complex formulas, but the discipline of recording the right costs.
What actually belongs in COGS
COGS is every cost spent directly to make or acquire goods until they are ready to sell. For a trading business, this generally includes:
- The purchase price of goods from suppliers
- Freight and import duties until the goods arrive
- Repackaging costs, if any
- Reasonable shrinkage or damage to goods
For a manufacturing business, add raw materials, direct labor, and factory overhead directly tied to producing the product.
What does NOT belong in COGS
Marketing costs, administrative salaries, office rent, and shipping to customers are generally not part of COGS but rather operating expenses. Mixing the two leads you to misjudge both product profitability and operational efficiency.
The most common mistakes
Ignoring inbound costs
A purchase price of Rp100,000 with Rp15,000 shipping per unit means the true COGS is Rp115,000, not Rp100,000. Ignoring inbound costs makes your margin look 15% larger than it really is.
Using the latest purchase price for all stock
When purchase prices fluctuate, using one price for all stock makes reports inaccurate. Methods such as moving average or FIFO help COGS follow the actual cost attached to the goods that were sold.
Forgetting damaged or lost goods
Goods that are damaged, expired, or lost still incurred a cost. If they are not counted, that expense stays hidden and the margin looks better than it truly is.
Why accurate COGS drives pricing decisions
Correct COGS is the foundation of nearly every commercial decision. From it you set your minimum selling price, evaluate which discounts are still safe, and decide which products are worth keeping. If the COGS is wrong, every decision built on top of it is wrong too, and that error often only surfaces when cash flow starts to tighten.
Keeping COGS accurate without the hassle
Calculating COGS manually for one or two products is still feasible. But once the number of SKUs grows and purchase prices keep changing, manual calculation quickly goes stale. The key is connecting your purchasing, inventory, and sales records so COGS is computed automatically every time goods move in and out.
With a system that records the acquisition cost when goods are received and deducts stock using a consistent valuation method, your COGS always reflects real costs, not assumptions. This is what makes a profit-and-loss statement trustworthy rather than a rough estimate.
If you have been setting prices on gut feel or laboriously calculating COGS at month-end, it is worth seeing how a unified operations system computes COGS automatically. Schedule a BizOps demo to see how every purchase and sale instantly updates your cost of goods in real time.