Updated
Using Fuel cost calculator
Trip fuel cost = miles ÷ miles per gallon × price per gallon.
Use the same gallon definition in fuel economy and price. This is an estimate from your average economy; traffic, weather, loads, and route conditions can change consumption.
A worked example
With trip distance (miles) = 300, fuel economy (miles per gallon) = 30, price per gallon = 4, the fuel cost is 40.
Before you use the result
Use the same gallon definition in fuel economy and price. This is an estimate from your average economy; traffic, weather, loads, and route conditions can change consumption.
Example results for trip distance (miles)
These examples use Fuel economy (miles per gallon): 30; Price per gallon: 4. They are reference calculations, not recommended settings.
| Trip distance (miles) | Fuel cost |
|---|---|
| 150 | 20 |
| 300 | 40 |
| 600 | 80 |
Cite this page
ToolOctopus. “Fuel cost calculator.” Updated 2026-09-26. https://tooloctopus.com/fuel-cost-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
