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.
Compare fuel surcharge agreements
Match shipment dates to effective diesel prices, then reconcile charges across two terms.
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
Edit diesel index periods (2)
Use the applicable price and both effective dates from your records. Gaps leave shipments unmatched.
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.
Optional. Use a minus sign for a credit.
Optional. Use a minus sign for a credit.
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
Load 1250
2026-09-14 · $4.000/gal
Load 1262
2026-09-21 · No matching index
Open surcharge and variance ledger
| Load | Effective index | Agreement A | Agreement B | Billed | Billed minus A | Billed 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 mi | Unmatched | —No matching index | —No matching index | $142.00 | — | — |
Show copyable CSV
How to use this calculator
- Enter each confirmed diesel index price and its effective start and end dates. Leave a gap for any period you cannot verify.
- 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.
- 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.
- 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.Method sources
- U.S. Energy Information Administration · Diesel price indices and fuel surcharge responsibility
- U.S. Energy Information Administration · Weekly gasoline and diesel fuel update
- U.S. Department of Energy · Freight tender Item 200, dated mileage and percent surcharge example
- DAT · Contract mileage surcharge calculation
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
LTL Freight Quote & Weight Break Calculator
Compare two LTL freight quotes. Check per-hundredweight rates, deficit weight, linehaul minimums, fuel and service charges with a quote ledger and weight chart.
Truck Cost per Mile Calculator & Load Quote Planner
Compare two freight offers after loaded and empty miles, fuel, overhead and owner pay. Find a break-even quote and see how much deadhead the offer can cover.
Parcel Shipping Quote Planner
Compare parcel shipping tariffs and packaging alternatives. Inspect dimensional weight, billing increments, price tiers, fees and box-height sensitivity with an exact CSV export.
Invoice Tax & Rounding Reconciliation
Reverse tax-inclusive prices, add tax to net prices, and reconcile invoice discounts and credits. Compare line and group rounding with exact audit ledgers.
IFTA Fuel Tax Calculator & Quarterly Diesel Worksheet
Estimate quarterly diesel IFTA tax or credit from fleet MPG, taxable miles, eligible tax-paid gallons and jurisdiction rates. Export a reconciliation.
