MillMargin / Guides / FOB vs CFR costing

Rice export costing: FOB vs CFR, worked example

From head-rice cost in rupees to FOB and CFR in dollars, with local charges, dollar charges, the exchange rate you really get, and freight — one shipment worked through.

By the MillMargin team · Updated 7 Nov 2026 · 7 min read

The short answer

FOB is your cost with the rice loaded on the ship at Karachi. CFR is FOB plus sea freight to the buyer's port. Your margin is the buyer's price minus the matching cost: FOB price minus FOB cost, or CFR price minus CFR cost.

FOB cost per tonne = (head-rice cost + local export charges + dollar charges) in Rs ÷ average Rs per US$ ÷ tonnes
CFR cost per tonne = FOB cost + freight per container ÷ tonnes per containerMargin = sale price − FOB cost (or CFR price − CFR cost).

Worked example: 4 containers, 100 tonnes

The head rice from our cost guide costs Rs 229.77 per kg, which is Rs 229,768 per tonne.

LineBasisRs
Head rice, 100 tRs 229,768 / t22,976,793
Local charges (haulage to port, clearing, fumigation, phyto)Rs 77,000 / container308,000
Dollar charges per container (THC, seal, placement, weight check)$339 × 4 at Rs 277.4376,154
Dollar charges per shipment (B/L, certificates, courier)$250 at Rs 277.469,350
Total cost to load23,730,298

The exchange rate you actually get

Few exporters receive the full sale at the interbank rate. A part comes in through the bank at interbank less tax and bank charges; the rest is realised at the open-market rate. Use the blend.

RateOn $ per tonneRs per tonne
Interbank 276.71 less 1.25% export tax and 0.2% bank272.698900245,428
Open market277.425069,350
Average rate273.7201,150314,778

FOB, CFR and margin

US$ per tonneUS$ on 100 t
FOB cost (Rs 23,730,298 ÷ 273.720 ÷ 100)866.9686,696
Freight ($2,550 per 25-t container)102.0010,200
CFR cost968.9696,896
Margin at $1,150 FOB283.0428,304

Illustrative rates and charges. Freight is the UAE rate since the Gulf conflict (REAP, Oct 2026). If the contract is CFR at $1,240, the margin is $1,240 − $968.96 = $271.04 per tonne.

Cost the same shipment at the full interbank rate and the FOB cost comes out at $857.59 — $9.37 per tonne too low, about $234 per container you think you are earning and are not.

Four mistakes in export costing

  • Using one exchange rate for the whole sale when part of it comes in at a different rate.
  • Forgetting per-shipment dollar charges, which weigh more on a one-container order than on ten.
  • Comparing a CFR price with an FOB cost. A CFR price includes freight to the buyer's port, so add freight to your cost before you compare.
  • Last month's head-rice cost. Re-cost when paddy, by-product or bag rates move.

Questions mills ask

What is the difference between FOB and CFR for rice?

FOB (free on board) prices the rice loaded on the vessel at the loading port; the buyer pays the freight. CFR (cost and freight) includes sea freight to the buyer's port, so the seller pays it and adds it to the price.

Which exchange rate should a Pakistani exporter use for costing?

The rate you actually realise. If part of the sale comes through the bank at interbank less tax and charges and part at the open-market rate, use the weighted average of the two.

How is freight added for CFR?

Divide the freight per container by the tonnes per container and add it to the FOB cost per tonne. $2,550 on a 25-tonne container is $102 per tonne.

Does MillMargin do this calculation?

Yes. Box 05 takes the head-rice cost from your sheet, adds local and dollar charges, applies the interbank and open-market grid, and shows FOB, CFR and margin per tonne and per shipment.

Run these numbers on your own lot, with your rates, in about a minute.

Start free — 30 days of Pro included
Keep the books for these lots in MillMargin Ledger

Purchases and sales by bag and kilo, party statements on WhatsApp and the bank matched every month — on the same account as Costing.

See MillMargin Ledger