By Scott Elliott, Principal Transportation Systems Architect at Strong Tower Consulting
Strong Tower Consulting, LLC was founded in Minnesota in 2008. In business for more than 18 years, we serve motor carriers, freight brokerages, and private fleets with enterprise TMS architecture, integration, and process optimization. Scott Elliott is founder and transportation systems architect of both Strong Tower Consulting, LLC and its sister company Exspeedite LLC (separately organized under common ownership with separate EINs and a liability firewall).
Fuel remains one of the largest variable costs in truckload, less-than-truckload, and intermodal operations. Motor carriers and freight brokerages must adjust customer billing and carrier settlements weekly to maintain margin integrity while remaining compliant with published tariffs. Enterprise Transportation Management Systems (TMS) achieve this through automated fuel surcharge (FSC) engines that consume the U.S. Energy Information Administration (EIA) weekly diesel fuel price report - commonly referred to as the DOE index - every Monday afternoon.
This guide details the software engineering patterns, database schemas, business rules, and integration workflows required to build a production-grade dynamic FSC engine. All practices described are drawn from real-world implementations across truckload, brokerage-3PL, and intermodal-drayage operations.
The EIA releases the "Weekly U.S. On-Highway Diesel Fuel Price" report each Monday. The report provides national and regional averages for ultra-low sulfur diesel. These values are organized by Petroleum Administration for Defense Districts (PADD):
A robust TMS fuel engine ingests this data via automated ETL. Preferred integration methods include:
Once ingested, the system stores the effective date (typically the Monday of publication) and the price per gallon for each PADD region in a normalized time-series table.
CREATE TABLE doe_fuel_index (
index_date DATE NOT NULL,
padd_region VARCHAR(8) NOT NULL, -- e.g. 'PADD_2', 'PADD_5_CA'
diesel_price_gallon NUMERIC(6,4) NOT NULL,
national_average NUMERIC(6,4),
PRIMARY KEY (index_date, padd_region)
);
Most carrier tariffs and brokerage agreements establish a base fuel price peg - historically between $1.20 and $2.50 per gallon - at which the published linehaul rate is assumed to already include fuel cost. Any movement above this peg triggers a surcharge; some contracts also include a floor (deflation) mechanism.
Common peg configurations stored in the TMS rate tariff master include:
The escalation solver must evaluate the current DOE index against the contract peg for the applicable region and load characteristics before determining the incremental surcharge.
Two primary mathematical models are used in motor carrier and brokerage rate tariffs:
This method adds a fixed number of cents for every mile the fuel index exceeds the peg. The formula is typically expressed as:
Surcharge = (Current_Index - Base_Peg) × Multiplier × Loaded_Miles
Where the multiplier is commonly 0.012 to 0.015 (representing approximate fuel consumption in gallons per mile for a tractor-trailer).
This method applies a percentage of the base freight charge. The percentage itself is often derived from a lookup table or linear interpolation based on the fuel index deviation from the peg. This approach scales automatically when base rates change.
Enterprise TMS platforms store both methods in a unified rate matrix and allow per-customer, per-lane, or per-tariff selection. The system must resolve the correct formula at rating time and during weekly batch re-rating.
The core of a dynamic FSC engine is the matrix solver. This component accepts a shipment record (origin, destination, carrier, customer, equipment type, loaded miles) and returns the applicable fuel surcharge using the most current DOE index.
Key decision steps performed by the solver:
Performance-critical implementations cache the current weekly matrix in Redis or an in-memory database, refreshing every Monday after 4:00 PM Eastern when the EIA report is finalized.
| Fuel Price Range | PADD 2 | PADD 3 | PADD 5 |
|---|---|---|---|
| $1.51 - $1.60 | 4.0 ¢/mi | 3.5 ¢/mi | 5.0 ¢/mi |
| $2.01 - $2.10 | 12.5 ¢/mi | 11.0 ¢/mi | 14.5 ¢/mi |
Once the weekly DOE index is processed, the TMS must propagate new surcharge values to open shipments, pending invoices, and carrier settlements. This is accomplished through batch jobs that:
These adjustments flow into the accounts receivable and accounts payable modules. Integration with transportation accounting systems ensures the general ledger reflects accurate fuel revenue and cost of goods sold.
See our practice area on transportation accounting integration for detailed patterns on posting these weekly fuel events.
Fuel surcharge transparency is required in many shipper contracts and is subject to audit. The TMS must maintain an immutable history of every index value used, every peg applied, and every calculation performed. This is achieved by writing all solver outputs to a dedicated fsc_application_log table before the values are used for billing.
Additionally, when serving as a freight brokerage, the system must reconcile the fuel surcharge charged to the shipper against the fuel component paid to the carrier. Discrepancies are flagged for manual review before settlement.
Our reporting practice includes purpose-built fuel variance dashboards that surface margin leakage caused by mismatched pegs or indexing methods.
A complete dynamic fuel surcharge solution must integrate with several other TMS modules:
Organizations that achieve the highest accuracy and lowest manual intervention follow these patterns:
Strong Tower Consulting, LLC and affiliated sister company Exspeedite LLC are separately organized under common ownership (separate EINs; liability firewall). Scott Elliott is founder and principal transportation systems architect of both organizations.
Contact Scott Elliott at 763-244-1373 to evaluate your dynamic fuel surcharge automation and tariff rating matrices.