What does this ocean freight quote cost all in, and who pays it?
Liner quotes, FCL per container or LCL per revenue ton · base rate, BAF, LSS, peak season, EU ETS and FuelEU emissions surcharge, CAF, THC and documentation · three currencies · seller and buyer under the 11 Incoterms 2020 rules · totals a quote you hold; it does not estimate market rates · Updated 29 October 2026
Published by ShipCalculators.com. Method checked against 46 CFR Parts 520 and 530, Directive (EU) 2023/959 and Regulation (EU) 2023/1805 and Incoterms 2020, ICC publication 723E on 29 October 2026. How calculators are checked
Answer
Maersk's Shanghai to Los Angeles sample of 15 January 2026 for one 40 ft dry container, with its Q1 2026 BAF and LSS and US destination handling added, comes to USD 3,867 all in, with CNY 1,622 origin charges at the ECB rate of 28 October 2026. Sold FOB Shanghai under Incoterms 2020, the buyer pays USD 3,624.
Change the inputs below to recompute.
On this page
- What a quote contains
- Calculator
- What the total means
- Cite or share
- Drawings
- Adding it by hand
- Your quote by line
- Formula and limits
- Surcharge codes
- US tariff rules
- EU ETS and FuelEU
- Incoterms split
- Where to find inputs
- FAQs
- Regulatory basis
- Not modeled
- How to use
- Test cases
- Related calculators
- Change log
- Publisher
- Sources
What an ocean freight quote contains
An ocean freight quote is the basic ocean freight a liner carrier charges for a container or a revenue ton, plus the surcharges and local charges it adds, each on its own basis; their sum is the all-in rate. 46 CFR 520.2 calls an added charge “the amount that is added to the basic ocean freight rate”, and a US carrier must publish each one in its tariff.1 The lines fall in three layers: origin charges, ocean freight and destination charges, each billed in the currency the carrier sets for it; Maersk’s Shanghai sample bills origin charges in CNY and the freight in USD.7
Add up the quote
Start from a published quote, or enter your own below
Figures from Maersk's own notices, with their dates on the page; not a quote for your cargo. The rule above is kept.
The quote's origin or export local charges, in the currency they are billed in.
The rate line and each surcharge the quote names. A US carrier must publish each one in its tariff (46 CFR 520.4).
The quote's destination or import local charges.
ECB reference rates of 28 October 2026 unless you type the rate you were billed at.
Origin, USD per CNY
Ocean freight, already in USD
Destination, already in USD
1 container (40 ft), FOB (Free On Board). Totalled in USD at 1 CNY = 0.1500 USD. No EU or EEA port.
Each figure from the carrier's quote or tariff, line for line. Leave a line at 0 when the quote does not itemize it, and do not add BAF or emissions lines to an all-in rate that already includes them.
All in USD 3,867, USD 3,867 per container
Your result
- All in
- Per container
- USD 3,867
1 container (40 ft): USD 3,867 all in. Under FOB the seller pays USD 243 and the buyer USD 3,624.
Who pays, USD
Who pays under each rule
Every line, USD
| Line | Rate | Amount |
|---|---|---|
| OHC | 856 × 1 | CNY 856 |
| EXP | 316 × 1 | CNY 316 |
| ODF | 450 × 1 | CNY 450 |
| Other | 0 × 1 | CNY 0 |
| BAS | 2,300 × 1 | USD 2,300 |
| BAF | 450 × 1 | USD 450 |
| LSS | 19 × 1 | USD 19 |
| PSS | 0 × 1 | USD 0 |
| EMS | 0 × 1 | USD 0 |
| Other | 0 × 1 | USD 0 |
| CAF | 0% | USD 0 |
| DHC | 855 × 1 | USD 855 |
| DDF | 0 × 1 | USD 0 |
| Other | 0 × 1 | USD 0 |
Every line and every Incoterms rule, drawn in full
- Per container
- USD 3,867
- Origin
- CNY 1,622
- Ocean freight
- USD 2,769
- Destination
- USD 855
- Seller pays
- USD 243
- Buyer pays
- USD 3,624
- Not set by FOB
- USD 0
- Base share
- 59%
Example figures: Maersk sample corridor Shanghai to Los Angeles, 14 Jan 2026; BAF and LSS Q1 2026, 1 Dec 2025; US DHC, 15 Sep 2025. Rates from the ECB, 28 October 2026.
Rates in force on the day the carrier receives the cargo apply to a US shipment (46 CFR 520.7(c)); a US tariff increase takes effect no earlier than 30 days after publication (520.8(a)(1)).
What this total means
The quote for 1 container (40 ft) comes to USD 3,867: origin charges CNY 1,622 (USD 243), ocean freight USD 2,769, destination charges USD 855. The basic ocean freight is 59% of the total; the largest line after it is DHC, USD 855.
Under FOB (Free On Board) the seller delivers on board the ship at the port of shipment. Incoterms 2020 puts the costs before that point on the seller and those after it on the buyer, so the seller pays USD 243 and the buyer USD 3,624.
Converted at 1 CNY = 0.1500 USD, the ECB reference rate of 28 October 2026. The invoice uses the carrier's own rate of exchange on its own date.
Cite or share this calculation
ShipCalculators.com, “Ocean Freight Quote Calculator: All-In Cost and Who Pays.” Method: each quote line times its basis (per container, per revenue ton or per bill of lading), CAF as a percentage of the base, layers converted to one currency, costs split at the Incoterms 2020 delivery point. Inputs: 1 container (40 ft); FOB; origin CNY 1,622, ocean freight USD 2,769, destination USD 855. Result: USD 3,867 all in, USD 3,867 per container; seller USD 243, buyer USD 3,624. https://shipcalculators.com/calculators/ocean-freight-quote
The citation names ShipCalculators.com as publisher; copying it adds today's date.
Drawings of the quote and who pays
The journey and who pays each layer
Navy the seller's layers, amber the buyer's, dashed grey where the named place or the contract of carriage decides. The bar marks where the seller's costs end, the triangle where the risk passes.
Every line of the quote, USD
Origin lines in light blue, ocean freight in navy, destination in red, each bar labeled with its value in USD.
Who pays under each rule
FOB outlined. Contract: the seller's contract of carriage decides; split: the named place decides.
The three layers to scale
FOB: delivery on board the ship at the port of shipment. Origin charges CNY 1,622 (USD 243), seller; ocean freight USD 2,769, buyer; destination charges USD 855, buyer. The basic ocean freight is USD 2,300, 59% of the USD 3,867 total.
Point at a bar or a cell, or tap it, to read its figures; with a keyboard, tab to a drawing and use the arrow keys.
Adding a quote by hand
All-in ocean freight is the sum of every quote line times its quantity (containers, bills of lading or revenue tons), with the origin, ocean freight and destination subtotals converted to one currency. Write the quote out in three columns: origin, ocean freight, destination. Multiply each per-container line by the boxes, each per-B/L line by the bills of lading, and for LCL each line by the revenue tons, the greater of the metric tons and the cubic meters. Add each column in its own currency, convert two of them to the third and add. Then mark the delivery point of the Incoterms rule: the seller pays the columns before it, the buyer those after.
Your quote line by line
- Origin charges: OHC 856 + EXP 316 + ODF 450 = CNY 1,622; at 1 CNY = 0.1500 USD, USD 243.
- Ocean freight: BAS 2,300 + BAF 450 + LSS 19 = USD 2,769.
- Destination charges: DHC 855 = USD 855.
- All in: 243 + 2,769 + 855 = USD 3,867; per container: USD 3,867 ÷ 1 = USD 3,867.
- FOB: origin seller, ocean freight buyer, destination buyer; seller USD 243, buyer USD 3,624.
Formula, assumptions, and limits
An all-in ocean freight figure is the sum of every line on the quote, each multiplied by its own basis, with the three layers of the quote converted to one currency before they are added.
Formula
- : the all-in cost, in the report currency.
- : the layer, origin charges, ocean freight, destination charges, each billed in its own currency.
- : units of the report currency per unit of the layer’s currency.
- : the layer’s subtotal in its own currency; the ocean freight subtotal also carries the CAF.
- : the rate on line of the quote.
- : the quantity that line is charged on: per box, per B/L or per revenue ton (RT).
- : containers; : bills of lading.
- : gross weight in metric tons; : volume in cubic meters; : the tariff’s minimum charge in revenue tons.
- : the currency adjustment factor as a fraction; the freight it applies to, the basic ocean freight alone or the base and the ocean surcharges together, as the quote states.
The cost per container is , or per revenue ton for LCL.
Derivation
The structure is the one 46 CFR 520 requires of a US carrier’s tariff. Section 520.2 defines an assessorial charge as “the amount that is added to the basic ocean freight rate”, 520.6(e) makes the minimum rate display “the basic ocean freight rate and a list of all assessorial charges and surcharges”, and 520.4(f)(6) requires each rate item to carry its “Rate and rate basis”. The rate-basis codes in Appendix A to Part 520 include Per Container (PC) and Weight/Measure (WM), and a per-B/L fee is a Lump Sum (LS) for each shipment. A shipment is “all of the cargo carried under the terms of a single bill of lading” (520.2), so a fee charged per shipment is charged once per B/L, however many boxes travel on it.
Assumptions
- Every per-container line applies to every container in the count, and all containers are the same size and type.
- In LCL, every line except documentation is charged per revenue ton, and documentation once per B/L.
- CAF is a percentage of the freight the reader chooses: the base alone, or the base plus the ocean surcharges. This is the calculator’s assumption; the quote states which the carrier uses.
- Exchange rates are the ECB euro reference rates of 28 October 2026 unless the reader types the rate on the invoice. A carrier bills at its own rate of exchange: Maersk’s Q4 2026 emissions notice prints “1 EUR = 1.1502 USD”, where the ECB rate on 28 October 2026 was 1.1133.
Worked example
Maersk’s notice of 14 January 2026 publishes a sample corridor from Shanghai to Los Angeles, valid from 15 January 2026, for one 40 ft dry container (one FEU): terminal handling at origin (OHC) CNY 856, export service CNY 316, origin documentation CNY 450, and basic ocean freight USD 2,300. Maersk’s Q1 2026 notices set the bunker adjustment factor for Far East Asia to the North American West Coast at USD 450 and the low-sulfur surcharge at USD 19 from 1 January 2026, and its destination terminal handling into the United States is USD 855 for a 40 ft dry box from 15 October 2025.
- Origin: 856 + 316 + 450 = CNY 1,622. At the ECB rates of 28 October 2026 (USD 1.1133 and CNY 7.4217 to the euro), 1 CNY = USD 0.1500, so CNY 1,622 = USD 243.
- Ocean freight: 2,300 + 450 + 19 = USD 2,769.
- Destination: USD 855.
- All in: 243 + 2,769 + 855 = USD 3,867 for the container.
The basic ocean freight is 59% of the bill. Sold FOB Shanghai, the seller pays the USD 243 of origin charges and the buyer the USD 3,624 of freight and destination handling. The sample corridor table lists no BAF or LSS and says its rates “are also subject to other applicable surcharges, including local charges and contingency charges”; the example adds them as separate lines, and a reader whose quote is all-in sets them to 0.
Edge cases and limits
- No base entered. The total is the surcharges and local charges only. This is the case when Maersk’s published surcharges are added to a base still under negotiation.
- Emissions line on a non-EU lane. Maersk applies its emissions surcharge only where the load or discharge port country is in the EU or EEA; the calculator flags a figure entered on a lane with neither.
- China origin. Maersk adds the emissions surcharge to the base freight on bookings from mainland China “for regulatory reasons”, so a separate EMS line on such a quote counts it twice.
- Contingent charges. Demurrage, detention, storage and inland haulage are outside the quote total; 46 CFR 541.3 defines demurrage and detention as “not including freight charges”. The container detention calculator prices them from the dates.
- Duties and insurance belong to the landed cost, not the freight.
Regulatory basis
In the United States, 46 CFR 520 governs how a carrier publishes the rates and surcharges on a quote, 520.8 when a change may take effect and 520.7(c) which date’s rates apply; 46 CFR 530 governs service contracts. In the EU, Directive 2003/87/EC as amended by Directive (EU) 2023/959 brings shipping into the EU ETS, and Regulation (EU) 2023/1805, FuelEU Maritime, applies from 1 January 2025; both are the cost behind the emissions line. Incoterms 2020, ICC publication 723E, allocates the costs between seller and buyer.
Common errors
- Surcharges added to an index or all-in rate. Drewry’s World Container Index is “total ocean freight including bunker adjustment factor and all other applicable surcharges”; adding BAF or an emissions line to it counts them twice.
- A per-B/L fee multiplied by the containers. Documentation is charged per shipment, and a shipment is one bill of lading under 46 CFR 520.2.
- The smaller of weight and volume for LCL. The revenue ton is whichever gives the higher charge, the Port of Los Angeles definition.
- Rates read on the quote date. For a US shipment the rates “in effect on the date the cargo is received by the common carrier” apply, 46 CFR 520.7(c); Maersk sets its price calculation date for FMC trades at the last container gate-in.
- Markup on pass-through charges. An NVOCC passing on a carrier’s surcharges or terminal charges “must not mark them up above cost”, 46 CFR 520.7(a)(3)(iv) and (h).
Surcharge codes on a liner quote
A liner quote lists each charge under a short code. The table gives the codes this calculator takes, the basis each is charged on, and what set Maersk’s 2026 figures.
| Code | Line | Basis | What sets it |
|---|---|---|---|
| BAS | Basic ocean freight | per container or per revenue ton | The tariff rate or the service contract |
| BAF | Bunker adjustment factor | per container, by trade | Maersk Q1 2026: Platts VLSFO average USD 461.54 per metric ton over 26 August to 25 November 2025 |
| LSS | Low-sulfur surcharge | per container, by emission control area | Maersk Q1 2026: VLSFO to LSMGO spread of USD 243.20 per metric ton |
| EMS, ESS | Emissions surcharge, EU ETS and FuelEU | per container or per W/M | Maersk Q4 2026: EUA average EUR 78.97 over 16 May to 15 August 2026 |
| PSS | Peak season surcharge | per container | Announced per trade; USD 0 on Maersk’s January 2026 sample |
| CAF | Currency adjustment factor | percentage of the freight | The quote |
| OHC, DHC | Terminal handling, origin and destination | per container | The carrier’s local tariff at each port |
| ODF, DDF | Documentation | per bill of lading | The carrier’s local tariff |
Maersk charges ESS on spot bookings and contracts of up to 31 days and EMS on longer ones, and does not pass on UK ETS costs, which it assessed as minimal. On LCL it charges the emissions surcharge per W/M, USD 4 from the Far East to North Europe from 1 October 2026, “payable by the payer of Ocean Freight”.
US tariff rules for surcharges
A US carrier must “State separately each terminal or other charge” in its tariff (46 CFR 520.4(a)(4)), and the tariff must be open to “any person without time, quantity, or other limitations” (520.9(c)). An increase in any rate or charge “may become effective” no earlier than 30 calendar days after publication, while a decrease takes effect on publication (520.8(a)). Charges the carrier only collects for someone else, such as some terminal services and canal tolls, take effect on publication but may not be marked up (520.8(b)(4)). The Federal Maritime Commission restated the 30-day rule for the Red Sea surcharges of January 2024, pointing carriers that need a shorter period to Special Permission under 520.14(c). A service contract is different: it takes effect on its stated date once all parties have signed it (46 CFR 530.3(i)) and is filed within 30 days after that date (530.8(a)(1)).
EU ETS and FuelEU surcharges
An emissions surcharge (Maersk’s EMS or ESS) passes on to the shipper the cost of the EU allowances a carrier surrenders under the EU ETS and of FuelEU Maritime compliance, on voyages to, from or within the EU and EEA. For emissions from 2024, a shipping company must surrender EU allowances for its ships' emissions: 50% of emissions on a voyage between an EU port and a port outside the EU, and 100% within the EU and at berth (Article 3ga of Directive 2003/87/EC). The share phases in: 40% of verified 2024 emissions, 70% of 2025 and 100% from 2026 (Article 3gb), surrendered by 30 September of the following year. Article 3gc entitles the shipping company to reimbursement where another entity has contractually taken on the purchase of the fuel or the operation of the ship. FuelEU Maritime adds a limit on the greenhouse gas intensity of the energy used on board, 2% below 91.16 gCO2e/MJ from 2025 and 6% below from 2030, with a penalty of EUR 2,400 per metric ton of VLSFO-equivalent energy in deficit. Maersk explained the rise in its Q1 2026 emissions surcharge by the move from 70% to 100% coverage.
Who pays each layer under Incoterms 2020
The ICC’s introduction to Incoterms 2020 states the principle “in broad terms”: A9 “allocates costs before the point of delivery to the seller and costs after that point to the buyer”. The table applies it to the three layers of a quote.
| Rule | Seller delivers | Origin | Ocean freight | Destination |
|---|---|---|---|---|
| EXW | At the seller’s premises | Buyer | Buyer | Buyer |
| FCA | To the buyer’s carrier at the named place | Split at the named place | Buyer | Buyer |
| FAS | Alongside the ship at the port of shipment | Split at the named place | Buyer | Buyer |
| FOB | On board at the port of shipment | Seller | Buyer | Buyer |
| CFR, CIF | On board; the seller pays carriage to the port of destination | Seller | Seller | Set by the contract of carriage |
| CPT, CIP | To the first carrier; the seller pays carriage to the named place | Seller | Seller | Set by the contract of carriage |
| DAP | At the named place, ready for unloading | Seller | Seller | Split at the named place |
| DPU | Unloaded at the named place | Seller | Seller | Seller |
| DDP | At the named place, cleared for import | Seller | Seller | Seller |
Under the C-rules the seller contracts the carriage, so whether the destination terminal handling is the seller’s depends on what that contract covers. Under DAP the seller does not unload and under DPU it does, the distinction the ICC draws between the two rules.
Where to find each input
- Base rate and surcharges: the quote’s freight section, or the carrier’s published tariff; in the US every surcharge is in the tariff under 46 CFR 520.4.
- Origin and destination charges: the local charges section of the quote, or the carrier’s terminal handling notice for the port, such as Maersk’s for Korea (KRW 220,000 for a 40 ft dry box from 1 October 2026) or the Netherlands (EUR 285 for all dry containers from the same date).
- Containers and bills of lading: the booking. For LCL, the gross weight and the volume in cubic meters (CBM) from the packing list; the FCL vs LCL calculator shows the volume at which a full box costs less, and the pallets per container calculator settles how many boxes a palletized load takes.
- Exchange rate: the rate printed on the carrier’s invoice; the ECB reference rate is a check, not the billed figure.
- Incoterms rule: the sales contract or the commercial invoice.
Frequently Asked Questions (FAQs)
How do you calculate ocean freight cost?
Multiply each line of the carrier's quote by its basis and add them: per-container lines by the number of containers, per-bill-of-lading lines by the bills, LCL lines by the revenue tons, and a currency adjustment factor as a percentage of the base. Convert the origin, freight and destination layers to one currency and add. Maersk's Shanghai to Los Angeles sample of 15 January 2026 for one 40 ft dry container, with Maersk's Q1 2026 BAF and LSS and its US destination handling added, comes to USD 3,867 at the ECB rate of 28 October 2026.
What surcharges are added to ocean freight?
The common ones are the bunker adjustment factor (BAF) for fuel, the low-sulfur surcharge (LSS) inside emission control areas, a peak season surcharge (PSS), an emissions surcharge on EU and EEA trades for the EU ETS and FuelEU Maritime, a currency adjustment factor (CAF), and terminal handling and documentation fees at each end. In the US, 46 CFR 520.4 requires a carrier to state each one separately in its tariff.
What is the EU ETS surcharge on a freight quote?
It passes on the cost of the EU emission allowances a carrier must surrender for the voyage under Directive 2003/87/EC as amended by Directive (EU) 2023/959: 50% of emissions on voyages between an EU and a non-EU port, 100% within the EU, phased in at 40% for 2024, 70% for 2025 and 100% from 2026. Maersk's Q4 2026 emissions surcharge, which also covers FuelEU Maritime, is USD 170 per 40 ft dry container from the Far East to North Europe.
Who pays terminal handling charges under FOB and CIF?
Under FOB the seller pays origin terminal handling and the buyer pays destination handling, because the seller delivers on board at the port of shipment. Under CIF and CFR the seller also pays the carriage to the port of destination, and whether destination terminal handling is the seller's turns on what the seller's contract of carriage covers. Incoterms 2020 puts costs before the delivery point on the seller and after it on the buyer.
How is LCL freight calculated?
On revenue tons: the greater of the gross weight in metric tons and the volume in cubic meters, so 2.4 t occupying 3.1 m³ is charged as 3.1 revenue tons. This is the W/M (weight or measure) basis. The Port of Los Angeles defines it as whichever produces the highest revenue, 1 revenue ton being 1 metric ton or 1 cubic meter. A tariff may set a minimum charge, and documentation fees are charged per bill of lading.
How much notice must a carrier give before raising a surcharge in the US?
Thirty calendar days. Under 46 CFR 520.8(a)(1) a new or changed rate or charge that increases a shipper's cost, a surcharge or a general rate increase (GRI) alike, cannot take effect earlier than 30 days after it is published in the tariff; a decrease can take effect on publication. A service contract or amendment takes effect on its stated date once all parties have signed it, under 46 CFR 530.3(i).
What is an all-in ocean freight rate, and is THC included?
An all-in rate is one figure that bundles the basic ocean freight with the surcharges the carrier names. Terminal handling is inside it only where the quote says so; a port-to-port quote lists origin and destination handling as separate lines. Customs, duties and inland haulage are outside it. Ask which lines the all-in figure covers before comparing it with an itemized quote, or BAF and THC get counted twice.
Does an index rate such as the Drewry WCI include surcharges?
Yes. Drewry's methodology defines the World Container Index as total ocean freight including the bunker adjustment factor and all other applicable surcharges, with terminal handling where market practice includes it. Adding BAF or an emissions surcharge on top of an index rate counts them twice.
Regulatory basis
US carriers publish rates and surcharges under 46 CFR 520, and increases wait 30 days from publication; service contracts fall under 46 CFR 530.1,2,3 EU emissions surcharges pass on the EU ETS, extended to shipping by Directive (EU) 2023/959, and FuelEU Maritime, which applies from 1 January 2025 (Article 32).4,5 Incoterms 2020 allocates the costs between seller and buyer.6
- Surcharges in the tariff
- Each terminal or other charge stated separately, 46 CFR 520.4(a)(4); minimum display the base and all surcharges, 520.6(e)1
- Rates that apply
- Those in effect when the carrier receives the cargo, 46 CFR 520.7(c)1
- Service contracts
- Effective on the stated date once signed by all parties, 46 CFR 530.3(i); filed within 30 days, 530.8(a)(1)2
- EU ETS scope
- 50% of emissions EU to non-EU, 100% within the EU and at berth; 40% of 2024, 70% of 2025, 100% from 2026, Directive 2003/87/EC Art. 3ga and 3gb4
- FuelEU Maritime
- From 1 January 2025; GHG intensity 2% below 91.16 gCO2e/MJ; EUR 2,400 per t VLSFO-equivalent deficit, Regulation (EU) 2023/18055
- Cost split
- Costs before the delivery point on the seller, after it on the buyer, Incoterms 2020 A9 and B96
- Exchange rates
- ECB euro reference rates, 28 October 2026: USD 1.1133, CNY 7.4217, KRW 1,492.35, GBP 0.83785, JPY 175.8615
What the quote total leaves out
- Contingent charges. Demurrage, detention and storage are “not including freight charges” under 46 CFR 541.3 and are priced from the dates by the container detention calculator, not added here.18
- Inland haulage, customs clearance, duties and cargo insurance belong to the landed cost; the quote total stops at the destination terminal.
- One container type per calculation. A booking with 20 ft and 40 ft boxes needs one calculation per size.
- The Incoterms split follows the delivery point only. Where it falls inside a layer (FCA, FAS, DAP) or a C-rule leaves destination charges to the contract of carriage, the calculator says so and does not guess.6
- The figures are the published ones on the dates given, not a quote for the reader’s cargo; Maersk’s notices state that US quotations varying from its tariff bind only in a filed service contract.7
- Exchange rates are the ECB reference rates of 28 October 2026; the invoice uses the carrier’s own rate, which for Maersk’s Q4 2026 emissions surcharge was 1 EUR = 1.1502 USD.11,15
How to use this calculator
- Pick FCL for full containers and enter the number of containers and bills of lading, or LCL and enter the gross weight in metric tons, the volume in cubic meters (CBM) and any minimum charge in the tariff.
- Pick the currency of each layer as the quote bills it: origin charges, ocean freight and destination charges, and the currency to total in.
- Enter each line of the quote: terminal handling, export service and documentation at origin; the basic ocean freight and each surcharge (BAF, LSS, peak season, emissions, CAF as a percentage); terminal handling and documentation at destination. Leave a line at 0 when the quote does not itemize it.
- Pick the Incoterms 2020 rule in the sales contract, and whether the load or discharge port is in the EU or EEA.
- Read the all-in total, the cost per container or revenue ton, each layer in its own currency, and what the seller and the buyer pay. Type the exchange rate on the invoice over the ECB rate if it differs.
Test cases this calculator passes
Every build of this site runs these cases through the calculator above and stops the release if any figure moves outside its tolerance. Load a case to put its inputs into the calculator.
| Inputs | Expected result | Traced to | Load |
|---|---|---|---|
| Maersk Shanghai to Los Angeles, 1 × 40 ft dry, FOB Shanghai | All in: USD 3,867Origin: CNY 1,622Ocean freight: USD 2,769Destination: USD 855Seller pays: USD 243Buyer pays: USD 3,624Base share: 59% | Maersk sample corridor Shanghai to Los Angeles, 14 Jan 2026 (OHC CNY 856, EXP CNY 316, ODF CNY 450, BAS USD 2,300 per 40 DRY); Maersk BAF P1E USD 450 and LSS USD 19 from 1 Jan 2026; Maersk DHC world to US USD 855 per 40 DRY from 15 Oct 2025; ECB 28 Oct 2026: USD 1.1133, CNY 7.4217 per EUR; 856 + 316 + 450 = 1,622 CNY × 1.1133/7.4217 = USD 243.31; 2,300 + 450 + 19 = 2,769; total 243.31 + 2,769 + 855 = 3,867.31; FOB: origin seller, rest buyer, Incoterms 2020 A9/B9. | Load inputs |
| Maersk Shanghai to Los Angeles, 1 × 20 ft dry, FOB Shanghai | All in: USD 3,393Origin: CNY 1,307Ocean freight: USD 2,442Destination: USD 755Seller pays: USD 196 | Maersk sample corridor Shanghai to Los Angeles, 14 Jan 2026, 20 DRY: OHC CNY 563, EXP CNY 294, ODF CNY 450, BAS USD 2,020; Maersk BAF P1E 20DRY USD 405 and LSS USD 17 from 1 Jan 2026; Maersk DHC world to US ALL 20DRY USD 755 from 15 Oct 2025; 563 + 294 + 450 = 1,307 CNY × 1.1133/7.4217 = USD 196.06; 2,020 + 405 + 17 = 2,442; total 196.06 + 2,442 + 755 = 3,393.06. | Load inputs |
| Same quote sold CFR Los Angeles | Seller pays: USD 3,012Buyer pays: USD 0Not set by CFR: USD 855 | CFR: seller pays origin and carriage to the port of destination (243.31 + 2,769 = 3,012.31); destination charges USD 855 turn on the contract of carriage. | Load inputs |
| Same quote sold DDP | Seller pays: USD 3,867Buyer pays: USD 0 | DDP: delivery at the named place of destination, all three layers the seller's. | Load inputs |
| Two 40 ft boxes on one bill of lading, documentation per B/L | All in: USD 7,667Per container: USD 3,834Origin: CNY 2,794 | Origin 2 × (856 + 316) + 450 = 2,794 CNY = USD 419.12; freight 2 × 2,769 = 5,538; destination 2 × 855 = 1,710; total 7,667.12; per box 3,833.56. 46 CFR 520.2: a shipment is the cargo on one B/L. | Load inputs |
The other 7 test cases
| Inputs | Expected result | Traced to | Load |
|---|---|---|---|
| Three boxes with documentation charged per container | Origin: CNY 4,866All in: USD 11,602Shows “Documentation fees are multiplied by the containers” | 3 × 1,622 = 4,866 CNY = USD 729.92; 3 × 2,769 + 3 × 855 = 10,872; total 11,601.92. | Load inputs |
| CAF of 10% on the basic ocean freight | Ocean freight: USD 2,999All in: USD 4,097 | CAF 10% × 2,300 = 230; freight 2,769 + 230 = 2,999; total 4,097.31. | Load inputs |
| Same quote totalled in euros | All in: EUR 3,474Seller pays: EUR 219 | 1,622 / 7.4217 = EUR 218.55; 3,624 / 1.1133 = EUR 3,255.18; total 3,473.73. | Load inputs |
| Busan to Rotterdam, 40 ft dry, Maersk Q4 2026 surcharges, no base entered | All in: USD 651Origin: KRW 220,000Destination: EUR 285Shows “No basic ocean freight entered” | Maersk Korea OHC KRW 220,000 (1 Oct 2026); Maersk EMS Far East Asia to North Europe USD 170 per 40 DRY (1 Oct to 31 Dec 2026); Maersk Netherlands DHC EUR 285 (1 Oct 2026); 220,000 × 1.1133/1,492.35 = 164.12; 285 × 1.1133 = 317.29; 164.12 + 170 + 317.29 = 651.41. | Load inputs |
| LCL, 2.4 t and 3.1 m³, Maersk LCL emissions surcharge USD 4 per W/M | All in: USD 12Per revenue ton: USD 4Shows “3.1 revenue tons” | Maersk LCL EMS Q4 2026, E1W, USD 4 per W/M from 1 Oct 2026; RT = max(2.4 t, 3.1 m³) = 3.1 (Port of Los Angeles definition); 3.1 × 4 = 12.40. | Load inputs |
| Emissions surcharge entered on Shanghai to Los Angeles | All in: USD 4,037Shows “no EU or EEA port” | Maersk applies the emissions surcharge only where the load or discharge port country is in the EU/EEA (EMS Q4 2026 notice). | Load inputs |
| More bills of lading than containers | Shows “Enter the bills of lading as a whole number from 1 to the number of containers.” | Input check. | Load inputs |
Calculators used with this one
After the box lands, the container detention calculator prices the days it stays out beyond free time, a charge outside the freight quote.
The sea distance calculator gives the port to port distance and passage time on the same lane.
Duties, insurance and inland haulage come after the freight: the landed cost calculator adds them to the quote total.
The EU ETS calculator works out the allowances behind an emissions surcharge from a voyage’s emissions.
Change log
Each change to the method, a coefficient or a test case, with the date it reached this page.
- First published, replacing the freight rate calculator, with 11 test cases on Maersk’s published Shanghai to Los Angeles, Busan to Rotterdam and LCL figures, per-B/L and per-container documentation fees, CAF, a euro total and the Incoterms split.
Who publishes this calculator and how it is checked
- Publisher
- ShipCalculators.com, an independent site of maritime calculators.
- How it is checked
- Each figure is traced to the instrument that sets it, and the test cases on this page run against the calculator code on every build; a build that moves one of them does not deploy. Last method check: 29 October 2026.
- What it is not
- Not a freight quote or an invoice: the carrier's tariff or service contract in force on the day it receives the cargo, and the rate of exchange it bills at, set the figure of record.
Regulation and sources
- 46 CFR Part 520, Carrier Automated Tariffs, sections 520.2, 520.4, 520.6 to 520.9 and 520.14, and Appendix A (eCFR)
- 46 CFR Part 530, Service Contracts, sections 530.3 and 530.8 (eCFR)
- Federal Maritime Commission, Commission Advisory Regarding Red Sea Surcharges, 12 January 2024
- Directive (EU) 2023/959 amending Directive 2003/87/EC, Articles 3ga, 3gb, 3gc and 12 (EUR-Lex)
- Regulation (EU) 2023/1805, FuelEU Maritime, Articles 4, 23 and 32 and Annex IV (EUR-Lex)
- ICC, Incoterms® 2020, publication 723E, introduction (ICC Switzerland)
- Maersk, Peak Season Surcharge notice with the Shanghai to Los Angeles sample corridor, 14 January 2026
- Maersk, Bunker Adjustment Factor, Q1 2026, 1 December 2025
- Maersk, Low Sulphur Surcharge, Q1 2026, 1 December 2025
- Maersk, Terminal Handling Service Destination, world to the US and Canada, 15 September 2025
- Maersk, Emissions Surcharge (EMS/ESS), Q4 2026, 1 September 2026
- Maersk, LCL Emissions Surcharge, Q4 2026, EU and EEA, 18 September 2026
- Maersk, Terminal Handling Service, Korea, 1 September 2026
- Maersk, Terminal Handling Service OHC and DHC, Netherlands, 1 September 2026
- European Central Bank, euro foreign exchange reference rates, 28 October 2026
- Port of Los Angeles, Tonnage Statistics: revenue ton definition
- Drewry, World Container Index methodology, 1 January 2025
- 46 CFR Part 541, Demurrage and Detention Billing Requirements, section 541.3 (eCFR)
- Maersk, Emissions Surcharge (EMS/ESS), Q1 2026, 1 December 2025