Tabellab

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — €9.90
Loading the spreadsheet…

Who this lesson is for

You sell physical products on an online marketplace, or you are about to. You order from a factory, ship by sea, pay customs, label the goods and send them into a fulfilment warehouse. Then you set a price, pay the marketplace's fees, run ads and hope something is left at the end of the month. Many sellers find out too late that it is not, because one number at the very start of the chain was wrong: the real cost of a unit sitting in the warehouse, ready to sell.

This course is a calculator you build yourself. Over 20 labs you work through the seller maths in Excel, from landed cost through marketplace fees, advertising metrics such as ACoS and TACoS, bid limits, stock cover, returns and a launch P&L. This free first lesson lays the foundation: the landed cost per unit. You use one shipment of Alder & Pine Outdoor, a fictional brand selling five outdoor SKUs, and allocate the sea freight, calculate import duty and add prep costs until every unit has an honest cost.

This is an independent course. It is not affiliated with, endorsed by or connected to Amazon or any other marketplace; names are used only as examples. All rates and amounts in the labs and in this article are fictional and illustrative. Fees, duty rates and customs rules differ by country, category and year, so always check the current official rules before you price a product.

What landed cost means

The landed cost is everything you pay to get a unit from the factory to the point where it can be sold. For a marketplace seller it typically has four parts:

  • Product cost (FOB). FOB means "free on board": the factory price for goods delivered onto the ship at the port of loading. From there on, freight and risk are yours.
  • Freight. Sea or air freight plus port and handling charges. One invoice usually covers the whole shipment, so it has to be split across the SKUs.
  • Import duty. A rate that depends on the product's tariff classification, applied to a customs value. Which costs belong in that customs value depends on the importing country.
  • Prep and inbound. Labels, poly bags, inspection and the truck from the port or your forwarder to the fulfilment warehouse.

Every later number in your business rests on this one. Your profit per unit is price minus fees minus landed cost. Your break-even advertising cost comes from that profit. Your inventory value on the balance sheet is units times landed cost. If landed cost is too low by a dollar, every downstream decision looks a dollar better than it really is, and on a product that sells thousands of units that is a lot of money spent on ads that never paid off.

Some sellers also put import VAT or sales tax into landed cost. Whether that is right depends on whether you can reclaim it, which depends on your country and registration. The lab leaves it out and so does this article. If you cannot reclaim it, it belongs in your cost, and you should ask your accountant.

The Alder & Pine shipment

Shipment #14 holds five SKUs. The forwarder charges $3,860 for sea freight and port charges for the whole container load, and it charges by weight. The duty rates below are made up for the example; real rates depend on the exact tariff code.

SKUUnitsFOB / unitCarton kgDuty ratePrep / unit
Insulated bottle 750 ml1,200$7.405403.5%$0.95
LED camp lantern800$9.803844.0%$1.10
Trekking poles (pair)500$14.604105.0%$1.45
Travel hammock600$11.203306.5%$1.05
Dry bag 20 L1,500$5.904055.0%$0.80
Shipment total4,6002,069

The first question is how to split the $3,860. The easy answer is "per unit": 4,600 units, so about $0.84 each. But a pair of trekking poles weighs 0.82 kg per unit in this shipment, a dry bag only 0.27 kg. The forwarder's bill was driven by weight, so the fair split follows weight too. Each SKU carries its share of the total 2,069 kg, and that share is then spread over its units.

Worked example: from FOB to landed cost

Here are the formulas from the lab, shown for the trekking poles in row 6. Copy each one down to row 8 and the other SKUs follow automatically.

StepCellFormulaPoles result
Freight per unit, allocated by weightF6=$C$12*D6/$D$9/B6$1.53
Duty per unit on product + freightG6=(C6+F6)*E6$0.81
Landed cost per unitI6=C6+F6+G6+H6$18.39
Total landed value of the shipmentC14=SUMPRODUCT(B4:B8,I4:I8)$50,073.66
Check: freight adds back to the invoiceany cell=SUMPRODUCT(B4:B8,F4:F8)$3,860.00

Freight. The poles weigh 410 kg of 2,069 kg, so they carry 410 ÷ 2,069 = 19.8% of the freight bill: $764.91. Spread over 500 pairs, that is $1.53 per unit. In Excel this is =$C$12*D6/$D$9/B6. The dollar signs lock the freight bill and the total weight, so the formula copies down cleanly.

Duty. In this lab the customs value is product cost plus freight (a CIF-style value, as noted in C13), so the duty for the poles is ($14.60 + $1.53) × 5% = $0.81. The brackets are essential: =C6+F6*E6 would add 5% of the freight to the full product cost and give a nonsense number.

Landed cost. Product $14.60 + freight $1.53 + duty $0.81 + prep $1.45 = $18.39 per pair. The factory price was $14.60; the unit really costs 26% more by the time it is ready to sell.

SKUFreight / unit (F)Duty / unit (G)Landed / unit (I)Units × landed
Insulated bottle 750 ml$0.84$0.29$9.48$11,373.50
LED camp lantern$0.90$0.43$12.22$9,778.66
Trekking poles (pair)$1.53$0.81$18.39$9,193.16
Travel hammock$1.03$0.79$14.07$8,442.48
Dry bag 20 L$0.50$0.32$7.52$11,285.86
Total landed value (C14)$50,073.66

Landed cost per unit, shipment #14Product (FOB)FreightDutyPrep + inbound$0$5$10$15$20Bottle$9.48Lantern$12.22Poles$18.39Hammock$14.07Dry bag$7.52US dollars per unit (fictional example)
Landed cost per unit for the five Alder & Pine SKUs. The factory price (blue) is the biggest block, but freight, duty and prep add roughly 25% to 28% on top of it for every SKU in this example.

Check the result in two ways. First, the freight lines must add back to the invoice: =SUMPRODUCT(B4:B8,F4:F8) returns exactly $3,860.00. If it does not, a reference has slipped. Second, the total landed value =SUMPRODUCT(B4:B8,I4:I8) is $50,073.66. That is the inventory value of the shipment; it is the number your bookkeeping should show when the goods arrive.

Why the allocation method matters

Compare the two ways of splitting freight. An equal split gives every unit $0.84. By weight, the poles carry $1.53 and the dry bag only $0.50. With the equal split you would understate the poles' cost by $0.69 per pair and overstate the dry bag by $0.34. On paper the poles would look more profitable than they are, and you might pour advertising into the very product whose margin is thinnest.

Freight per unit: by weight vs equal splitBy weight (correct here)Equal split per unit$0.00$0.50$1.00$1.50$2.00$0.84$0.84Bottle0.45 kg/unit$0.90$0.84Lantern0.48 kg/unit$1.53$0.84Poles0.82 kg/unit$1.03$0.84Hammock0.55 kg/unit$0.50$0.84Dry bag0.27 kg/unit
Freight per unit by weight (peach) versus an equal split (grey). Heavy items such as trekking poles carry more freight per unit; light dry bags carry less. The equal split hides that difference.

Weight is not the only sensible key. If the forwarder charges by volume, allocate by cubic metres. If one SKU is bulky but light, a volume key may be fairer. Sometimes forwarders bill on whichever is larger, actual weight or volumetric weight, and then you should use the same rule. The principle is always the same: allocate the cost by the driver that caused it, and make sure the allocated amounts add back to the invoice.

A preview: from landed cost to profit per unit

Landed cost is the first of three subtractions. To see why it matters, take a purely illustrative example. Suppose the insulated bottle sells for $24.99 and the marketplace fees for selling and shipping it come to $9.00 in total (a made-up figure; the next lesson calculates fees properly). Profit per unit before advertising is then $24.99 − $9.00 − $9.48 = $6.51.

Now imagine you had used only the factory price of $7.40 as your cost. Profit would look like $8.59, about 32% higher than it really is. Divide by the price and you get the break-even ACoS, the share of sales you could spend on ads before losing money: 26.1% with the correct cost, 34.4% with the factory price. A seller working with the wrong number would happily run ads at an ACoS that quietly loses money on every sale. That is why the course starts here, and why lessons 2 and 3 build directly on column I of this lab.

Step by step in Excel

  1. Check the inputs: units in B4:B8, FOB price in C4:C8, carton weight in D4:D8, duty rate in E4:E8, prep per unit in H4:H8 and the freight bill in C12. Totals B9 and D9 use =SUM(B4:B8) and =SUM(D4:D8).
  2. Click F4 and type =$C$12*D4/$D$9/B4. While typing, click C12 and press F4 once to make it $C$12; do the same for D9.
  3. Select F4:F8 and press Ctrl + D. Check that F8 still points to $C$12 and $D$9 but to its own row (D8, B8).
  4. In G4 type =(C4+F4)*E4 and fill down to G8.
  5. In I4 type =C4+F4+G4+H4 and fill down to I8.
  6. In C14 type =SUMPRODUCT(B4:B8,I4:I8) for the total landed value.
  7. Select F4:I8 and C14, press Ctrl + Shift + $ for currency format, or Ctrl + 1 › Number › Currency with 2 decimals.
  8. Add a check cell next to the shipment: =SUMPRODUCT(B4:B8,F4:F8)-C12. It should be 0 (or a tiny rounding difference). Format it red when it is not, with Home › Conditional Formatting › Highlight Cells Rules › Not Equal To.
Keep one row per SKU per shipment, never overwrite the old landed cost. Freight rates and duty change from shipment to shipment, and when you sell units from two shipments at once you need both costs to value your stock correctly.

Marketplace seller math in Excel: landed cost, fees, ACoS and profit per unit
Marketplace seller math in Excel: landed cost, fees, advertising metrics and profit per unit, built step by step.

Common mistakes and how to spot them

  • Forgetting to divide by units. =$C$12*D6/$D$9 is the freight for the whole SKU line, not per unit. Spot it when freight per unit is in the hundreds of dollars.
  • Equal split per unit. =$C$12/$B$9 ignores weight. Heavy SKUs look cheaper than they are. Compare against the weight-based result.
  • Relative references. Without $, C12 becomes C13, C14… when you copy down, and the freight for the lower rows is calculated from empty or wrong cells. Ctrl + ` shows every formula at once.
  • Duty on the wrong base. =C6*E6 charges duty on the product only. That is right in some countries but not in this lab. Know which customs value applies to you.
  • Missing brackets. =C6+F6*E6 calculates something that is neither duty nor landed cost.
  • Leaving out prep and inbound. Labels and the truck to the warehouse feel small, but in this example they add $0.80 to $1.45 per unit.
  • Adding per-unit costs. =SUM(I4:I8) adds five unit costs and means nothing. The shipment value needs SUMPRODUCT with the units.

Real-world uses

  • Pricing a new product. Before you commit to a launch price, the landed cost tells you the floor below which no fee or ad budget can ever be covered.
  • Comparing quotes. Two factories quote different FOB prices and different carton weights. Put both into the sheet and compare landed costs, not factory prices.
  • Air vs sea. Replace the freight bill with an air quote for an urgent restock and see per SKU how much the speed costs.
  • Inventory valuation. Give your bookkeeper the landed value of each shipment so that stock and cost of goods sold are booked at the real cost, not the factory invoice.
  • Tariff changes. When a duty rate changes, update one cell per SKU and see immediately which products lose margin.

Quick reference: functions and shortcuts in this lesson

Function or shortcutWhat it does here
$C$12, $D$9 (F4 key)Absolute references keep the freight bill and total weight fixed when you copy down.
SUM(range)Totals units (B9) and carton weight (D9).
SUMPRODUCT(units, cost)Multiplies each SKU's units by its cost per unit and adds the lines: the shipment value.
ROUND(value, 2)Rounds a cost to cents when you need to match an invoice or a price list.
Brackets (C6+F6)*E6Make sure the rate applies to the sum, not only to the freight.
Ctrl + DFills the formula of the first row down the selected range.
Ctrl + ` (grave accent)Shows all formulas in the sheet, handy to spot a missing dollar sign.
Ctrl + Shift + $Applies currency format to the selection.

What you will build in the rest of this course

Lesson 1 is free. The lessons below make up the paid course ($9.90, one-time). Each one has its own live lab with the same kind of fictional seller data, and together they turn your landed cost into a full picture of profit per unit, advertising limits and cash.

Referral & Fulfilment Fees: Profit per Unit and Margin. You apply an illustrative referral fee with a minimum amount, look up a fulfilment fee by size tier, and get the profit per unit and the margin before advertising. Every number is built on the landed cost from this lesson.

Break-even ACoS, Target ACoS & Max Ad Cost per Sale. You turn each SKU's profit into a break-even ACoS, the highest share of sales you can spend on ads without losing money, set a target ACoS that still leaves a profit, and let a nested IF judge each SKU's current ads.

ACoS vs TACoS vs ROAS by Campaign Type (SUMIFS + Chart). You roll eight campaigns up by match type with SUMIFS, compare ACoS with ROAS, measure the store's TACoS (ad spend against all sales, not only ad sales) and chart which campaign type is the most expensive.

Keyword Bid Math: Max CPC from Conversion Rate & Target ACoS. You work through a search-term report, calculate each keyword's conversion rate and cost per click, find the highest bid your target ACoS allows and set new bids with a cap on increases.

Reorder Point, Days of Cover & Storage Fees. You check how many days each SKU's stock lasts, set reorder points with safety stock, and price a month of storage including an illustrative surcharge on old stock.

Returns & Refunds: Profit per Order after Returns. You price what a single return really costs, turn a return rate into an expected profit per order and find the return rate at which a SKU stops making money.

Product-launch P&L: Ramp-up, Ads & Payback (Chart). You build a six-month P&L for a new product with a launch discount, heavy launch ads and a sales ramp, find the payback month and chart monthly and cumulative contribution.

Summary

The landed cost per unit is product cost plus freight plus duty plus prep and inbound. Allocate a shared freight bill by the driver that caused it, here weight: =$C$12*D4/$D$9/B4. Apply duty to the right customs value with brackets: =(C4+F4)*E4. Add the parts per unit, and value the whole shipment with =SUMPRODUCT(B4:B8,I4:I8). For Alder & Pine shipment #14 the landed costs run from $7.52 for the dry bag to $18.39 for the trekking poles, and the shipment is worth $50,073.66.

Now scroll up to the lab and calculate it yourself. It takes about fifteen minutes, the Coach checks each cell, and the result is the cost base for every fee, margin and ACoS calculation in the rest of the course.

Frequently asked questions

What is landed cost per unit?

Landed cost per unit is the total cost of getting one unit ready to sell: product cost, freight, import duty, and prep and inbound costs, divided over the units. It is the cost base for pricing, margins and advertising limits.

How do I calculate landed cost in Excel?

Allocate the freight bill to each SKU, for example by weight with =$C$12*D4/$D$9/B4, calculate duty with =(C4+F4)*E4, then add product, freight, duty and prep per unit. SUMPRODUCT of units and landed cost gives the shipment value.

Should I allocate freight by weight, volume or units?

Use the driver that the forwarder bills on. If freight is charged by weight, allocate by weight; if by volume or by the larger of weight and volumetric weight, use that. An equal split per unit makes heavy items look cheaper than they are.

Is import duty calculated on the product cost or including freight?

It depends on the importing country. Some value imports including international freight and insurance, others on the transaction value without it. Check the rules of your customs authority or ask a customs broker.

What does FOB mean when buying from a factory?

FOB, free on board, means the supplier delivers the goods onto the ship at the port of loading. From then on the buyer pays the freight, insurance and import costs and carries the risk.

Why does landed cost matter for ACoS?

Your break-even ACoS is your profit per unit before ads divided by the selling price. If the landed cost is understated, profit and break-even ACoS look higher than they really are, and you may spend more on ads than the product can afford.

Keep going: Marketplace Seller Math: Fees, ACoS, TACoS & Profit per Unit

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time €9.90.

  1. Referral & Fulfilment Fees: Profit per Unit and Margin
  2. Break-even ACoS, Target ACoS & Max Ad Cost per Sale
  3. ACoS vs TACoS vs ROAS by Campaign Type (SUMIFS + Chart)
  4. Keyword Bid Math: Max CPC from Conversion Rate & Target ACoS
  5. Reorder Point, Days of Cover & Storage Fees
  6. Returns & Refunds: Profit per Order after Returns
  7. Product-launch P&L: Ramp-up, Ads & Payback (Chart)
  8. Coupons & Deals: Profit per Unit and Break-even Units
  9. Price Tests: Units, Profit and the Profit-maximising Price (Chart)
  10. Placement Bid Adjustments: Top of Search vs Product Pages
  11. Search-term Harvesting: Negatives, New Exact Keywords & Wasted Spend
  12. Daily Budget Pacing: Out-of-Budget Hours and Missed Sales (Chart)
  13. TACoS Trend: Organic vs Ad Sales over 12 Weeks (Line Chart)
  14. Inbound Shipment Planning: Units to Send, Case Packs & Limits
  15. Aged Stock: Keep, Remove or Liquidate?
  16. Multipacks & Bundles: Fees per Order and Profit per Item
  17. Inventory ROI, Turns & Days until Cash Is Back
  18. Profit Sensitivity Grid: Price × TACoS (Heat Map)
  19. Final Project: Catalogue Profit Dashboard (Month Close)

Buy course — €9.90 See the full course