How to Calculate Product Cost (COGS / Landed Cost)
Real unit cost is not just the purchase price. How to allocate freight, packaging, customs, labor, and hidden import items into unit COGS; why input VAT does not belong in COGS, and how a wrong cost breaks your profit math.
10 min readVerimle Editorial Team
If you get a product's cost wrong, everything you calculate afterward is wrong too: your margin, your break-even point, your target price, which marketplace is more profitable. Yet for most sellers, "cost" is a single number — the purchase price on the supplier invoice. That price is only one part of the money that leaves your pocket to get the product ready to sell. In this article we build the real unit cost — COGS, and in importing the landed cost — item by item, explain why input VAT does not belong here, and walk through allocating from batch to unit with a concrete example.
What is COGS, what is landed cost?
COGS (Cost of Goods Sold) is the sum of the direct costs of getting a product into a sellable state for the customer. Rent, marketplace commission, and advertising are not part of COGS; those are indirect, post-sale expenses. COGS is the cost that accumulates until the product exists in your hands.
Landed cost is the import version of COGS: it covers everything until the goods are settled in your warehouse — goods value, freight, insurance, customs duty, brokerage, bank fees, domestic transport. If you source domestically, the customs and international freight items drop out, but the logic is identical: every non-recoverable cent that makes the product ready to sell is part of your unit cost.
Short rule: what belongs in COGS is every item that leaves your pocket to make the product sellable and that you cannot recover from the state. The VAT on your purchase invoice does not belong here; you reclaim it through deduction. But freight, customs duty, and packaging never come back — they are the body of your unit cost.
Purchase price is just the tip of the iceberg
Splitting the items that make up real unit cost into two groups makes the work easier: batch-level (charged once to the whole shipment) and unit-level (charged to each product separately). In a typical import/sourcing chain you will see:
- Goods value (purchase / FOB): the bare price you pay the supplier. The one item most sellers think of as "cost."
- International freight and insurance: container/parcel transport and insurance premium. Usually batch-level.
- Customs duty and additional levies: taxes paid on import that are not recoverable (customs duty, any additional/anti-dumping duty). These go into COGS.
- Brokerage, port, delivery order, storage: the service and yard costs of clearing the goods.
- Bank and financing: letter-of-credit/transfer commission, exchange-rate difference, transfer fees.
- Domestic transport and warehousing: moving goods from the port/supplier to your warehouse, handling, shelving.
- Packaging: box, filler, label, barcode, brand print — usually unit-level.
- Labor and handling: receiving, counting, quality control, labeling, prep labor.
- Waste and damage: units broken or spoiled in transit/storage. By reducing sellable units, it raises unit cost.
Which of these apply depends on how you source; but saying purchase price equals cost means ignoring the rest of the list. Below, a real batch shows how large that deviation gets.
An item-by-item unit COGS example
Say you import a kitchen product in a single batch of 500 units. The supplier price is 4 USD per unit, exchange rate 34 TL. The naive math: 4 × 34 = 136 TL, "my unit cost is 136 TL." Now let us lay out the whole batch item by item (all amounts are VAT-excluded):
- Goods value (FOB): 500 × 4 USD = 2,000 USD → 68,000 TL
- International freight + insurance: 250 USD → 8,500 TL
- Customs duty (10%, on CIF): (68,000 + 8,500) × 10% = 7,650 TL (non-recoverable → goes into COGS)
- Brokerage + port/delivery order: 4,000 TL
- Bank/letter-of-credit commission: 1,500 TL
- Domestic transport (port to warehouse): 2,500 TL
- Warehousing + handling: 1,000 TL
- Packaging (unit): 500 × 3 TL = 1,500 TL
- Labor / labeling (unit): 500 × 2 TL = 1,000 TL
Total landed cost of the batch: 68,000 + 8,500 + 7,650 + 4,000 + 1,500 + 2,500 + 1,000 + 1,500 + 1,000 = 95,650 TL. From here the unit cost:
- Real unit COGS = 95,650 ÷ 500 = 191.30 TL
- Naive "purchase price" cost = 136 TL
So while you think you made the product for 136 TL, the real cost is 191.30 TL — a 40% gap. Imagine you priced it at a 30% margin over 136 TL: your price would be ~177 TL, but your unit cost is already 191 TL. You would sell the product at a loss on every order and only notice when your payout comes up short. Do these steps not by hand but by entering all items into the product cost calculator, and let it divide the batch total by the units to produce the real COGS.
Don't forget waste: unit cost divides by sellable units
In the example above we assumed all 500 units were sellable. In reality some are broken, spoiled, or off-spec. Say waste is 4%: 500 × 4% = 20 units cannot be sold. Then the same 95,650 TL is divided by 480, not 500:
- Waste-adjusted real unit COGS = 95,650 ÷ 480 = 199.27 TL
In high-waste categories (glass, food, fragile goods) this adjustment is worth several margin points. Always calculate cost over the units that actually reach your hands as sellable.
Input VAT does not belong in COGS — why?
This is one of the most common mistakes. A domestic purchase carries VAT on the invoice; in importing, import VAT is paid at customs. Both are deductible VAT: they offset against the VAT you collect on your sales, and you pay the state only the difference. So this VAT sits temporarily in your pocket and eventually nets out. It is not a cost but a receivable.
Two clear rules follow:
- Always enter VAT-excluded (net base) amounts into COGS. If you add the invoice VAT to cost, you both count that VAT as cost and deduct it on your return; your cost inflates and your profit looks lower than it is.
- Non-recoverable taxes do go into COGS. The customs duty on import (7,650 TL in the example) is not recoverable, so it is part of your unit cost. But never put import VAT into COGS.
If you want to see how the VAT side flows into price and collection as a whole, the VAT calculator clarifies the base/VAT split. As long as you keep COGS VAT-excluded, cost and tax never get tangled.
The hidden items of importing
In importing, certain items quietly push unit cost up without showing as a single line on the invoice. The often skipped ones:
- Exchange-rate difference: the rate moves between the day you order and the day you pay. Lock landed cost to the rate at which payment was actually made; calculating with the order-day rate misrepresents cost.
- Letter-of-credit and bank fees: issuance/confirmation commission, SWIFT, and transfer fees look small but add up per batch.
- Storage and demurrage: if goods wait at the port/bonded warehouse, daily storage and container detention (demurrage) penalties accrue. Late clearance inflates unit cost fast.
- Inspection, certification, samples: one-off but real costs like conformity certificates, lab tests, and pre-shipment sample shipping.
- Minimum orders and dead stock: if a supplier's minimum forces you to buy more than you need, the unsold portion also carries that batch's cost.
Catching these one by one may look hard; but adding each to the batch total and dividing by the unit count can change unit cost by tens of lira. The rule is simple: everything you pay to get that batch into your hands is that batch's cost.
Allocating from batch to unit
If you import a single product, allocation is easy: divide the batch total by the unit count. The hard part is how to distribute shared costs when a shipment holds more than one product (SKU). For example, if a single container has both light and heavy products, splitting freight equally between them is unfair — the heavy product creates more of the transport cost. For correct allocation:
- Charge directly traceable items directly. Packaging, labels, or special labor tied to a specific SKU go straight into that product's cost; do not distribute them.
- Distribute shared items by a key. Distributing freight by volume/weight (desi) and customs and insurance by goods value is common and sensible.
- Then divide by units. Divide each SKU's total cost by its sellable unit count to find unit COGS.
The choice of key matters: a wrong key makes one product look cheaper than it is and another more expensive, and it breaks per-product profit decisions. As a benchmark, distributing freight by value for bulky products is a serious error; always distribute it by volume/desi.
How a wrong COGS breaks your profit math
Unit cost is the input to profit math; if it is wrong, the whole output is wrong. Concrete effects:
- Margin illusion: because you keep cost low, you see profit on screen but not in the till. Thinking a product with 191 TL cost is 136 TL and "selling at 30% profit" is actually selling at a loss. The profit margin calculator is only meaningful with the correct COGS.
- Break-even shifts: break-even (how many units cover your costs) rests directly on unit cost. If COGS is understated, your break-even looks earlier than it is; in reality you are still at a loss. Check it on correct cost with the break-even point calculator.
- Wrong pricing and discounts: a seller who does not know the real cost accidentally drops below cost in a campaign. While saying "I'm running a discount," you are distributing a loss.
- Wrong product decisions: you decide which product to scale and which to cut by looking at COGS. If cost is wrong, you mistake a loss-making product for a "star" and increase its stock.
COGS also affects your cash flow: unit cost shows how much money you have tied up in stock. On a slow-moving product, high COGS means capital locked for a long time. Read together with the inventory turnover calculator, cost and turnover let you catch products that "look profitable but keep money waiting on the shelf."
Keep COGS a live number, not a one-off
Product cost is not a number you compute once and set aside. The exchange rate swings, freight rises, supplier prices change, and the waste rate varies by season. Pricing decisions made without recomputing unit COGS on each batch rest on an old, wrong cost. The right method: total each batch item by item, divide by sellable units, and make that number the fixed input to pricing and profit math. Instead of doing it by hand, update the product cost calculator on every new shipment so unit COGS always reflects reality.
On the Verimle side, the point is not only computing cost but reconciling it with reality after the sale: it combines the unit COGS you enter with each order's marketplace deductions (commission, shipping, service fees, withholding) to derive real net profit per product, and alerts you when there is a below-cost sale or a larger-than-expected deduction. Get the cost right; leave the tracking to the system.
Note: The COGS and landed cost examples here are illustrative; your real product cost varies with your own purchase, freight, customs, and exchange-rate figures. To see the exact result, enter your own numbers into the product cost calculator and calculate your unit COGS. This guide was reviewed on July 18, 2026.