A fuel surcharge (FSC) follows the method in your freight contract: a percentage of linehaul or a charge per mile. Use the agreed diesel index, base price and rounding rules. The percentage rise in diesel prices is not automatically your surcharge percentage.

Updated October 20, 2026. The examples below use the EIA U.S. diesel price for the week of October 19, 2026, published October 20. Contract terms are illustrative.

FSC formula

Per mile: FSC per mile = (diesel index − base price) ÷ contract MPG. If the contract has a zero floor, use zero when the index is below the base.

Per trip: FSC = FSC per mile × eligible miles.

Percentage of linehaul: FSC = eligible linehaul × FSC percentage ÷ 100, where the percentage comes from the carrier's fuel table or the contract's formula.

Every input is a contract term: the index series, the base price, the MPG, the mileage basis, the effective week and the rounding rule. For what a fuel surcharge is and why carriers charge one, see what is a fuel surcharge. For published carrier schedules, see the fuel surcharge hub.

Choose the formula in your contract

Percentage of linehaul: obtain the percentage from the carrier’s fuel table or the contract’s formula. Check whether discounts and accessorial charges affect the eligible amount.

Per mile: do not assume a floor, mileage basis or fuel efficiency that the contract does not specify.

LTL and parcel contracts often use percentage tables; truckload contracts often use per-mile calculations. The contract controls. You cannot compare the two methods by percentage alone: they apply to different amounts.

Use the right diesel index and week

For these examples, the EIA Gasoline and Diesel Fuel Update reports $6.276 per gallon for October 19, 2026. This is the U.S. No. 2 diesel retail series, EMD_EPD2D_PTE_NUS_DPG; it is a dated example, not a live quote.

EIA normally publishes these Monday-dated observations around 10 a.m. Eastern on Tuesday, with Wednesday publication in holiday weeks. Check the EIA release schedule and the effective week named in your contract. A release date and an observation date are different.

A regional index, wholesale spot quote or local pump price may differ from the national retail index. Use the agreed series rather than substituting whichever price is available.

Example 1: a per-mile surcharge

Assume a $1.20-per-gallon contract base, 6 MPG and 500 eligible miles. These are example contract terms, not recommended rates.

  • $6.276 − $1.20 = $5.076 per gallon above the base.
  • $5.076 ÷ 6 = $0.846 per mile.
  • $0.846 × 500 = $423.00 fuel surcharge.

Here the per-mile rate divides evenly. When it does not, rounding the rate before multiplying can change the total: a week earlier, at $6.179, the unrounded rate gives $414.92 and a rate rounded to $0.83 gives $415.00. Follow the contract’s rule; an otherwise correct formula can still produce a disputed invoice.

Example 2: a percentage from a fuel table

Assume the contract adds 0.5 percentage points for every full $0.05 above a $1.20 base. Eligible net linehaul is $300; accessorial charges are excluded in this example.

  • $6.276 − $1.20 = $5.076 above the base.
  • $5.076 ÷ $0.05 = 101.52: 101 full steps.
  • 101 × 0.5 percentage points = 50.5%.
  • $300 × 50.5% = $151.50 fuel surcharge.

Count full steps only because this example table requires them. A carrier’s actual table may use different bands, percentages and effective dates. Dividing the diesel-price change by the base price would answer a different question.

Example 3: FTL and LTL in the same week

Using the same diesel observation and illustrative terms, an FTL trip of 1,000 eligible miles has a surcharge of $846.00: ($6.276 − $1.20) ÷ 6 × 1,000.

An LTL shipment with $450 eligible net linehaul and the example fuel table has a surcharge of $227.25: $450 × 50.5%.

These are different shipments with different billing bases. The figures demonstrate the methods; they do not show that one service is cheaper for the same load.

National vs West Coast diesel

The index your contract names changes the charge. EIA's West Coast (PADD 5) diesel average for October 19 is $7.394 per gallon, $1.118 above the national $6.276. Applying Example 1's terms (500 miles, $1.20 base, 6 MPG):

  • National: ($6.276 − $1.20) ÷ 6 × 500 = $423.00 per trip.
  • West Coast: ($7.394 − $1.20) ÷ 6 × 500 = $516.17 per trip.

The same 500-mile trip costs $93.17 more in surcharge on the West Coast index. In OilPriceAPI the two series are DIESEL_RETAIL_USD and DIESEL_RETAIL_WEST_COAST_USD.

Fuel cost is now the top concern for trucking executives: Transport Topics reported on October 19 that fuel prices led the American Transportation Research Institute's 2026 ranking of industry issues, citing the national average of $6.179 for October 12.

Weekly DOE diesel, July to October 2026

Weekly retail diesel, national vs West Coast, July 6 to October 19, 2026

EIA weekly retail diesel in USD per gallon, with Example 1's per-trip surcharge (500 miles, $1.20 base, 6 MPG). Values as published in the October 20, 2026 release; EIA may revise earlier weeks.

Week ofNationalWest CoastFSC, nationalFSC, West Coast
Oct 19, 2026$6.276$7.394$423.00$516.17
Oct 12, 2026$6.179$7.240$414.92$503.33
Oct 5, 2026$6.199$7.229$416.58$502.42
Sep 28, 2026$6.382$7.357$431.83$513.08
Sep 21, 2026$6.529$7.456$444.08$521.33
Sep 14, 2026$6.285$7.250$423.75$504.17
Sep 7, 2026$5.967$6.987$397.25$482.25
Aug 31, 2026$5.599$6.497$366.58$441.42
Aug 24, 2026$5.652$6.407$371.00$433.92
Aug 17, 2026$5.454$6.203$354.50$416.92
Aug 10, 2026$5.257$6.033$338.08$402.75
Aug 3, 2026$5.348$6.130$345.67$410.83
Jul 27, 2026$5.313$6.067$342.75$405.58
Jul 20, 2026$5.134$5.877$327.83$389.75
Jul 13, 2026$4.796$5.550$299.67$362.50
Jul 6, 2026$4.578$5.425$281.50$352.08

Make recurring calculations auditable

For each invoice or quote, retain the index name, observation week, value, units, contract version, eligible miles or linehaul, and rounding rule. Store the retrieval time separately. That record lets a customer reproduce the charge after the current price changes.

If an index is missing or late, flag the calculation for review or follow the contract’s fallback. Do not silently substitute a wholesale price, an older week or a hardcoded reference value.

In OilPriceAPI, request DIESEL_RETAIL_USD or DIESEL_RETAIL_WEST_COAST_USD explicitly when your workflow needs a retail diesel series. A generic latest-price request does not identify that series. Check the returned code, units and available source-date metadata before using the value; weekly diesel observations are not intraday prices.

Use the fuel surcharge calculator to check a per-mile calculation. For a recurring pricing workflow, review the diesel price API, the fuel surcharge API in Python guide and API documentation. Match the feed to your contract before automating invoices.

Get an API key to pull the weekly diesel index into your own surcharge calculation.

Building a product or workflow that needs oil prices?

Compare API plans, historical coverage, and support for your use case.

Explore API plans