Landed Cost: The Formula, the Traps, and Why Your Margins Are Estimates

Danilo Mališić

Danilo Mališić

Founder, Adeocode · Jul 30, 2026

Landed cost is the total cost of getting one unit to your warehouse shelf, ready to sell: the supplier’s price plus everything the journey adds. It’s the number your margins are actually built on, and at most small import operations, nobody knows it precisely. They know the FOB price. The rest is a spreadsheet built at order time and never touched again.

An apparel distributor described his process to us like this: “We’re buying 10,000 shirts of varying SKUs, ranging from $6.23 US FOB to $50 and change, fluctuating Canadian exchange rates, fluctuating shipping costs at time of order and time of actual payment, and royalty fees. I literally pull out a calculator and maybe build a cell in an Excel file. Our margins are estimates.”

That last sentence is the whole problem. Here’s the formula, the two traps, and the fix.

The formula

Landed cost per unit = FOB + allocated freight + duty/tariffs + brokerage and compliance + insurance + royalties/licensing, with every foreign-currency component converted at the rate you actually paid.

ComponentWhat it isCommon miss
FOB priceSupplier’s price at their portThe only number everyone tracks
FreightOcean/air + inland to your doorQuoted at order, invoiced at shipment, different number
Duty & tariffsCustoms, by HS code and originRates change; apparel rates are chunky
Brokerage & complianceBroker fees, filings, inspectionsSmall lines that add up per shipment
InsuranceCargo coverageUsually tiny, usually forgotten
Royalties / licensingPer-unit or percentage fees on licensed brandsThe invisible line outside the licensed-goods world
Currency conversionThe rate you settled at, per paymentThe biggest silent variable of all

Trap one: the exchange rate has two dates

You commit to a US-dollar price at order time. You pay a deposit now and the balance months later, after production. If you’re a Canadian importer, you wear every move in USD/CAD between those payments, and a few percent of drift on the currency leg can outweigh any fee line on the sheet.

The spreadsheet version bakes in one rate, the day the sheet was made. The real version records the actual rate on each actual payment. On a six-month production lead, those are routinely different enough to move a product’s margin by full points, in either direction. You don’t control the rate; you can control whether your cost numbers know about it.

Trap two: allocation across a mixed container

A container holds $6.23 shirts and $50 jackets. Divide total freight by total units and the shirt eats far too much freight cost while the jacket gets a subsidy: cheap items look margin-poor, premium items look better than they are, and pricing decisions follow the distortion.

Different costs allocate differently: freight typically by volume or weight, duty by value (it’s charged that way), fixed shipment fees per unit or by value. None of this is hard math. It’s just math a one-cell spreadsheet formula doesn’t do, and a re-order decision made on the distorted version compounds it.

Why it matters beyond the spreadsheet

Three moments force the issue. Pricing: if landed cost is fuzzy, wholesale price lists get set by feel, and feel is generous in the wrong places. Re-orders: you double down on what the sheet says performs, which may be an allocation artifact. Raising money or credit: the distributor quoted above said it directly: when an investor asks about unit economics, “those are things I need to be able to quote in an educated way. We’re kind of winging it.” Banks and investors can tell estimated margins from measured ones by the second question.

What real-time landed cost looks like

The fix isn’t a better spreadsheet; it’s moving the math to where the data already flows:

  1. Purchase orders carry their cost structure: FOB per SKU, expected freight, duty rate, royalty terms, entered once when the order is placed.
  2. Payments record reality: actual amount, actual date, actual exchange rate, deposit and balance separately.
  3. Shipment costs land when invoiced: the real freight bill and the real duty entry replace the estimates on that shipment.
  4. Allocation runs automatically: every unit in the shipment gets its true share, by the right basis per cost type.
  5. Margins report from landed cost, not FOB, in the same system that tracks the stock. When the goods hit the shelf, each SKU already knows what it cost.

This is bookkeeping-grade arithmetic applied continuously instead of once a season. Nothing about it requires an ERP; it requires the purchase order, the payments, and the inventory living in one system, which is exactly the architecture we described in our wholesale inventory guide.

We build landed-cost engines as part of custom inventory systems for importers and distributors: your formulas, your currencies, your royalty terms, wired to your actual POs and payments. If your margins are currently estimates and the calculator-and-Excel-cell routine is the process, book a discovery call and bring one real purchase order. Working through it live is the fastest way to see where the drift is, and that exercise is free either way.

Danilo Mališić, founder of Adeocode

Talk to the founder

Bring us the workflow that doesn't fit

Every discovery call is with Dan, who wrote this and builds these systems. He stays your contact through the whole engagement: no sales team, no handoffs. If the tools you already pay for cover it, he'll tell you that too, and the call costs nothing.

Landed cost is the total cost of getting one unit of product to your warehouse shelf, ready to sell: the supplier's FOB price plus international freight, customs duty and tariffs, brokerage fees, insurance, currency conversion, and any royalty or licensing fees. It is the number your margins are actually built on. Selling price minus landed cost is real gross margin; selling price minus FOB is a comforting fiction.

Landed cost per unit = FOB price + allocated freight + duty and tariffs + brokerage and compliance fees + insurance + royalties or licensing, with every foreign-currency component converted at the rate you actually settled at. Freight and fixed fees are allocated across the units in the shipment, by value, weight, or volume depending on the cost type.

Two reasons. Timing: you build the sheet at order time, but freight rates and exchange rates move between order and payment, and the sheet never gets trued up. Allocation: a container holds units from $6 to $50 FOB, and flat per-unit freight splits overstate cost on cheap items and understate it on expensive ones. Each error is small; compounded across a season they are the difference between the margin you report and the margin you earned.

You commit to a price in one currency months before you pay in it. A Canadian importer ordering in US dollars with a 6-month production lead wears every move in the rate between deposit and final payment. A few percent of drift on the currency leg can eat more margin than any single fee line. The fix is recording the actual settlement rate per payment, not the rate on the day the spreadsheet was built.

Each purchase order carries its cost components; payments record actual amounts and actual exchange rates as they happen; freight and duty land on the shipment when invoiced; and the system allocates everything down to true per-unit cost automatically. When goods arrive, every SKU already knows what it really cost, and margin reports use that number. It is bookkeeping-grade math, applied continuously instead of once.

You may like these

Shopify B2B Pricing in 2026: What's Free on Every Plan, What Still Needs Plus

Shopify B2B Pricing in 2026: What's Free on Every Plan, What Still Needs Plus

Jul 28, 2026

Since April 2026, Shopify includes core B2B features on every plan: up to 3 B2B catalogs, company profiles, payment terms, and volume pricing at no extra cost. The features wholesale operations actually grow into stay on Shopify Plus: unlimited catalogs, catalog assignment per company and location, and partial payments, from $2,300 per month on a 3-year term or $2,500 on 1-year. Here is where the 3-catalog wall hits real distributors, and the third option between the free tier and the $27,600-a-year one.

Read more
Running Wholesale and D2C on Shopify: One Inventory Pool or Two Systems

Running Wholesale and D2C on Shopify: One Inventory Pool or Two Systems

Aug 4, 2026

A distributor selling B2B through reps and D2C through Shopify has two options: run two inventory systems and reconcile them by hand, or build one pool both channels draw from. Shopify alone leans you toward the first. The working architecture is the second: Shopify stays the storefront, QuickBooks stays the books, and an owned system of record underneath gives every channel one live count, including brands you can't sell direct. Here is how that gets built, verified August 4, 2026.

Read more
Inventory Software for Wholesale Distributors: When the Numbers Have to Match

Inventory Software for Wholesale Distributors: When the Numbers Have to Match

Aug 1, 2026

Wholesale distributors run inventory in at least three places at once: a warehouse, the accounts they sell into, and increasingly a direct e-commerce store. Retail POS apps and off-the-shelf inventory tools each cover one of those and lose the others, which is why somebody at every distributor spends a weekend a month reconciling. Here's the honest map of the options, and what a custom system built around one operation looks like: 1M+ SKUs, 99.7% POS sync accuracy, 10,000-row imports in under 3 minutes.

Read more