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 unit

03Per-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

COGS questions

What is the difference between COGS and landed cost?
Landed cost is the cost of one unit when it reaches your shelf. COGS (cost of goods sold) is the cost of the units you sold in a period — landed cost × units sold under your costing method (moving average, FIFO). Get the landed cost right and COGS follows.
Which charges belong in COGS for an imported product?
The supplier price, freight to your warehouse, duty and fees on the entry, brokerage, insurance, agent commission, inspection and the domestic leg at origin — anything needed to bring the goods to their present location and condition (IAS 2). Recoverable import VAT/GST does not.
How do I find the per-unit share of a bill that covers many SKUs?
That is allocation, and it depends on what drove the bill — weight, value, units or volume. The single-SKU calculator here takes per-unit amounts; for a multi-SKU shipment use the allocator on the home page, which does the split for you.
More than one SKU in the shipment? Allocate the bills instead of dividing them.Allocate my shipment