Many small businesses set their selling price by looking at competitors' prices and guessing the rest. The result: products sell well, but the business's money never grows. The cause is almost always the same: the cost of goods sold, or HPP (harga pokok produksi), isn't calculated correctly. Gas, packaging, and the owner's own labor are often forgotten, so the profit that seems to be there doesn't actually exist. This guide shows how to calculate HPP easily, with a worked example from a single production run.
4 Cost Groups That Make Up HPP
Raw and supporting materials
Every material that becomes part of the product, including small ones like salt, seasoning, and cooking oil.
Packaging and labels
Plastic, standing pouches, label stickers, boxes, and ribbons. This cost is often left out even though it adds up.
Direct labor
Wages of the people who make the product, including your own labor. Think of the fair wage if someone else did the work.
Production overhead
Gas, electricity, water, workspace rent, and depreciation of tools such as stoves, pans, ovens, or sealing machines.
HPP per Unit Formula
What you divide by is the number of units that are actually finished and sellable. Burnt, failed, or sample products are not counted, so their cost is automatically carried by the units that sell.
Example: Banana Chips 200 g, 50 Packs per Batch
The figures below are for illustration only. Use material prices and costs where you are.
| Component | Details | Cost |
|---|---|---|
| Bananas | 30 kg × Rp 6.000 | Rp 180.000 |
| Cooking oil | 5 liters × Rp 18.000 | Rp 90.000 |
| Seasoning and sugar | One batch | Rp 30.000 |
| Packaging and labels | 50 × Rp 1.500 | Rp 75.000 |
| Gas | 1 cylinder | Rp 22.000 |
| Labor | 1 person, 1 day | Rp 100.000 |
| Electricity and water | Share for one batch | Rp 20.500 |
| Workspace rent | Rp 1.600.000 per month ÷ 20 batches | Rp 80.000 |
| Tool depreciation | See explanation below | Rp 2.500 |
| Total cost per batch | Rp 600.000 | |
| HPP per pack | Rp 600.000 ÷ 50 packs | Rp 12.000 |
Markup vs Margin: Don't Mix Them Up
- Calculated from HPP
- Rp 12.000 + 50% = Rp 18.000
- Profit of Rp 6.000 per pack
- The actual margin is only 33%
- Calculated from the selling price
- Rp 12.000 ÷ (1 − 50%) = Rp 24.000
- Profit of Rp 12.000 per pack
- Half the selling price is profit
Many sellers think their profit is 50% when what they calculated is markup, so the real profit is far smaller than expected. Once you know your HPP, build tiered prices for retail, reseller, and wholesale buyers as in the guide on setting reseller and wholesale prices.
5 Mistakes When Calculating HPP
- Not counting your own laborThe business looks profitable, but the profit is really just your own wage. When the business grows and needs employees, the selling price no longer covers costs.
- Forgetting small costsGas, plastic, stickers, and tape feel small, but together they can reach a fifth of HPP.
- Dividing by the planned quantity, not the finished quantityIf the target is 50 packs but only 45 are finished, the real HPP is higher than the original calculation.
- Not updating HPPMaterial and packaging prices change. Recalculate HPP at least every time the price of a main material goes up.
- Mixing business and household costsKeep separate business records and bank accounts so production costs don't get mixed with personal spending.
HPP for Resellers Who Don't Produce
If you buy finished goods and resell them, HPP is the purchase price plus all costs until the goods are ready to sell, such as shipping from the supplier and repackaging. To calculate HPP for one period, use the inventory formula below.





