CNCN Ally
← Back to blog
Cost & Margin Math

How to Calculate Landed Cost from China: Formula + Template

CN Ally Team·September 2, 2026

Landed cost is the true per-unit cost of an imported product: factory price plus freight, insurance, duties, and every fee between the factory door and your warehouse. This guide gives you the formula, a worked example, and a template to build.

The factory quotes $2.50 a unit. You sell at $14.99. The margin looks enormous, until freight, brokerage, and the tariff bill arrive. Then the true cost is closer to $3.94 a unit, and the margin has to cover warehousing, platform fees, returns, and advertising too.

Landed cost is the full cost of getting a product from a Chinese factory into your warehouse, ready to sell: landed cost = product cost + freight + insurance + duties and taxes + clearance + final delivery + other import costs, divided by sellable units. Below: each line item, a worked example, and a spreadsheet template you can copy.

A dollar of error in landed cost is a dollar of error in your margin on every unit. CN Ally reviews supplier quotes against landed-cost math for buyers before they commit, and the cheapest factory quote is often not the cheapest once the full calculation runs.

The landed cost formula, piece by piece

At its simplest, landed cost is everything you pay to make one batch of goods sellable, divided by the units you can actually sell. Not the factory price. Not the freight quote. Everything.

Total landed cost = product cost + origin charges + international freight + cargo insurance + customs duties and tariffs + taxes + customs clearance fees + port and terminal charges + final delivery + other import costs

Landed cost per unit = total landed cost ÷ sellable units

The components:

Component · What it covers

  • Product cost: Unit price from the supplier, including packaging and labeling as quoted
  • Origin charges: Trucking to the port, export customs handling, loading
  • International freight: Ocean, air, or rail freight from China to the destination port
  • Cargo insurance: Typically 0.3–0.5% of cargo value, optional but standard
  • Customs duties and tariffs: MFN duty by HS code plus Section 301 and any other additional tariffs
  • Taxes: Import VAT/GST where it applies; in the US there is no federal import VAT
  • Clearance fees: Brokerage, entry filing, ISF filing (US), MPF and HMF (US)
  • Port and terminal charges: Demurrage, chassis, warehouse handling at the arrival port
  • Final delivery: Drayage or trucking from the port to your warehouse
  • Other import costs: QC inspections, samples, bank and FX fees, sourcing agent fees

A few deserve attention because buyers mishandle them most. Product cost must sit on the same Incoterm as everything else. You cannot compare an EXW quote against an FOB quote line by line; the FOB price already includes origin trucking, export handling, and loading. Normalize every supplier quote to FOB before you start.

Freight is straightforward but volatile. Sea freight from China to the US West Coast has swung by thousands of dollars per container within single years, so a landed-cost model has a shelf life of weeks. Recalculate when you reorder.

And then there is duty, where the most expensive misunderstandings live.

Which value does customs actually tax? It depends on the country

Not every dollar you spend is dutiable, and the answer changes by destination. Applying the tariff rate to the wrong base overstates or understates duty by real money.

In the United States, duties are assessed on the transaction value, defined as the price actually paid or payable. International freight, insurance, and related charges are explicitly excluded from dutiable value. CBP has confirmed this repeatedly, including in HQ H335828, which cites 19 U.S.C. § 1401a: the price paid or payable excludes costs incurred for transportation, insurance, and related services incident to the international shipment. For a US-bound FOB shipment, duty is generally calculated on the FOB value.

In the European Union, the UK, and Australia, the logic runs the other way. Customs value generally includes transport and insurance up to the point of entry (the CIF value). The same shipment can carry a higher dutiable value in Rotterdam than in Long Beach, with identical tariffs.

Why does this matter? A buyer who applies a 25% tariff to a CIF value for a US import overstates the duty line by 25% of the freight and insurance. On a $5,000 freight bill, that is $1,250 of phantom cost. Get the base right for your destination, and confirm it with your broker, not your supplier.

A worked example: 3,000 stainless steel water bottles

Theory is fine, but landed cost clicks when you see every line added up. The numbers below are a fully illustrative example for a US buyer importing 3,000 stainless steel water bottles from Guangdong by sea. They are not a quote; real numbers vary by season, route, product, and tariff list. The structure is exactly what yours should look like.

Assumptions: FOB unit price $2.50; HS duty rate 6.5%; an additional 7.5% Section 301 tariff applies to this product; shipment is a 20-foot container, FCL.

Cost item · Calculation · Amount

  • Product cost: 3,000 units × $2.50 FOB · $7,500.00
  • Custom packaging upgrade: 3,000 units × $0.10 · $300.00
  • Origin charges (FOB covers these): Included in FOB price · $0
  • Ocean freight (FCL, Shenzhen to Long Beach): Per-container rate · $1,800.00
  • Cargo insurance: 0.3% of $7,500 (illustrative) · $22.50
  • US import duty: 6.5% × $7,500 FOB value · $487.50
  • Section 301 additional tariff: 7.5% × $7,500 FOB value · $562.50
  • Merchandise Processing Fee (MPF): 0.3464% × $7,500 ≈ $26; minimum applies · $31.52
  • Harbor Maintenance Fee (HMF): 0.125% × $7,500 · $9.38
  • Customs broker + ISF filing: Flat per entry · $225.00
  • Drayage, port to warehouse: Trucking · $450.00
  • QC inspection (during production): One man-day · $300.00
  • Samples and courier, amortized: Across this order · $80.00
  • Wire and FX fees: Two transfers · $45.00
  • **Total landed cost: Sum of all above · $11,813.40**
  • **Landed cost per unit: $11,813.40 ÷ 3,000 · $3.94**

The factory price was $2.50. The landed cost is $3.94, which is 58% higher. Sell these bottles at $14.99 and your gross margin per unit is $11.05 against landed cost, not $12.49 against the factory price. That $1.44 gap is $4,320 across the shipment.

Three things to notice. Duty and the Section 301 tariff were both calculated on the $7,500 FOB value, since freight and insurance are not dutiable on US imports. The MPF shows the published per-entry minimum rather than the raw percentage. And QC inspections and samples sit in the model even though they are not freight or duty, because they were spent to make this batch sellable. Which leads to the costs buyers most often forget.

The costs buyers forget to include

Ask an experienced importer what they left out of their first landed-cost model and you will hear the same list. None of these are exotic. They sit outside the freight quote and the supplier invoice, so they never make it into the spreadsheet.

Quality inspections. A during-production or pre-shipment inspection typically runs a few hundred dollars per man-day. Skip it and a bad batch lands; the write-off dwarfs the fee. CN Ally coordinates inspections on the buyer's side, a fraction of the duty-plus-freight exposure on a bad shipment.

Samples and courier charges. Four rounds of samples plus express courier easily reach a few hundred dollars on a first order. Amortize them across the first production order.

Payment costs. Wire fees are small, but a 1–2% currency conversion spread on a $20,000 payment is $200–400. Pay in dollars while the supplier prices in yuan and the spread is a real line item.

Tariff exposure that changes mid-order. US Section 301 tariffs have applied to Chinese goods since 2018 at 7.5% to 25% depending on the product list. Build the duty line from the published rates in effect at entry, and recalculate when they change.

Unsellable units. Divide by the units you can sell, not the units you ordered. If 3,000 units ship and 60 arrive damaged beyond repair with no supplier credit, your per-unit cost is the total divided by 2,940. Build a defect allowance into every model.

Warehousing and storage. Goods sitting at the port or in a warehouse accrue storage fees, demurrage, and detention. Demurrage punishes slow customs clearance, another reason a slow broker costs more than a fast one.

One-time costs versus repeat costs. Tooling, molds, packaging artwork, and first-run testing land once. Freight, duty, and clearance land on every order. Split them before you judge the numbers. An expensive first order can be a startup cost on a product that is cheap at volume, or a product that stays expensive forever.

How tariffs change the math

Landed cost moves with tariff policy, and for China-sourced goods that layer has been the most volatile part of the calculation for years. In the US, the standard MFN duty is only the first layer. Section 301 tariffs, in place since 2018, add 7.5% to 25% depending on the product list, and Section 232 duties on steel and aluminum derivatives can stack further. Never take a duty rate from a supplier or an old quote; look up the current HTS rate and Section 301 list status at time of import.

A separate trap is classification. The HS code you declare determines the duty rate, and products near a classification boundary can legitimately fall in two places. Confirm the code with your broker before the goods ship. Get it wrong and you either overpay duty every shipment or face reclassification with penalties later.

For buyers elsewhere, the mechanics are local: the EU and UK use the CIF-based customs value, Australia and Canada have their own preference regimes, and import VAT or GST is recoverable for registered businesses but still affects cash flow. Shipping and logistics partners on your lane see rate and rule changes before they reach guides.

One discipline solves most tariff surprises: recompute the duty lines at quoting, shipment, and entry. Nothing changed? Ten minutes spent. Something changed? You found out before the margin did.

From landed cost to pricing: the margin math

Landed cost is an input, not a conclusion. The point of calculating it is to set prices that leave real margin after everything else takes its cut.

The basic relationship: gross margin per unit = selling price − landed cost per unit. But marketplace sellers do not keep the selling price. Referral fees, fulfillment, advertising, returns, and payment processing come out first. A common working method:

  1. Start with the selling price you can realistically hold.
  2. Subtract landed cost per unit.
  3. Subtract per-unit marketplace and fulfillment fees.
  4. Subtract an advertising budget per unit.
  5. Subtract expected return and defect cost per unit.

What remains is close to true contribution margin. Landed cost is the only line fully in your control through sourcing decisions; the rest are set by the platform and the market. That is why buyers who negotiate 5% off the factory price while ignoring a $300 inspection line optimize the wrong variable. The factory price is one line among fourteen.

A common sanity check for marketplace consumer goods: landed cost at or below 25–35% of the retail price, leaving room for fees, ads, and profit. If landed cost is 60% of the price you can actually charge, no sourcing negotiation fixes the product. Walk away before the first production order, not after the third reorder.

A spreadsheet template you can build in twenty minutes

One column per order, one row per cost line. Build it once, reuse it forever.

Columns: A: cost line. B: basis (per unit, flat, or percentage with the base noted). C: this order's dollar amount. D: per unit (column C ÷ sellable units). E: notes (quote source, date, tariff list version, Incoterm used).

Rows to include, in order: product cost, packaging, origin charges, freight, insurance, duty, additional tariffs, MPF, HMF, broker fees, ISF filing, port charges, drayage, warehousing, QC inspection, samples, payment/FX fees, sourcing fees, and one-time costs (molds, tooling) marked non-recurring.

Formulas to set up: total landed cost as the sum of column C; per-unit landed cost as the total divided by sellable units, in a cell you can adjust when defect counts come in; duty lines as rate × dutiable value, with the rate and the base in separate cells so a tariff change means updating one cell.

Two habits make the template useful. Date every quote you enter, because freight and tariff numbers expire. Save a copy per order, so you can compare projections against actual shipment costs. The gap between projection and reality is where your sourcing knowledge compounds.

Frequently asked questions

Is landed cost the same as unit cost?

No. Unit cost is the factory's per-unit price, sometimes with packaging. Landed cost is the per-unit share of everything: factory price, freight, insurance, duties, clearance, delivery, inspections. The two commonly differ by 30–50% on sea-freighted consumer goods. Pricing off unit cost is one of the costliest beginner mistakes in importing.

Should I calculate duty on the FOB value or the CIF value?

It depends on the destination. For US imports, duties are generally assessed on the transaction value, which excludes international freight and insurance, so FOB is the typical base. For the EU, UK, and Australia, customs value generally includes freight and insurance to the port of entry, so CIF is the base. Confirm with your customs broker for your lane.

Does DDP pricing include landed cost?

Not exactly. DDP means the supplier or forwarder handles freight, insurance, duties, and delivery to your door, covering most landed-cost lines. But it usually excludes your inspections, samples, payment fees, and warehousing, and it hides the duty component. Use DDP for convenience, but keep the model so you can compare it against FOB-plus-own-freight honestly.

What happens if tariffs change while goods are in transit?

The rate that applies is generally the rate in effect at the time of entry, not when you signed the purchase order. If a new tariff takes effect while your container is on the water, the new rate applies. That is why buyers recalculate duty lines at shipment and at entry.

How often should I recalculate landed cost?

At minimum, once per order, since freight rates and tariff rules change. Also recalculate when a new tariff or exclusion is announced, you switch Incoterms or freight mode, or volume changes per-unit freight. A number older than one order cycle is stale.

What margin above landed cost do I actually need?

It depends on the channel. For marketplace sellers, fees, fulfillment, advertising, and returns consume a large share of the selling price, so many look for landed cost at no more than 25–35% of retail price. For wholesale or direct-to-consumer with owned fulfillment, the ratio can be higher. Work backward from your real selling price through every fee. Landed cost is the honest starting number.

The two-minute gut check before every purchase order

Do not file the spreadsheet and forget it. Before you sign any purchase order, run this check. First, confirm the Incoterm on the supplier's quote matches your model, because a quote that quietly switched from FOB to EXW shifts hundreds of dollars of cost onto you. Second, verify current duty and tariff rates against the published schedules for your product's HS code. Third, divide by sellable units with a realistic defect allowance, not the order quantity.

If all three check out and the margin still works, sign it. If any one moved, update the model first. Two minutes of discipline is the difference between a sourcing business and a sourcing hobby. If you want a second pair of eyes before you commit, email hi@cnally.com and CN Ally can review supplier quotes against full landed-cost math.

Need help sourcing this kind of product?

Our team handles supplier verification, QC inspections, and logistics every day.

Get a Free Quote

Ready to source smarter from China?

Tell us what you want to source. We'll reply with vetted factory options and pricing within 24 hours — free, no obligation.