Diesel Fuel Surcharge Calculator & Invoice Audit

Compare two fuel surcharge agreements on the same shipments. Match each controlling date to the diesel index window in your records, apply the agreed mileage formula or percentage bands, and see which invoices exceed either expected amount. The worksheet keeps unmatched shipments visible so a missing index period cannot silently change the audit. Enter the effective windows and charges from your records.

Freight contracts

Compare fuel surcharge agreements

Match shipment dates to effective diesel prices, then reconcile charges across two terms.

2 matched loads.
Agreement A expected
$399.87
Agreement B expected
$403.00
Billed minus A
$3.13
Billed minus B
$0.00

2 of 3 loads matched the entered index periods. Billed differences use 2 matched and billed loads. The ledger shows 1 unmatched load.

Edit agreement terms
Agreement A
Agreement B

Start at $0.000. Each lower price is inclusive. List bands in ascending price order.

Band 1
Band 2
Band 3
Edit diesel index periods (2)

Use the applicable price and both effective dates from your records. Gaps leave shipments unmatched.

Index period 1
Index period 2
Edit loads and invoices (3)

Use the date that controls the rate under both terms. Enter zero for an absent eligible charge and leave the billed surcharge blank when unknown.

Load 1

Optional. Use a minus sign for a credit.

Load 2

Optional. Use a minus sign for a credit.

Load 3

Optional. Use a minus sign for a credit.

Expected and billed by load

The marks share a dollar scale. Credits extend left of zero.

Load 1246

2026-09-13 · $3.999/gal

Agreement A$199.87
Agreement B$195.00
Billed surcharge$195.00

Load 1250

2026-09-14 · $4.000/gal

Agreement A$200.00
Agreement B$208.00
Billed surcharge$208.00

Load 1262

2026-09-21 · No matching index

Agreement A—
Agreement B—
Billed surcharge$142.00
Open surcharge and variance ledger
Applied index, estimates and billed variance by load
LoadEffective indexAgreement AAgreement BBilledBilled minus ABilled minus B
Load 12462026-09-13 · 800.00 mi$3.9992026-09-07 through 2026-09-13$199.871.499 USD/gal ÷ 6.00 mpg$195.0015.00% of $1,300.00 · band starts at $3.500$195.00−$4.87$0.00
Load 12502026-09-14 · 800.00 mi$4.0002026-09-14 through 2026-09-20$200.001.500 USD/gal ÷ 6.00 mpg$208.0016.00% of $1,300.00 · band starts at $4.000$208.00$8.00$0.00
Load 12622026-09-21 · 630.00 miUnmatched—No matching index—No matching index$142.00——
Show copyable CSV

How to use this calculator

  1. Enter each confirmed diesel index price and its effective start and end dates. Leave a gap for any period you cannot verify.
  2. Choose a mileage formula or percentage bands for each agreement. Set the mileage base, contract MPG and below-base handling, or enter the charge basis and sorted rate thresholds.
  3. Enter loads using the controlling date, billable miles and charge amounts in your records. Enter the actual billed surcharge to audit it, or leave that field blank.
  4. Check the matched-load totals, compare the shared-scale bars, and open the ledger to see which diesel window and rates each load used.

The Formula

The mathematical logic powering this calculation is:

Mileage surcharge = (effective diesel price − contract base price) ÷ contract miles per US gallon × billable miles. A zero-floor agreement turns a negative price difference into zero. A credit agreement keeps it negative. Use contract MPG and agreed billable miles.

Percentage surcharge = selected rate × eligible freight charges. Enter each band's inclusive lower diesel price. The rate is selected from the highest lower price at or below the effective diesel price. Eligible charges are linehaul alone or linehaul plus the separately entered eligible other charges, as selected for each agreement.

Each expected charge rounds to the nearest cent with halves away from zero. Totals add those rounded loads. Billed variance is billed surcharge minus expected surcharge on the same loads. Missing billed amounts stay blank. Loads outside all entered periods remain visible and contribute neither expected nor audited amounts.

Use inclusive nonoverlapping effective date windows and the contract's controlling shipment date. The agreements share the entered effective dates and prices. Enter any agreed index rounding or publication lag in those effective records. The U.S. Energy Information Administration publishes diesel price data and individual agreements set the surcharge. All money is in USD. No taxes, automatic current schedules, carrier-specific rules, or eligibility decisions are applied.

Worked Example

If you input:

  • Matched load dates: September 13 and 14, 2026
  • Effective diesel prices: $3.999 and $4.000 per US gallon
  • Billable miles per load: 800 mi
  • Agreement A: $2.500 base with 6.00 contract mpg
  • Agreement B: 15% and 16% of $1,300 eligible charges
  • Billed surcharges: $195 and $208 on matched loads, $142 on an unmatched load

Result:

On the two matched dates Agreement A gives $199.87 and $200.00 and Agreement B gives $195.00 and $208.00. The covered bills match B and total $3.13 above A. The $142 bill falls outside the entered windows and stays unresolved.

Frequently Asked Questions

What is the DOE diesel fuel surcharge?

EIA, part of the Department of Energy, publishes retail diesel price estimates. A shipper or carrier may use them in an agreement with its own price window, base price, charge basis and rounding conventions.

How do I select the diesel price for an invoice?

Check the contract for the location or index series, the effective dates and the event that controls the load. The price publication date can differ from the first controlling shipment date.

What happens on the exact boundary of a rate band?

The new percentage applies when the entered price equals its inclusive lower bound. The previous percentage applies below that price. Enter the effective index value after any adjustment specified by the agreement.

Why are some billed charges outside the audit?

A billed charge can be compared only when the load has a matching effective index window. The worksheet shows unmatched bills in the ledger and omits them from all variance totals.

Is a blank billed surcharge the same as a zero bill?

A blank field records that the billed amount is unknown. Enter zero to audit a confirmed zero charge. A negative billed amount records an observed credit.

Similar Calculators