
How to Calculate Landed Cost for Ecommerce Products (With Examples)
Your supplier quotes $10 per unit. You sell the product for $30. It looks like a 67% gross margin—until the freight invoice, customs entry, local delivery and warehouse receiving charges arrive.
The correct number isn't the factory price. It's the landed cost per sellable unit: what it actually costs to acquire the product and make it available in your chosen destination warehouse. This guide shows the formula, a complete worked example, the costs brands forget, and how to use the result to make better buying and pricing decisions.
Quick answer: add product cost, allocated inbound freight and insurance, import duties, non-recoverable import charges, customs/broker costs and destination delivery/receiving costs. Divide by the sellable units received. Keep customer-order fulfilment, outbound postage and customer acquisition in a separate contribution-margin calculation. If you're trying to diagnose broader margin leaks, start with a SKU profitability analysis.
What is landed cost in ecommerce?
Landed cost is the full economic cost of getting purchased inventory to the location where it can be sold or fulfilled. There is no single global accounting rule that puts every fee in the same bucket; the important thing is to choose a consistent policy, show which costs are included and reconcile it to the purchase order and freight records.
For a DTC brand buying overseas, the calculation typically runs from factory through international transport, customs clearance, local delivery and receiving. It may also include identifiable costs necessary to bring inventory into a saleable condition. By contrast, fees for picking an individual customer order and mailing it to their home are typically treated separately in the operating model. Our 2026 3PL pricing guide covers that second stage.
Landed cost per sellable unit(Product + inbound freight + insurance + import duties + non-recoverable fees + clearance + destination handling) ÷ sellable units received
Use the actual amounts paid where available. During planning, model estimates and label them as such. When the shipment lands, replace estimates with actuals. This is the same discipline used when evaluating freight and landed-cost opportunities in an operations audit.
Worked example: a $10 product becomes $13.80 landed
Assume a brand purchases 5,000 units at $10 each from an overseas manufacturer. All units arrive sellable. The destination is a US warehouse. The hypothetical duty and fees below are teaching inputs—not a tariff quote or a representation of the actual classification of a named product.
Cost line | Shipment total | Per unit |
|---|---|---|
Factory product cost | $50,000 | $10.00 |
International freight and insurance | $6,250 | $1.25 |
Illustrative assessed duties | $6,000 | $1.20 |
Brokerage and other non-recoverable fees | $2,750 | $0.55 |
Port-to-warehouse transport and inbound handling | $4,000 | $0.80 |
Total landed cost | $69,000 | $13.80 |

Figure 1. An original Onflair worked example; the numbers are hypothetical and do not represent prevailing duty or freight rates.
The mistake is to price this product on a $10 factory cost. At a $30 selling price, the factory-only gross margin looks like 66.7%. Using $13.80 as the cost basis gives 54.0% product gross margin, before any outbound fulfilment, returns, card fees or marketing. That's a 12.7 percentage-point difference in the margin picture.
When judging whether that margin is healthy, look past headline product gross margin to contribution margin by SKU, which measures what survives after the relevant costs of selling the order.
FREE ONFLAIR TOOL
Calculate the landed cost of your own products
Enter your factory price, shipment quantity, freight, duty and other import costs into our free Landed Cost Per Unit Calculator. See your estimated landed cost per unit and how far it sits above the supplier's quoted price.
Open the free landed-cost calculator →
Step 1: Start with the purchase order, not the supplier's headline unit rate
Get the final commercial invoice, confirmed quantities, currency and Incoterm. Add any costs required to produce the inventory in its agreed saleable form: packaging, labels, trims, testing or development amortisation where your internal costing policy appropriately assigns them. Avoid counting deposits twice; payment timing is a cash-flow issue, not an additional product cost.
A supplier quoting $9.50 EXW and another quoting $10.20 FOB may not be comparable. One may exclude export handling and origin trucking; the other may include additional origin costs. Before negotiating a lower price, standardise both quotes to the same cost boundary. The logic is closely connected to inventory purchasing and stock planning: a cheap unit price can be an expensive decision if it requires buying too much stock.
Step 2: Add international freight and insurance—without allocating them blindly
Air, ocean, consolidation, origin and destination charges, fuel surcharges, cargo insurance and customs-related services should all be mapped to their correct shipment and cost category. Ask for an itemised forwarder quote, not just an all-in number you can't reconcile. If the same container carries multiple SKUs, choose an allocation basis that reflects how each SKU consumes cost.
Allocation method | Best suited to | Watch-out |
|---|---|---|
By units | Very similar products and packaging | Can undercharge bulky items |
By gross weight | Weight-driven freight | May miss volume-driven charges |
By cubic volume (CBM) | Container and space-constrained freight | Requires accurate carton dimensions |
By customs/product value | Value-driven insurance or selected fees | Often inappropriate for pure freight |
If a jacket occupies twice the carton space of a T-shirt, allocating a container bill evenly by unit can make the jacket look artificially profitable. For parcel shipping, the related issue is dimensional weight and shipping charges. And when considering changing modes or consolidating shipments, compare the economics rather than assuming the lowest freight rate is the best answer.
Step 3: Calculate duties using the correct customs rules
Customs duty is not simply “10% of landed cost.” The duty base, product classification, country of origin, applicable measures and timing all matter. Confirm the tariff classification with your customs broker or trade adviser; the relevant rates and trade measures can change.
US-specific distinction: US Customs and Border Protection explains that customs transaction value is generally based on the price paid or payable for merchandise, with applicable statutory additions. International freight and insurance can generally be excluded when the requirements for separating and documenting those costs are met. It is not necessarily the same as the all-in financial landed cost you use for pricing inventory. CBP's commercial invoice guidance discusses relevant value inclusions and exclusions.
Some import charges are percentage-based, others have minima, maxima or transaction-specific rules. For example, CBP describes the US Merchandise Processing Fee for formal entries as a percentage charge subject to floors and ceilings; check the applicable year's schedule and exemptions rather than automatically multiplying each unit by a fixed fee. CBP MPF guidance.
Do not treat a hypothetical 12% import charge in a spreadsheet as an actual US duty rate. Check product classification, origin and the rules in force for the entry. If your sourcing or country-of-origin strategy is changing, those scenarios belong in a refreshed landed-cost model and, where appropriate, an independent supply-chain audit.
Step 4: Include brokerage, delivery, receiving and avoidable exceptions
A shipment doesn't become sellable when the vessel docks. Customs broker charges, port handling, demurrage or detention where applicable, domestic drayage, palletisation, delivery appointments and warehouse receiving may remain. Separate normal expected costs from exceptional charges so you can both price the SKU correctly and see what needs fixing.
Do not assume an inbound warehouse fee is already included in the monthly storage or pick-and-pack fee. Compare your contract's receiving terms and invoice activity. Our practical 3PL invoice-audit guide shows how to trace those costs against recorded receipts; the 3PL contract checklist helps identify fee definitions before you sign.
Step 5: Divide by sellable units, not units ordered
Imagine the worked shipment above contains 5,000 ordered units but only 4,900 units that are sellable on receipt. If the total landed shipment cost remains $69,000, dividing by the 5,000 originally ordered would understate the inventory economics.
Adjusted illustration$69,000 ÷ 4,900 sellable units = $14.08 per sellable unit
Actual accounting treatment depends on whether shortages, damage, claims and abnormal losses are recoverable, and whether the costs are capitalisable. The commercial point is simple: reconcile landed charges with physically accepted units and separately track supplier claims. The same underlying accuracy affects warehouse receiving and inventory-accuracy KPIs.
Landed cost versus cost per delivered customer order
Founders often confuse these because all three appear in margin reports. They answer different questions:
Metric | What it answers | Example |
|---|---|---|
Factory unit cost | What does the supplier charge? | $10.00 |
Landed unit cost | What does it cost to get sellable inventory into stock? | $13.80 |
Delivered order cost | What does it cost to land and fulfil a one-unit order? | $22.10 |
For the third example, assume an additional $2.80 for outbound pick, pack and packaging; $5.50 for customer postage. Then $13.80 + $2.80 + $5.50 = $22.10 before payment fees, returns, customer acquisition, overhead and taxes on sales. The examples use the same one-unit order basis and no free-shipping revenue assumption.

Figure 2. Hypothetical unit cost layers; the delivered example includes outbound pick-and-pack and postage but excludes CAC, returns and payment fees.
If you're comparing fulfilment options, use the complete cost per order rather than the provider's headline picking rate. Our 3PL fees guide breaks out receiving, storage, outbound freight and additional service charges.
Incoterms: EXW, FOB, DAP and DDP change who pays, not what the shipment costs
Incoterms clarify which party is responsible for specified costs, risks and transport tasks. They do not automatically establish your customs value, nor do they guarantee that a quote includes every cost that matters for your internal profitability model. The International Chamber of Commerce explains the distinctions in its Incoterms® 2020 guidance.
Term | What to check before modelling |
|---|---|
EXW | Origin collection, export arrangements and transport responsibilities may sit with buyer; clarify practical export clearance. |
FOB | For eligible sea/inland waterway use, check what is included through loading on board at named port. |
DAP | Seller arranges arrival to named place; import clearance/duty generally buyer's responsibility. |
DDP | Seller bears wider delivery and import responsibilities; require cost and importer-of-record transparency. |
An apparent $12 DDP quote may be attractive compared with $10 FOB, but you still need to understand what's included, who imports the goods, whether duties were properly accounted for, and who controls the transaction data. Avoid adding freight or duties a second time when already included. Also avoid treating an opaque DDP price as permission to ignore compliance.
How to allocate mixed-SKU shipments correctly
Suppose a shipment includes 1,000 compact accessories and 1,000 bulky jackets. The total freight invoice is $3,000. Equal-per-unit allocation adds $1.50 to every product. But if the jackets occupy 80% of measured shipment cubic volume, a volume allocation assigns $2,400 to jackets ($2.40 each) and $600 to accessories ($0.60 each).
Neither method is always correct. Freight cost drivers and reporting policy decide the better choice. What's important is that a supposedly high-margin jacket doesn't benefit from freight expenses silently charged to the accessory line. Use SKU-level allocation alongside true SKU contribution analysis and a realistic inventory-cover plan.
Five ways to reduce landed cost without compromising the product
Consolidate shipments where the cash-flow trade-off works. Fewer partial shipments may reduce freight and handling per unit, but longer lead times and larger orders can increase inventory exposure. Model both sides and review how much inventory you need to hold.
Re-engineer carton and packaging dimensions. Reduce wasted space, verify actual carton CBM and avoid paying for air. The same discipline helps reduce dimensional-weight shipping costs downstream.
Compare supplier offers at the same Incoterm and specification. A lower factory price may hide weaker export terms, quality issues or expensive minimum quantities. This is as much a purchasing decision as a freight decision.
Check classification, origin and documentary accuracy. Errors can trigger unexpected costs, delays and compliance exposure; use qualified trade advisers rather than assuming sourcing from a particular country always means a preferred tariff.
Reconcile actual charges and resolve the process issue. Repeated exam fees, detention, relabelling, split shipments and 3PL receiving exceptions may point to planning gaps, not unavoidable market prices. Compare charges using the warehouse invoice audit framework.
What would a small improvement be worth at scale?
A $0.75 reduction per unit may sound immaterial. At 10,000 units it equals $7,500 on that shipment; at 20,000 units, $15,000. Those are arithmetic savings scenarios assuming the unit saving is real, applies to every unit and doesn't create offsetting costs. They're not client results.

Figure 3. Original sensitivity calculation: volume multiplied by a hypothetical $0.75 unit saving; excludes implementation and working-capital effects.
Annualise only when the saving recurs across actual planned volume. Treat modelled savings separately from confirmed credits or lower paid invoices. That's the difference between an attractive spreadsheet and an operational result.
A landed-cost spreadsheet you can build in ten minutes
Use one row per SKU per shipment, plus a source tab for invoices and customs entries. At minimum, capture:
Column | Meaning |
|---|---|
PO / shipment / SKU | Join key for audit trail |
Ordered / accepted sellable units | Correct denominator and variances |
Factory amount and currency | Purchase price with FX conversion |
International freight and insurance | Allocated inbound transport costs |
Customs value / actual duty | Separate legal customs base from financial cost |
Broker, port and other non-recoverable fees | Documented import expenses |
Domestic inbound and receiving | Cost to reach sellable warehouse stock |
Total landed / cost per sellable unit | Calculated output |
Estimated vs actual / date | Reconcile forecasts and booked amounts |
Keep tax treatment and inventory accounting consistent with your finance team. Import VAT or GST that is recoverable under local rules should not automatically be treated as a permanent product expense. Where you sell through wholesale and DTC, use the same underlying landed unit cost but calculate downstream channel economics separately.
Prefer not to build a spreadsheet from scratch? Start with Onflair’s free Landed Cost Per Unit Calculator to estimate unit costs using your own freight and duty inputs. For multi-SKU allocations, keep the more detailed shipment-level workbook described above.
When should you recalculate landed costs?
Refresh the standard cost when suppliers change price, you switch origin country, a tariff measure changes, FX moves materially, packaging changes, shipment sizes change or you add a different warehouse. Reconcile estimated and actual costs after each meaningful inbound receipt. A rolling monthly update can be sufficient for stable high-volume SKUs; volatile lanes may require a review every shipment.
Landed cost is an input to pricing, purchasing and cash planning—not just a finance report. Use it to update SKU margin analysis, determine how much stock you can fundand assess whether a different fulfilment network will improve contribution economics. If you are considering a warehouse change, use the 3PL switching checklist to include migration cost and operational disruption.
Frequently asked questions
Does landed cost include shipping to the customer?
Usually not in a product-to-warehouse landed-cost model. Customer-order fulfilment and outbound postage are separate expenses used when calculating contribution per order. Always define your cost boundary.
Does landed cost include import duty?
Yes, duties that represent a non-recoverable cost of bringing inventory into the target market generally belong in the commercial landed-cost model. The duty itself must be calculated using the applicable customs rules and valuation base.
Is landed cost the same as customs value?
No. Landed cost is a business costing measure; customs value is determined under the importing country's legal valuation rules. For US imports, eligible international freight and insurance may be excluded from transaction value when properly supported, even though they remain part of business landed cost.
How do you calculate landed cost when a shipment contains several SKUs?
Assign directly identifiable costs to their SKU, then allocate shared costs using a defensible driver such as weight, cubic volume, declared value or units depending on the fee. Document the method and use it consistently.
Should recoverable import VAT be included?
Generally, a fully recoverable import tax is handled differently from a non-recoverable product cost. Rules differ across jurisdictions and entity structures. Confirm treatment with your accountant or tax adviser.
How accurate does the landed-cost model need to be?
Accurate enough to make decisions, with assumptions clearly labelled. Forecasted freight or duty scenarios are useful before purchase; actual invoices and entries should replace estimates when available. Track the variance rather than silently overwriting history.
Turn the calculation into a better operating decision
Once the landed-cost model is reliable, the next question is what to change. Can you consolidate materials, renegotiate freight, redesign packaging, adjust buying cadence or remove a recurring import exception? The opportunities are rarely confined to one invoice.
Onflair helps scaling DTC brands find and implement margin improvements through supply-chain and operations audits and fractional COO leadership. If your cost models are held together in different spreadsheets across purchasing, freight and finance, the first step is a single reconciled SKU-level view.
Sources and methodology
This article contains original illustrative calculations, not client-specific savings claims or market-average freight/tariff quotes. Confirm applicable duties and accounting treatment with qualified professionals. Principal external references:
