COGS calculator
COGS calculator for imported products
One SKU, every charge that gets it to your shelf: supplier price, packaging you buy separately, and the per-unit share of freight, duty, agent fee and inspection. Then margin at your price, and the price that keeps your margin.
01Supplier price
02Packaging and components bought separately
Pack price ÷ pack quantity × used per unit03Per-unit charges
Shipment bills ÷ units. For many SKUs, let the allocator split them.04Price and margin
From purchase order to cost per unit
Where each number comes from
A purchase order gives you the supplier price. The bills that follow it — the forwarder, the broker, the customs entry, the agent, the inspector — are what turn that price into a cost. For a single SKU you can divide each bill by the units and type the per-unit amounts above. For a shipment with several SKUs, the per-unit shares depend on what drove each bill: a 950 g cutting board should carry more freight than a 120 g whisk, but the same share of a flat inspection fee. The landed cost allocator does that split by value, quantity, weight or volume and rounds so that every bill closes.
COGS for a period is then your costing method applied to units sold: moving weighted average (what Shopify’s single cost per item approximates) or FIFO layers. The cost history example walks through a seed cost, a receipt, a late bill and a correction.
FAQ