TruckBusWorld

Fuel surcharge calculator: percentage of the freight price and US cents per mile

The fuel surcharge on an agreed freight price, from the fuel share and the change of a diesel index, or in US cents per mile from the base price, the index price and mpg.

The result appears when the fields above are filled in.

Fuel surcharge
–
Revised freight price
–
Change of the index
– %
Fuel charges in the agreed price
–
Surcharge as a share of the price
– %

No index, fuel share, base price or fuel economy figure is built in: every value is the one entered. The percentage method gives the result in the currency of the price entered; the cents-per-mile method works in US dollars, US gallons and miles, with fuel prices taken to three decimals. Results are shown to two decimals and are not rounded in between.

Read on 25 November 2026: the French Code des transports as quoted by DREAL Normandie (April 2022), the Spanish Orden FOM/1882/2012 in the BOE consolidated text, the Austrian Chamber of Commerce (WKO) on the Dieselfloater, OOIDA’s fuel surcharge page and the U.S. Energy Information Administration (EIA). The calculator works out the amount added to (or taken off) an agreed freight price when the price of diesel changes, by one of two methods: a percentage of the freight price, or US cents per mile.

What it calculates

  • Percentage method: the share of the freight price that is fuel, times the percentage change of a diesel index or price between the base date and the transport date. The result is in the currency of the price entered.
  • Cents per mile (US): the current index price minus a base price, divided by the average fuel economy in miles per US gallon. The result is in US dollars per mile, and for a trip when a distance is entered.

The calculator applies no contract clause and no national rule; it only does the arithmetic with the values entered.

Percentage method

  • Change of the index (G, %) = (current index − base index) ÷ base index × 100, or the percentage entered
  • Fuel charges = freight price × fuel share (%) ÷ 100
  • Surcharge (ΔP) = freight price × fuel share (%) × G ÷ 10,000
  • Revised freight price = freight price + surcharge
  • Surcharge as a share of the price (%) = fuel share (%) × G ÷ 100

France. Article L3222-1 of the Code des transports provides that, where the transport contract mentions the fuel charges used to set the price, the price initially agreed « est révisé de plein droit » to cover the change in fuel cost between the date of the contract and the date of the transport. Article L3222-2 applies where the contract does not identify them: the fuel charges are set on the day of the order by reference to the diesel price published by the Comité national routier (CNR) and « à la part des charges de carburant dans le prix du transport », and the price is revised « en appliquant aux charges de carburant la variation de l’indice gazole ». Under both articles the invoice shows the fuel charges. Article L3222-9 makes these provisions « d’ordre public », and Article L3242-3 sets a fine of 15,000 euros. The wording is quoted from DREAL Normandie’s leaflet of April 2022; the consolidated text on Légifrance was not read for this page. In its answer to written question no. 7689, published in the Journal officiel on 29 July 2025, the French government calls the mechanism « indexation « énergie » », refers to Articles L3222-1 and L3222-2 and puts energy at « de l’ordre de 25% à 30% » of transport costs.

Spain. Condition 3.4 of the general conditions in Orden FOM/1882/2012 gives ΔP = G × P × C / 100, where ΔP is the change of the contracted price, G the percentage change of the weekly average diesel price published by the administration between the contract and the transport, P the price agreed in the contract and C « coeficiente vinculado al precio del gasóleo antes de impuestos ». C depends on the vehicle’s maximum authorised mass and the weekly average price (Pmed). When diesel has fallen, the party paying for the transport « exigirá una reducción equivalente » of the agreed price. The formula applies automatically when G reaches « una variación igual o superior al cinco por ciento », unless a lower threshold was agreed in writing. With C entered as the fuel share in per cent (C = 0.4 is 40%), the calculator’s surcharge is the same number as ΔP; this equivalence is computed, not stated in the order. The calculator holds no C values and does not apply the 5% threshold.

Austria. The WKO describes the Diesel-Floater (Dieselzuschlag) as „ein in der Transport- und Logistikbranche verwendetes, variables Preismodell“ and mentions long-term contracts „mit Dieselfloater und dreimonatiger Anpassung“. It gives no formula: a floater’s index, base date, threshold and adjustment period come from the contract, and the calculator does only the percentage arithmetic.

Cents-per-mile method (US)

  • Difference = current index price − base price, in USD per US gallon
  • Surcharge per mile = difference ÷ average fuel economy (mpg), when the difference is above zero; otherwise 0
  • Surcharge for the trip = surcharge per mile, rounded to the cent, × miles

OOIDA, the US owner-operator association, describes a fuel surcharge as a separate fee added above the contract rate when the cost of fuel exceeds a defined level, and sets out the calculation in two steps: the current price minus the fuel price baseline, then “divide the difference by the average mpg”. OOIDA also writes that “there’s no rule, law, or regulation mandating a fuel surcharge” in the United States. The EIA states that it “does not calculate, assess, or regulate diesel fuel surcharges”, that surcharges are negotiated privately, and that many shippers, carriers and truckers use its weekly retail diesel price in their formulas; it updates on-highway diesel prices every Tuesday, and its prices include all taxes. Fuel economy in mpg converts to litres per 100 km with the MPG to l/100 km converter.

Worked examples

Percentage method. Freight price 1,000, fuel share 25%, base index 100, current index 110. G = (110 − 100) ÷ 100 × 100 = 10.00%. Fuel charges = 1,000 × 25 ÷ 100 = 250.00. Surcharge = 1,000 × 25 × 10 ÷ 10,000 = 25.00. Revised price = 1,025.00; the surcharge is 2.50% of the price.

Cents per mile. Base price 2.50 USD per gallon, current EIA U.S. on-highway diesel price for 23 November 2026 5.695 USD per gallon (release of 24 November 2026), 6 mpg, 1,000 miles. Difference = 3.195 USD per gallon; 3.195 ÷ 6 = 0.5325, shown as 0.53 USD per mile (53 cents); surcharge for the trip = 0.53 × 1,000 = 530.00 USD (computed).

Rounding

Neither L3222-2 nor condition 3.4 prescribes rounding. The calculator does not round between steps; results are shown to two decimals, with halves rounded away from zero (0.125 becomes 0.13 and −0.125 becomes −0.13). In the cents-per-mile method the two prices are taken to three decimals, as the EIA publishes them, and the surcharge per mile is rounded to the cent, as in OOIDA’s example (0.4583 becomes 0.46). The trip amount uses that rounded figure.

What it does not do

  • It holds no index, diesel price, fuel share, coefficient C, base price or fuel economy figure, and fetches no EIA, CNR or Spanish price: every value is entered.
  • It does not apply Spain’s 5% threshold, the periodic price revision of its condition 8.3, or a floater’s adjustment period, threshold or base date; those come from the contract or the national rule.
  • It does not say whether a contract clause is valid, which country’s rule applies or what level of surcharge is usual.
  • It converts no currency and no units: the percentage method works in the currency entered, the cents-per-mile method in US dollars, US gallons and miles.
  • It does not work out VAT or any fuel tax refund. The fuel cost of a trip itself is a different calculation, in the trip cost calculator.

Quick answers

How is a percentage fuel surcharge calculated?
Freight price × fuel share ÷ 100 × change of the diesel index ÷ 100. With a price of 1,000, a fuel share of 25% and an index that goes from 100 to 110 (a change of 10%), the fuel charges are 250, the surcharge is 25.00 and the revised price is 1,025.00.
How is a cents-per-mile fuel surcharge calculated?
OOIDA's method: the current fuel price minus the baseline, divided by the average mpg. OOIDA's own example takes a baseline of $2.50, a price of $5.25 per gallon on 14 March 2022 and 6.0 mpg: $2.75 ÷ 6.0 mpg = $0.46 per mile.
How does Spain's coefficient C go into the calculator?
Condition 3.4 of Orden FOM/1882/2012 gives ΔP = G × P × C / 100. C goes into the fuel share field as a percentage (C = 0.4 is 40%) and G into the change field. With P = 2,000 and G = 10 the result is 80.00, the same as 10 × 2,000 × 0.4 / 100. C depends on the vehicle's maximum authorised mass and the weekly average diesel price (Pmed); the calculator holds no C values.
What happens when the diesel price falls?
In the percentage method the change is negative and so is the result: a price reduction. Spain's condition 3.4 requires an equivalent reduction of the agreed price when diesel has fallen. In the cents-per-mile method OOIDA describes the surcharge as added when the cost of fuel exceeds a defined level, so at or below the base price the calculator shows 0.00.
What is the EIA diesel price and when is it updated?
The U.S. Energy Information Administration publishes weekly retail on-highway diesel prices, all taxes included, and updates them every Tuesday. EIA does not calculate, assess or regulate fuel surcharges. In the release of 24 November 2026 the U.S. average for 23 November 2026 was 5.695 dollars per gallon.
What does Article L3222-2 of the French Code des transports say?
Where the contract does not identify the fuel charges, they are set on the day of the order by reference to the diesel price published by the Comité national routier (CNR) and the share of fuel charges in the price, and the agreed price is revised by applying to the fuel charges the change of the CNR diesel index between the order and the transport. The wording is quoted from DREAL Normandie's leaflet of April 2022.

Published · Last updated

Sources

  1. Indexation carburant (Code des transports, articles L3222-1, L3222-2, L3222-9 and L3242-3), April 2022 — DREAL Normandie, Ministère de la Transition écologique
  2. Question écrite n° 7689, Respect de la « clause gazole », réponse publiée au JO le 29 juillet 2025 — Assemblée nationale
  3. Orden FOM/1882/2012, condiciones generales de contratación de los transportes de mercancías por carretera, texto consolidado (condición 3.4) — Agencia Estatal Boletín Oficial del Estado
  4. Information zum Thema „Dieselfloater“, 25.03.2026 — WKO, Fachverband Güterbeförderungsgewerbe
  5. Fuel Surcharge Calculator — Owner-Operator Independent Drivers Association (OOIDA)
  6. How do I calculate diesel fuel surcharges? — U.S. Energy Information Administration
  7. Gasoline and Diesel Fuel Update, release of 24 November 2026 — U.S. Energy Information Administration