Having an accurate and verifiable landed cost is the #1 reason we built Eleven Elves. It affected our marketing pricing strategy and our P&L. But with over 1,000 SKUs and 2,000,000 units of inventory, our spreadsheets were giving us bad or delayed data.
Landed cost is what a product costs you by the time it reaches your warehouse: the supplier's price plus the freight and import duty to get it there, divided by the units received. If the cost in your Shopify admin is only the supplier's price, every margin Shopify shows you is too high. In the first example below the gap is $1.00 a unit, or $2,000 on one container.
What Goes Into Landed Cost?
Under US GAAP, the accounting rules US companies follow, the inventory standard (ASC 330) defines cost as "the sum of the applicable expenditures and charges directly or indirectly incurred in bringing an article to its existing condition and location." KPMG's inventory handbook reads that to include inbound delivery costs and tariffs on the goods you bring in.
So the test for any bill is one question. Did we pay this to get the product here? Ocean freight, yes. Duty, yes. Shipping an order out to a customer, no.
Here is an example with made-up numbers: one container holding 2,000 journals.
| Cost | Amount |
|---|---|
| Supplier invoice (2,000 at $4.00) | $8,000 |
| Ocean and inland freight | $1,400 |
| Import duty | $600 |
| Landed cost | $10,000 |
| Per unit ($10,000 / 2,000) | $5.00 |
That one was easy, because everything on the container was the same product.
How Do You Split Freight Across Different Products?
A container with more than one product needs one more step: the shared bills have to be split across the products. The usual ways are by value, by quantity, by weight, or by volume. They do not give the same answer, and the difference can be large.
Another made-up example. One container holds 2,000 journals and 1,000 ceramic mugs. The journals are dense and the mugs are bulky. Freight for the container is $2,000.
| Journals | Mugs | Total | |
|---|---|---|---|
| Units | 2,000 | 1,000 | |
| Supplier cost per unit | $4.00 | $2.00 | |
| Supplier invoice | $8,000 | $2,000 | $10,000 |
| Space in the container (cubic meters) | 4 | 16 | 20 |
Split the $2,000 of freight by value and the journals carry 80% of it, because they are 80% of the invoice. Split it by volume and the mugs carry 80%, because they took up 80% of the box.
| Freight split | Journals | Mugs |
|---|---|---|
| By value: share of freight | $1,600 | $400 |
| By value: freight per unit | $0.80 | $0.40 |
| By volume: share of freight | $400 | $1,600 |
| By volume: freight per unit | $0.20 | $1.60 |
Same container, same bill. The mug's freight is $0.40 one way and $1.60 the other. On a $2.00 mug that is the difference between a product that makes money and one that might not.
Which is right? Ask what drove the bill. If you paid for the space in the container, volume is the honest answer: the mugs are why you needed a bigger box. Duty is different. In this example it is charged product by product, at different made-up rates, so it doesn't get split at all. It goes to the product it was charged on.
| Landed cost | Journals | Mugs |
|---|---|---|
| Supplier invoice | $8,000 | $2,000 |
| Freight, split by volume | $400 | $1,600 |
| Duty (5% and 10% in this example) | $400 | $200 |
| Landed cost | $8,800 | $3,800 |
| Per unit | $4.40 | $3.80 |
The mug that cost $2.00 at the factory costs $3.80 on your shelf. Pick a method for each kind of bill, write it down, and don't change it from container to container.
Real life is messier than this. We've had multiple purchase orders on the same container, duties at different rates for products on the same container, and multiple containers for the same purchase order. The arithmetic is the same each time. There is just more of it, which is how this job ends up in a spreadsheet.
What Doesn't Count as Landed Cost?
Three things get put into inventory that don't belong there.
Outbound shipping. The standard says "selling expenses constitute no part of inventory costs." Getting an order to a customer is a cost of selling it.
Abnormal costs. ASC 330 says "abnormal freight, handling costs, and amounts of wasted materials (spoilage)" are expensed in the period they happen. Be careful with the word abnormal, though. PwC's inventory guide is clear that a higher-than-expected cost for a routine activity is not abnormal. A freight rate that doubled is still freight, and it still goes into inventory.
Storage after the goods arrive. KPMG's handbook says that in practice, warehousing costs are generally treated as a cost of the period and not included in inventory. (There is a narrower exception that lets a retailer include off-site warehousing and warehouse-to-store distribution costs. If that's you, it's a question for your CPA.)
Why Is Your Shopify Margin Higher Than Your Real Margin?
Shopify calculates margin from the Cost per item field on each product. Shopify's own help page for that field gives this example of what to enter: "the price that you paid the manufacturer, excluding taxes, shipping, or other costs."
Follow that example and the journal from the first container goes in at $4.00. At a $20 price, Shopify shows an 80% margin. The real number, at $5.00, is 75%. Five points doesn't sound like much until you price a wholesale deal or a Black Friday discount off the wrong one.
Two more things to know about that field. The same page says "the cost per item is recorded on an order when the order is created," so fixing the cost today does not repair the margin on last month's orders. And Shopify's profit reports page says to run your financial reports in another system, such as your accounting system. Shopify does let you add shipping and customs duties as cost adjustments to the shipments on the inventory transfer linked to a purchase order. Its help page doesn't say those adjustments change the cost per item, so don't assume they do.
The other half of the problem is timing. I wrote about it in the first post here. Code the freight bill to a shipping expense account and the month the container lands looks worse than it was. Then every month you sell those journals looks better than it was. Nothing is wrong in total. But no single month is right.
How Should Landed Cost Go in Your Books?
The freight and the duty go to inventory, an asset, alongside the product they brought in. They become cost of goods sold, the cost of what you sold, as the units sell. This is the entry our Purchasing elf is built to write when the first container, the journals, is checked in:
| Account | Debit | Credit |
|---|---|---|
| Inventory | $10,000 | |
| Accounts payable, supplier | $8,000 | |
| Accounts payable, freight forwarder | $1,400 | |
| Accounts payable, customs duty | $600 |
Sell 500 journals in December and $2,500 (500 at $5.00) moves from inventory to cost of goods sold. The other $7,500 stays on the balance sheet until those units sell.
What Changes With FIFO, LIFO, or Weighted Average?
Landed cost tells you what each container cost. It doesn't tell you which container's cost to use when a unit sells, and the next container never costs the same as the last one. That is what a costing method decides. GAAP allows several, and ASC 330 names three: "first-in first-out (FIFO), average, and last-in first-out (LIFO)." Weighted average cost, or WAC, is the usual name for the average method.
Say the second container of 2,000 journals lands at $5.60 a unit because freight went up. You now have 4,000 journals that cost $21,200. Then you sell 2,500.
| Method | How it picks the cost | Cost of goods sold | Inventory left |
|---|---|---|---|
| FIFO | Oldest first: 2,000 at $5.00, then 500 at $5.60 | $12,800 | $8,400 |
| Weighted average | All 4,000 at $5.30 ($21,200 / 4,000) | $13,250 | $7,950 |
| LIFO | Newest first: 2,000 at $5.60, then 500 at $5.00 | $13,700 | $7,500 |
Same journals, same sales, and $900 between the highest and lowest cost of goods sold. None of them is wrong. ASC 330 says the goal is to choose the method that "most clearly reflects periodic income," and KPMG's handbook adds that once you choose, you apply it consistently from period to period. Changing methods later is a change in accounting principle, which has to be justified.
Different people in your company will want different answers. Marketing teams like WAC, tax accountants like LIFO, and 3PLs (outside warehouses) like FIFO.
One caution if LIFO is on the table. The IRS says "if a taxpayer uses the LIFO method for tax, they must use the LIFO method for book." There are exceptions in the regulations, and the election has its own form (Form 970). This is a decision to make with your CPA, not from a blog post.
Which Tools Calculate Landed Cost?
| Tool | What its own site says |
|---|---|
| Shopify | Margin comes from Cost per item. Cost adjustments can be added to the shipments on the transfer linked to a purchase order. |
| QuickBooks Online | Tracks inventory on FIFO by default, or moving average cost. Intuit's landed cost help article is for QuickBooks Desktop Enterprise, not Online. |
| A2X | Books cost of goods sold from product costs you provide or sync in. |
| Finale Inventory | Landed cost spread by "value, quantity, weight, volume, or total quantity," synced to QuickBooks Online and Xero. |
| Cin7 | Purchasing costs distributed "by value, weight, or cubic meter" (Cin7 Omni), synced to Xero or QuickBooks Online. |
Finale's Inventory app does this decently today. We used to run our inventory on their software, but it didn't solve all of our problems. Its site describes a built-in landed cost feature, and says it syncs with QuickBooks Online and Xero. That sync is the difference. Finale is a second system that has to keep handing numbers to your books. Eleven Elves is built so purchasing, inventory, and the accounting ledger are one system, so the landed cost and the journal entry are the same record. You'd still connect Shopify and your bank. You wouldn't sync an inventory app into QuickBooks. We aren't open yet, so if you need this now, Finale is a real answer.
Eleven Elves is built to handle all of these problems. No more spreadsheets. It's built to run your marketing reports on WAC, your ledger on LIFO, and the warehouse on FIFO.
Is Landed Cost Different for Taxes?
It can be. The IRS also counts transportation charges for acquiring goods as part of their cost (Publication 538). But the tax rules can go further than your books do. The uniform capitalization rules (section 263A) can require a reseller to put additional costs into inventory. The instructions for Form 1125-A list off-site storage or warehousing, purchasing, and handling among them. Notice that storage is on the tax list and usually off the GAAP one.
A small business taxpayer is exempt from those rules. For tax years beginning in 2026, that means average annual gross receipts of $32 million or less over the prior three years, per Revenue Procedure 2025-32, and not being a tax shelter. Being exempt from those rules doesn't take freight out of the cost of your goods. Publication 538 still counts transportation charges as part of it. Ask your CPA which rules apply to you.
If this helped, sign up for our strategy newsletter.
JJ
This article is general information, not tax or accounting advice. Check with your accountant about how it applies to your business.