Landed cost for ecommerce brands: the true cost of every unit

Ecommerce brands calculate landed cost by adding eligible acquisition costs to the purchase price after discounts and rebates, then allocating the total across the units received. These costs can include freight, cargo insurance, duties, customs fees, brokerage and handling needed to bring inventory to its present location and condition. Exclude recoverable taxes and ineligible costs, and avoid counting charges already included in the supplier's price twice.
Skip any of those lines and your margins look better than they are. This guide gives you a copyable landed cost calculator with US and EU worked examples, plus allocation rules for mixed containers.
What is landed cost and why does it matter for ecommerce margins?
Landed cost measures the eligible acquisition cost of inventory brought to its present location and condition. It is an important input to pricing and product gross margin, but it does not cover every cost of selling: channel fees, outbound fulfillment and operating expenses still affect profitability.
Freight alone may not capture the full acquisition cost. Depending on the shipment, insurance, brokerage, port fees and eligible handling can also apply. Missing eligible costs understates inventory cost and, when those units sell, product COGS.
The IAS 2 Inventories standard says the cost of inventories includes all costs of purchase. For US tax, IRS Publication 538 counts transportation and other charges incurred in acquiring the goods as part of inventory cost.
Landed acquisition costs enter inventory first and flow into cost of goods sold (COGS) when the related goods are sold, using the business's inventory valuation method.
What expenses are included in the landed cost formula?
The landed cost formula combines the net purchase price with eligible costs of transport, insurance, customs clearance and receiving. Deduct recoverable taxes, avoid double counting costs included under the supplier's delivery terms, and exclude ineligible costs such as abnormal waste or post-production storage. Confirm capitalization and tax treatment with your accountant.
| Cost line | US example | EU example | Include in unit cost? |
|---|---|---|---|
| Product purchase price | Supplier invoice | Supplier invoice | Yes, if eligible |
| Ocean or air freight | To the US port | To the EU border | Yes, if eligible |
| Cargo insurance | Shipment policy | Shipment policy | Yes, if eligible |
| Customs duty | Illustrative rate × accepted customs value | Rate × customs value | Yes, if eligible |
| Customs user fees | MPF and HMF | None in this example | Yes, if eligible |
| Customs brokerage | Fee per entry | Fee per declaration | Yes, if eligible |
| Port and terminal fees | Terminal handling | Terminal handling | Yes, if eligible |
| Inland haulage | Port to warehouse | Port to warehouse | Yes, if eligible |
| Warehouse receiving | Unloading and put-away | Unloading and put-away | Yes, if eligible |
| Import VAT | None | Charged at import | No, if deductible |
| Sales tax | Charged on sales to customers | None | No |
For US imports, the CBP user fee table sets the Merchandise Processing Fee for formal entries at 0.3464% ad valorem. Covered vessel imports can also incur the Harbor Maintenance Fee of 0.125% of merchandise value. Entry type, exemptions and applicable trade arrangements affect which fees are payable; confirm them with your customs broker.
CBP adjusts the minimum and maximum every fiscal year. For entries from October 1, 2026, the CBP Dec. 26-14 notice sets the MPF minimum at $34.58 and the maximum at $670.86.
Under Union Customs Code Article 71, the transaction value is adjusted for eligible transport, insurance and associated loading or handling up to entry into the EU, where not already included. Duty depends on classification, origin and applicable measures; the examples below assume simple percentage rates. See EU customs valuation guidance explains.
Import VAT starts from the same base. Under EU import VAT rules, the taxable amount is the value for customs purposes plus customs duties and other import taxes. Supplementary costs up to the place of destination are added too.
Under VAT Directive Article 168(e), a taxable business may deduct import VAT where the goods are used for transactions giving a deduction right and the relevant importer and documentation conditions are met. Registration alone does not guarantee full recovery. Recoverable import VAT stays out of inventory cost.
How do you calculate landed cost per unit?
Landed cost per unit equals product cost plus allocated shared costs plus SKU duty, divided by units received. Run the landed cost calculation once per batch, because every shipment carries different freight and fees.
Landed cost per unit = (product cost + allocated shared costs + SKU duty) ÷ units received
Worked example: one container, two SKUs
This simplified example follows one container with two SKUs into a US warehouse. Product values, volumes and duty rates are illustrative, not tariff classifications or quotations. It assumes the product invoice values are accepted customs values, international freight and insurance are separately identified, MPF and HMF apply, and there are no additional tariffs, preferences or valuation adjustments.
Example: SKU A is a ceramic mug, 4,000 units at $3.00, taking 20 CBM. SKU B is a cast iron pan, 1,000 units at $18.00, taking 40 CBM. Example duty rates are 6% and 5%; use the rates for your own product codes.
Paste the table into cell A1 of a blank sheet. Column B recalculates; column C shows the expected result.
| Input | Formula | Result |
|---|---|---|
| Example: SKU A units | 4000 | 4,000 |
| Example: SKU A unit price (USD) | 3 | $3.00 |
| Example: SKU A volume (CBM) | 20 | 20 |
| Example: SKU A duty rate | 0.06 | 6% |
| Example: SKU B units | 1000 | 1,000 |
| Example: SKU B unit price (USD) | 18 | $18.00 |
| Example: SKU B volume (CBM) | 40 | 40 |
| Example: SKU B duty rate | 0.05 | 5% |
| Example: ocean freight | 6000 | $6,000.00 |
| Example: inland haulage | 800 | $800.00 |
| Example: receiving and handling | 500 | $500.00 |
| Example: cargo insurance | 150 | $150.00 |
| Example: customs brokerage | 250 | $250.00 |
| Example: port and terminal fees | 400 | $400.00 |
| SKU A product value | =B2*B3 | $12,000.00 |
| SKU B product value | =B6*B7 | $18,000.00 |
| Total product value | =B16+B17 | $30,000.00 |
| MPF (0.3464%, $34.58 min, $670.86 max) | =MIN(MAX(B18*0.003464,34.58),670.86) | $103.92 |
| HMF (0.125%, ocean cargo) | =B18*0.00125 | $37.50 |
| SKU A duty | =B16*B5 | $720.00 |
| SKU B duty | =B17*B9 | $900.00 |
| Volume pool (freight, haulage, handling) | =B10+B11+B12 | $7,300.00 |
| Value pool (insurance, brokerage, port, MPF, HMF) | =B13+B14+B15+B19+B20 | $941.42 |
| SKU A volume share | =B4/(B4+B8) | 33.33% |
| SKU A value share | =B16/B18 | 40.00% |
| SKU A total landed cost | =B16+B21+B23*B25+B24*B26 | $15,529.90 |
| SKU B total landed cost | =B17+B22+B23*(1-B25)+B24*(1-B26) | $24,331.52 |
| SKU A landed cost per unit | =B27/B2 | $3.88 |
| SKU B landed cost per unit | =B28/B6 | $24.33 |
The EU example reuses the same numerical inputs in euros solely to illustrate a different customs-value calculation; it is not a currency-adjusted comparison of US and EU costs. Freight and insurance are assumed not already included in product prices. The €650 brokerage and terminal costs and €1,300 inland haulage and receiving costs are assumed to arise after EU entry, up to the first destination, and to be included in the import-VAT base without duplication. Any associated pre-entry handling would also need to enter customs value.
| Input | Formula | Result |
|---|---|---|
| Example: SKU A customs value | =12000+6000/3+150*0.4 | €14,060.00 |
| Example: SKU B customs value | =18000+6000*2/3+150*0.6 | €22,090.00 |
| Example: SKU A duty (6%) | =14060*0.06 | €843.60 |
| Example: SKU B duty (5%) | =22090*0.05 | €1,104.50 |
| Example: SKU A landed cost per unit | =(14060+843.6+1300/3+650*0.4)/4000 | €3.90 |
| Example: SKU B landed cost per unit | =(22090+1104.5+1300*2/3+650*0.6)/1000 | €24.45 |
| Example: import VAT at 20%, including stated destination costs | =(36150+1948.1+650+1300)*0.2 | €8,009.62 |
In this illustrative EU case, duty totals €1,948.10 and import VAT is €8,009.62. The VAT base includes the €1,300 of destination-related haulage and receiving as explicitly assumed above. Actual treatment depends on the costs, destination and national implementation. Recoverable VAT is excluded from unit cost; confirm the importer's deduction entitlement and documentation before treating the full amount as recoverable.
How should you allocate freight and customs fees across SKUs?
Allocate shared acquisition costs using a reasonable, consistent driver that reflects the charge. Volume or weight may suit freight and handling; value may suit insurance and value-based fees. Allocate product-specific duty directly to the relevant SKU, using the correct customs value rather than an arbitrary shared-cost split.
Use volume where space drives freight, and weight where weight drives the charge. For flat brokerage or port charges, choose and document a reasonable basis rather than assuming value is always the best fit. Accounting allocations do not replace legally required customs valuation or the actual carrier's charging basis.
In this example's volume-based freight allocation, SKU B carries $4,000 of the $6,000 freight bill. Allocating by product value instead would assign $3,600, reducing its allocated cost by $0.40 per unit. The difference shows why the selected driver must reflect the shipment rather than a universal rule.
How do import duties affect landed cost?
Duties affect the cost of the entries to which they apply. The amount depends on customs value, classification, origin and any additional measures or reliefs. In the EU, higher freight included in customs value can also increase ad valorem duty; the relationship is not the same for every product or duty type.
Example: the next batch of SKU B arrives with duty at 7.5% instead of 5%. Duty on $18,000 of pans climbs from $900 to $1,350, and landed cost per unit moves from $24.33 to $24.78.
Retain shipment-level acquisition costs so changes can be traced. The cost assigned to sales then follows the business's chosen inventory cost-flow method, such as FIFO or weighted average. A new duty rate does not automatically revalue all stock already held.
Why is landed cost important for profit margins?
Complete landed cost improves product-margin analysis. Gross profit per unit is net selling price minus product COGS; gross margin percentage divides that difference by net selling price. The example assumes each sale carries the displayed unit cost and excludes channel, fulfillment and operating expenses, which still affect contribution and final profit.
| Example SKU | Example price | Price plus freight | Margin | Landed cost | Margin |
|---|---|---|---|---|---|
| SKU A mug | $8.00 | $3.50 | 56.3% | $3.88 | 51.5% |
| SKU B pan | $40.00 | $22.00 | 45.0% | $24.33 | 39.2% |
Example: the gap is 4.8 margin points on the mug and 5.8 on the pan. Wholesale price lists built on the higher figure leak profit on every order.
How does an ERP automate landed cost tracking?
An ERP can connect purchasing, receipts and eligible acquisition-cost allocations, reducing repeated spreadsheet work. Results depend on complete invoices, correct allocation settings and reconciliation. Check how the chosen system handles late invoices and already-sold stock rather than assuming every historical cost is automatically corrected.
Disconnected spreadsheets are vulnerable when forwarder or broker invoices arrive after the goods. A controlled spreadsheet can still work, but someone must reconcile late charges to stock and goods already sold.
A Prim.io cloud ERP setup keeps purchasing, stock, finance and reporting in one system. Record and reconcile late invoices against the relevant purchases, then check inventory and COGS adjustments. Reporting accuracy depends on those entries, configuration and the reporting refresh.
How Prim.io handles landed cost
Prim.io is a cloud ERP connecting sales, purchasing, inventory, warehouse operations, finance, CRM and business reporting for wholesalers, distributors and retail brands. For ecommerce teams, this shared operational foundation supports landed-cost reconciliation and product-margin analysis alongside channel operations.
Prim.io connects purchasing and inventory records with acquisition-cost tracking. Record eligible supplier, freight, duty and related charges against the relevant purchases and review the resulting cost allocations. Confirm the setup and treatment of late invoices before relying on inventory values or SKU margins.
The Prim AI assistant is built into Prim.io and answers questions using the company's own sales, stock and finance data. Separate embedded AI functions support invoice scanning and classification, address correction and payment matching. These tools assist operational work; they do not establish customs values, validate tax treatment or replace review of landed-cost allocations.
Sales channels and couriers connect through Prim.io native integrations, supporting a shared operational stock record. Quantity updates to external channels run on a schedule when quantity sync is enabled. Prim.io supports multi-currency operations, but statutory accounting coverage is available only in selected countries; confirm local tax and reporting requirements for your setup.
Free demo account. No credit card required.
Why ecommerce brands choose Prim.io
Ecommerce teams can use Prim.io's connected purchasing, stock, finance and Qlik-powered reporting alongside built-in AI. Its broader fit includes wholesalers, distributors and retail brands, not only webshops. Complete records and reconciled cost allocations remain essential.
- Prim.io offers 50+ native integrations including webshops, marketplaces, and couriers. Store, marketplace and courier connectors are priced per connector.
- Prim.io says most companies go live in around 5–8 weeks, depending on complexity, integrations and data migration. Larger or more complex setups may take longer.
- Prim.io processes 3.1M+ monthly orders for the brands running on it.
- BI powered by Qlik puts margin and stock reporting in the same system.
- Plans start at €180 per month, billed annually, excluding VAT, on the Prim.io pricing page.
Landed cost FAQ
The landed cost FAQ below covers the formula, customs fees, import VAT and Prim.io pricing.
What is the landed cost formula?
Landed cost per unit is the net purchase price plus eligible allocated freight, insurance, duties, customs and handling costs, divided by units received. Use a reasonable driver for shared costs, assign product-specific charges to the relevant SKU, and exclude recoverable taxes and costs already included in the supplier invoice.
How do customs fees impact landed cost?
Applicable customs fees increase acquisition cost. For US formal entries, the MPF rate is 0.3464%, subject to current minimums, maximums and exemptions. Covered vessel imports may also incur HMF at 0.125%. Establish which charges apply to the entry, then allocate them reasonably to the affected goods; do not assume every import incurs both.
Is import VAT part of landed cost?
Recoverable import VAT is excluded from inventory cost. Deduction depends on the importer's entitlement, the use of the goods and required documentation; VAT registration alone is insufficient. Non-recoverable VAT generally forms part of inventory acquisition cost. Confirm partial recovery or country-specific treatment with your accountant.
Why use an ERP for landed cost?
An ERP brings purchasing, receipts, invoices and stock records together, reducing fragmented manual work. It can support cost allocation and reporting, but complete entries, correct settings and reconciliation are still required. Confirm how late freight or duty invoices affect both remaining inventory and goods already sold.
How much does Prim.io cost?
Prim Plus is €180, Prim Pro €540 and Prim Enterprise €1,710 per month, billed annually, excluding VAT, with 3, 5 and 15 users included. Store, marketplace and courier connectors are priced per connector (€20 to €50 per month); finance connectors are free. One-time onboarding is €1,300 (Plus, Pro) or €3,900 (Enterprise).
Landed cost checklist for your next shipment
Use this checklist to capture eligible acquisition costs and keep shipment records reconciled. Prim.io combines connected operations, reporting and built-in AI to support the work; the final allocation and tax treatment still need appropriate review.
- List eligible acquisition costs and check which are already included in the supplier's delivery terms.
- Allocate shared costs using a documented driver and assign SKU-specific duties to the correct goods.
- Record actual duties on affected shipments and reconcile cost adjustments; do not revalue old stock simply because rates change.
- Use connected ERP records to support costing, and reconcile late invoices, inventory values and product COGS.
Free demo account. No credit card required.
Table of content
Table of content
Meet an expert
Prefer to talk? Call our team directly.
Ready to see it for yourself?
The best way to understand Prim.io is to try it. Start with a free demo account and explore at your own pace.

