Skip to main content

Default Trip Costs

Many of the Routing APIs return estimated trip costs for each leg of a route (stop to stop) as well as for the entire trip. The costs are calculated using:

  • Toll costs, which are based on toll data in the Trimble Maps database and the route path generated by the API.

  • Other trip costs, which include fuel costs, distance-based costs, time-based costs, and stop costs. These are based on parameter values that you assign, and the route path generated by the API. If you don’t assign values, default values are used. The table below includes the current defaults (dataVersion: Current). These values change with every new version release of PC*Miler.

Default trip costs (U.S. dollars)

(For Current and PCM38)

Parameter Description Default Value - U.S. Customary Default Value - Metric
GET: fuelEconLoad
POST: FuelEconomyLoaded
The fuel efficiency (distance units per fuel units) when loaded. 6.74 miles-per-gallon 10.85 kilometers-per-gallon
GET: fuelEconEmpty
POST: FuelEconomyEmpty
The fuel efficiency (distance units per fuel units) when empty. 6.74 miles-per-gallon 10.85 kilometers-per-gallon
GET: costPerFuelUnit
POST: PricePerFuelUnit
The cost per fuel unit of fuel. $3.85 per gallon $1.02 per liter
GET: costGHG
POST: GreenHouseGas
Greenhouse gas emissions in pounds or kilograms of carbon dioxide (CO2) per gallon. 22.4 pounds/gallon 10.16 kilograms/gallon
GET: costMaintLoad
POST: OtherCostPerDistUnitLoaded
The maintenance cost per distance unit when loaded. $0.24 per mile $0.15 per kilometer
GET: costMaintEmpty
POST: OtherCostPerDistanceUnitEmpty
The maintenance cost per distance unit when empty. $0.24 per mile $0.15 per kilometer
GET: costTimeLoad
POST: CostTimeLoaded
The labor cost per hour when the vehicle is loaded. $54.14 $54.14
GET: costTimeEmpty
POST: CostTimeEmpty
The labor cost per hour when the vehicle is empty. $54.14 $54.14
Last updated June 25, 2024.
API Endpoint: