Landed cost: what a product really costs once freight is in
Freight, duty and inland transport change the unit cost once they are allocated per product: choosing an allocation key, a worked example, and the effect on margin.
It is 7:40 on a Tuesday morning. The warehouse lead is unloading a shipment that just cleared customs: 600 cartons, unit price on the supplier invoice 4.10 dollars. The purchasing manager passes that number to sales, and sales builds the price list on top of it. Three weeks later, when accounting posts the freight invoice, the broker's fee, two days of demurrage and the inland haul, the real cost of those cartons finally surfaces — and the price list is still built on a number from three weeks ago.
Landed cost is every expense that attaches to a product before it sits on your shelf, expressed per unit. This article covers which line items belong in that figure, how they get allocated across products, how the exchange rate is fixed on a foreign-currency purchase, which customs payments are cost and which are recoverable, a worked example, the gap between goods receipt and the freight invoice, how the number feeds inventory valuation, and how it reshapes pricing. Every figure below is an example; confirm your own numbers, and anything tax or customs related, with your accountant.
Why is the unit price on the invoice not the real cost?
A supplier invoice answers one question: what you paid for the goods. Everything you pay to get them to your door sits outside that document, and the incoterm decides how much. On an ex-works purchase, freight, insurance, clearance and inland transport are all yours; on a delivered-duty-paid purchase, most of that is baked into the seller's price. Compare two quotes without comparing the delivery terms and you are not comparing two prices at all.
The gap hurts most on cheap, bulky goods, where freight can approach half the goods value, while on a compact high-value item the same freight is a rounding error. Ship both in one container and split transport evenly, and you inflate one product's margin while quietly eating the other's. Seeing where profit actually forms means keeping the cost side as granular as the revenue side, and tracking income and expenses line by line is the only method where that detail survives.
Which line items belong in landed cost, and which do not?
One question draws the line: was this spend necessary to get the goods sitting saleable in your warehouse? If yes, it is cost. If no, it is a period expense. The necessary side usually looks like this:
- Goods value — net of discounts and of anything you expect to return.
- International freight and cargo insurance — ocean, road or air carriage plus the insurance premium.
- Duties and levies — the taxes and charges that stay with you rather than being recovered.
- Clearance services — broker fees, terminal handling, documentation, inspection and testing charges.
- Port and storage — demurrage, detention and warehousing while the goods wait.
- Inland transport and receiving — the run from port to warehouse, unloading, and repacking where it is needed.
What stays out matters just as much: outbound shipping, marketing, sales commission, overhead and the financing carried while stock waits are not landed cost — those are the cost of selling the product, not of putting it on the shelf. To measure that side separately, the cost-to-serve framework gives the right shape; mixing the two distorts both inventory value and margin analysis.
Which allocation key do you use to spread the extra costs?
With one product in a shipment, the maths is trivial: divide the extras by the units. In real life a container holds fifteen SKUs and the freight invoice is one line. To split those extras you choose an allocation key, and that key decides which product looks expensive and which looks cheap.
The question to ask is what physically drives each cost. Freight is driven by weight and volume, so allocating it by value sends the wrong signal; duty is driven by declared value, so allocating it by weight sends the wrong signal. A flat broker fee is driven by nothing physical at all, so spreading it by value or by line count is a judgement call — what matters is writing that call down and applying it the same way every shipment.
| Allocation key | Fits which cost | Where it breaks down |
|---|---|---|
| Value (net goods cost) | Duty, insurance, letter-of-credit charges | Understates freight on cheap but bulky items |
| Weight | Road and ocean freight, handling | Favours light items that still take up space |
| Volume / cubic | Air freight, container freight, warehousing | Makes heavy but compact items look cheap |
| Unit count | Labelling, individual packing, inspection | Treats very different sizes as equals |
| Mixed (a key per cost line) | Mixed shipments | Takes longer to set up and to audit |
The Landed Cost screen in Rocketly's inventory module records that judgement rather than leaving it in someone's spreadsheet: you attach freight, duty and other extra cost lines to a shipment, pick an allocation key per line, and push the result into the per-product unit cost. Three months later, the answer to "why did this item cost 5.26 instead of 4.10" is still sitting on the same screen.
Which rate fixes the cost on a foreign-currency purchase?
A foreign-currency shipment has two separate events: the moment title passes to you and the moment you actually pay. The rate moves in between. The common approach is to fix inventory cost at the rate on the date the goods are recognised, then track the subsequent exchange difference as its own financial item instead of folding it back into stock cost. That keeps two batches of the same item from carrying unrelated costs purely because they were paid on different days.
Three decisions follow: which date sets the rate, which published rate you use, and whether prepayments get revalued later. Tax treatment varies by jurisdiction and transaction type, so rather than interpreting the rules yourself, confirm them with your accountant and turn the answer into a one-page internal rule. If you also sell across borders, the same discipline applies on the revenue side, and the basic framework for e-commerce taxation clarifies which questions to put to whom.
Does every payment at customs become part of cost?
No, and this is the most frequent error in the whole calculation. Some of what you pay at the border is a genuine burden that stays with you; some is recoverable later, leaving your account temporarily but never truly yours to carry. The first group is cost, the second is not. Push the second into cost and you overstate the product, price it too high, and inflate inventory value on the balance sheet.
Deciding which side a line falls on is a regulatory question, not a software one. Your job is to classify each line of the customs declaration once and turn that into a template, built against at least three different import scenarios rather than a single shipment type. Confirm every line you are unsure about with your accountant; a template built correctly once stops you asking the same question on the next hundred shipments.
What does a worked landed cost calculation look like?
The figures below are an example, constructed to show the method. One shipment carries two products. Product A: 600 units at 4.10 dollars, 2,460 total, 1,200 kg. Product B: 200 units at 12.00 dollars, 2,400 total, 300 kg. Extra costs: freight 900, insurance 60, clearance and broker fees 240, inland transport 150.
The method runs in three steps. First, pick a key per cost line: freight and inland transport by weight, insurance and clearance by value. Second, work out the shares — by weight A takes 1,200 of 1,500, or 80 percent, and B takes 20 percent; by value A takes 2,460 of 4,860, roughly 50.6 percent, and B takes 49.4 percent. Third, add the shares and divide by units.
Product A absorbs 80 percent of the 1,050 dollars of weight-driven cost, which is 840, plus roughly 50.6 percent of the 300 dollars of value-driven cost, about 152 — so 992 in total. Across 600 units that is about 1.65 each, making the true unit cost 5.75 rather than 4.10. Product B absorbs 210 plus 148, so 358; across 200 units that is 1.79 each and a true unit cost of 13.79. The item you thought carried a forty percent margin is actually selling nearer fifteen.
How do you close the gap between goods receipt and the freight invoice?
The hard part in practice is not the arithmetic, it is the timing. Goods arrive, you start selling, and the freight invoice shows up a fortnight later. For those two weeks every unit sold was costed short. The standard answer is to accrue an estimated extra cost at receipt and post the difference when the real invoice lands; the realised ratio on the last three shipments from the same supplier on the same route is usually a close enough estimate.
Rocketly's Purchasing & Goods Receipt flow keeps the steps from purchase order to receipt in one chain, so you are not hunting later for which receipt belonged to which order and which cost lines, and Order Revision stores every revision of a sent purchase order with a diff of what changed. Measuring the estimate-to-actual gap regularly buys a second benefit: you find out which supplier consistently overruns. That is the clearest evidence that a supplier with an attractive unit price is in fact the expensive one, and read alongside the Supplier Performance metrics it gives your buyer something concrete to negotiate with.
How does landed cost feed inventory valuation and cost of goods sold?
Landed cost is not a standalone report; it is the input to your valuation method. When you buy the same item at different costs, something has to decide which cost comes off when you sell a unit. Under moving average, each receipt blends into existing stock to produce a new average unit cost. Rocketly's Stock Deduction from Invoice works exactly that way: when a sales invoice is finalised, stock moves in the same transaction and the cost is computed on a moving average.
The practical consequence: a landed cost error at goods receipt does not stay contained in one shipment. It blends into the average and bleeds into following months, which is why extra-cost corrections should not wait for period close. To catch where the stock ledger and the accounting ledger start to diverge, the Stock–Accounting Reconciliation screen lists records that were invoiced but never deducted from stock, so the gap surfaces before it compounds.
How does landed cost change pricing, discounting and margin decisions?
The first effect of knowing your real cost shows up not in the price list but in discount authority. Telling a rep they can go up to ten percent off is, on an under-costed product, permission to lose money. Once landed cost is set per product, the discount ceiling can vary by product family and stay tight on bulky, freight-heavy lines.
The second effect is product mix. Revenue rank and margin rank almost never agree once landed cost is applied; the bestseller is frequently the weakest earner. Reading ABC Analysis and Stock Ageing & Turnover against true unit cost shows which shelf your working capital is locked up on. The third is channel choice: a marketplace with a high commission can turn a paper-profitable sale on a thin-margin item into a loss. To bring the acquisition side in, measuring acquisition cost at product level completes the table.
What these three share is that cost is a decision input, not an accounting entry. The same holds for software, where a tool's monthly fee is not what the tool costs you: the total cost of ownership lens surfaces the non-subscription lines with identical logic.
It applies to headcount as well, and breaking an employee's true cost to the employer into its components is the same discipline as breaking down a container. In both cases the figure on the invoice is only one part of the total.
Which mistakes break a landed cost calculation most often?
The first is using a single allocation key for everything. Splitting all extras by value because it is easy systematically understates cheap, bulky goods, and the error accumulates in one direction for months before anyone notices. The second is capitalising recoverable taxes. The third is ignoring invoices that arrive after the shipment is closed, or dumping them into a general period expense; that money belongs to specific products.
The fourth is subtler: unit mismatch. The supplier quotes per case, you sell per unit, and freight arrives per kilogram. Do any of those conversions by hand and a misplaced decimal is a matter of time. Unit of Measure Conversion lets you define alternative units such as case or pack per variant while stock stays in one base unit, keeping the conversion in a single place. The fifth is ignoring shrinkage: if 600 units arrive and 588 are saleable, the extra cost divides by the saleable count, not by 600.
Finally, treating this as a one-off spreadsheet exercise is itself a mistake, because freight rates, exchange rates and tariffs all move and the figure has to be recomputed every shipment. That is why the calculation belongs inside the receiving flow rather than in a workbook. The same data serves forward planning: grounding your sales forecast in actual behaviour sets order quantity, and order quantity sets the freight share per unit.
In the same way, the funnel's real conversion efficiency shapes how much stock you tie up in which product. If the conversion assumption is optimistic, the order quantity is too, and excess stock locks up capital on the shelf instead of lowering the unit cost.
Do not confine cost discipline to one area. The same question applies to automation: putting a credit cap on an AI agent is the digital version of the logic that keeps spend from becoming a surprise.
Software selection is no different, and the real cost-and-control trade-off between open source and commercial tooling includes far more than the licence line. Whatever the domain, the question is the same: what is inside this number, and what is missing from it.
To start seeing shipment costs at product level, open a free Rocketly account and record your next goods receipt with its landed cost lines attached.
FAQ
Is landed cost the same thing as cost of goods sold?
No. Landed cost is the per-unit cost of getting an item onto your shelf, and it feeds your inventory value. Cost of goods sold is the portion of that value that moves to the income statement when units are sold. If landed cost is wrong, cost of goods sold is wrong too.
Is this worth doing on small shipments?
If extras come to under one percent of goods value, the effect is negligible. But courier, clearance and inland costs weigh proportionally heavier on small consignments, so the biggest surprises usually show up there. Measure a few shipments and look at the ratio before deciding.
What do I do when a cost invoice arrives after period close?
An immaterial amount can be taken as a period expense; a material one is allocated to the relevant products with a correction entry. Rather than setting the threshold and the method yourself, confirm both with your accountant and write the decision up as an internal rule.
Which cost applies when I bought the same item at different prices?
That depends on your valuation method. Under moving average each receipt blends into existing stock to form one current average unit cost, and sales draw from it. Applying the method consistently matters more than which method you picked.