FOB CIF formula reference
The complete FOB and CIF formula reference in one page.
The chain
| Step | Formula |
|---|---|
| EXW total | (factory + packaging) × quantity |
| FOB total | EXW + inland + export clearance + port handling |
| CIF total | FOB + main freight + insurance |
| Unit price | Total ÷ quantity |
| Quoted price | Unit price × (1 + markup) |
Margin versus markup
Markup: price = cost × (1 + m). Margin: price = cost ÷ (1 − m). A 20% markup is a 16.7% margin. Use one consistently and state which.
Freight share
(freight + insurance) ÷ CIF. It indicates which lever matters: product cost when the share is low, logistics when it is high.
The note
These formulas model the price; they do not model risk. Port congestion, FX movement and payment terms all need explicit treatment outside the arithmetic.
Want the number instead of the theory? Use the FOB & CIF price calculator to turn factory cost, freight and margin into a quotable per-unit price.