Landed cost calculation: how to find your true per-unit margin
Quick answer: True landed cost is your factory unit cost plus freight surcharges, drayage and port fees, import duties, and 3PL prep and forwarding fees. Most founders only calculate the first number, then wonder why margins don't match what the spreadsheet promised once real logistics costs show up.
Most ecommerce founders calculate their profit margins wrong, not out of carelessness, just because the math looks simpler than it is.
They look at the factory unit cost, look at the retail price, subtract one from the other, and assume that's the margin. Then the cash runs out faster than it should. What they forgot is landed cost. The factory invoice is just the starting line, and by the time a product actually reaches a warehouse shelf, a handful of quiet logistics fees have already eaten into that margin. Here's how to calculate the real number before setting a retail price around a fake one.
Factor in the freight surcharges
Ocean freight is never a flat rate, no matter what the initial quote implies.
Carriers add Peak Season Surcharges during Q3 and Q4, and Bunker Adjustment Factors whenever fuel prices spike. Calculate margin off a baseline quote from February, and Q4 holiday shipments will quietly bleed money the whole season.
Take the total freight bill, every surcharge included, and divide it by total unit count. Add that number to the factory unit cost, not the freight quote from months earlier.
Don't forget drayage and port fees
Moving a container off a ship costs real money, and it's easy to miss entirely if it's not itemized clearly.
Drayage is what a trucker charges to move a container from the port to a local warehouse. A congested port adds demurrage fees for leaving the container on the dock too long. Sometimes there's a chassis split fee too, if the trucker needs special equipment to move it. These local port fees alone can add hundreds of dollars to a single shipment.
Calculate exact import duties
The government always takes its cut, and the rate isn't the same for every product.
Import duties vary widely based on a product's Harmonized Tariff Schedule (HTS) code. A cotton shirt might carry a 16% duty, while a leather jacket gets hit with 6%, and there's no shortcut to knowing which applies. Look up the exact HTS code for the product category, and apply that percentage to the commercial invoice value. Guessing here isn't just risky for your margin; it's risky legally too.
Include prep and 3PL forwarding fees
Goods arriving at the local warehouse isn't the finish line either.
A 3PL charges to unload a floor-loaded container, and again to palletize the boxes. Shipping to Amazon FBA adds fees for FNSKU labeling and booking outbound domestic freight. Every time a warehouse worker touches a box, landed cost climbs a little more, and those small charges add up faster than most founders expect.
Calculate exact margins with A2Z Supply Chain
Tracking fluctuating freight rates and tariff codes across every shipment is close to a full-time job on its own. A2Z Supply Chain builds that math for you.
Financial modeling: We calculate exact landed cost down to the unit, so retail prices are set against real numbers, not a factory quote.
Logistics: We negotiate all-inclusive freight rates to cut down on surprise drayage and port surcharges.
Supplier coordination: We make sure factories classify goods with the most favorable, legally accurate HTS codes to keep import duties as low as they should be.
Inventory planning: We optimize container loads, so you ship the most units for the lowest possible freight cost per unit.
Round-the-clock support: Our ops pod works 24/7 on Slack to catch billing errors and dispute unfair carrier fees before they quietly become your problem.
Margin doesn't disappear all at once. It gets chipped away by a surcharge here, a drayage fee there, until a healthy-looking spreadsheet stops matching what's actually in the bank.

