Gas Mileage Tracker

Fuel surcharge calculator

Base price, today's price, MPG. That is a per-mile surcharge, the charge for the load, and what it adds to your rate.

Fuel surcharge calculator

Defaults are a typical Class 8 truckload contract. Change any of them.

Updates as you type.

Fuel surcharge

--

--

Surcharge on this load
--
As % of linehaul
--
Linehaul + surcharge
--
Fuel the load burns
--

--

Not sure of your real MPG? The app works it out from your fill-ups, for any vehicle.

Get Gas Mileage Tracker for iPhone

Updated October 2026

The formula

A fuel surcharge passes the part of the fuel bill above an agreed base price on to the customer. The base, or peg, is the fuel price already built into the linehaul rate. Anything above it gets billed per mile.

Surcharge per mile = (current price − base price) ÷ MPG

Metric: (current − base) × L/100 km ÷ 100 gives the surcharge per km.

The division by MPG is what turns a price per gallon into a price per mile: a truck doing 6.5 MPG burns 1 ÷ 6.5 = 0.154 gallons every mile, so each dollar above the peg costs 15.4 cents a mile.

Surcharge schedule

Carriers usually publish this as a table. Here is one with a $1.25 peg, in dollars per mile, for the three MPG figures that show up most in contracts:

Diesel, $/gal6.0 MPG6.5 MPG7.0 MPG
3.000.2920.2690.250
3.250.3330.3080.286
3.500.3750.3460.321
3.750.4170.3850.357
4.000.4580.4230.393
4.250.5000.4620.429
4.500.5420.5000.464

The rule of thumb that falls out of it: at 6 MPG, every 6 cents on the price of diesel adds a penny a mile. At 6.5 MPG it is every 6.5 cents. That is the whole schedule, compressed.

Worked example

A 500 mile load at $2.50 a mile linehaul, $1.25 peg, diesel at $3.75, contract MPG of 6.5:

StepWorkingResult
Price above peg$3.75 − $1.25$2.50/gal
Surcharge per mile$2.50 ÷ 6.5$0.385
Surcharge on the load$0.3846 × 500$192.31
As % of linehaul$0.3846 ÷ $2.5015.4%
Invoice total$1,250 + $192.31$1,442.31

The truck burns 76.9 gallons on that run, $288.46 at $3.75. The surcharge covers $192.31 of it and the linehaul covers the rest at the peg price. That is the deal working as designed.

Vans, pickups and couriers

The formula does not care what the vehicle is. A courier in a cargo van doing 18 MPG on gas at $3.40, with a $2.00 peg, has a surcharge of $1.40 ÷ 18 = 7.8 cents a mile. A hotshot pickup pulling a gooseneck at 11 MPG is in between.

What matters there is using a real MPG rather than the sticker figure. A van loaded to the roof does not get its EPA rating, and a surcharge built on the brochure number leaves money on the table every mile. Measure it over a few tanks with the gas mileage calculator, and check the whole running cost with the cost per mile calculator before you set rates.

Questions people actually ask

How is a fuel surcharge calculated? +
Subtract the base (peg) fuel price from the current price, then divide by the truck's MPG. With a $1.25 peg, diesel at $3.75 and 6.5 MPG, that is $2.50 / 6.5 = 38.5 cents a mile. Multiply by the loaded miles for the charge on the load.
What base price should I use? +
Whatever the contract says. Many truckload contracts peg at $1.20 to $1.25 a gallon, a holdover from when diesel cost that much, so the surcharge covers everything above it. Some newer contracts peg higher and charge a higher base rate instead. Both sides need to use the same number.
Where does the current diesel price come from? +
Most contracts use the US Energy Information Administration's weekly on-highway diesel average, published on Mondays, either national or for a named region. Using the shipper's or the carrier's own pump price invites arguments.
What MPG goes in the formula? +
The figure in the contract, often 6 or 6.5 for a Class 8 tractor. For a cargo van or a hotshot pickup, use the vehicle's real loaded MPG. A lower MPG means a higher surcharge per mile, which is why the figure gets negotiated.
Per mile or a percentage of the rate? +
Truckload freight usually charges per mile. LTL carriers and parcel companies usually publish a percentage of the linehaul that steps up with the weekly fuel price. The calculator shows both, so you can translate one into the other.

Keep going

The calculator is the one-off. The app is the habit.

A calculator tells you what one tank did. Log every fill-up and you get the trend: the month your MPG dropped, the station that is quietly more expensive, and what the car really costs you per mile.

  • → Odometer, gallons, price. That is the whole form.
  • → MPG per tank and a running average, calculated the tank-to-tank way
  • → Charts for MPG, monthly spend and the price you have been paying per gallon
  • → Several vehicles, and a CSV export when the accountant asks
Download Gas Mileage Tracker

Free on the App Store. Android version in the works.

Last tank

28.4 MPG

Average

26.9

Cost per mile

$0.13

This month

$187

Fill-ups

42