FOB Price Calculator: Free on Board Total Cost

An FOB price is the price at which goods are placed on the ship, so it covers the seller’s costs up to loading and nothing after. This FOB price calculator adds the ex-works product cost, inland freight to the port, export documentation fees and terminal loading charges, then applies an optional seller margin.

Pricing & Margin Calculators

FOB Price Calculator

Free On Board (FOB) price — ex-works product cost plus the seller's local costs to get the goods loaded onto the vessel/carrier at the port of origin.

$
$
$
$

The starting values are $900 ex-works, $40 inland freight, $25 export fees and $35 loading charges with no margin, giving an FOB price of $1,000.

How is the FOB price calculated?

The calculator adds the four seller-side costs and then applies the margin as a percentage on top.

FOB price = (Ex-works cost + Inland freight + Export fees + Loading charges) × (1 + Margin)

Where margin is a markup on cost. A 5% margin multiplies the subtotal by 1.05. Because it is a markup, the seller’s profit is a smaller share of the final price, which the examples below show.

Worked example: the starting values

Subtotal = 900 + 40 + 25 + 35 = $1,000
FOB price = 1,000 × 1.00 = $1,000

At a 5% margin the FOB price is 1,000 × 1.05 = $1,050. At 10% it is $1,100.

Worked examples for different shipments

Worked examples

A larger order with a margin

Enter $4,500 ex-works, $220 inland freight, $60 export fees, $180 loading and an 8% margin. The subtotal is $4,960 and the FOB price is 4,960 × 1.08 = $5,356.80.

What the margin really earns

On the 5% example, the margin is $50 on a $1,050 price. That is 50 ÷ 1,050 = 4.76% of the FOB price, below the 5% markup.

Passing the FOB price on to a DDP quote

The FOB price becomes the product cost in a delivered duty paid calculation, where freight, insurance, duty and destination charges are added. With the $1,000 starting FOB price, those buyer-side items are the ones this calculator leaves out.

How the margin and the cost lines change the FOB price

The table keeps the $1,000 subtotal and changes the margin, and it shows what share of the final price the margin represents.

Margin (markup) FOB price Profit Profit as share of price
0% $1,000 $0 0.00%
5% $1,050 $50 4.76%
10% $1,100 $100 9.09%
15% $1,150 $150 13.04%

Pricing to a target share of the price

If you want a fixed share of the final price as profit, a markup on cost is not the same number. For a profit of 10% of the price on a $1,000 subtotal, the price is 1,000 ÷ 0.90 = $1,111.11, which is a markup of 11.11%, not 10%. Enter 11.11 as the margin to get this result.

The inland freight

Moving the factory further from the port raises the inland freight. With the freight at $40, $80 and $120 the subtotals are $1,000, $1,040 and $1,080, and with a 5% margin the FOB prices are $1,050, $1,092 and $1,134. The margin is applied to the freight as well, so it grows with it.

Price per unit

Divide the FOB price by the number of units to quote a price per unit. At 50 units the $1,050 price is $21.00 each. Ask your forwarder for the export fees and loading charges as a single quote so that the lines match what you will be invoiced.

What FOB leaves out

An FOB price stops once the goods are on the vessel. The buyer pays the ocean freight, the insurance, the import duty and the delivery. If you quote DDP instead, use the DDP calculator on this site, entering the FOB price as the product cost.

Frequently asked questions

What does FOB price mean?

Free on Board. The seller delivers the goods on the buyer’s nominated vessel at the named port, and risk passes to the buyer once they are loaded.

How do I calculate an FOB price?

Add ex-works cost, inland freight, export fees and loading charges, then apply any margin. The starting values give $1,000.

What is the difference between FOB and CIF?

Under CIF the seller arranges freight and minimum insurance. Under FOB the buyer does.

Does the margin work as profit on the price?

It is a markup on cost. A 5% markup on $1,000 gives $50, which is 4.76% of the $1,050 price.

How do I price for a profit share of the FOB price?

Divide the subtotal by one minus the share. A 10% profit on a $1,000 subtotal gives $1,111.11, which is a markup of 11.11%.

Does the margin apply to the freight?

Yes, in the calculator the margin multiplies the whole subtotal, including the inland freight and the export fees.

Who pays the ocean freight under FOB?

The buyer. The seller’s responsibility ends when the goods are loaded on the vessel.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 559