Landed Cost Calculator
Splits freight, insurance, duty and fees across a shipment by value, quantity or weight and returns a landed cost per unit for each product. Each product also shows the uplift over its supplier price and its margin at a set selling price. Largest-remainder rounding keeps every allocated share in whole cents with no cent lost or gained, and duty can use a per-product rate on FOB or CIF value.
This tool sends nothing over the network. Everything you enter is processed on your device and never reaches our servers.
Documentation
A landed cost calculator works out the full acquisition cost of imported goods: the amount paid to the supplier plus a share of everything spent moving those goods to your door, from freight and insurance to import duty and customs brokerage. The model is cost allocation. Every shipment-level charge is divided among the products in proportion to a basis, each product's share is added to its goods value, and the total is divided by its quantity to give the landed cost per unit.
The products are the lines of the supplier invoice. Quantity times unit price (times the exchange rate, when the supplier bills in another currency) is the goods value of a line. Unit weight only matters for a charge split by weight, and any unit works as long as every line uses the same one, because only the proportions count; when a carrier bills on volumetric weight, the chargeable weight per unit is the figure to enter. A per-product duty rate overrides the shipment rate for goods under a different tariff code, and a blank one falls back to the shipment rate. Selling price is optional and only feeds the margin.
Each split method reflects what drove a cost. A value split weights each product by what it cost from the supplier, which matches insurance premiums, ad valorem duty and most brokerage, since those are themselves priced on value. A quantity split charges every unit alike, the right basis for per-piece handling, labelling or inspection fees. A weight split follows the kilograms, which is how carriers price freight, so a light, valuable product does not absorb the cost of moving a heavy, cheap one.
Each share is charge × product basis ÷ shipment basis. Shares are rounded to whole cents (or the smallest unit of the chosen currency) by the largest-remainder method: every share is first rounded down, then the cents left over go one at a time to the products with the largest fractional parts, which keeps the total of the shares equal to the bill. Rate-based duty is computed per product as customs value × duty rate. Customs value is the goods value alone (FOB, the basis in the United States and Canada) or goods plus that product's freight and insurance (CIF, the basis in the European Union and the United Kingdom). A lump-sum duty or tariff, such as a total taken from a customs entry, is split like any other charge. Settings holds the duty basis, the currency (US dollars by default, with presets or a custom symbol and decimal places), the supplier exchange rate and a step-by-step view of every allocation.
Uplift is charges ÷ goods value, the percentage the shipment added on top of the supplier price. Margin is (selling price - landed cost per unit) ÷ selling price. A product with no weight carries none of a weight-split charge, which flatters its cost, so the results name every such product. VAT or GST paid at import and recovered as input tax is not a cost of the goods, so it belongs outside the fees. Landed cost per unit keeps up to two extra decimal places, because a cent rounded away on a 10,000-unit line is $100. Amounts accept currency symbols, thousands separators, decimals (4.50), fractions (3/4), mixed numbers (1 1/2) and a decimal comma (12,50). Product lists also load from and save to CSV, so a packing list kept in a spreadsheet comes in as one file.
The sample shipment holds 200 mugs at $4.50 (0.4 kg each), 120 bottles at $7.50 (0.5 kg) and 400 tote bags at $1.50 (0.15 kg), so goods total $2,400 and weight totals 200 kg. Freight of $600 split by weight gives the mugs 600 × 80 ÷ 200 = $240. Insurance of $24 split by value gives them 24 × 900 ÷ 2,400 = $9, duty at 5% of $900 is $45, and $180 of fees split by quantity gives 180 × 200 ÷ 720 = $50. The mugs carry $344 of charges, so they land at ($900 + $344) ÷ 200 = $6.22 a unit, an uplift of 38.22% over the supplier price.
Landed cost sets the floor under every pricing, reorder and supplier decision an importer makes. A supplier invoice shows only the first part of that cost, and the gap between invoice price and landed cost is widest for cheap, heavy or high-duty goods, which is where a flat markup on the supplier price goes wrong.
- Online stores: A seller importing 500 phone cases at $1.20 and 50 desk lamps at $14 from one factory splits $900 of sea freight by weight and sees that the lamps, at 2 kg each, carry most of it, so their landed cost rises far more than the cases.
- Wholesale distribution: A distributor receiving a mixed container of cookware sets the shipment duty at 3.4% and overrides individual lines at 0% or 8.5% to match their tariff codes, then checks which items still clear a 35% margin at the agreed wholesale price.
- Tariff changes: A buyer facing a new 25% tariff on one product category enters the higher rate on those lines only and compares the landed cost per unit against the old rate before confirming the next purchase order.
- Supplier and Incoterm comparison: Two quotes, one FOB at $6.80 a unit with freight paid by the buyer and one delivered at $8.10, become comparable once the freight, insurance and fees of the FOB option are allocated and turned into a per-unit figure.
- Inventory accounting: A bookkeeper capitalizing import costs into stock records the allocated freight, duty and fees for each product from the CSV export, with shares that sum to the bills to the cent so the journal entry balances.
- Manufacturing inputs: A small manufacturer importing fabric by the roll and trims by the thousand splits brokerage by quantity and freight by weight to cost each raw material before building a bill of materials.
- Suppliers billing in another currency: An importer invoiced in euros enters supplier prices as quoted, sets the exchange rate once, and keeps freight and duty in the local currency they were billed in.
Inputs, outputs, and what the Landed Cost Calculator computes
What the Landed Cost Calculator asks for and what it returns, as a plain list. Defaults, units, and ranges are the ones the form loads with.
Inputs
- Freight ($) (text input)
- split by · default: Value
- Insurance ($) (text input)
- Duty rate (% of customs value) (text input)
- Extra duty or tariff ($) (text input)
- Other fees (brokerage, port, handling) ($) (text input)
- Currency · default: USD ($)
- Symbol (text input)
- Decimal places · default: 0
- Symbol position · default: Before the amount
- Supplier exchange rate (1 unit of the supplier's currency in your currency) (text input)
- Duty assessed on · default: Goods value (FOB)
- Show step-by-step allocation · default: off
Controls
Export CSV · Calculate · Reset
Example
The sample shipment holds 200 mugs at $4.50 (0.4 kg each), 120 bottles at $7.50 (0.5 kg) and 400 tote bags at $1.50 (0.15 kg), so goods total $2,400 and weight totals 200 kg.