The three letters that decide who pays 15,500 of shipping costs
An exporter quotes a price of 84,000 for a container of towels. The buyer accepts. Then the questions start: who books the ship, who pays the freight, who insures the cargo, who clears customs at each end, and who pays the import duties? On a shipment like this the costs between the factory gate and the buyer's warehouse can add up to many thousands, and a single wrong assumption can wipe out the exporter's margin. The answer to all of these questions is usually written in three letters next to the price: EXW, FOB, CIF, DDP and the other Incoterms® rules.
This free first lesson is for export and import coordinators, sales staff who write quotations, small business owners starting to trade across borders, finance and trade-finance students, and bank staff who handle letters of credit, where the Incoterm on the documents matters. You will learn what the main rules mean in practice and, more importantly, how to turn them into a quotation sheet in Excel that calculates the right price for any term automatically.
In the lab above you work for Harbor Loom Textiles, a fictional towel and linen exporter, shipping to Nordvik Retail, a fictional store chain overseas. A table lists eight cost items, and for each of six Incoterms it shows who pays: S for seller, B for buyer. With INDEX, MATCH and SUMIF you look up the payer for the agreed term, add up the seller's costs and build the price to quote. Both companies are invented, the cost split is simplified and the figures are illustrative. This is educational material, not legal or financial advice.
The core concept: a handover point for costs and risk
The Incoterms® rules are published by the International Chamber of Commerce (ICC). The current edition, Incoterms® 2020, contains eleven rules. Each rule answers three practical questions: where does the seller deliver the goods, who arranges and pays which parts of the transport and formalities, and at what point does the risk of loss or damage pass from seller to buyer. You can think of each rule as a point on the journey. Everything before that point is the seller's job, everything after it is the buyer's, with a few important exceptions.
- EXW, Ex Works: the seller makes the goods available at its own premises. The buyer handles loading, export clearance, transport, insurance and import. Minimum obligation for the seller.
- FCA, Free Carrier: the seller delivers the goods, cleared for export, to the carrier nominated by the buyer at an agreed place. If that place is the seller's premises, the seller also loads the goods.
- FOB, Free On Board: the seller delivers the goods on board the vessel at the named port of shipment, cleared for export. A sea and inland waterway term.
- CIF, Cost, Insurance and Freight: the seller also pays the sea freight and a minimum level of cargo insurance to the destination port. Risk, however, already passes when the goods are on board at the port of shipment.
- DAP, Delivered at Place: the seller delivers the goods at the named destination, ready for unloading. The buyer clears import and pays duties.
- DDP, Delivered Duty Paid: the seller delivers at the named destination and also clears the goods for import and pays import duties and taxes. Maximum obligation for the seller.
The other five rules fit between these: CPT and CIP (carriage paid, and carriage and insurance paid, for any mode of transport), DPU (delivered at place unloaded), and the sea terms FAS (free alongside ship) and CFR (cost and freight, CIF without the insurance). Once your sheet works for six rules, adding the other five is just more columns.
Two more points are worth knowing from day one. First, Incoterms rules do not decide when ownership passes, what the price is or how and when it is paid. Those belong in the sales contract and, if one is used, in the letter of credit. Second, the ICC notes that FOB and CIF are designed for goods loaded directly onto a vessel. For containers handed over at an inland terminal, FCA or CIP are often the better fit. Always name the exact place, for example "FCA Seller's warehouse, Izmir, Incoterms® 2020", so there is no doubt about where delivery happens.
Worked example: who pays what on Harbor Loom's shipment
The lab uses the cost table below. It is a simplified, illustrative split for teaching. In a real contract some items, for example terminal handling charges, depend on the carrier's terms and on local practice, so check the official Incoterms® 2020 text for a real deal.
| Cost item | Cost (USD) | EXW | FCA | FOB | CIF | DAP | DDP |
|---|---|---|---|---|---|---|---|
| Export packing | 1,200 | S | S | S | S | S | S |
| Loading at seller | 350 | B | S | S | S | S | S |
| Export clearance | 420 | B | S | S | S | S | S |
| Origin terminal & loading | 900 | B | B | S | S | S | S |
| Sea freight | 4,800 | B | B | B | S | S | S |
| Cargo insurance | 380 | B | B | B | S | S | S |
| Transport to buyer | 1,150 | B | B | B | B | S | S |
| Import duties & clearance | 6,300 | B | B | B | B | B | S |
| Seller pays in total | 15,500 | 1,200 | 1,970 | 2,870 | 8,050 | 9,200 | 15,500 |
Read the table column by column. Under EXW Harbor Loom pays only the export packing, 1,200. Each step to the right adds the next item on the journey: FCA adds loading and export clearance (1,970), FOB adds the origin terminal and loading on the vessel (2,870), CIF adds sea freight and insurance (8,050), DAP adds the final transport (9,200), and DDP adds the import duties and clearance, so the seller carries all 15,500.
The agreed term in the lab is CIF. The price Harbor Loom must quote to keep its ex-works price intact is the goods value plus the seller's costs under CIF: 84,000 + 8,050 = 92,050. If Nordvik asks for a DDP quote instead, the seller takes on 15,500 − 2,870 = 12,630 more than under FOB, most of it import duty that Harbor Loom must estimate in a country where it is not established.
| Result | Value (USD) | Excel formula |
|---|---|---|
| Payer of sea freight under the agreed term (I6) | S | =INDEX(C6:H6,MATCH($B$12,$C$1:$H$1,0)) |
| Seller's costs under CIF (B14) | 8,050 | =SUMIF(I2:I9,"S",B2:B9) |
| Price to quote (B15) | 92,050 | =B13+B14 |
| Extra seller cost of DDP vs FOB (B16) | 12,630 | =SUMIF(H2:H9,"S",B2:B9)-SUMIF(E2:E9,"S",B2:B9) |
How to build the Incoterms cost sheet in Excel
Follow these steps in the lab or in your own workbook. The layout matches the lab: cost items in A2:A9, costs in B2:B9, terms as column headers in C1:H1, S or B in C2:H9, and the agreed term in B12.
- Type the cost items and amounts. Format B2:B10 as currency or with a thousands separator: select the range and press Ctrl+Shift+! for the number format, or use Home → Number → Accounting.
- Fill the S/B matrix in C2:H9. Tip: centre it with Home → Alignment → Center and use Home → Conditional Formatting → Highlight Cells Rules → Equal To… "S" to colour the seller's cells, so the staircase pattern is visible at a glance.
- Make the agreed term in B12 a drop-down list so nobody can type "C.I.F." by mistake: Data → Data Validation → Allow: List, Source:
=$C$1:$H$1. - In I2, look up the payer for the agreed term:
=INDEX(C2:H2,MATCH($B$12,$C$1:$H$1,0)). MATCH finds the column number of the term in the header, INDEX returns the cell in that column. The 0 means exact match. - Copy I2 down to I9: select I2:I9 and press Ctrl+D. The dollar signs keep B12 and the header row fixed while the row reference moves.
- In B14, add up the seller's costs:
=SUMIF(I2:I9,"S",B2:B9). SUMIF checks each payer in I2:I9 and adds the matching cost from B2:B9. Under CIF the result is 8,050. - In B15, the price to quote:
=B13+B14, which gives 92,050. - In B16, compare two terms directly from the matrix, without the helper column:
=SUMIF(H2:H9,"S",B2:B9)-SUMIF(E2:E9,"S",B2:B9), which gives 12,630. - Test the model: change B12 to EXW, FOB and DDP and check that B14 shows 1,200, 2,870 and 15,500.
=XLOOKUP($B$12,$C$1:$H$1,C2:H2) does the same job as INDEX/MATCH in one function. You can even skip the helper column completely with =SUMIF(XLOOKUP(B12,C1:H1,C2:H9),"S",B2:B9), because XLOOKUP can return a whole column. The lab also accepts HLOOKUP.From cost sheet to quotation: thinking like the seller
The sheet answers a commercial question, not only an administrative one. If Harbor Loom wants 84,000 for its goods whatever the term, its price must move with the term: 85,200 EXW, 85,970 FCA, 86,870 FOB, 92,050 CIF, 93,200 DAP and 99,500 DDP in this example. Quoting the same price for FOB and CIF would quietly give away more than 5,000 of freight and insurance. Many exporters therefore keep exactly this kind of table and generate the quote for each term from it.
The choice of term is also a question of control. A seller who pays the freight under CIF or DAP chooses the forwarder and the shipping line and can often negotiate better rates through volume. A buyer who imports regularly may prefer FOB or FCA to use its own forwarder and consolidate shipments. DDP looks generous to the buyer but asks the seller to act as importer in a foreign country, which can be complicated for registration, VAT or similar taxes and customs. That is why DDP is often avoided by smaller exporters and why lesson 1 ends with a DDP-versus-FOB comparison.

Common mistakes and how to spot them
- Confusing cost and risk under the C rules. Under CIF and CFR the seller pays for the voyage, but risk passes at loading. If your notes say "seller is responsible until the destination port under CIF", check the rule again.
- Using MATCH without the 0.
MATCH(B12,C1:H1)without the third argument uses approximate match on an unsorted list and can return the wrong column. Always use exact match:MATCH(B12,C1:H1,0). - Forgetting absolute references. If I3 suddenly looks up B13 or row 2, the references moved when you copied. Lock them:
$B$12and$C$1:$H$1. - Adding every cost to the quote.
=B13+SUM(B2:B9)prices the shipment as if it were DDP. Only the seller's costs under the agreed term belong in the price. - Typing variations of the term. "Cif", "CIF " with a trailing space or "C.I.F." will not match the header and return
#N/A. A Data Validation list prevents this, andTRIMremoves stray spaces. - Leaving out the named place and the edition. "FOB" alone is incomplete. Write the rule, the place and the edition, for example "FOB Mersin, Incoterms® 2020".
- Using an Incoterm that does not match the documents. If a letter of credit asks for an on-board bill of lading, the Incoterm, the contract and the transport documents must agree. Lesson 3 shows how small mismatches cause discrepancies.
Quick reference: functions and shortcuts used
| Function or shortcut | What it does | Example in this lesson |
|---|---|---|
MATCH(value, range, 0) | Position of a value in a row or column, exact match | =MATCH($B$12,$C$1:$H$1,0) → 4 for CIF |
INDEX(range, n) | Returns the n-th cell of a range | =INDEX(C6:H6,4) → S |
XLOOKUP(value, lookup, return) | Modern one-step lookup (Excel 2021 / 365) | =XLOOKUP($B$12,$C$1:$H$1,C6:H6) |
HLOOKUP(value, table, row, FALSE) | Horizontal lookup in the top row | =HLOOKUP($B$12,$C$1:$H$9,6,FALSE) → payer of sea freight |
SUMIF(criteria range, "S", sum range) | Adds the costs where the payer is S | =SUMIF(I2:I9,"S",B2:B9) → 8,050 |
| Data → Data Validation → List | Drop-down for the agreed term | Source =$C$1:$H$1 |
| F4 | Toggles absolute references | $B$12 |
| Ctrl+D | Fill Down | Copies I2 to I3:I9 |
Real-world uses
- Export quotations. A sales coordinator enters the freight and duty estimates once and generates prices for EXW, FOB, CIF and DAP in seconds when a buyer asks "what would DAP cost?".
- Landed cost for importers. A buyer comparing a FOB offer from one supplier and a DDP offer from another can add its own costs to the FOB price and compare the two on a like-for-like landed basis.
- Letter of credit checks. Bank and company staff checking LC documents need to know whether an insurance document is required (it is under CIF and CIP, issued by the seller) and which freight terms the bill of lading should show.
- Margin control. Finance teams can audit past orders: was the freight paid by the company actually included in the price, given the term in the contract?
- Negotiation. Knowing that DDP costs the seller 12,630 more than FOB in this example gives both sides a concrete number to discuss, instead of a vague preference for one term.
What you will build in the rest of this course
This first lesson is free. The other 19 labs belong to the paid course, a one-time purchase of $9.90 that unlocks all lessons, the final exam and the certificate. The same two companies, Harbor Loom and Nordvik Retail, run through every lab, so the deal you priced today becomes the letter of credit, the invoice and the financing you work on next.
Lesson 2: Letter of Credit Fees: Issuance, Confirmation, Amendments & Minimums. You calculate the bank charges on the letter of credit that Nordvik Retail opens for Harbor Loom: commissions charged per quarter or part of a quarter, minimum and maximum fees, amendments and the share of the cost the exporter bears. Small fee rules turn into real money, and you build them with ROUNDUP, MAX and MIN.
Lesson 3: Checking LC Documents: Amount Tolerance, Shipment and Presentation Dates. Banks pay under a letter of credit only against compliant documents. You check six presentations with IF, AND and COUNTIF: is the amount within the tolerance, was the goods shipped on time, were the documents presented within 21 days and before expiry?
Lesson 4: Export Bill Discounting & Forfaiting: Discount, Proceeds and Implied Rate. You discount an accepted export bill for Harbor Loom, work out the discount and the net proceeds, and find the implied annual rate. Then you price a forfaiting deal of four promissory notes and see what the exporter really receives today.
Lesson 5: Invoice Factoring: Advance, Fees, Reserve Release and True Cost. You factor six Harbor Loom invoices: the advance paid upfront, the service fee, the discount charge for the days outstanding, the reserve released when the customer pays and, most important, the annualised cost of the whole arrangement.
Lesson 6: Supply Chain Finance (Reverse Factoring): Supplier Cost vs Buyer DPO. You look at Nordvik Retail's supply chain finance programme from both sides: Harbor Loom's cost of being paid early compared with its own borrowing rate, and the cash Nordvik frees up by paying later.
Lesson 7: Trade Working Capital & the Cash Conversion Cycle with Trade Finance. You calculate Harbor Loom's DSO, DIO, DPO and cash conversion cycle today and with factoring plus longer supplier terms, and how much working capital and cash those changes release.
Lesson 8: Choosing a Payment Method: Cost and Risk in a Weighted Score. In lab 8 you compare five payment methods for a USD 120,000 order, from cash in advance to open account, by bank cost and by a weighted score of safety, cost, buyer acceptance and speed, then rank them in a bar chart.
Summary
Incoterms® rules define where the seller delivers, who pays which costs and when risk passes. Turned into a table with S and B for each cost item, they become a model you can query with INDEX/MATCH and total with SUMIF. In Harbor Loom's example the seller's costs grow from 1,200 under EXW to 15,500 under DDP, the CIF price to quote is 92,050, and DDP costs the seller 12,630 more than FOB. Remember that under CIF the seller pays to the destination port but risk passes at loading.
Scroll up and try the lab now. When you have finished the four tasks, change the agreed term in B12 to each of the six rules and watch the seller's cost and the quote follow. That small sheet is the start of every trade-finance calculation in this course.
Frequently asked questions
What is the difference between FOB and CIF?
Under FOB the seller delivers the goods on board the vessel at the port of shipment, and the buyer pays the sea freight and insurance. Under CIF the seller also pays the freight and minimum insurance to the destination port, but risk still passes to the buyer once the goods are on board.
Who pays import duties under DAP and DDP?
Under DAP the buyer clears the goods for import and pays the duties and taxes. Under DDP the seller does, which makes DDP the rule with the most obligations for the seller.
How many Incoterms are there in Incoterms 2020?
Incoterms 2020 has eleven rules: seven for any mode of transport (EXW, FCA, CPT, CIP, DAP, DPU, DDP) and four for sea and inland waterway transport (FAS, FOB, CFR, CIF).
Do Incoterms say when ownership of the goods passes?
No. Incoterms rules cover delivery, costs, risk and formalities. Transfer of ownership, price and payment terms must be agreed in the sales contract.
How do I look up a value by row and column header in Excel?
Combine INDEX and MATCH, for example =INDEX(C2:H2,MATCH($B$12,$C$1:$H$1,0)), where MATCH finds the column of the header and INDEX returns the value. In Excel 2021 or Microsoft 365 you can use XLOOKUP instead.
How do I sum costs only for the seller in Excel?
Use SUMIF with the payer column as the criteria range, for example =SUMIF(I2:I9,"S",B2:B9). For several conditions, such as payer and cost category, use SUMIFS.
Keep going: Trade Finance: Letters of Credit, Factoring & Supply Chain Finance
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 CHF 9.90.
- Letter of Credit Fees: Issuance, Confirmation, Amendments & Minimums
- Checking LC Documents: Amount Tolerance, Shipment and Presentation Dates
- Export Bill Discounting & Forfaiting: Discount, Proceeds and Implied Rate
- Invoice Factoring: Advance, Fees, Reserve Release and True Cost
- Supply Chain Finance (Reverse Factoring): Supplier Cost vs Buyer DPO
- Trade Working Capital & the Cash Conversion Cycle with Trade Finance
- Choosing a Payment Method: Cost and Risk in a Weighted Score
- Usance LCs: Acceptance Commission, Discounting the Accepted Draft & Pricing the Credit Period
- LC Utilisation Ledger: Partial Shipments, Tolerance and Remaining Availability
- Cost of Discrepancies: Fees, Payment Delays and a Pareto of Causes
- Documentary Collections: D/P vs D/A Charges, Waiting Cost and Expected Loss
- Pre-Shipment Finance: Packing Credit Drawdowns, Interest Days and Repayment from LC Proceeds
- Export Credit Insurance: Buyer Limits, Premium, Insured Share and Claim Payouts
- Factoring Eligibility: Aged Invoices, Debtor Limits and the Dilution Reserve
- SCF Across the Supplier Base: Who Joins, What Each Saves and the Bank's Income
- Dynamic Discounting: Sliding-Scale Early Payment, the Buyer's Return and the Supplier's APR
- The Importer's Side: Cash Margin, Import Loan and the All-in Cost of an LC
- Bank Guarantees & the Trade Line: Reducing Advance Payment Guarantee, Bond Fees and Headroom
- Final Project: Export Deal Dashboard from Contract Price to Net Margin after Trade Finance