Free landed cost allocator · China → Shopify
Your true cost per SKU, from the factory in China to your Shopify shelf.
Log the deposit and balance you paid your supplier, the agent fee, the freight bill and the customs entry. We split every dollar across the units you actually received — by value, quantity, weight or volume — and give you the new cost per item as a Shopify-ready CSV, with a cost history for every SKU. Moving off Stocky? Bring your receipts and start with the free allocator on your next shipment.
Runs in your browser. No account, nothing uploaded. Want to see the output first? Open the sample report
01Receipt lines
02Payments & exchange rate
Fetching the ECB reference rate for 2026-11-16…
03Costs to allocate
Each bill picks its own method. Defaults follow what moves the cost: freight by weight, duty by value, brokerage per unit.Duty: use the amount on your customs entry (CBP 7501 line totals); this tool does not classify HS codes. MPF: use the amount printed on the entry — the prefill is the 0.3464% ad valorem part before the yearly minimum and maximum.
Built for China imports
The four costs most calculators have no row for
Freight and duty are the easy part. Importing from China adds a deposit paid months earlier, an agent on a percentage, a domestic leg and an inspection — each needs its own line and its own method.
Deposit & balance FX
The 30% you wired in September keeps September’s rate; the balance takes the rate on the day the goods landed. Both from ECB reference rates, both editable.
Agent commission
Your sourcing agent’s 5% is a cost of getting the goods, so it lands in cost per item — by value, on the lines it was charged for.
Domestic freight in China
Factory → Ningbo CFS is a freight bill too. Allocate it by weight next to the ocean leg instead of losing it in “other”.
Sample & QC inspection
Pre-shipment inspection is a flat fee per visit — spread it per unit received, not per dollar.
How the numbers add up
Every bill closes to the cent. The stamp proves it.
A $100.00 clearance fee shared by three identical lines is 33.34 + 33.33 + 33.33 — not three cells of 33.33 that add to 99.99 under a total that still says 100.00. We round each cost line with the largest remainder method, then stamp the receipt Σ BALANCED only when every bill’s shares equal the bill.
Pick a basis per bill
Freight by weight, duty by value, brokerage per unit — set once per cost line, not once per shipment.
Share = bill × basis ÷ Σ basis
Computed exactly, then rounded so the column adds up. Hover any cell to see its arithmetic.
Landed unit = (line value + shares) ÷ received
Kept at four decimals internally, shown at two. Rejected and unreceived units take nothing.
| Line | Exact | Cell-rounded | Largest remainder |
|---|---|---|---|
| S1 | 33.3333… | 33.33 | 33.34 |
| S2 | 33.3333… | 33.33 | 33.33 |
| S3 | 33.3333… | 33.33 | 33.33 |
| Σ | 100.00 | 99.99 | 100.00 |
Moving off Stocky?
Stocky is gone. Your receiving costs do not have to be.
Stocky closed on 31 August 2026 and historical purchase orders never moved into Shopify. Export your last average costs while you still have read access, seed them as the old cost, and run your next shipment through the allocator — the new cost per item blends the stock you hold with what just landed.
- COGS calculator — one SKU, every charge, cost per unit.
- Partial receiving — when half the order arrives first.
- Late costs — the freight invoice that arrives after the goods.
- Cost history — seed → receipt → late cost → correction → undo.
FAQ