Skip to content
ArumSoft Learning
KO
    Excel templateBusiness finance

    Landed Cost and Import Duty Calculator for Excel

    The FOB price on the supplier's invoice is not what a unit costs you. This workbook takes the shipment's freight, insurance, duty and fees and spreads them across every SKU in proportion to value, weight or volume (your choice), then shows the landed unit cost, the uplift over FOB, and the price that still earns your target margin. Filled in with a sample coffee-gear shipment.

    Sheets:
    4
    Works with:
    Excel for Microsoft 365, Excel 2016 or later, Excel for Mac and Excel for the web
    Updated:

    Landed Cost and Import Duty Calculator.xlsx

    Excel workbook (.xlsx) · 27 KB · 4 sheets

    Download template

    Free to download. No sign-up needed.

    What you can do with it

    • Allocate freight and insurance across SKUs by value, weight or volume
    • Charge duty on FOB or CIF value at each SKU's rate
    • See landed unit cost and uplift over FOB for every SKU
    • Get a suggested selling price for your target gross margin
    Start Here sheet of the landed cost Excel template showing the shipment costs, allocation and duty settings, product cost, duty, total landed cost, uplift over FOB and a stacked bar chart of what each unit's landed cost is made of
    The Start Here sheet with the sample shipment that comes in the file.

    What's inside

    The workbook has 4 sheets. You only type on a few of them; the rest calculate.

    SheetWhat it's forYou enterCalculated for you
    Start HereShipment costs, settings and totalsFreight, insurance, brokerage, inland delivery, allocation basis, duty basis, target marginProduct cost, costs and duty, total landed cost, uplift, units, highest-uplift SKU
    SKUsOne row per product (room for 50)SKU, description, quantity, unit cost, weight, volume, duty rateExtended value, totals, allocation share, freight, insurance, duty, fees, landed total, uplift, landed unit cost, suggested price
    ListsDropdownsAllocation bases, duty basesNothing
    ChecksSeven checksNothingOK or Review

    Before you start

    • Collect the shipment invoices: carrier (freight), insurer, customs broker (brokerage, port and exam fees) and the trucker (inland delivery).
    • Get each SKU's duty rate from its HS code (the broker's entry summary lists them). Enter 5% as 0.05.
    • Decide how to allocate: freight by weight for dense goods, by volume for bulky goods, by value when you have neither; insurance is usually by value.

    Step-by-step guide

    1. Enter the shipment costs

      Start Here B7 to B10: freight, insurance, brokerage and port fees, inland delivery. These are the totals from the invoices.

    2. Pick the allocation and duty basis

      B11 decides whether freight and insurance follow value, weight or volume. B12 decides whether duty is charged on FOB value (US) or CIF value (EU, UK, most of Asia). B13 is the gross margin the suggested price aims for.

    3. List the SKUs

      SKUs tab: SKU, description, quantity, unit cost (FOB), weight per unit, volume per unit and duty rate. Extended value, total weight and total volume calculate.

    4. Read the allocation

      Allocation share is each SKU's portion of the shipment by the chosen basis; freight and insurance are the shipment totals × that share. Duty is the rate × FOB or CIF value. Fees (brokerage, port, inland) are always spread by value.

    5. Read the landed cost

      Landed total adds FOB, freight, insurance, duty and fees; uplift is how much above FOB that is; landed unit cost divides by quantity; suggested price is landed unit cost ÷ (1 − target margin).

    6. Check the Checks tab

      Shares adding to 100%, allocated costs equaling the shipment costs, quantities and costs present, weights or volumes present for the chosen basis, duty rates in range and the margin under 100%.

    Formula map

    Every formula in the workbook, grouped by the sheet and column it lives in. A column of copied formulas counts once; the range it covers is shown.

    SheetCellsFunctionsWhat it computesReadsFeeds
    SKUsJ5 copied down to row 54IFAllocation shareG5, F5Freight (K) and insurance (L) multiply the shipment totals by this.
    SKUsK5 copied down to row 54IFAllocated freightJ5Part of the landed total.
    SKUsM5 copied down to row 54IFDutyN5, F5, K5, L5Summed on Start Here B18.
    SKUsO5 copied down to row 54IFAllocated feesF5Part of the landed total.
    SKUsP5 copied down to row 54IFLanded totalF5, K5, L5, M5, O5Divided by quantity in R5; compared with FOB in Q5.
    SKUsQ5 copied down to row 54IF, ORUplift over FOBP5, F5Start Here B22 finds the SKU with the highest uplift.
    SKUsS5 copied down to row 54IFSuggested priceR5A floor for pricing, not a market price.
    Start HereB20IFLanded cost upliftB19, B16A single multiplier to apply to supplier quotes for quick estimates.
    ChecksB6IF, ABSAllocated costs equal shipment costs—A mismatch means a share is missing (a SKU without weight when allocating by weight, for example).

    Every formula, explained

    Each formula below is copied straight from the file, so what you read here is exactly what the cell contains. Click any cell in Excel to see it in the formula bar.

    Allocation shareSKUs!J5 · copied down to row 54
    =IF(A5="", "", IF('Start Here'!$B$11="Weight",
        G5/$G$55, IF('Start Here'!$B$11="Volume", I5/$I$55, F5/$F$55)))

    The SKU's share of the shipment by the basis chosen on Start Here: its weight, volume or value divided by the shipment total of the same thing.

    Piece by piece

    'Start Here'!$B$11="Weight"
    Basis test; then G5/$G$55 (weight ÷ total weight).
    'Start Here'!$B$11="Volume"
    Otherwise I5/$I$55 (volume ÷ total volume).
    F5/$F$55
    Otherwise value ÷ total value.

    With the sample data: G5 = 660, F5 = 8,520 → J5 result 22.6%

    How it is used: Freight (K) and insurance (L) multiply the shipment totals by this.

    How to change it: To allocate freight and insurance on different bases, give L its own IF using value.

    Learn this: How to Use the IF Function in Excel →
    Allocated freightSKUs!K5 · copied down to row 54
    =IF(A5="", "", J5*'Start Here'!$B$7)

    The shipment's freight bill times this SKU's share.

    Piece by piece

    J5
    Allocation share.
    'Start Here'!$B$7
    Total freight, absolute.

    With the sample data: J5 = 22.6% → K5 result 1,085.68

    How it is used: Part of the landed total.

    How to change it: Nothing to change.

    Learn this: Relative, Absolute and Mixed References in Excel →
    DutySKUs!M5 · copied down to row 54
    =IF(A5="", "", N5*IF('Start Here'!$B$12="CIF value",
        F5+K5+L5, F5))

    The SKU's duty rate times its dutiable value: FOB value, or FOB plus allocated freight and insurance when the duty basis is CIF.

    Piece by piece

    'Start Here'!$B$12="CIF value"
    Basis test.
    F5+K5+L5
    CIF: value + freight + insurance.
    F5
    FOB: value only.
    N5*…
    Times the duty rate.

    With the sample data: N5 = 3.7%, F5 = 8,520, K5 = 1,085.68, L5 = 70.12 → M5 result 315.24

    How it is used: Summed on Start Here B18.

    How to change it: Add anti-dumping or additional tariffs as a second rate column and add it here.

    Learn this: How to Use the IF Function in Excel →
    Allocated feesSKUs!O5 · copied down to row 54
    =IF(A5="", "", F5/$F$55*('Start Here'!$B$9+'Start Here'!$B$10))

    Brokerage, port fees and inland delivery spread by value, the common broker convention, regardless of the freight basis.

    Piece by piece

    F5/$F$55
    Value share.
    'Start Here'!$B$9+'Start Here'!$B$10
    Brokerage and port fees plus inland delivery.

    With the sample data: F5 = 8,520 → O5 result 342.59

    How it is used: Part of the landed total.

    How to change it: To spread inland delivery by weight instead, split this into two terms.

    Learn this: Relative, Absolute and Mixed References in Excel →
    Landed totalSKUs!P5 · copied down to row 54
    =IF(A5="", "", F5+K5+L5+M5+O5)

    Everything the SKU cost to get onto your shelf.

    Piece by piece

    F5
    FOB value.
    K5+L5
    Freight and insurance.
    M5
    Duty.
    O5
    Fees.

    With the sample data: F5 = 8,520, K5 = 1,085.68, L5 = 70.12, M5 = 315.24, O5 = 342.59 → P5 result 10,333.62

    How it is used: Divided by quantity in R5; compared with FOB in Q5.

    How to change it: Nothing to change.

    Learn this: How to Write Basic Formulas in Excel →
    Uplift over FOBSKUs!Q5 · copied down to row 54
    =IF(OR(A5="", F5=0), "", P5/F5-1)

    How much more the landed cost is than the FOB cost, as a percentage.

    Piece by piece

    F5=0
    No value: blank.
    P5/F5-1
    Landed ÷ FOB, minus one.

    With the sample data: P5 = 10,333.62, F5 = 8,520 → Q5 result 21.3%

    How it is used: Start Here B22 finds the SKU with the highest uplift.

    How to change it: Nothing to change.

    Learn this: How to Write Basic Formulas in Excel →
    Suggested priceSKUs!S5 · copied down to row 54
    =IF(R5="", "", R5/(1-'Start Here'!$B$13))

    Landed unit cost divided by one minus the target gross margin: the price at which the margin on landed cost equals the target.

    Piece by piece

    R5
    Landed unit cost.
    1-'Start Here'!$B$13
    One minus the margin, e.g. 0.55 for 45%.

    With the sample data: R5 = 17.22 → S5 result 31.31

    How it is used: A floor for pricing, not a market price.

    How to change it: For markup on cost instead of margin on price, use R5*(1+markup).

    Learn this: How to Write Basic Formulas in Excel →
    Landed cost upliftStart Here!B20
    =IF(B16=0, 0, B19/B16-1)

    Total landed cost over total FOB, minus one: the shipment-wide version of column Q.

    Piece by piece

    B16=0
    No product cost: 0.
    B19/B16-1
    Landed ÷ FOB, minus one.

    With the sample data: B19 = 47,358.84, B16 = 39,045 → B20 result 21.3%

    How it is used: A single multiplier to apply to supplier quotes for quick estimates.

    How to change it: Nothing to change.

    Learn this: How to Write Basic Formulas in Excel →
    Allocated costs equal shipment costsChecks!B6
    =IF(ABS(SKUs!$K$55+SKUs!$L$55+SKUs!$O$55-'Start Here'!$B$17)<0.05,
        "OK", "Review")

    The sum of allocated freight, insurance and fees across all SKUs must equal the shipment totals entered on Start Here, within five cents of rounding.

    Piece by piece

    SKUs!$K$55+SKUs!$L$55+SKUs!$O$55
    Allocated totals.
    'Start Here'!$B$17
    Freight, insurance and fees entered.
    ABS(…)<0.05
    Within rounding.

    With the sample data: B6 result OK

    How it is used: A mismatch means a share is missing (a SKU without weight when allocating by weight, for example).

    How to change it: Nothing to change.

    Learn this: How to Use the IF Function in Excel →

    Tips and limits

    • Capacity: 50 SKUs. For bigger shipments use Ctrl+H on formulas to replace $55 and $54 with larger rows.
    • Currency: enter everything in the currency you pay in. For a supplier invoice in another currency, convert the unit cost before entering it and note the rate on the Start Here sheet.
    • Duty basis by country: the US charges duty on FOB (transaction value); the EU, UK, Canada, Australia and most of Asia use CIF. Check with your broker for your destination.
    • VAT or sales tax on import is usually recoverable and is not part of landed cost for a registered business; add it as a row if you cannot recover it.

    Learn the skills behind this template

    Was this guide helpful? Spot a mistake? Send feedback · admin@arumsoft.com